(self["webpackChunkvuexy"] = self["webpackChunkvuexy"] || []).push([[179],{ /***/ 58084: /*!************************************************************************!*\ !*** ./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/core.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "BREAKPOINT": () => (/* binding */ BREAKPOINT), /* harmony export */ "BREAKPOINTS": () => (/* binding */ BREAKPOINTS), /* harmony export */ "BREAKPOINT_PRINT": () => (/* binding */ BREAKPOINT_PRINT), /* harmony export */ "BROWSER_PROVIDER": () => (/* binding */ BROWSER_PROVIDER), /* harmony export */ "BaseDirective2": () => (/* binding */ BaseDirective2), /* harmony export */ "BreakPointRegistry": () => (/* binding */ BreakPointRegistry), /* harmony export */ "CLASS_NAME": () => (/* binding */ CLASS_NAME), /* harmony export */ "CoreModule": () => (/* binding */ CoreModule), /* harmony export */ "DEFAULT_BREAKPOINTS": () => (/* binding */ DEFAULT_BREAKPOINTS), /* harmony export */ "DEFAULT_CONFIG": () => (/* binding */ DEFAULT_CONFIG), /* harmony export */ "LAYOUT_CONFIG": () => (/* binding */ LAYOUT_CONFIG), /* harmony export */ "MediaChange": () => (/* binding */ MediaChange), /* harmony export */ "MediaMarshaller": () => (/* binding */ MediaMarshaller), /* harmony export */ "MediaObserver": () => (/* binding */ MediaObserver), /* harmony export */ "MediaTrigger": () => (/* binding */ MediaTrigger), /* harmony export */ "ORIENTATION_BREAKPOINTS": () => (/* binding */ ORIENTATION_BREAKPOINTS), /* harmony export */ "PrintHook": () => (/* binding */ PrintHook), /* harmony export */ "SERVER_TOKEN": () => (/* binding */ SERVER_TOKEN), /* harmony export */ "ScreenTypes": () => (/* binding */ ScreenTypes), /* harmony export */ "StyleBuilder": () => (/* binding */ StyleBuilder), /* harmony export */ "StyleUtils": () => (/* binding */ StyleUtils), /* harmony export */ "StylesheetMap": () => (/* binding */ StylesheetMap), /* harmony export */ "coerceArray": () => (/* binding */ coerceArray), /* harmony export */ "mergeAlias": () => (/* binding */ mergeAlias), /* harmony export */ "removeStyles": () => (/* binding */ removeStyles), /* harmony export */ "sortAscendingPriority": () => (/* binding */ sortAscendingPriority), /* harmony export */ "sortDescendingPriority": () => (/* binding */ sortDescendingPriority), /* harmony export */ "validateBasis": () => (/* binding */ validateBasis), /* harmony export */ "ɵMatchMedia": () => (/* binding */ MatchMedia), /* harmony export */ "ɵMockMatchMedia": () => (/* binding */ MockMatchMedia), /* harmony export */ "ɵMockMatchMediaProvider": () => (/* binding */ MockMatchMediaProvider) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 591); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 57451); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 36787); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 28551); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ 21086); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs */ 23753); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 92198); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 24850); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 80013); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 87545); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rxjs/operators */ 72986); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs/operators */ 2994); /** * @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 */ /** * @fileoverview added by tsickle * Generated from: core/browser-provider.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Find all of the server-generated stylings, if any, and remove them * This will be in the form of inline classes and the style block in the * head of the DOM * @param {?} _document * @param {?} platformId * @return {?} */ function removeStyles(_document, platformId) { return ( /** * @return {?} */ () => { if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(platformId)) { /** @type {?} */ const elements = Array.from(_document.querySelectorAll(`[class*=${CLASS_NAME}]`)); // RegExp constructor should only be used if passing a variable to the constructor. // When using static regular expression it is more performant to use reg exp literal. // This is also needed to provide Safari 9 compatibility, please see // https://stackoverflow.com/questions/37919802 for more discussion. /** @type {?} */ const classRegex = /\bflex-layout-.+?\b/g; elements.forEach( /** * @param {?} el * @return {?} */ el => { el.classList.contains(`${CLASS_NAME}ssr`) && el.parentNode ? el.parentNode.removeChild(el) : el.className.replace(classRegex, ''); }); } } ); } /** * Provider to remove SSR styles on the browser * @type {?} */ const BROWSER_PROVIDER = { provide: /** @type {?} */ _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_BOOTSTRAP_LISTENER, useFactory: removeStyles, deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT, _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID], multi: true }; /** @type {?} */ const CLASS_NAME = 'flex-layout-'; /** * @fileoverview added by tsickle * Generated from: core/module.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * ***************************************************************** * Define module for common Angular Layout utilities * ***************************************************************** */ let CoreModule = /*#__PURE__*/(() => { class CoreModule {} CoreModule.ɵfac = function CoreModule_Factory(t) { return new (t || CoreModule)(); }; CoreModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: CoreModule }); CoreModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ providers: [BROWSER_PROVIDER] }); return CoreModule; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: core/media-change.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Class instances emitted [to observers] for each mql notification */ class MediaChange { /** * @param {?=} matches whether the mediaQuery is currently activated * @param {?=} mediaQuery e.g. (min-width: 600px) and (max-width: 959px) * @param {?=} mqAlias e.g. gt-sm, md, gt-lg * @param {?=} suffix e.g. GtSM, Md, GtLg * @param {?=} priority the priority of activation for the given breakpoint */ constructor(matches = false, mediaQuery = 'all', mqAlias = '', suffix = '', priority = 0) { this.matches = matches; this.mediaQuery = mediaQuery; this.mqAlias = mqAlias; this.suffix = suffix; this.priority = priority; this.property = ''; } /** * Create an exact copy of the MediaChange * @return {?} */ clone() { return new MediaChange(this.matches, this.mediaQuery, this.mqAlias, this.suffix); } } /** * @fileoverview added by tsickle * Generated from: core/stylesheet-map/stylesheet-map.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Utility to emulate a CSS stylesheet * * This utility class stores all of the styles for a given HTML element * as a readonly `stylesheet` map. */ let StylesheetMap = /*#__PURE__*/(() => { class StylesheetMap { constructor() { this.stylesheet = new Map(); } /** * Add an individual style to an HTML element * @param {?} element * @param {?} style * @param {?} value * @return {?} */ addStyleToElement(element, style, value) { /** @type {?} */ const stylesheet = this.stylesheet.get(element); if (stylesheet) { stylesheet.set(style, value); } else { this.stylesheet.set(element, new Map([[style, value]])); } } /** * Clear the virtual stylesheet * @return {?} */ clearStyles() { this.stylesheet.clear(); } /** * Retrieve a given style for an HTML element * @param {?} el * @param {?} styleName * @return {?} */ getStyleForElement(el, styleName) { /** @type {?} */ const styles = this.stylesheet.get(el); /** @type {?} */ let value = ''; if (styles) { /** @type {?} */ const style = styles.get(styleName); if (typeof style === 'number' || typeof style === 'string') { value = style + ''; } } return value; } } StylesheetMap.ɵfac = function StylesheetMap_Factory(t) { return new (t || StylesheetMap)(); }; /** @nocollapse */ StylesheetMap.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function StylesheetMap_Factory() { return new StylesheetMap(); }, token: StylesheetMap, providedIn: "root" }); return StylesheetMap; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: core/stylesheet-map/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: core/tokens/library-config.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_CONFIG = { addFlexToParent: true, addOrientationBps: false, disableDefaultBps: false, disableVendorPrefixes: false, serverLoaded: false, useColumnBasisZero: true, printWithBreakpoints: [], mediaTriggerAutoRestore: true, ssrObserveBreakpoints: [] }; /** @type {?} */ const LAYOUT_CONFIG = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('Flex Layout token, config options for the library', { providedIn: 'root', factory: /** * @return {?} */ () => DEFAULT_CONFIG }); /** * @fileoverview added by tsickle * Generated from: core/tokens/server-token.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Token that is provided to tell whether the FlexLayoutServerModule * has been included in the bundle * * NOTE: This can be manually provided to disable styles when using SSR * @type {?} */ const SERVER_TOKEN = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('FlexLayoutServerLoaded', { providedIn: 'root', factory: /** * @return {?} */ () => false }); /** * @fileoverview added by tsickle * Generated from: core/tokens/breakpoint-token.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const BREAKPOINT = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('Flex Layout token, collect all breakpoints into one provider', { providedIn: 'root', factory: /** * @return {?} */ () => null }); /** * @fileoverview added by tsickle * Generated from: core/tokens/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: core/add-alias.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * For the specified MediaChange, make sure it contains the breakpoint alias * and suffix (if available). * @param {?} dest * @param {?} source * @return {?} */ function mergeAlias(dest, source) { dest = dest ? dest.clone() : new MediaChange(); if (source) { dest.mqAlias = source.alias; dest.mediaQuery = source.mediaQuery; dest.suffix = /** @type {?} */ source.suffix; dest.priority = /** @type {?} */ source.priority; } return dest; } /** * @fileoverview added by tsickle * Generated from: utils/layout-validator.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @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 * @type {?} */ const INLINE = 'inline'; /** @type {?} */ const LAYOUT_VALUES = ['row', 'column', 'row-reverse', 'column-reverse']; /** * Validate the direction|'direction wrap' value and then update the host's inline flexbox styles * @param {?} value * @return {?} */ function buildLayoutCSS(value) { let [direction, wrap, isInline] = validateValue(value); return buildCSS(direction, wrap, isInline); } /** * Validate the value to be one of the acceptable value options * Use default fallback of 'row' * @param {?} value * @return {?} */ function validateValue(value) { value = value ? value.toLowerCase() : ''; let [direction, wrap, inline] = value.split(' '); // First value must be the `flex-direction` if (!LAYOUT_VALUES.find( /** * @param {?} x * @return {?} */ x => x === direction)) { direction = LAYOUT_VALUES[0]; } if (wrap === INLINE) { wrap = inline !== INLINE ? inline : ''; inline = INLINE; } return [direction, validateWrapValue(wrap), !!inline]; } /** * Convert layout-wrap='' to expected flex-wrap style * @param {?} value * @return {?} */ function validateWrapValue(value) { if (!!value) { switch (value.toLowerCase()) { case 'reverse': case 'wrap-reverse': case 'reverse-wrap': value = 'wrap-reverse'; break; case 'no': case 'none': case 'nowrap': value = 'nowrap'; break; // All other values fallback to 'wrap' default: value = 'wrap'; break; } } return value; } /** * Build the CSS that should be assigned to the element instance * BUG: * 1) min-height on a column flex container won’t apply to its flex item children in IE 10-11. * Use height instead if possible; height : vh; * * This way any padding or border specified on the child elements are * laid out and drawn inside that element's specified width and height. * @param {?} direction * @param {?=} wrap * @param {?=} inline * @return {?} */ function buildCSS(direction, wrap = null, inline = false) { return { 'display': inline ? 'inline-flex' : 'flex', 'box-sizing': 'border-box', 'flex-direction': direction, 'flex-wrap': !!wrap ? wrap : null }; } /** * @fileoverview added by tsickle * Generated from: core/base/base2.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @abstract */ let BaseDirective2 = /*#__PURE__*/(() => { class BaseDirective2 { /** * @protected * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { this.elementRef = elementRef; this.styleBuilder = styleBuilder; this.styler = styler; this.marshal = marshal; this.DIRECTIVE_KEY = ''; this.inputs = []; /** * The most recently used styles for the builder */ this.mru = {}; this.destroySubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject(); /** * Cache map for style computation */ this.styleCache = new Map(); } /** * Access to host element's parent DOM node * @protected * @return {?} */ get parentElement() { return this.elementRef.nativeElement.parentElement; } /** * Access to the HTMLElement for the directive * @protected * @return {?} */ get nativeElement() { return this.elementRef.nativeElement; } /** * Access to the activated value for the directive * @return {?} */ get activatedValue() { return this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY); } /** * @param {?} value * @return {?} */ set activatedValue(value) { this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, value, this.marshal.activatedAlias); } /** * For \@Input changes * @param {?} changes * @return {?} */ ngOnChanges(changes) { Object.keys(changes).forEach( /** * @param {?} key * @return {?} */ key => { if (this.inputs.indexOf(key) !== -1) { /** @type {?} */ const bp = key.split('.').slice(1).join('.'); /** @type {?} */ const val = changes[key].currentValue; this.setValue(val, bp); } }); } /** * @return {?} */ ngOnDestroy() { this.destroySubject.next(); this.destroySubject.complete(); this.marshal.releaseElement(this.nativeElement); } /** * Register with central marshaller service * @protected * @param {?=} extraTriggers * @return {?} */ init(extraTriggers = []) { this.marshal.init(this.elementRef.nativeElement, this.DIRECTIVE_KEY, this.updateWithValue.bind(this), this.clearStyles.bind(this), extraTriggers); } /** * Add styles to the element using predefined style builder * @protected * @param {?} input * @param {?=} parent * @return {?} */ addStyles(input, parent) { /** @type {?} */ const builder = this.styleBuilder; /** @type {?} */ const useCache = builder.shouldCache; /** @type {?} */ let genStyles = this.styleCache.get(input); if (!genStyles || !useCache) { genStyles = builder.buildStyles(input, parent); if (useCache) { this.styleCache.set(input, genStyles); } } this.mru = Object.assign({}, genStyles); this.applyStyleToElement(genStyles); builder.sideEffect(input, genStyles, parent); } /** * Remove generated styles from an element using predefined style builder * @protected * @return {?} */ clearStyles() { Object.keys(this.mru).forEach( /** * @param {?} k * @return {?} */ k => { this.mru[k] = ''; }); this.applyStyleToElement(this.mru); this.mru = {}; } /** * Force trigger style updates on DOM element * @protected * @return {?} */ triggerUpdate() { this.marshal.triggerUpdate(this.nativeElement, this.DIRECTIVE_KEY); } /** * Determine the DOM element's Flexbox flow (flex-direction). * * Check inline style first then check computed (stylesheet) style. * And optionally add the flow value to element's inline style. * @protected * @param {?} target * @param {?=} addIfMissing * @return {?} */ getFlexFlowDirection(target, addIfMissing = false) { if (target) { const [value, hasInlineValue] = this.styler.getFlowDirection(target); if (!hasInlineValue && addIfMissing) { /** @type {?} */ const style = buildLayoutCSS(value); /** @type {?} */ const elements = [target]; this.styler.applyStyleToElements(style, elements); } return value.trim(); } return 'row'; } /** * @protected * @param {?} target * @return {?} */ hasWrap(target) { return this.styler.hasWrap(target); } /** * Applies styles given via string pair or object map to the directive element * @protected * @param {?} style * @param {?=} value * @param {?=} element * @return {?} */ applyStyleToElement(style, value, element = this.nativeElement) { this.styler.applyStyleToElement(element, style, value); } /** * @protected * @param {?} val * @param {?} bp * @return {?} */ setValue(val, bp) { this.marshal.setValue(this.nativeElement, this.DIRECTIVE_KEY, val, bp); } /** * @protected * @param {?} input * @return {?} */ updateWithValue(input) { if (this.currentValue !== input) { this.addStyles(input); this.currentValue = input; } } } BaseDirective2.ɵfac = function BaseDirective2_Factory(t) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinvalidFactory"](); }; BaseDirective2.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: BaseDirective2, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]] }); /** * @fileoverview added by tsickle * Generated from: core/base/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: core/breakpoints/data/break-points.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * NOTE: Smaller ranges have HIGHER priority since the match is more specific * @type {?} */ return BaseDirective2; })(); const DEFAULT_BREAKPOINTS = [{ alias: 'xs', mediaQuery: 'screen and (min-width: 0px) and (max-width: 599.98px)', priority: 1000 }, { alias: 'sm', mediaQuery: 'screen and (min-width: 600px) and (max-width: 959.98px)', priority: 900 }, { alias: 'md', mediaQuery: 'screen and (min-width: 960px) and (max-width: 1279.98px)', priority: 800 }, { alias: 'lg', mediaQuery: 'screen and (min-width: 1280px) and (max-width: 1919.98px)', priority: 700 }, { alias: 'xl', mediaQuery: 'screen and (min-width: 1920px) and (max-width: 4999.98px)', priority: 600 }, { alias: 'lt-sm', overlapping: true, mediaQuery: 'screen and (max-width: 599.98px)', priority: 950 }, { alias: 'lt-md', overlapping: true, mediaQuery: 'screen and (max-width: 959.98px)', priority: 850 }, { alias: 'lt-lg', overlapping: true, mediaQuery: 'screen and (max-width: 1279.98px)', priority: 750 }, { alias: 'lt-xl', overlapping: true, priority: 650, mediaQuery: 'screen and (max-width: 1919.98px)' }, { alias: 'gt-xs', overlapping: true, mediaQuery: 'screen and (min-width: 600px)', priority: -950 }, { alias: 'gt-sm', overlapping: true, mediaQuery: 'screen and (min-width: 960px)', priority: -850 }, { alias: 'gt-md', overlapping: true, mediaQuery: 'screen and (min-width: 1280px)', priority: -750 }, { alias: 'gt-lg', overlapping: true, mediaQuery: 'screen and (min-width: 1920px)', priority: -650 }]; /** * @fileoverview added by tsickle * Generated from: core/breakpoints/data/orientation-break-points.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /* tslint:disable */ /** @type {?} */ const HANDSET_PORTRAIT = '(orientation: portrait) and (max-width: 599.98px)'; /** @type {?} */ const HANDSET_LANDSCAPE = '(orientation: landscape) and (max-width: 959.98px)'; /** @type {?} */ const TABLET_PORTRAIT = '(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)'; /** @type {?} */ const TABLET_LANDSCAPE = '(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)'; /** @type {?} */ const WEB_PORTRAIT = '(orientation: portrait) and (min-width: 840px)'; /** @type {?} */ const WEB_LANDSCAPE = '(orientation: landscape) and (min-width: 1280px)'; /** @type {?} */ const ScreenTypes = { 'HANDSET': `${HANDSET_PORTRAIT}, ${HANDSET_LANDSCAPE}`, 'TABLET': `${TABLET_PORTRAIT} , ${TABLET_LANDSCAPE}`, 'WEB': `${WEB_PORTRAIT}, ${WEB_LANDSCAPE} `, 'HANDSET_PORTRAIT': `${HANDSET_PORTRAIT}`, 'TABLET_PORTRAIT': `${TABLET_PORTRAIT} `, 'WEB_PORTRAIT': `${WEB_PORTRAIT}`, 'HANDSET_LANDSCAPE': `${HANDSET_LANDSCAPE}`, 'TABLET_LANDSCAPE': `${TABLET_LANDSCAPE}`, 'WEB_LANDSCAPE': `${WEB_LANDSCAPE}` }; /** * Extended Breakpoints for handset/tablets with landscape or portrait orientations * @type {?} */ const ORIENTATION_BREAKPOINTS = [{ 'alias': 'handset', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET }, { 'alias': 'handset.landscape', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET_LANDSCAPE }, { 'alias': 'handset.portrait', priority: 2000, 'mediaQuery': ScreenTypes.HANDSET_PORTRAIT }, { 'alias': 'tablet', priority: 2100, 'mediaQuery': ScreenTypes.TABLET }, { 'alias': 'tablet.landscape', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_LANDSCAPE }, { 'alias': 'tablet.portrait', priority: 2100, 'mediaQuery': ScreenTypes.TABLET_PORTRAIT }, { 'alias': 'web', priority: 2200, 'mediaQuery': ScreenTypes.WEB, overlapping: true }, { 'alias': 'web.landscape', priority: 2200, 'mediaQuery': ScreenTypes.WEB_LANDSCAPE, overlapping: true }, { 'alias': 'web.portrait', priority: 2200, 'mediaQuery': ScreenTypes.WEB_PORTRAIT, overlapping: true }]; /** * @fileoverview added by tsickle * Generated from: core/breakpoints/break-point.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: utils/object-extend.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Extends an object with the *enumerable* and *own* properties of one or more source objects, * similar to Object.assign. * * @param {?} dest The object which will have properties copied to it. * @param {...?} sources The source objects from which properties will be copied. * @return {?} */ function extendObject(dest, ...sources) { if (dest == null) { throw TypeError('Cannot convert undefined or null to object'); } for (let source of sources) { if (source != null) { for (let key in source) { if (source.hasOwnProperty(key)) { dest[key] = source[key]; } } } } return dest; } /** * @fileoverview added by tsickle * Generated from: core/breakpoints/breakpoint-tools.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const ALIAS_DELIMITERS = /(\.|-|_)/g; /** * @param {?} part * @return {?} */ function firstUpperCase(part) { /** @type {?} */ let first = part.length > 0 ? part.charAt(0) : ''; /** @type {?} */ let remainder = part.length > 1 ? part.slice(1) : ''; return first.toUpperCase() + remainder; } /** * Converts snake-case to SnakeCase. * @param {?} name Text to UpperCamelCase * @return {?} */ function camelCase(name) { return name.replace(ALIAS_DELIMITERS, '|').split('|').map(firstUpperCase).join(''); } /** * For each breakpoint, ensure that a Suffix is defined; * fallback to UpperCamelCase the unique Alias value * @param {?} list * @return {?} */ function validateSuffixes(list) { list.forEach( /** * @param {?} bp * @return {?} */ bp => { if (!bp.suffix) { bp.suffix = camelCase(bp.alias); // create Suffix value based on alias bp.overlapping = !!bp.overlapping; // ensure default value } }); return list; } /** * Merge a custom breakpoint list with the default list based on unique alias values * - Items are added if the alias is not in the default list * - Items are merged with the custom override if the alias exists in the default list * @param {?} defaults * @param {?=} custom * @return {?} */ function mergeByAlias(defaults, custom = []) { /** @type {?} */ const dict = {}; defaults.forEach( /** * @param {?} bp * @return {?} */ bp => { dict[bp.alias] = bp; }); // Merge custom breakpoints custom.forEach( /** * @param {?} bp * @return {?} */ bp => { if (dict[bp.alias]) { extendObject(dict[bp.alias], bp); } else { dict[bp.alias] = bp; } }); return validateSuffixes(Object.keys(dict).map( /** * @param {?} k * @return {?} */ k => dict[k])); } /** * @fileoverview added by tsickle * Generated from: core/breakpoints/break-points-token.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Injection token unique to the flex-layout library. * Use this token when build a custom provider (see below). * @type {?} */ const BREAKPOINTS = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('Token (@angular/flex-layout) Breakpoints', { providedIn: 'root', factory: /** * @return {?} */ () => { /** @type {?} */ const breakpoints = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(BREAKPOINT); /** @type {?} */ const layoutConfig = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(LAYOUT_CONFIG); /** @type {?} */ const bpFlattenArray = [].concat.apply([], (breakpoints || []).map( /** * @param {?} v * @return {?} */ v => Array.isArray(v) ? v : [v])); /** @type {?} */ const builtIns = (layoutConfig.disableDefaultBps ? [] : DEFAULT_BREAKPOINTS).concat(layoutConfig.addOrientationBps ? ORIENTATION_BREAKPOINTS : []); return mergeByAlias(builtIns, bpFlattenArray); } }); /** * @fileoverview added by tsickle * Generated from: core/utils/sort.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * HOF to sort the breakpoints by descending priority * @template T * @param {?} a * @param {?} b * @return {?} */ function sortDescendingPriority(a, b) { /** @type {?} */ const priorityA = a ? a.priority || 0 : 0; /** @type {?} */ const priorityB = b ? b.priority || 0 : 0; return priorityB - priorityA; } /** * HOF to sort the breakpoints by ascending priority * @template T * @param {?} a * @param {?} b * @return {?} */ function sortAscendingPriority(a, b) { /** @type {?} */ const pA = a.priority || 0; /** @type {?} */ const pB = b.priority || 0; return pA - pB; } /** * @fileoverview added by tsickle * Generated from: core/breakpoints/break-point-registry.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Registry of 1..n MediaQuery breakpoint ranges * This is published as a provider and may be overridden from custom, application-specific ranges * */ let BreakPointRegistry = /*#__PURE__*/(() => { class BreakPointRegistry { /** * @param {?} list */ constructor(list) { /** * Memoized BreakPoint Lookups */ this.findByMap = new Map(); this.items = [...list].sort(sortAscendingPriority); } /** * Search breakpoints by alias (e.g. gt-xs) * @param {?} alias * @return {?} */ findByAlias(alias) { return !alias ? null : this.findWithPredicate(alias, /** * @param {?} bp * @return {?} */ bp => bp.alias == alias); } /** * @param {?} query * @return {?} */ findByQuery(query) { return this.findWithPredicate(query, /** * @param {?} bp * @return {?} */ bp => bp.mediaQuery == query); } /** * Get all the breakpoints whose ranges could overlapping `normal` ranges; * e.g. gt-sm overlaps md, lg, and xl * @return {?} */ get overlappings() { return this.items.filter( /** * @param {?} it * @return {?} */ it => it.overlapping == true); } /** * Get list of all registered (non-empty) breakpoint aliases * @return {?} */ get aliases() { return this.items.map( /** * @param {?} it * @return {?} */ it => it.alias); } /** * Aliases are mapped to properties using suffixes * e.g. 'gt-sm' for property 'layout' uses suffix 'GtSm' * for property layoutGtSM. * @return {?} */ get suffixes() { return this.items.map( /** * @param {?} it * @return {?} */ it => !!it.suffix ? it.suffix : ''); } /** * Memoized lookup using custom predicate function * @private * @param {?} key * @param {?} searchFn * @return {?} */ findWithPredicate(key, searchFn) { /** @type {?} */ let response = this.findByMap.get(key); if (!response) { response = this.items.find(searchFn) || null; this.findByMap.set(key, response); } return response || null; } } BreakPointRegistry.ɵfac = function BreakPointRegistry_Factory(t) { return new (t || BreakPointRegistry)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](BREAKPOINTS)); }; /** @nocollapse */ BreakPointRegistry.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function BreakPointRegistry_Factory() { return new BreakPointRegistry((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(BREAKPOINTS)); }, token: BreakPointRegistry, providedIn: "root" }); /** @nocollapse */ return BreakPointRegistry; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: core/breakpoints/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: core/match-media/match-media.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * MediaMonitor configures listeners to mediaQuery changes and publishes an Observable facade to * convert mediaQuery change callbacks to subscriber notifications. These notifications will be * performed within the ng Zone to trigger change detections and component updates. * * NOTE: both mediaQuery activations and de-activations are announced in notifications */ let MatchMedia = /*#__PURE__*/(() => { class MatchMedia { /** * @param {?} _zone * @param {?} _platformId * @param {?} _document */ constructor(_zone, _platformId, _document) { this._zone = _zone; this._platformId = _platformId; this._document = _document; /** * Initialize source with 'all' so all non-responsive APIs trigger style updates */ this.source = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject(new MediaChange(true)); this.registry = new Map(); this.pendingRemoveListenerFns = []; this._observable$ = this.source.asObservable(); } /** * Publish list of all current activations * @return {?} */ get activations() { /** @type {?} */ const results = []; this.registry.forEach( /** * @param {?} mql * @param {?} key * @return {?} */ (mql, key) => { if (mql.matches) { results.push(key); } }); return results; } /** * For the specified mediaQuery? * @param {?} mediaQuery * @return {?} */ isActive(mediaQuery) { /** @type {?} */ const mql = this.registry.get(mediaQuery); return !!mql ? mql.matches : this.registerQuery(mediaQuery).some( /** * @param {?} m * @return {?} */ m => m.matches); } /** * External observers can watch for all (or a specific) mql changes. * Typically used by the MediaQueryAdaptor; optionally available to components * who wish to use the MediaMonitor as mediaMonitor$ observable service. * * Use deferred registration process to register breakpoints only on subscription * This logic also enforces logic to register all mediaQueries BEFORE notify * subscribers of notifications. * @param {?=} mqList * @param {?=} filterOthers * @return {?} */ observe(mqList, filterOthers = false) { if (mqList && mqList.length) { /** @type {?} */ const matchMedia$ = this._observable$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.filter)( /** * @param {?} change * @return {?} */ change => !filterOthers ? true : mqList.indexOf(change.mediaQuery) > -1)); /** @type {?} */ const registration$ = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable( /** * @param {?} observer * @return {?} */ observer => { // tslint:disable-line:max-line-length /** @type {?} */ const matches = this.registerQuery(mqList); if (matches.length) { /** @type {?} */ const lastChange = /** @type {?} */ matches.pop(); matches.forEach( /** * @param {?} e * @return {?} */ e => { observer.next(e); }); this.source.next(lastChange); // last match is cached } observer.complete(); }); return (0,rxjs__WEBPACK_IMPORTED_MODULE_6__.merge)(registration$, matchMedia$); } return this._observable$; } /** * Based on the BreakPointRegistry provider, register internal listeners for each unique * mediaQuery. Each listener emits specific MediaChange data to observers * @param {?} mediaQuery * @return {?} */ registerQuery(mediaQuery) { /** @type {?} */ const list = Array.isArray(mediaQuery) ? mediaQuery : [mediaQuery]; /** @type {?} */ const matches = []; buildQueryCss(list, this._document); list.forEach( /** * @param {?} query * @return {?} */ query => { /** @type {?} */ const onMQLEvent = /** * @param {?} e * @return {?} */ e => { this._zone.run( /** * @return {?} */ () => this.source.next(new MediaChange(e.matches, query))); }; /** @type {?} */ let mql = this.registry.get(query); if (!mql) { mql = this.buildMQL(query); mql.addListener(onMQLEvent); this.pendingRemoveListenerFns.push( /** * @return {?} */ () => /** @type {?} */ mql.removeListener(onMQLEvent)); this.registry.set(query, mql); } if (mql.matches) { matches.push(new MediaChange(true, query)); } }); return matches; } /** * @return {?} */ ngOnDestroy() { /** @type {?} */ let fn; while (fn = this.pendingRemoveListenerFns.pop()) { fn(); } } /** * Call window.matchMedia() to build a MediaQueryList; which * supports 0..n listeners for activation/deactivation * @protected * @param {?} query * @return {?} */ buildMQL(query) { return constructMql(query, (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(this._platformId)); } } MatchMedia.ɵfac = function MatchMedia_Factory(t) { return new (t || MatchMedia)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT)); }; /** @nocollapse */ MatchMedia.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function MatchMedia_Factory() { return new MatchMedia((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT)); }, token: MatchMedia, providedIn: "root" }); /** @nocollapse */ return MatchMedia; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Private global registry for all dynamically-created, injected style tags * @see prepare(query) * @type {?} */ const ALL_STYLES = {}; /** * For Webkit engines that only trigger the MediaQueryList Listener * when there is at least one CSS selector for the respective media query. * * @param {?} mediaQueries * @param {?} _document * @return {?} */ function buildQueryCss(mediaQueries, _document) { /** @type {?} */ const list = mediaQueries.filter( /** * @param {?} it * @return {?} */ it => !ALL_STYLES[it]); if (list.length > 0) { /** @type {?} */ const query = list.join(', '); try { /** @type {?} */ const styleEl = _document.createElement('style'); styleEl.setAttribute('type', 'text/css'); if (! /** @type {?} */ styleEl.styleSheet) { /** @type {?} */ const cssText = ` /* @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners see http://bit.ly/2sd4HMP */ @media ${query} {.fx-query-test{ }} `; styleEl.appendChild(_document.createTextNode(cssText)); } /** @type {?} */ _document.head.appendChild(styleEl); // Store in private global registry list.forEach( /** * @param {?} mq * @return {?} */ mq => ALL_STYLES[mq] = styleEl); } catch (e) { console.error(e); } } } /** * @param {?} query * @param {?} isBrowser * @return {?} */ function constructMql(query, isBrowser) { /** @type {?} */ const canListen = isBrowser && !! /** @type {?} */ window.matchMedia('all').addListener; return canListen ? /** @type {?} */ window.matchMedia(query) : /** @type {?} */ { matches: query === 'all' || query === '', media: query, addListener: /** * @return {?} */ () => {}, removeListener: /** * @return {?} */ () => {}, onchange: null, /** * @return {?} */ addEventListener() {}, /** * @return {?} */ removeEventListener() {}, /** * @return {?} */ dispatchEvent() { return false; } }; } /** * @fileoverview added by tsickle * Generated from: core/match-media/mock/mock-match-media.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * MockMatchMedia mocks calls to the Window API matchMedia with a build of a simulated * MockMediaQueryListener. Methods are available to simulate an activation of a mediaQuery * range and to clearAll mediaQuery listeners. */ let MockMatchMedia = /*#__PURE__*/(() => { class MockMatchMedia extends MatchMedia { // Allow fallback to overlapping mediaQueries /** * @param {?} _zone * @param {?} _platformId * @param {?} _document * @param {?} _breakpoints */ constructor(_zone, _platformId, _document, _breakpoints) { super(_zone, _platformId, _document); this._breakpoints = _breakpoints; this.autoRegisterQueries = true; // Used for testing BreakPoint registrations // Used for testing BreakPoint registrations this.useOverlaps = false; // Allow fallback to overlapping mediaQueries } /** * Easy method to clear all listeners for all mediaQueries * @return {?} */ clearAll() { this.registry.forEach( /** * @param {?} mql * @return {?} */ mql => { /** @type {?} */ mql.destroy(); }); this.registry.clear(); this.useOverlaps = false; } /** * Feature to support manual, simulated activation of a mediaQuery. * @param {?} mediaQuery * @param {?=} useOverlaps * @return {?} */ activate(mediaQuery, useOverlaps = false) { useOverlaps = useOverlaps || this.useOverlaps; mediaQuery = this._validateQuery(mediaQuery); if (useOverlaps || !this.isActive(mediaQuery)) { this._deactivateAll(); this._registerMediaQuery(mediaQuery); this._activateWithOverlaps(mediaQuery, useOverlaps); } return this.hasActivated; } /** * Converts an optional mediaQuery alias to a specific, valid mediaQuery * @param {?} queryOrAlias * @return {?} */ _validateQuery(queryOrAlias) { /** @type {?} */ const bp = this._breakpoints.findByAlias(queryOrAlias); return bp && bp.mediaQuery || queryOrAlias; } /** * Manually onMediaChange any overlapping mediaQueries to simulate * similar functionality in the window.matchMedia() * @private * @param {?} mediaQuery * @param {?} useOverlaps * @return {?} */ _activateWithOverlaps(mediaQuery, useOverlaps) { if (useOverlaps) { /** @type {?} */ const bp = this._breakpoints.findByQuery(mediaQuery); /** @type {?} */ const alias = bp ? bp.alias : 'unknown'; // Simulate activation of overlapping lt- ranges switch (alias) { case 'lg': this._activateByAlias(['lt-xl']); break; case 'md': this._activateByAlias(['lt-xl', 'lt-lg']); break; case 'sm': this._activateByAlias(['lt-xl', 'lt-lg', 'lt-md']); break; case 'xs': this._activateByAlias(['lt-xl', 'lt-lg', 'lt-md', 'lt-sm']); break; } // Simulate activation of overlapping gt- mediaQuery ranges switch (alias) { case 'xl': this._activateByAlias(['gt-lg', 'gt-md', 'gt-sm', 'gt-xs']); break; case 'lg': this._activateByAlias(['gt-md', 'gt-sm', 'gt-xs']); break; case 'md': this._activateByAlias(['gt-sm', 'gt-xs']); break; case 'sm': this._activateByAlias(['gt-xs']); break; } } // Activate last since the responsiveActivation is watching *this* mediaQuery return this._activateByQuery(mediaQuery); } /** * * @private * @param {?} aliases * @return {?} */ _activateByAlias(aliases) { /** @type {?} */ const activate = /** * @param {?} alias * @return {?} */ alias => { /** @type {?} */ const bp = this._breakpoints.findByAlias(alias); this._activateByQuery(bp ? bp.mediaQuery : alias); }; aliases.forEach(activate); } /** * * @private * @param {?} mediaQuery * @return {?} */ _activateByQuery(mediaQuery) { if (!this.registry.has(mediaQuery) && this.autoRegisterQueries) { this._registerMediaQuery(mediaQuery); } /** @type {?} */ const mql = /** @type {?} */ this.registry.get(mediaQuery); if (mql && !this.isActive(mediaQuery)) { this.registry.set(mediaQuery, mql.activate()); } return this.hasActivated; } /** * Deactivate all current MQLs and reset the buffer * @private * @template THIS * @this {THIS} * @return {THIS} */ _deactivateAll() { /** @type {?} */ this.registry.forEach( /** * @param {?} it * @return {?} */ it => { /** @type {?} */ it.deactivate(); }); return ( /** @type {?} */ this ); } /** * Insure the mediaQuery is registered with MatchMedia * @private * @param {?} mediaQuery * @return {?} */ _registerMediaQuery(mediaQuery) { if (!this.registry.has(mediaQuery) && this.autoRegisterQueries) { this.registerQuery(mediaQuery); } } /** * Call window.matchMedia() to build a MediaQueryList; which * supports 0..n listeners for activation/deactivation * @protected * @param {?} query * @return {?} */ buildMQL(query) { return new MockMediaQueryList(query); } /** * @protected * @return {?} */ get hasActivated() { return this.activations.length > 0; } } MockMatchMedia.ɵfac = function MockMatchMedia_Factory(t) { return new (t || MockMatchMedia)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](BreakPointRegistry)); }; MockMatchMedia.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: MockMatchMedia, factory: MockMatchMedia.ɵfac }); /** @nocollapse */ return MockMatchMedia; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Special internal class to simulate a MediaQueryList and * - supports manual activation to simulate mediaQuery matching * - manages listeners */ class MockMediaQueryList { /** * @param {?} _mediaQuery */ constructor(_mediaQuery) { this._mediaQuery = _mediaQuery; this._isActive = false; this._listeners = []; this.onchange = null; } /** * @return {?} */ get matches() { return this._isActive; } /** * @return {?} */ get media() { return this._mediaQuery; } /** * Destroy the current list by deactivating the * listeners and clearing the internal list * @return {?} */ destroy() { this.deactivate(); this._listeners = []; } /** * Notify all listeners that 'matches === TRUE' * @return {?} */ activate() { if (!this._isActive) { this._isActive = true; this._listeners.forEach( /** * @param {?} callback * @return {?} */ callback => { /** @type {?} */ const cb = /** @type {?} */ callback; cb.call(this, /** @type {?} */ { matches: this.matches, media: this.media }); }); } return this; } /** * Notify all listeners that 'matches === false' * @return {?} */ deactivate() { if (this._isActive) { this._isActive = false; this._listeners.forEach( /** * @param {?} callback * @return {?} */ callback => { /** @type {?} */ const cb = /** @type {?} */ callback; cb.call(this, /** @type {?} */ { matches: this.matches, media: this.media }); }); } return this; } /** * Add a listener to our internal list to activate later * @param {?} listener * @return {?} */ addListener(listener) { if (this._listeners.indexOf(listener) === -1) { this._listeners.push(listener); } if (this._isActive) { /** @type {?} */ const cb = /** @type {?} */ listener; cb.call(this, /** @type {?} */ { matches: this.matches, media: this.media }); } } /** * Don't need to remove listeners in the testing environment * @param {?} _ * @return {?} */ removeListener(_) {} /** * @param {?} _ * @param {?} __ * @param {?=} ___ * @return {?} */ addEventListener(_, __, ___) {} /** * @param {?} _ * @param {?} __ * @param {?=} ___ * @return {?} */ removeEventListener(_, __, ___) {} /** * @param {?} _ * @return {?} */ dispatchEvent(_) { return false; } } /** * Pre-configured provider for MockMatchMedia * @type {?} */ const MockMatchMediaProvider = { // tslint:disable-line:variable-name provide: MatchMedia, useClass: MockMatchMedia }; /** * @fileoverview added by tsickle * Generated from: core/match-media/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: core/media-marshaller/print-hook.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const PRINT = 'print'; /** @type {?} */ const BREAKPOINT_PRINT = { alias: PRINT, mediaQuery: PRINT, priority: 1000 }; /** * PrintHook - Use to intercept print MediaQuery activations and force * layouts to render with the specified print alias/breakpoint * * Used in MediaMarshaller and MediaObserver */ let PrintHook = /*#__PURE__*/(() => { class PrintHook { /** * @param {?} breakpoints * @param {?} layoutConfig * @param {?} _document */ constructor(breakpoints, layoutConfig, _document) { this.breakpoints = breakpoints; this.layoutConfig = layoutConfig; this._document = _document; // registeredBeforeAfterPrintHooks tracks if we registered the `beforeprint` // and `afterprint` event listeners. this.registeredBeforeAfterPrintHooks = false; // isPrintingBeforeAfterEvent is used to track if we are printing from within // a `beforeprint` event handler. This prevents the typicall `stopPrinting` // form `interceptEvents` so that printing is not stopped while the dialog // is still open. This is an extension of the `isPrinting` property on // browsers which support `beforeprint` and `afterprint` events. this.isPrintingBeforeAfterEvent = false; this.beforePrintEventListeners = []; this.afterPrintEventListeners = []; /** * Is this service currently in Print-mode ? */ this.isPrinting = false; this.queue = new PrintQueue(); this.deactivations = []; } /** * Add 'print' mediaQuery: to listen for matchMedia activations * @param {?} queries * @return {?} */ withPrintQuery(queries) { return [...queries, PRINT]; } /** * Is the MediaChange event for any 'print' \@media * @param {?} e * @return {?} */ isPrintEvent(e) { return e.mediaQuery.startsWith(PRINT); } /** * What is the desired mqAlias to use while printing? * @return {?} */ get printAlias() { return this.layoutConfig.printWithBreakpoints || []; } /** * Lookup breakpoints associated with print aliases. * @return {?} */ get printBreakPoints() { return ( /** @type {?} */ this.printAlias.map( /** * @param {?} alias * @return {?} */ alias => this.breakpoints.findByAlias(alias)).filter( /** * @param {?} bp * @return {?} */ bp => bp !== null) ); } /** * Lookup breakpoint associated with mediaQuery * @param {?} __0 * @return {?} */ getEventBreakpoints({ mediaQuery }) { /** @type {?} */ const bp = this.breakpoints.findByQuery(mediaQuery); /** @type {?} */ const list = bp ? [...this.printBreakPoints, bp] : this.printBreakPoints; return list.sort(sortDescendingPriority); } /** * Update event with printAlias mediaQuery information * @param {?} event * @return {?} */ updateEvent(event) { /** @type {?} */ let bp = this.breakpoints.findByQuery(event.mediaQuery); if (this.isPrintEvent(event)) { // Reset from 'print' to first (highest priority) print breakpoint bp = this.getEventBreakpoints(event)[0]; event.mediaQuery = bp ? bp.mediaQuery : ''; } return mergeAlias(event, bp); } // registerBeforeAfterPrintHooks registers a `beforeprint` event hook so we can // trigger print styles synchronously and apply proper layout styles. // It is a noop if the hooks have already been registered or if the document's // `defaultView` is not available. /** * @private * @param {?} target * @return {?} */ registerBeforeAfterPrintHooks(target) { // `defaultView` may be null when rendering on the server or in other contexts. if (!this._document.defaultView || this.registeredBeforeAfterPrintHooks) { return; } this.registeredBeforeAfterPrintHooks = true; /** @type {?} */ const beforePrintListener = /** * @return {?} */ () => { // If we aren't already printing, start printing and update the styles as // if there was a regular print `MediaChange`(from matchMedia). if (!this.isPrinting) { this.isPrintingBeforeAfterEvent = true; this.startPrinting(target, this.getEventBreakpoints(new MediaChange(true, PRINT))); target.updateStyles(); } }; /** @type {?} */ const afterPrintListener = /** * @return {?} */ () => { // If we aren't already printing, start printing and update the styles as // if there was a regular print `MediaChange`(from matchMedia). this.isPrintingBeforeAfterEvent = false; if (this.isPrinting) { this.stopPrinting(target); target.updateStyles(); } }; // Could we have teardown logic to remove if there are no print listeners being used? this._document.defaultView.addEventListener('beforeprint', beforePrintListener); this._document.defaultView.addEventListener('afterprint', afterPrintListener); this.beforePrintEventListeners.push(beforePrintListener); this.afterPrintEventListeners.push(afterPrintListener); } /** * Prepare RxJS filter operator with partial application * @param {?} target * @return {?} pipeable filter predicate */ interceptEvents(target) { this.registerBeforeAfterPrintHooks(target); return ( /** * @param {?} event * @return {?} */ event => { if (this.isPrintEvent(event)) { if (event.matches && !this.isPrinting) { this.startPrinting(target, this.getEventBreakpoints(event)); target.updateStyles(); } else if (!event.matches && this.isPrinting && !this.isPrintingBeforeAfterEvent) { this.stopPrinting(target); target.updateStyles(); } } else { this.collectActivations(event); } } ); } /** * Stop mediaChange event propagation in event streams * @return {?} */ blockPropagation() { return ( /** * @param {?} event * @return {?} */ event => { return !(this.isPrinting || this.isPrintEvent(event)); } ); } /** * Save current activateBreakpoints (for later restore) * and substitute only the printAlias breakpoint * @protected * @param {?} target * @param {?} bpList * @return {?} */ startPrinting(target, bpList) { this.isPrinting = true; target.activatedBreakpoints = this.queue.addPrintBreakpoints(bpList); } /** * For any print de-activations, reset the entire print queue * @protected * @param {?} target * @return {?} */ stopPrinting(target) { target.activatedBreakpoints = this.deactivations; this.deactivations = []; this.queue.clear(); this.isPrinting = false; } /** * To restore pre-Print Activations, we must capture the proper * list of breakpoint activations BEFORE print starts. OnBeforePrint() * is supported; so 'print' mediaQuery activations are used as a fallback * in browsers without `beforeprint` support. * * > But activated breakpoints are deactivated BEFORE 'print' activation. * * Let's capture all de-activations using the following logic: * * When not printing: * - clear cache when activating non-print breakpoint * - update cache (and sort) when deactivating * * When printing: * - sort and save when starting print * - restore as activatedTargets and clear when stop printing * @param {?} event * @return {?} */ collectActivations(event) { if (!this.isPrinting || this.isPrintingBeforeAfterEvent) { if (!event.matches) { /** @type {?} */ const bp = this.breakpoints.findByQuery(event.mediaQuery); if (bp) { // Deactivating a breakpoint this.deactivations.push(bp); this.deactivations.sort(sortDescendingPriority); } } else if (!this.isPrintingBeforeAfterEvent) { // Only clear deactivations if we aren't printing from a `beforeprint` event. // Otherwise this will clear before `stopPrinting()` is called to restore // the pre-Print Activations. this.deactivations = []; } } } /** * Teardown logic for the service. * @return {?} */ ngOnDestroy() { if (this._document.defaultView) { this.beforePrintEventListeners.forEach( /** * @param {?} l * @return {?} */ l => this._document.defaultView.removeEventListener('beforeprint', l)); this.afterPrintEventListeners.forEach( /** * @param {?} l * @return {?} */ l => this._document.defaultView.removeEventListener('afterprint', l)); } } } PrintHook.ɵfac = function PrintHook_Factory(t) { return new (t || PrintHook)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](BreakPointRegistry), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](LAYOUT_CONFIG), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT)); }; /** @nocollapse */ PrintHook.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function PrintHook_Factory() { return new PrintHook((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(BreakPointRegistry), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(LAYOUT_CONFIG), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT)); }, token: PrintHook, providedIn: "root" }); /** @nocollapse */ return PrintHook; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); // ************************************************************************ // Internal Utility class 'PrintQueue' // ************************************************************************ /** * Utility class to manage print breakpoints + activatedBreakpoints * with correct sorting WHILE printing */ class PrintQueue { constructor() { /** * Sorted queue with prioritized print breakpoints */ this.printBreakpoints = []; } /** * @param {?} bpList * @return {?} */ addPrintBreakpoints(bpList) { bpList.push(BREAKPOINT_PRINT); bpList.sort(sortDescendingPriority); bpList.forEach( /** * @param {?} bp * @return {?} */ bp => this.addBreakpoint(bp)); return this.printBreakpoints; } /** * Add Print breakpoint to queue * @param {?} bp * @return {?} */ addBreakpoint(bp) { if (!!bp) { /** @type {?} */ const bpInList = this.printBreakpoints.find( /** * @param {?} it * @return {?} */ it => it.mediaQuery === bp.mediaQuery); if (bpInList === undefined) { // If this is a `printAlias` breakpoint, then append. If a true 'print' breakpoint, // register as highest priority in the queue this.printBreakpoints = isPrintBreakPoint(bp) ? [bp, ...this.printBreakpoints] : [...this.printBreakpoints, bp]; } } } /** * Restore original activated breakpoints and clear internal caches * @return {?} */ clear() { this.printBreakpoints = []; } } // ************************************************************************ // Internal Utility methods // ************************************************************************ /** * Only support intercept queueing if the Breakpoint is a print \@media query * @param {?} bp * @return {?} */ function isPrintBreakPoint(bp) { return bp ? bp.mediaQuery.startsWith(PRINT) : false; } /** * @fileoverview added by tsickle * Generated from: core/utils/array.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Wraps the provided value in an array, unless the provided value is an array. * @template T * @param {?} value * @return {?} */ function coerceArray(value) { return Array.isArray(value) ? value : [value]; } /** * @fileoverview added by tsickle * Generated from: core/media-observer/media-observer.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * MediaObserver enables applications to listen for 1..n mediaQuery activations and to determine * if a mediaQuery is currently activated. * * Since a breakpoint change will first deactivate 1...n mediaQueries and then possibly activate * 1..n mediaQueries, the MediaObserver will debounce notifications and report ALL *activations* * in 1 event notification. The reported activations will be sorted in descending priority order. * * This class uses the BreakPoint Registry to inject alias information into the raw MediaChange * notification. For custom mediaQuery notifications, alias information will not be injected and * those fields will be ''. * * Note: Developers should note that only mediaChange activations (not de-activations) * are announced by the MediaObserver. * * \@usage * * // RxJS * import { filter } from 'rxjs/operators'; * import { MediaObserver } from '\@angular/flex-layout'; * * \@Component({ ... }) * export class AppComponent { * status: string = ''; * * constructor(mediaObserver: MediaObserver) { * const media$ = mediaObserver.asObservable().pipe( * filter((changes: MediaChange[]) => true) // silly noop filter * ); * * media$.subscribe((changes: MediaChange[]) => { * let status = ''; * changes.forEach( change => { * status += `'${change.mqAlias}' = (${change.mediaQuery})
` ; * }); * this.status = status; * }); * * } * } */ let MediaObserver = /*#__PURE__*/(() => { class MediaObserver { /** * @param {?} breakpoints * @param {?} matchMedia * @param {?} hook */ constructor(breakpoints, matchMedia, hook) { this.breakpoints = breakpoints; this.matchMedia = matchMedia; this.hook = hook; /** * Filter MediaChange notifications for overlapping breakpoints */ this.filterOverlaps = false; this.destroyed$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject(); this._media$ = this.watchActivations(); this.media$ = this._media$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.filter)( /** * @param {?} changes * @return {?} */ changes => changes.length > 0), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.map)( /** * @param {?} changes * @return {?} */ changes => changes[0])); } /** * Completes the active subject, signalling to all complete for all * MediaObserver subscribers * @return {?} */ ngOnDestroy() { this.destroyed$.next(); this.destroyed$.complete(); } // ************************************************ // Public Methods // ************************************************ /** * Observe changes to current activation 'list' * @return {?} */ asObservable() { return this._media$; } /** * Allow programmatic query to determine if one or more media query/alias match * the current viewport size. * @param {?} value One or more media queries (or aliases) to check. * @return {?} Whether any of the media queries match. */ isActive(value) { /** @type {?} */ const aliases = splitQueries(coerceArray(value)); return aliases.some( /** * @param {?} alias * @return {?} */ alias => { /** @type {?} */ const query = toMediaQuery(alias, this.breakpoints); return query !== null && this.matchMedia.isActive(query); }); } // ************************************************ // Internal Methods // ************************************************ /** * Register all the mediaQueries registered in the BreakPointRegistry * This is needed so subscribers can be auto-notified of all standard, registered * mediaQuery activations * @private * @return {?} */ watchActivations() { /** @type {?} */ const queries = this.breakpoints.items.map( /** * @param {?} bp * @return {?} */ bp => bp.mediaQuery); return this.buildObservable(queries); } /** * Only pass/announce activations (not de-activations) * * Since multiple-mediaQueries can be activation in a cycle, * gather all current activations into a single list of changes to observers * * Inject associated (if any) alias information into the MediaChange event * - Exclude mediaQuery activations for overlapping mQs. List bounded mQ ranges only * - Exclude print activations that do not have an associated mediaQuery * * NOTE: the raw MediaChange events [from MatchMedia] do not * contain important alias information; as such this info * must be injected into the MediaChange * @private * @param {?} mqList * @return {?} */ buildObservable(mqList) { /** @type {?} */ const hasChanges = /** * @param {?} changes * @return {?} */ changes => { /** @type {?} */ const isValidQuery = /** * @param {?} change * @return {?} */ change => change.mediaQuery.length > 0; return changes.filter(isValidQuery).length > 0; }; /** @type {?} */ const excludeOverlaps = /** * @param {?} changes * @return {?} */ changes => { return !this.filterOverlaps ? changes : changes.filter( /** * @param {?} change * @return {?} */ change => { /** @type {?} */ const bp = this.breakpoints.findByQuery(change.mediaQuery); return !bp ? true : !bp.overlapping; }); }; /** */ return this.matchMedia.observe(this.hook.withPrintQuery(mqList)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.filter)( /** * @param {?} change * @return {?} */ change => change.matches), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.debounceTime)(0, rxjs__WEBPACK_IMPORTED_MODULE_9__.asapScheduler), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.switchMap)( /** * @param {?} _ * @return {?} */ _ => (0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(this.findAllActivations())), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.map)(excludeOverlaps), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.filter)(hasChanges), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.takeUntil)(this.destroyed$)); } /** * Find all current activations and prepare single list of activations * sorted by descending priority. * @private * @return {?} */ findAllActivations() { /** @type {?} */ const mergeMQAlias = /** * @param {?} change * @return {?} */ change => { /** @type {?} */ let bp = this.breakpoints.findByQuery(change.mediaQuery); return mergeAlias(change, bp); }; /** @type {?} */ const replaceWithPrintAlias = /** * @param {?} change * @return {?} */ change => { return this.hook.isPrintEvent(change) ? this.hook.updateEvent(change) : change; }; return this.matchMedia.activations.map( /** * @param {?} query * @return {?} */ query => new MediaChange(true, query)).map(replaceWithPrintAlias).map(mergeMQAlias).sort(sortDescendingPriority); } } MediaObserver.ɵfac = function MediaObserver_Factory(t) { return new (t || MediaObserver)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](BreakPointRegistry), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](MatchMedia), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](PrintHook)); }; /** @nocollapse */ MediaObserver.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function MediaObserver_Factory() { return new MediaObserver((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(BreakPointRegistry), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(MatchMedia), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(PrintHook)); }, token: MediaObserver, providedIn: "root" }); /** @nocollapse */ return MediaObserver; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Find associated breakpoint (if any) * @param {?} query * @param {?} locator * @return {?} */ function toMediaQuery(query, locator) { /** @type {?} */ const bp = locator.findByAlias(query) || locator.findByQuery(query); return bp ? bp.mediaQuery : null; } /** * Split each query string into separate query strings if two queries are provided as comma * separated. * @param {?} queries * @return {?} */ function splitQueries(queries) { return queries.map( /** * @param {?} query * @return {?} */ query => query.split(',')).reduce( /** * @param {?} a1 * @param {?} a2 * @return {?} */ (a1, a2) => a1.concat(a2)).map( /** * @param {?} query * @return {?} */ query => query.trim()); } /** * @fileoverview added by tsickle * Generated from: core/media-observer/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: core/media-trigger/media-trigger.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Class */ let MediaTrigger = /*#__PURE__*/(() => { class MediaTrigger { /** * @param {?} breakpoints * @param {?} matchMedia * @param {?} layoutConfig * @param {?} _platformId * @param {?} _document */ constructor(breakpoints, matchMedia, layoutConfig, _platformId, _document) { this.breakpoints = breakpoints; this.matchMedia = matchMedia; this.layoutConfig = layoutConfig; this._platformId = _platformId; this._document = _document; this.hasCachedRegistryMatches = false; this.originalActivations = []; this.originalRegistry = new Map(); } /** * Manually activate range of breakpoints * @param {?} list array of mediaQuery or alias strings * @return {?} */ activate(list) { list = list.map( /** * @param {?} it * @return {?} */ it => it.trim()); // trim queries this.saveActivations(); this.deactivateAll(); this.setActivations(list); this.prepareAutoRestore(); } /** * Restore original, 'real' breakpoints and emit events * to trigger stream notification * @return {?} */ restore() { if (this.hasCachedRegistryMatches) { /** @type {?} */ const extractQuery = /** * @param {?} change * @return {?} */ change => change.mediaQuery; /** @type {?} */ const list = this.originalActivations.map(extractQuery); try { this.deactivateAll(); this.restoreRegistryMatches(); this.setActivations(list); } finally { this.originalActivations = []; if (this.resizeSubscription) { this.resizeSubscription.unsubscribe(); } } } } // ************************************************ // Internal Methods // ************************************************ /** * Whenever window resizes, immediately auto-restore original * activations (if we are simulating activations) * @private * @return {?} */ prepareAutoRestore() { /** @type {?} */ const isBrowser = (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(this._platformId) && this._document; /** @type {?} */ const enableAutoRestore = isBrowser && this.layoutConfig.mediaTriggerAutoRestore; if (enableAutoRestore) { /** @type {?} */ const resize$ = (0,rxjs__WEBPACK_IMPORTED_MODULE_13__.fromEvent)(window, 'resize').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.take)(1)); this.resizeSubscription = resize$.subscribe(this.restore.bind(this)); } } /** * Notify all matchMedia subscribers of de-activations * * Note: we must force 'matches' updates for * future matchMedia::activation lookups * @private * @return {?} */ deactivateAll() { /** @type {?} */ const list = this.currentActivations; this.forceRegistryMatches(list, false); this.simulateMediaChanges(list, false); } /** * Cache current activations as sorted, prioritized list of MediaChanges * @private * @return {?} */ saveActivations() { if (!this.hasCachedRegistryMatches) { /** @type {?} */ const toMediaChange = /** * @param {?} query * @return {?} */ query => new MediaChange(true, query); /** @type {?} */ const mergeMQAlias = /** * @param {?} change * @return {?} */ change => { /** @type {?} */ const bp = this.breakpoints.findByQuery(change.mediaQuery); return mergeAlias(change, bp); }; this.originalActivations = this.currentActivations.map(toMediaChange).map(mergeMQAlias).sort(sortDescendingPriority); this.cacheRegistryMatches(); } } /** * Force set manual activations for specified mediaQuery list * @private * @param {?} list * @return {?} */ setActivations(list) { if (!!this.originalRegistry) { this.forceRegistryMatches(list, true); } this.simulateMediaChanges(list); } /** * For specified mediaQuery list manually simulate activations or deactivations * @private * @param {?} queries * @param {?=} matches * @return {?} */ simulateMediaChanges(queries, matches = true) { /** @type {?} */ const toMediaQuery = /** * @param {?} query * @return {?} */ query => { /** @type {?} */ const locator = this.breakpoints; /** @type {?} */ const bp = locator.findByAlias(query) || locator.findByQuery(query); return bp ? bp.mediaQuery : query; }; /** @type {?} */ const emitChangeEvent = /** * @param {?} query * @return {?} */ query => this.emitChangeEvent(matches, query); queries.map(toMediaQuery).forEach(emitChangeEvent); } /** * Replace current registry with simulated registry... * Note: this is required since MediaQueryList::matches is 'readOnly' * @private * @param {?} queries * @param {?} matches * @return {?} */ forceRegistryMatches(queries, matches) { /** @type {?} */ const registry = new Map(); queries.forEach( /** * @param {?} query * @return {?} */ query => { registry.set(query, /** @type {?} */ { matches }); }); this.matchMedia.registry = registry; } /** * Save current MatchMedia::registry items. * @private * @return {?} */ cacheRegistryMatches() { /** @type {?} */ const target = this.originalRegistry; target.clear(); this.matchMedia.registry.forEach( /** * @param {?} value * @param {?} key * @return {?} */ (value, key) => { target.set(key, value); }); this.hasCachedRegistryMatches = true; } /** * Restore original, 'true' registry * @private * @return {?} */ restoreRegistryMatches() { /** @type {?} */ const target = this.matchMedia.registry; target.clear(); this.originalRegistry.forEach( /** * @param {?} value * @param {?} key * @return {?} */ (value, key) => { target.set(key, value); }); this.originalRegistry.clear(); this.hasCachedRegistryMatches = false; } /** * Manually emit a MediaChange event via the MatchMedia to MediaMarshaller and MediaObserver * @private * @param {?} matches * @param {?} query * @return {?} */ emitChangeEvent(matches, query) { this.matchMedia.source.next(new MediaChange(matches, query)); } /** * @private * @return {?} */ get currentActivations() { return this.matchMedia.activations; } } MediaTrigger.ɵfac = function MediaTrigger_Factory(t) { return new (t || MediaTrigger)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](BreakPointRegistry), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](MatchMedia), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](LAYOUT_CONFIG), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT)); }; /** @nocollapse */ MediaTrigger.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function MediaTrigger_Factory() { return new MediaTrigger((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(BreakPointRegistry), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(MatchMedia), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(LAYOUT_CONFIG), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT)); }, token: MediaTrigger, providedIn: "root" }); /** @nocollapse */ return MediaTrigger; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: core/media-trigger/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: core/utils/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: utils/auto-prefixer.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Applies CSS prefixes to appropriate style keys. * * Note: `-ms-`, `-moz` and `-webkit-box` are no longer supported. e.g. * { * display: -webkit-flex; NEW - Safari 6.1+. iOS 7.1+, BB10 * display: flex; NEW, Spec - Firefox, Chrome, Opera * // display: -webkit-box; OLD - iOS 6-, Safari 3.1-6, BB7 * // display: -ms-flexbox; TWEENER - IE 10 * // display: -moz-flexbox; OLD - Firefox * } * @param {?} target * @return {?} */ function applyCssPrefixes(target) { for (let key in target) { /** @type {?} */ let value = target[key] || ''; switch (key) { case 'display': if (value === 'flex') { target['display'] = ['-webkit-flex', 'flex']; } else if (value === 'inline-flex') { target['display'] = ['-webkit-inline-flex', 'inline-flex']; } else { target['display'] = value; } break; case 'align-items': case 'align-self': case 'align-content': case 'flex': case 'flex-basis': case 'flex-flow': case 'flex-grow': case 'flex-shrink': case 'flex-wrap': case 'justify-content': target['-webkit-' + key] = value; break; case 'flex-direction': value = value || 'row'; target['-webkit-flex-direction'] = value; target['flex-direction'] = value; break; case 'order': target['order'] = target['-webkit-' + key] = isNaN(+value) ? '0' : value; break; } } return target; } /** * @fileoverview added by tsickle * Generated from: core/style-utils/style-utils.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let StyleUtils = /*#__PURE__*/(() => { class StyleUtils { /** * @param {?} _serverStylesheet * @param {?} _serverModuleLoaded * @param {?} _platformId * @param {?} layoutConfig */ constructor(_serverStylesheet, _serverModuleLoaded, _platformId, layoutConfig) { this._serverStylesheet = _serverStylesheet; this._serverModuleLoaded = _serverModuleLoaded; this._platformId = _platformId; this.layoutConfig = layoutConfig; } /** * Applies styles given via string pair or object map to the directive element * @param {?} element * @param {?} style * @param {?=} value * @return {?} */ applyStyleToElement(element, style, value = null) { /** @type {?} */ let styles = {}; if (typeof style === 'string') { styles[style] = value; style = styles; } styles = this.layoutConfig.disableVendorPrefixes ? style : applyCssPrefixes(style); this._applyMultiValueStyleToElement(styles, element); } /** * Applies styles given via string pair or object map to the directive's element * @param {?} style * @param {?=} elements * @return {?} */ applyStyleToElements(style, elements = []) { /** @type {?} */ const styles = this.layoutConfig.disableVendorPrefixes ? style : applyCssPrefixes(style); elements.forEach( /** * @param {?} el * @return {?} */ el => { this._applyMultiValueStyleToElement(styles, el); }); } /** * Determine the DOM element's Flexbox flow (flex-direction) * * Check inline style first then check computed (stylesheet) style * @param {?} target * @return {?} */ getFlowDirection(target) { /** @type {?} */ const query = 'flex-direction'; /** @type {?} */ let value = this.lookupStyle(target, query); /** @type {?} */ const hasInlineValue = this.lookupInlineStyle(target, query) || (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformServer)(this._platformId) && this._serverModuleLoaded ? value : ''; return [value || 'row', hasInlineValue]; } /** * @param {?} target * @return {?} */ hasWrap(target) { /** @type {?} */ const query = 'flex-wrap'; return this.lookupStyle(target, query) === 'wrap'; } /** * Find the DOM element's raw attribute value (if any) * @param {?} element * @param {?} attribute * @return {?} */ lookupAttributeValue(element, attribute) { return element.getAttribute(attribute) || ''; } /** * Find the DOM element's inline style value (if any) * @param {?} element * @param {?} styleName * @return {?} */ lookupInlineStyle(element, styleName) { return (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(this._platformId) ? element.style.getPropertyValue(styleName) : this._getServerStyle(element, styleName); } /** * Determine the inline or inherited CSS style * NOTE: platform-server has no implementation for getComputedStyle * @param {?} element * @param {?} styleName * @param {?=} inlineOnly * @return {?} */ lookupStyle(element, styleName, inlineOnly = false) { /** @type {?} */ let value = ''; if (element) { /** @type {?} */ let immediateValue = value = this.lookupInlineStyle(element, styleName); if (!immediateValue) { if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(this._platformId)) { if (!inlineOnly) { value = getComputedStyle(element).getPropertyValue(styleName); } } else { if (this._serverModuleLoaded) { value = this._serverStylesheet.getStyleForElement(element, styleName); } } } } // Note: 'inline' is the default of all elements, unless UA stylesheet overrides; // in which case getComputedStyle() should determine a valid value. return value ? value.trim() : ''; } /** * Applies the styles to the element. The styles object map may contain an array of values * Each value will be added as element style * Keys are sorted to add prefixed styles (like -webkit-x) first, before the standard ones * @private * @param {?} styles * @param {?} element * @return {?} */ _applyMultiValueStyleToElement(styles, element) { Object.keys(styles).sort().forEach( /** * @param {?} key * @return {?} */ key => { /** @type {?} */ const el = styles[key]; /** @type {?} */ const values = Array.isArray(el) ? el : [el]; values.sort(); for (let value of values) { value = value ? value + '' : ''; if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(this._platformId) || !this._serverModuleLoaded) { (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__.isPlatformBrowser)(this._platformId) ? element.style.setProperty(key, value) : this._setServerStyle(element, key, value); } else { this._serverStylesheet.addStyleToElement(element, key, value); } } }); } /** * @private * @param {?} element * @param {?} styleName * @param {?=} styleValue * @return {?} */ _setServerStyle(element, styleName, styleValue) { styleName = styleName.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); /** @type {?} */ const styleMap = this._readStyleAttribute(element); styleMap[styleName] = styleValue || ''; this._writeStyleAttribute(element, styleMap); } /** * @private * @param {?} element * @param {?} styleName * @return {?} */ _getServerStyle(element, styleName) { /** @type {?} */ const styleMap = this._readStyleAttribute(element); return styleMap[styleName] || ''; } /** * @private * @param {?} element * @return {?} */ _readStyleAttribute(element) { /** @type {?} */ const styleMap = {}; /** @type {?} */ const styleAttribute = element.getAttribute('style'); if (styleAttribute) { /** @type {?} */ const styleList = styleAttribute.split(/;+/g); for (let i = 0; i < styleList.length; i++) { /** @type {?} */ const style = styleList[i].trim(); if (style.length > 0) { /** @type {?} */ const colonIndex = style.indexOf(':'); if (colonIndex === -1) { throw new Error(`Invalid CSS style: ${style}`); } /** @type {?} */ const name = style.substr(0, colonIndex).trim(); styleMap[name] = style.substr(colonIndex + 1).trim(); } } } return styleMap; } /** * @private * @param {?} element * @param {?} styleMap * @return {?} */ _writeStyleAttribute(element, styleMap) { /** @type {?} */ let styleAttrValue = ''; for (const key in styleMap) { /** @type {?} */ const newValue = styleMap[key]; if (newValue) { styleAttrValue += key + ':' + styleMap[key] + ';'; } } element.setAttribute('style', styleAttrValue); } } StyleUtils.ɵfac = function StyleUtils_Factory(t) { return new (t || StyleUtils)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](StylesheetMap), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](SERVER_TOKEN), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](LAYOUT_CONFIG)); }; /** @nocollapse */ StyleUtils.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function StyleUtils_Factory() { return new StyleUtils((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(StylesheetMap), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(SERVER_TOKEN), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(LAYOUT_CONFIG)); }, token: StyleUtils, providedIn: "root" }); /** @nocollapse */ return StyleUtils; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: core/style-builder/style-builder.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * A class that encapsulates CSS style generation for common directives * @abstract */ class StyleBuilder { constructor() { /** * Whether to cache the generated output styles */ this.shouldCache = true; } /** * Run a side effect computation given the input string and the computed styles * from the build task and the host configuration object * NOTE: This should be a no-op unless an algorithm is provided in a subclass * @param {?} _input * @param {?} _styles * @param {?=} _parent * @return {?} */ sideEffect(_input, _styles, _parent) {} } /** * @fileoverview added by tsickle * Generated from: core/basis-validator/basis-validator.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * The flex API permits 3 or 1 parts of the value: * - `flex-grow flex-shrink flex-basis`, or * - `flex-basis` * @param {?} basis * @param {?=} grow * @param {?=} shrink * @return {?} */ function validateBasis(basis, grow = '1', shrink = '1') { /** @type {?} */ let parts = [grow, shrink, basis]; /** @type {?} */ let j = basis.indexOf('calc'); if (j > 0) { parts[2] = _validateCalcValue(basis.substring(j).trim()); /** @type {?} */ let matches = basis.substr(0, j).trim().split(' '); if (matches.length == 2) { parts[0] = matches[0]; parts[1] = matches[1]; } } else if (j == 0) { parts[2] = _validateCalcValue(basis.trim()); } else { /** @type {?} */ let matches = basis.split(' '); parts = matches.length === 3 ? matches : [grow, shrink, basis]; } return parts; } /** * Calc expressions require whitespace before & after any expression operators * This is a simple, crude whitespace padding solution. * - '3 3 calc(15em + 20px)' * - calc(100% / 7 * 2) * - 'calc(15em + 20px)' * - 'calc(15em+20px)' * - '37px' * = '43%' * @param {?} calc * @return {?} */ function _validateCalcValue(calc) { return calc.replace(/[\s]/g, '').replace(/[\/\*\+\-]/g, ' $& '); } /** * @fileoverview added by tsickle * Generated from: core/media-marshaller/media-marshaller.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * MediaMarshaller - register responsive values from directives and * trigger them based on media query events */ let MediaMarshaller = /*#__PURE__*/(() => { class MediaMarshaller { /** * @param {?} matchMedia * @param {?} breakpoints * @param {?} hook */ constructor(matchMedia, breakpoints, hook) { this.matchMedia = matchMedia; this.breakpoints = breakpoints; this.hook = hook; this.activatedBreakpoints = []; this.elementMap = new Map(); this.elementKeyMap = new WeakMap(); this.watcherMap = new WeakMap(); // special triggers to update elements // special triggers to update elements this.updateMap = new WeakMap(); // callback functions to update styles // callback functions to update styles this.clearMap = new WeakMap(); // callback functions to clear styles // callback functions to clear styles this.subject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject(); this.observeActivations(); } /** * @return {?} */ get activatedAlias() { return this.activatedBreakpoints[0] ? this.activatedBreakpoints[0].alias : ''; } /** * Update styles on breakpoint activates or deactivates * @param {?} mc * @return {?} */ onMediaChange(mc) { /** @type {?} */ const bp = this.findByQuery(mc.mediaQuery); if (bp) { mc = mergeAlias(mc, bp); if (mc.matches && this.activatedBreakpoints.indexOf(bp) === -1) { this.activatedBreakpoints.push(bp); this.activatedBreakpoints.sort(sortDescendingPriority); this.updateStyles(); } else if (!mc.matches && this.activatedBreakpoints.indexOf(bp) !== -1) { // Remove the breakpoint when it's deactivated this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(bp), 1); this.activatedBreakpoints.sort(sortDescendingPriority); this.updateStyles(); } } } /** * initialize the marshaller with necessary elements for delegation on an element * @param {?} element * @param {?} key * @param {?=} updateFn optional callback so that custom bp directives don't have to re-provide this * @param {?=} clearFn optional callback so that custom bp directives don't have to re-provide this * @param {?=} extraTriggers other triggers to force style updates (e.g. layout, directionality, etc) * @return {?} */ init(element, key, updateFn, clearFn, extraTriggers = []) { initBuilderMap(this.updateMap, element, key, updateFn); initBuilderMap(this.clearMap, element, key, clearFn); this.buildElementKeyMap(element, key); this.watchExtraTriggers(element, key, extraTriggers); } /** * get the value for an element and key and optionally a given breakpoint * @param {?} element * @param {?} key * @param {?=} bp * @return {?} */ getValue(element, key, bp) { /** @type {?} */ const bpMap = this.elementMap.get(element); if (bpMap) { /** @type {?} */ const values = bp !== undefined ? bpMap.get(bp) : this.getActivatedValues(bpMap, key); if (values) { return values.get(key); } } return undefined; } /** * whether the element has values for a given key * @param {?} element * @param {?} key * @return {?} */ hasValue(element, key) { /** @type {?} */ const bpMap = this.elementMap.get(element); if (bpMap) { /** @type {?} */ const values = this.getActivatedValues(bpMap, key); if (values) { return values.get(key) !== undefined || false; } } return false; } /** * Set the value for an input on a directive * @param {?} element the element in question * @param {?} key the type of the directive (e.g. flex, layout-gap, etc) * @param {?} val the value for the breakpoint * @param {?} bp the breakpoint suffix (empty string = default) * @return {?} */ setValue(element, key, val, bp) { /** @type {?} */ let bpMap = this.elementMap.get(element); if (!bpMap) { bpMap = new Map().set(bp, new Map().set(key, val)); this.elementMap.set(element, bpMap); } else { /** @type {?} */ const values = (bpMap.get(bp) || new Map()).set(key, val); bpMap.set(bp, values); this.elementMap.set(element, bpMap); } /** @type {?} */ const value = this.getValue(element, key); if (value !== undefined) { this.updateElement(element, key, value); } } /** * Track element value changes for a specific key * @param {?} element * @param {?} key * @return {?} */ trackValue(element, key) { return this.subject.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.filter)( /** * @param {?} v * @return {?} */ v => v.element === element && v.key === key)); } /** * update all styles for all elements on the current breakpoint * @return {?} */ updateStyles() { this.elementMap.forEach( /** * @param {?} bpMap * @param {?} el * @return {?} */ (bpMap, el) => { /** @type {?} */ const keyMap = new Set( /** @type {?} */ this.elementKeyMap.get(el)); /** @type {?} */ let valueMap = this.getActivatedValues(bpMap); if (valueMap) { valueMap.forEach( /** * @param {?} v * @param {?} k * @return {?} */ (v, k) => { this.updateElement(el, k, v); keyMap.delete(k); }); } keyMap.forEach( /** * @param {?} k * @return {?} */ k => { valueMap = this.getActivatedValues(bpMap, k); if (valueMap) { /** @type {?} */ const value = valueMap.get(k); this.updateElement(el, k, value); } else { this.clearElement(el, k); } }); }); } /** * clear the styles for a given element * @param {?} element * @param {?} key * @return {?} */ clearElement(element, key) { /** @type {?} */ const builders = this.clearMap.get(element); if (builders) { /** @type {?} */ const clearFn = /** @type {?} */ builders.get(key); if (!!clearFn) { clearFn(); this.subject.next({ element, key, value: '' }); } } } /** * update a given element with the activated values for a given key * @param {?} element * @param {?} key * @param {?} value * @return {?} */ updateElement(element, key, value) { /** @type {?} */ const builders = this.updateMap.get(element); if (builders) { /** @type {?} */ const updateFn = /** @type {?} */ builders.get(key); if (!!updateFn) { updateFn(value); this.subject.next({ element, key, value }); } } } /** * release all references to a given element * @param {?} element * @return {?} */ releaseElement(element) { /** @type {?} */ const watcherMap = this.watcherMap.get(element); if (watcherMap) { watcherMap.forEach( /** * @param {?} s * @return {?} */ s => s.unsubscribe()); this.watcherMap.delete(element); } /** @type {?} */ const elementMap = this.elementMap.get(element); if (elementMap) { elementMap.forEach( /** * @param {?} _ * @param {?} s * @return {?} */ (_, s) => elementMap.delete(s)); this.elementMap.delete(element); } } /** * trigger an update for a given element and key (e.g. layout) * @param {?} element * @param {?=} key * @return {?} */ triggerUpdate(element, key) { /** @type {?} */ const bpMap = this.elementMap.get(element); if (bpMap) { /** @type {?} */ const valueMap = this.getActivatedValues(bpMap, key); if (valueMap) { if (key) { this.updateElement(element, key, valueMap.get(key)); } else { valueMap.forEach( /** * @param {?} v * @param {?} k * @return {?} */ (v, k) => this.updateElement(element, k, v)); } } } } /** * Cross-reference for HTMLElement with directive key * @private * @param {?} element * @param {?} key * @return {?} */ buildElementKeyMap(element, key) { /** @type {?} */ let keyMap = this.elementKeyMap.get(element); if (!keyMap) { keyMap = new Set(); this.elementKeyMap.set(element, keyMap); } keyMap.add(key); } /** * Other triggers that should force style updates: * - directionality * - layout changes * - mutationobserver updates * @private * @param {?} element * @param {?} key * @param {?} triggers * @return {?} */ watchExtraTriggers(element, key, triggers) { if (triggers && triggers.length) { /** @type {?} */ let watchers = this.watcherMap.get(element); if (!watchers) { watchers = new Map(); this.watcherMap.set(element, watchers); } /** @type {?} */ const subscription = watchers.get(key); if (!subscription) { /** @type {?} */ const newSubscription = (0,rxjs__WEBPACK_IMPORTED_MODULE_6__.merge)(...triggers).subscribe( /** * @return {?} */ () => { /** @type {?} */ const currentValue = this.getValue(element, key); this.updateElement(element, key, currentValue); }); watchers.set(key, newSubscription); } } } /** * Breakpoint locator by mediaQuery * @private * @param {?} query * @return {?} */ findByQuery(query) { return this.breakpoints.findByQuery(query); } /** * get the fallback breakpoint for a given element, starting with the current breakpoint * @private * @param {?} bpMap * @param {?=} key * @return {?} */ getActivatedValues(bpMap, key) { for (let i = 0; i < this.activatedBreakpoints.length; i++) { /** @type {?} */ const activatedBp = this.activatedBreakpoints[i]; /** @type {?} */ const valueMap = bpMap.get(activatedBp.alias); if (valueMap) { if (key === undefined || valueMap.has(key) && valueMap.get(key) != null) { return valueMap; } } } /** @type {?} */ const lastHope = bpMap.get(''); return key === undefined || lastHope && lastHope.has(key) ? lastHope : undefined; } /** * Watch for mediaQuery breakpoint activations * @private * @return {?} */ observeActivations() { /** @type {?} */ const target = /** @type {?} */ /** @type {?} */ this; /** @type {?} */ const queries = this.breakpoints.items.map( /** * @param {?} bp * @return {?} */ bp => bp.mediaQuery); this.matchMedia.observe(this.hook.withPrintQuery(queries)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.tap)(this.hook.interceptEvents(target)), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.filter)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this)); } } MediaMarshaller.ɵfac = function MediaMarshaller_Factory(t) { return new (t || MediaMarshaller)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](MatchMedia), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](BreakPointRegistry), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](PrintHook)); }; /** @nocollapse */ MediaMarshaller.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function MediaMarshaller_Factory() { return new MediaMarshaller((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(MatchMedia), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(BreakPointRegistry), (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(PrintHook)); }, token: MediaMarshaller, providedIn: "root" }); /** @nocollapse */ return MediaMarshaller; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @param {?} map * @param {?} element * @param {?} key * @param {?=} input * @return {?} */ function initBuilderMap(map$$1, element, key, input) { if (input !== undefined) { /** @type {?} */ let oldMap = map$$1.get(element); if (!oldMap) { oldMap = new Map(); map$$1.set(element, oldMap); } oldMap.set(key, input); } } /** * @fileoverview added by tsickle * Generated from: core/public-api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: core/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ //# sourceMappingURL=core.js.map /***/ }), /***/ 24784: /*!****************************************************************************!*\ !*** ./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/extended.js ***! \****************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ClassDirective": () => (/* binding */ ClassDirective), /* harmony export */ "DefaultClassDirective": () => (/* binding */ DefaultClassDirective), /* harmony export */ "DefaultImgSrcDirective": () => (/* binding */ DefaultImgSrcDirective), /* harmony export */ "DefaultShowHideDirective": () => (/* binding */ DefaultShowHideDirective), /* harmony export */ "DefaultStyleDirective": () => (/* binding */ DefaultStyleDirective), /* harmony export */ "ExtendedModule": () => (/* binding */ ExtendedModule), /* harmony export */ "ImgSrcDirective": () => (/* binding */ ImgSrcDirective), /* harmony export */ "ImgSrcStyleBuilder": () => (/* binding */ ImgSrcStyleBuilder), /* harmony export */ "ShowHideDirective": () => (/* binding */ ShowHideDirective), /* harmony export */ "ShowHideStyleBuilder": () => (/* binding */ ShowHideStyleBuilder), /* harmony export */ "StyleDirective": () => (/* binding */ StyleDirective) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/flex-layout/core */ 58084); /* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/coercion */ 21281); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/platform-browser */ 11481); /** * @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 */ /** * @fileoverview added by tsickle * Generated from: extended/img-src/img-src.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let ImgSrcStyleBuilder = /*#__PURE__*/(() => { class ImgSrcStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} url * @return {?} */ buildStyles(url) { return { 'content': url ? `url(${url})` : '' }; } } ImgSrcStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵImgSrcStyleBuilder_BaseFactory; return function ImgSrcStyleBuilder_Factory(t) { return (ɵImgSrcStyleBuilder_BaseFactory || (ɵImgSrcStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](ImgSrcStyleBuilder)))(t || ImgSrcStyleBuilder); }; }(); /** @nocollapse */ ImgSrcStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function ImgSrcStyleBuilder_Factory() { return new ImgSrcStyleBuilder(); }, token: ImgSrcStyleBuilder, providedIn: "root" }); return ImgSrcStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let ImgSrcDirective = /*#__PURE__*/(() => { class ImgSrcDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal * @param {?} platformId * @param {?} serverModuleLoaded */ constructor(elementRef, styleBuilder, styler, marshal, platformId, serverModuleLoaded) { super(elementRef, styleBuilder, styler, marshal); this.platformId = platformId; this.serverModuleLoaded = serverModuleLoaded; this.DIRECTIVE_KEY = 'img-src'; this.defaultSrc = ''; this.styleCache = imgSrcCache; this.init(); this.setValue(this.nativeElement.getAttribute('src') || '', ''); if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_2__.isPlatformServer)(this.platformId) && this.serverModuleLoaded) { this.nativeElement.setAttribute('src', ''); } } /** * @param {?} val * @return {?} */ set src(val) { this.defaultSrc = val; this.setValue(this.defaultSrc, ''); } /** * Use the [responsively] activated input value to update * the host img src attribute or assign a default `img.src=''` * if the src has not been defined. * * Do nothing to standard `` usages, only when responsive * keys are present do we actually call `setAttribute()` * @protected * @param {?=} value * @return {?} */ updateWithValue(value) { /** @type {?} */ const url = value || this.defaultSrc; if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_2__.isPlatformServer)(this.platformId) && this.serverModuleLoaded) { this.addStyles(url); } else { this.nativeElement.setAttribute('src', url); } } } ImgSrcDirective.ɵfac = function ImgSrcDirective_Factory(t) { return new (t || ImgSrcDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](ImgSrcStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.SERVER_TOKEN)); }; ImgSrcDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: ImgSrcDirective, inputs: { src: "src" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return ImgSrcDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const imgSrcCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs = ['src.xs', 'src.sm', 'src.md', 'src.lg', 'src.xl', 'src.lt-sm', 'src.lt-md', 'src.lt-lg', 'src.lt-xl', 'src.gt-xs', 'src.gt-sm', 'src.gt-md', 'src.gt-lg']; /** @type {?} */ const selector = ` img[src.xs], img[src.sm], img[src.md], img[src.lg], img[src.xl], img[src.lt-sm], img[src.lt-md], img[src.lt-lg], img[src.lt-xl], img[src.gt-xs], img[src.gt-sm], img[src.gt-md], img[src.gt-lg] `; /** * This directive provides a responsive API for the HTML 'src' attribute * and will update the img.src property upon each responsive activation. * * e.g. * * * @see https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-src/ */ let DefaultImgSrcDirective = /*#__PURE__*/(() => { class DefaultImgSrcDirective extends ImgSrcDirective { constructor() { super(...arguments); this.inputs = inputs; } } DefaultImgSrcDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultImgSrcDirective_BaseFactory; return function DefaultImgSrcDirective_Factory(t) { return (ɵDefaultImgSrcDirective_BaseFactory || (ɵDefaultImgSrcDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultImgSrcDirective)))(t || DefaultImgSrcDirective); }; }(); DefaultImgSrcDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultImgSrcDirective, selectors: [["img", "src.xs", ""], ["img", "src.sm", ""], ["img", "src.md", ""], ["img", "src.lg", ""], ["img", "src.xl", ""], ["img", "src.lt-sm", ""], ["img", "src.lt-md", ""], ["img", "src.lt-lg", ""], ["img", "src.lt-xl", ""], ["img", "src.gt-xs", ""], ["img", "src.gt-sm", ""], ["img", "src.gt-md", ""], ["img", "src.gt-lg", ""]], inputs: { "src.xs": "src.xs", "src.sm": "src.sm", "src.md": "src.md", "src.lg": "src.lg", "src.xl": "src.xl", "src.lt-sm": "src.lt-sm", "src.lt-md": "src.lt-md", "src.lt-lg": "src.lt-lg", "src.lt-xl": "src.lt-xl", "src.gt-xs": "src.gt-xs", "src.gt-sm": "src.gt-sm", "src.gt-md": "src.gt-md", "src.gt-lg": "src.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultImgSrcDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: extended/class/class.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let ClassDirective = /*#__PURE__*/(() => { class ClassDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styler * @param {?} marshal * @param {?} iterableDiffers * @param {?} keyValueDiffers * @param {?} renderer2 * @param {?} ngClassInstance */ constructor(elementRef, styler, marshal, iterableDiffers, keyValueDiffers, renderer2, ngClassInstance) { super(elementRef, /** @type {?} */ null, styler, marshal); this.ngClassInstance = ngClassInstance; this.DIRECTIVE_KEY = 'ngClass'; if (!this.ngClassInstance) { // Create an instance NgClass Directive instance only if `ngClass=""` has NOT been defined on // the same host element; since the responsive variations may be defined... this.ngClassInstance = new _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass(iterableDiffers, keyValueDiffers, elementRef, renderer2); } this.init(); this.setValue('', ''); } /** * Capture class assignments so we cache the default classes * which are merged with activated styles and used as fallbacks. * @param {?} val * @return {?} */ set klass(val) { this.ngClassInstance.klass = val; this.setValue(val, ''); } /** * @protected * @param {?} value * @return {?} */ updateWithValue(value) { this.ngClassInstance.ngClass = value; this.ngClassInstance.ngDoCheck(); } // ****************************************************************** // Lifecycle Hooks // ****************************************************************** /** * For ChangeDetectionStrategy.onPush and ngOnChanges() updates * @return {?} */ ngDoCheck() { this.ngClassInstance.ngDoCheck(); } } ClassDirective.ɵfac = function ClassDirective_Factory(t) { return new (t || ClassDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.IterableDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.KeyValueDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, 10)); }; ClassDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: ClassDirective, inputs: { klass: ["class", "klass"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return ClassDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs$1 = ['ngClass', 'ngClass.xs', 'ngClass.sm', 'ngClass.md', 'ngClass.lg', 'ngClass.xl', 'ngClass.lt-sm', 'ngClass.lt-md', 'ngClass.lt-lg', 'ngClass.lt-xl', 'ngClass.gt-xs', 'ngClass.gt-sm', 'ngClass.gt-md', 'ngClass.gt-lg']; /** @type {?} */ const selector$1 = ` [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg] `; /** * Directive to add responsive support for ngClass. * This maintains the core functionality of 'ngClass' and adds responsive API * Note: this class is a no-op when rendered on the server */ let DefaultClassDirective = /*#__PURE__*/(() => { class DefaultClassDirective extends ClassDirective { constructor() { super(...arguments); this.inputs = inputs$1; } } DefaultClassDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultClassDirective_BaseFactory; return function DefaultClassDirective_Factory(t) { return (ɵDefaultClassDirective_BaseFactory || (ɵDefaultClassDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultClassDirective)))(t || DefaultClassDirective); }; }(); DefaultClassDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultClassDirective, selectors: [["", "ngClass", ""], ["", "ngClass.xs", ""], ["", "ngClass.sm", ""], ["", "ngClass.md", ""], ["", "ngClass.lg", ""], ["", "ngClass.xl", ""], ["", "ngClass.lt-sm", ""], ["", "ngClass.lt-md", ""], ["", "ngClass.lt-lg", ""], ["", "ngClass.lt-xl", ""], ["", "ngClass.gt-xs", ""], ["", "ngClass.gt-sm", ""], ["", "ngClass.gt-md", ""], ["", "ngClass.gt-lg", ""]], inputs: { ngClass: "ngClass", "ngClass.xs": "ngClass.xs", "ngClass.sm": "ngClass.sm", "ngClass.md": "ngClass.md", "ngClass.lg": "ngClass.lg", "ngClass.xl": "ngClass.xl", "ngClass.lt-sm": "ngClass.lt-sm", "ngClass.lt-md": "ngClass.lt-md", "ngClass.lt-lg": "ngClass.lt-lg", "ngClass.lt-xl": "ngClass.lt-xl", "ngClass.gt-xs": "ngClass.gt-xs", "ngClass.gt-sm": "ngClass.gt-sm", "ngClass.gt-md": "ngClass.gt-md", "ngClass.gt-lg": "ngClass.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultClassDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: extended/show-hide/show-hide.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let ShowHideStyleBuilder = /*#__PURE__*/(() => { class ShowHideStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} show * @param {?} parent * @return {?} */ buildStyles(show, parent) { /** @type {?} */ const shouldShow = show === 'true'; return { 'display': shouldShow ? parent.display || (parent.isServer ? 'initial' : '') : 'none' }; } } ShowHideStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵShowHideStyleBuilder_BaseFactory; return function ShowHideStyleBuilder_Factory(t) { return (ɵShowHideStyleBuilder_BaseFactory || (ɵShowHideStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](ShowHideStyleBuilder)))(t || ShowHideStyleBuilder); }; }(); /** @nocollapse */ ShowHideStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function ShowHideStyleBuilder_Factory() { return new ShowHideStyleBuilder(); }, token: ShowHideStyleBuilder, providedIn: "root" }); return ShowHideStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let ShowHideDirective = /*#__PURE__*/(() => { class ShowHideDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal * @param {?} layoutConfig * @param {?} platformId * @param {?} serverModuleLoaded */ constructor(elementRef, styleBuilder, styler, marshal, layoutConfig, platformId, serverModuleLoaded) { super(elementRef, styleBuilder, styler, marshal); this.layoutConfig = layoutConfig; this.platformId = platformId; this.serverModuleLoaded = serverModuleLoaded; this.DIRECTIVE_KEY = 'show-hide'; /** * Original DOM Element CSS display style */ this.display = ''; this.hasLayout = false; this.hasFlexChild = false; } // ********************************************* // Lifecycle Methods // ********************************************* /** * @return {?} */ ngAfterViewInit() { this.trackExtraTriggers(); /** @type {?} */ const children = Array.from(this.nativeElement.children); for (let i = 0; i < children.length; i++) { if (this.marshal.hasValue( /** @type {?} */ children[i], 'flex')) { this.hasFlexChild = true; break; } } if (DISPLAY_MAP.has(this.nativeElement)) { this.display = /** @type {?} */ DISPLAY_MAP.get(this.nativeElement); } else { this.display = this.getDisplayStyle(); DISPLAY_MAP.set(this.nativeElement, this.display); } this.init(); // set the default to show unless explicitly overridden /** @type {?} */ const defaultValue = this.marshal.getValue(this.nativeElement, this.DIRECTIVE_KEY, ''); if (defaultValue === undefined || defaultValue === '') { this.setValue(true, ''); } else { this.triggerUpdate(); } } /** * On changes to any \@Input properties... * Default to use the non-responsive Input value ('fxShow') * Then conditionally override with the mq-activated Input's current value * @param {?} changes * @return {?} */ ngOnChanges(changes) { Object.keys(changes).forEach( /** * @param {?} key * @return {?} */ key => { if (this.inputs.indexOf(key) !== -1) { /** @type {?} */ const inputKey = key.split('.'); /** @type {?} */ const bp = inputKey.slice(1).join('.'); /** @type {?} */ const inputValue = changes[key].currentValue; /** @type {?} */ let shouldShow = inputValue !== '' ? inputValue !== 0 ? (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceBooleanProperty)(inputValue) : false : true; if (inputKey[0] === 'fxHide') { shouldShow = !shouldShow; } this.setValue(shouldShow, bp); } }); } // ********************************************* // Protected methods // ********************************************* /** * Watch for these extra triggers to update fxShow, fxHide stylings * @protected * @return {?} */ trackExtraTriggers() { this.hasLayout = this.marshal.hasValue(this.nativeElement, 'layout'); ['layout', 'layout-align'].forEach( /** * @param {?} key * @return {?} */ key => { this.marshal.trackValue(this.nativeElement, key).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.takeUntil)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this)); }); } /** * Override accessor to the current HTMLElement's `display` style * Note: Show/Hide will not change the display to 'flex' but will set it to 'block' * unless it was already explicitly specified inline or in a CSS stylesheet. * @protected * @return {?} */ getDisplayStyle() { return this.hasLayout || this.hasFlexChild && this.layoutConfig.addFlexToParent ? 'flex' : this.styler.lookupStyle(this.nativeElement, 'display', true); } /** * Validate the visibility value and then update the host's inline display style * @protected * @param {?=} value * @return {?} */ updateWithValue(value = true) { if (value === '') { return; } /** @type {?} */ const isServer = (0,_angular_common__WEBPACK_IMPORTED_MODULE_2__.isPlatformServer)(this.platformId); this.addStyles(value ? 'true' : 'false', { display: this.display, isServer }); if (isServer && this.serverModuleLoaded) { this.nativeElement.style.setProperty('display', ''); } this.marshal.triggerUpdate( /** @type {?} */ this.parentElement, 'layout-gap'); } } ShowHideDirective.ɵfac = function ShowHideDirective_Factory(t) { return new (t || ShowHideDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](ShowHideStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.LAYOUT_CONFIG), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.SERVER_TOKEN)); }; ShowHideDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: ShowHideDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]] }); /** @nocollapse */ return ShowHideDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const DISPLAY_MAP = /*#__PURE__*/new WeakMap(); /** @type {?} */ const inputs$2 = ['fxShow', 'fxShow.print', 'fxShow.xs', 'fxShow.sm', 'fxShow.md', 'fxShow.lg', 'fxShow.xl', 'fxShow.lt-sm', 'fxShow.lt-md', 'fxShow.lt-lg', 'fxShow.lt-xl', 'fxShow.gt-xs', 'fxShow.gt-sm', 'fxShow.gt-md', 'fxShow.gt-lg', 'fxHide', 'fxHide.print', 'fxHide.xs', 'fxHide.sm', 'fxHide.md', 'fxHide.lg', 'fxHide.xl', 'fxHide.lt-sm', 'fxHide.lt-md', 'fxHide.lt-lg', 'fxHide.lt-xl', 'fxHide.gt-xs', 'fxHide.gt-sm', 'fxHide.gt-md', 'fxHide.gt-lg']; /** @type {?} */ const selector$2 = ` [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg] `; /** * 'show' Layout API directive */ let DefaultShowHideDirective = /*#__PURE__*/(() => { class DefaultShowHideDirective extends ShowHideDirective { constructor() { super(...arguments); this.inputs = inputs$2; } } DefaultShowHideDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultShowHideDirective_BaseFactory; return function DefaultShowHideDirective_Factory(t) { return (ɵDefaultShowHideDirective_BaseFactory || (ɵDefaultShowHideDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultShowHideDirective)))(t || DefaultShowHideDirective); }; }(); DefaultShowHideDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultShowHideDirective, selectors: [["", "fxShow", ""], ["", "fxShow.print", ""], ["", "fxShow.xs", ""], ["", "fxShow.sm", ""], ["", "fxShow.md", ""], ["", "fxShow.lg", ""], ["", "fxShow.xl", ""], ["", "fxShow.lt-sm", ""], ["", "fxShow.lt-md", ""], ["", "fxShow.lt-lg", ""], ["", "fxShow.lt-xl", ""], ["", "fxShow.gt-xs", ""], ["", "fxShow.gt-sm", ""], ["", "fxShow.gt-md", ""], ["", "fxShow.gt-lg", ""], ["", "fxHide", ""], ["", "fxHide.print", ""], ["", "fxHide.xs", ""], ["", "fxHide.sm", ""], ["", "fxHide.md", ""], ["", "fxHide.lg", ""], ["", "fxHide.xl", ""], ["", "fxHide.lt-sm", ""], ["", "fxHide.lt-md", ""], ["", "fxHide.lt-lg", ""], ["", "fxHide.lt-xl", ""], ["", "fxHide.gt-xs", ""], ["", "fxHide.gt-sm", ""], ["", "fxHide.gt-md", ""], ["", "fxHide.gt-lg", ""]], inputs: { fxShow: "fxShow", "fxShow.print": "fxShow.print", "fxShow.xs": "fxShow.xs", "fxShow.sm": "fxShow.sm", "fxShow.md": "fxShow.md", "fxShow.lg": "fxShow.lg", "fxShow.xl": "fxShow.xl", "fxShow.lt-sm": "fxShow.lt-sm", "fxShow.lt-md": "fxShow.lt-md", "fxShow.lt-lg": "fxShow.lt-lg", "fxShow.lt-xl": "fxShow.lt-xl", "fxShow.gt-xs": "fxShow.gt-xs", "fxShow.gt-sm": "fxShow.gt-sm", "fxShow.gt-md": "fxShow.gt-md", "fxShow.gt-lg": "fxShow.gt-lg", fxHide: "fxHide", "fxHide.print": "fxHide.print", "fxHide.xs": "fxHide.xs", "fxHide.sm": "fxHide.sm", "fxHide.md": "fxHide.md", "fxHide.lg": "fxHide.lg", "fxHide.xl": "fxHide.xl", "fxHide.lt-sm": "fxHide.lt-sm", "fxHide.lt-md": "fxHide.lt-md", "fxHide.lt-lg": "fxHide.lt-lg", "fxHide.lt-xl": "fxHide.lt-xl", "fxHide.gt-xs": "fxHide.gt-xs", "fxHide.gt-sm": "fxHide.gt-sm", "fxHide.gt-md": "fxHide.gt-md", "fxHide.gt-lg": "fxHide.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultShowHideDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: extended/style/style-transforms.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * NgStyle allowed inputs */ class NgStyleKeyValue { /** * @param {?} key * @param {?} value * @param {?=} noQuotes */ constructor(key, value, noQuotes = true) { this.key = key; this.value = value; this.key = noQuotes ? key.replace(/['"]/g, '').trim() : key.trim(); this.value = noQuotes ? value.replace(/['"]/g, '').trim() : value.trim(); this.value = this.value.replace(/;/, ''); } } /** * @param {?} target * @return {?} */ function getType(target) { /** @type {?} */ let what = typeof target; if (what === 'object') { return target.constructor === Array ? 'array' : target.constructor === Set ? 'set' : 'object'; } return what; } /** * Split string of key:value pairs into Array of k-v pairs * e.g. 'key:value; key:value; key:value;' -> ['key:value',...] * @param {?} source * @param {?=} delimiter * @return {?} */ function buildRawList(source, delimiter = ';') { return String(source).trim().split(delimiter).map( /** * @param {?} val * @return {?} */ val => val.trim()).filter( /** * @param {?} val * @return {?} */ val => val !== ''); } /** * Convert array of key:value strings to a iterable map object * @param {?} styles * @param {?=} sanitize * @return {?} */ function buildMapFromList(styles, sanitize) { /** @type {?} */ const sanitizeValue = /** * @param {?} it * @return {?} */ it => { if (sanitize) { it.value = sanitize(it.value); } return it; }; return styles.map(stringToKeyValue).filter( /** * @param {?} entry * @return {?} */ entry => !!entry).map(sanitizeValue).reduce(keyValuesToMap, /** @type {?} */ {}); } /** * Convert Set or raw Object to an iterable NgStyleMap * @param {?} source * @param {?=} sanitize * @return {?} */ function buildMapFromSet(source, sanitize) { /** @type {?} */ let list = []; if (getType(source) === 'set') { /** @type {?} */ source.forEach( /** * @param {?} entry * @return {?} */ entry => list.push(entry)); } else { Object.keys(source).forEach( /** * @param {?} key * @return {?} */ key => { list.push(`${key}:${ /** @type {?} */ source[key]}`); }); } return buildMapFromList(list, sanitize); } /** * Convert 'key:value' -> [key, value] * @param {?} it * @return {?} */ function stringToKeyValue(it) { const [key, ...vals] = it.split(':'); return new NgStyleKeyValue(key, vals.join(':')); } /** * Convert [ [key,value] ] -> { key : value } * @param {?} map * @param {?} entry * @return {?} */ function keyValuesToMap(map, entry) { if (!!entry.key) { map[entry.key] = entry.value; } return map; } /** * @fileoverview added by tsickle * Generated from: extended/style/style.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let StyleDirective = /*#__PURE__*/(() => { class StyleDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styler * @param {?} marshal * @param {?} sanitizer * @param {?} differs * @param {?} renderer2 * @param {?} ngStyleInstance * @param {?} serverLoaded * @param {?} platformId */ constructor(elementRef, styler, marshal, sanitizer, differs, renderer2, ngStyleInstance, serverLoaded, platformId) { super(elementRef, /** @type {?} */ null, styler, marshal); this.sanitizer = sanitizer; this.ngStyleInstance = ngStyleInstance; this.DIRECTIVE_KEY = 'ngStyle'; if (!this.ngStyleInstance) { // Create an instance NgStyle Directive instance only if `ngStyle=""` has NOT been // defined on the same host element; since the responsive variations may be defined... this.ngStyleInstance = new _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgStyle(elementRef, differs, renderer2); } this.init(); /** @type {?} */ const styles = this.nativeElement.getAttribute('style') || ''; this.fallbackStyles = this.buildStyleMap(styles); this.isServer = serverLoaded && (0,_angular_common__WEBPACK_IMPORTED_MODULE_2__.isPlatformServer)(platformId); } /** * Add generated styles * @protected * @param {?} value * @return {?} */ updateWithValue(value) { /** @type {?} */ const styles = this.buildStyleMap(value); this.ngStyleInstance.ngStyle = Object.assign(Object.assign({}, this.fallbackStyles), styles); if (this.isServer) { this.applyStyleToElement(styles); } this.ngStyleInstance.ngDoCheck(); } /** * Remove generated styles * @protected * @return {?} */ clearStyles() { this.ngStyleInstance.ngStyle = this.fallbackStyles; this.ngStyleInstance.ngDoCheck(); } /** * Convert raw strings to ngStyleMap; which is required by ngStyle * NOTE: Raw string key-value pairs MUST be delimited by `;` * Comma-delimiters are not supported due to complexities of * possible style values such as `rgba(x,x,x,x)` and others * @protected * @param {?} styles * @return {?} */ buildStyleMap(styles) { // Always safe-guard (aka sanitize) style property values /** @type {?} */ const sanitizer = /** * @param {?} val * @return {?} */ val => this.sanitizer.sanitize(_angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.STYLE, val) || ''; if (styles) { switch (getType(styles)) { case 'string': return buildMapFromList$1(buildRawList(styles), sanitizer); case 'array': return buildMapFromList$1( /** @type {?} */ styles, sanitizer); case 'set': return buildMapFromSet(styles, sanitizer); default: return buildMapFromSet(styles, sanitizer); } } return {}; } // ****************************************************************** // Lifecycle Hooks // ****************************************************************** /** * For ChangeDetectionStrategy.onPush and ngOnChanges() updates * @return {?} */ ngDoCheck() { this.ngStyleInstance.ngDoCheck(); } } StyleDirective.ɵfac = function StyleDirective_Factory(t) { return new (t || StyleDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__.DomSanitizer), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.KeyValueDiffers), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgStyle, 10), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.SERVER_TOKEN), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID)); }; StyleDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: StyleDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return StyleDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs$3 = ['ngStyle', 'ngStyle.xs', 'ngStyle.sm', 'ngStyle.md', 'ngStyle.lg', 'ngStyle.xl', 'ngStyle.lt-sm', 'ngStyle.lt-md', 'ngStyle.lt-lg', 'ngStyle.lt-xl', 'ngStyle.gt-xs', 'ngStyle.gt-sm', 'ngStyle.gt-md', 'ngStyle.gt-lg']; /** @type {?} */ const selector$3 = ` [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg] `; /** * Directive to add responsive support for ngStyle. * */ let DefaultStyleDirective = /*#__PURE__*/(() => { class DefaultStyleDirective extends StyleDirective { constructor() { super(...arguments); this.inputs = inputs$3; } } DefaultStyleDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultStyleDirective_BaseFactory; return function DefaultStyleDirective_Factory(t) { return (ɵDefaultStyleDirective_BaseFactory || (ɵDefaultStyleDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultStyleDirective)))(t || DefaultStyleDirective); }; }(); DefaultStyleDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultStyleDirective, selectors: [["", "ngStyle", ""], ["", "ngStyle.xs", ""], ["", "ngStyle.sm", ""], ["", "ngStyle.md", ""], ["", "ngStyle.lg", ""], ["", "ngStyle.xl", ""], ["", "ngStyle.lt-sm", ""], ["", "ngStyle.lt-md", ""], ["", "ngStyle.lt-lg", ""], ["", "ngStyle.lt-xl", ""], ["", "ngStyle.gt-xs", ""], ["", "ngStyle.gt-sm", ""], ["", "ngStyle.gt-md", ""], ["", "ngStyle.gt-lg", ""]], inputs: { ngStyle: "ngStyle", "ngStyle.xs": "ngStyle.xs", "ngStyle.sm": "ngStyle.sm", "ngStyle.md": "ngStyle.md", "ngStyle.lg": "ngStyle.lg", "ngStyle.xl": "ngStyle.xl", "ngStyle.lt-sm": "ngStyle.lt-sm", "ngStyle.lt-md": "ngStyle.lt-md", "ngStyle.lt-lg": "ngStyle.lt-lg", "ngStyle.lt-xl": "ngStyle.lt-xl", "ngStyle.gt-xs": "ngStyle.gt-xs", "ngStyle.gt-sm": "ngStyle.gt-sm", "ngStyle.gt-md": "ngStyle.gt-md", "ngStyle.gt-lg": "ngStyle.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultStyleDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * Build a styles map from a list of styles, while sanitizing bad values first * @param {?} styles * @param {?=} sanitize * @return {?} */ function buildMapFromList$1(styles, sanitize) { /** @type {?} */ const sanitizeValue = /** * @param {?} it * @return {?} */ it => { if (sanitize) { it.value = sanitize(it.value); } return it; }; return styles.map(stringToKeyValue).filter( /** * @param {?} entry * @return {?} */ entry => !!entry).map(sanitizeValue).reduce(keyValuesToMap, /** @type {?} */ {}); } /** * @fileoverview added by tsickle * Generated from: extended/module.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const ALL_DIRECTIVES = [DefaultShowHideDirective, DefaultClassDirective, DefaultStyleDirective, DefaultImgSrcDirective]; /** * ***************************************************************** * Define module for the Extended API * ***************************************************************** */ let ExtendedModule = /*#__PURE__*/(() => { class ExtendedModule {} ExtendedModule.ɵfac = function ExtendedModule_Factory(t) { return new (t || ExtendedModule)(); }; ExtendedModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: ExtendedModule }); ExtendedModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.CoreModule] }); return ExtendedModule; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /*#__PURE__*/ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](ExtendedModule, { declarations: function () { return [DefaultShowHideDirective, DefaultClassDirective, DefaultStyleDirective, DefaultImgSrcDirective]; }, imports: function () { return [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.CoreModule]; }, exports: function () { return [DefaultShowHideDirective, DefaultClassDirective, DefaultStyleDirective, DefaultImgSrcDirective]; } }); })(); /** * @fileoverview added by tsickle * Generated from: extended/public-api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: extended/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ //# sourceMappingURL=extended.js.map /***/ }), /***/ 77613: /*!*******************************************************************************!*\ !*** ./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex-layout.js ***! \*******************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "BREAKPOINT": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINT), /* harmony export */ "BREAKPOINTS": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINTS), /* harmony export */ "BREAKPOINT_PRINT": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINT_PRINT), /* harmony export */ "BROWSER_PROVIDER": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BROWSER_PROVIDER), /* harmony export */ "BaseDirective2": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2), /* harmony export */ "BreakPointRegistry": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BreakPointRegistry), /* harmony export */ "CLASS_NAME": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.CLASS_NAME), /* harmony export */ "ClassDirective": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ClassDirective), /* harmony export */ "CoreModule": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.CoreModule), /* harmony export */ "DEFAULT_BREAKPOINTS": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_BREAKPOINTS), /* harmony export */ "DEFAULT_CONFIG": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CONFIG), /* harmony export */ "DefaultClassDirective": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.DefaultClassDirective), /* harmony export */ "DefaultFlexAlignDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.DefaultFlexAlignDirective), /* harmony export */ "DefaultFlexDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.DefaultFlexDirective), /* harmony export */ "DefaultFlexOffsetDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.DefaultFlexOffsetDirective), /* harmony export */ "DefaultFlexOrderDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.DefaultFlexOrderDirective), /* harmony export */ "DefaultImgSrcDirective": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.DefaultImgSrcDirective), /* harmony export */ "DefaultLayoutAlignDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.DefaultLayoutAlignDirective), /* harmony export */ "DefaultLayoutDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.DefaultLayoutDirective), /* harmony export */ "DefaultLayoutGapDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.DefaultLayoutGapDirective), /* harmony export */ "DefaultShowHideDirective": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.DefaultShowHideDirective), /* harmony export */ "DefaultStyleDirective": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.DefaultStyleDirective), /* harmony export */ "ExtendedModule": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ExtendedModule), /* harmony export */ "FlexAlignDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexAlignDirective), /* harmony export */ "FlexAlignStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexAlignStyleBuilder), /* harmony export */ "FlexDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexDirective), /* harmony export */ "FlexFillDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexFillDirective), /* harmony export */ "FlexFillStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexFillStyleBuilder), /* harmony export */ "FlexLayoutModule": () => (/* binding */ FlexLayoutModule), /* harmony export */ "FlexModule": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexModule), /* harmony export */ "FlexOffsetDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexOffsetDirective), /* harmony export */ "FlexOffsetStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexOffsetStyleBuilder), /* harmony export */ "FlexOrderDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexOrderDirective), /* harmony export */ "FlexOrderStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexOrderStyleBuilder), /* harmony export */ "FlexStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexStyleBuilder), /* harmony export */ "GridModule": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__.GridModule), /* harmony export */ "ImgSrcDirective": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ImgSrcDirective), /* harmony export */ "ImgSrcStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ImgSrcStyleBuilder), /* harmony export */ "LAYOUT_CONFIG": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.LAYOUT_CONFIG), /* harmony export */ "LayoutAlignDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.LayoutAlignDirective), /* harmony export */ "LayoutAlignStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.LayoutAlignStyleBuilder), /* harmony export */ "LayoutDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.LayoutDirective), /* harmony export */ "LayoutGapDirective": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.LayoutGapDirective), /* harmony export */ "LayoutGapStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.LayoutGapStyleBuilder), /* harmony export */ "LayoutStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.LayoutStyleBuilder), /* harmony export */ "MediaChange": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaChange), /* harmony export */ "MediaMarshaller": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller), /* harmony export */ "MediaObserver": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaObserver), /* harmony export */ "MediaTrigger": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaTrigger), /* harmony export */ "ORIENTATION_BREAKPOINTS": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.ORIENTATION_BREAKPOINTS), /* harmony export */ "PrintHook": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.PrintHook), /* harmony export */ "SERVER_TOKEN": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.SERVER_TOKEN), /* harmony export */ "ScreenTypes": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.ScreenTypes), /* harmony export */ "ShowHideDirective": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ShowHideDirective), /* harmony export */ "ShowHideStyleBuilder": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ShowHideStyleBuilder), /* harmony export */ "StyleBuilder": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder), /* harmony export */ "StyleDirective": () => (/* reexport safe */ _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.StyleDirective), /* harmony export */ "StyleUtils": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), /* harmony export */ "StylesheetMap": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StylesheetMap), /* harmony export */ "VERSION": () => (/* binding */ VERSION), /* harmony export */ "coerceArray": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.coerceArray), /* harmony export */ "mergeAlias": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.mergeAlias), /* harmony export */ "removeStyles": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.removeStyles), /* harmony export */ "sortAscendingPriority": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.sortAscendingPriority), /* harmony export */ "sortDescendingPriority": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.sortDescendingPriority), /* harmony export */ "validateBasis": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.validateBasis), /* harmony export */ "ɵMatchMedia": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__["ɵMatchMedia"]), /* harmony export */ "ɵMockMatchMedia": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__["ɵMockMatchMedia"]), /* harmony export */ "ɵMockMatchMediaProvider": () => (/* reexport safe */ _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__["ɵMockMatchMediaProvider"]), /* harmony export */ "ɵgrid_privatea": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatea"]), /* harmony export */ "ɵgrid_privateb": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privateb"]), /* harmony export */ "ɵgrid_privateba": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privateba"]), /* harmony export */ "ɵgrid_privatebb": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatebb"]), /* harmony export */ "ɵgrid_privatebc": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatebc"]), /* harmony export */ "ɵgrid_privatebd": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatebd"]), /* harmony export */ "ɵgrid_privatebe": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatebe"]), /* harmony export */ "ɵgrid_privatebf": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatebf"]), /* harmony export */ "ɵgrid_privatebg": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatebg"]), /* harmony export */ "ɵgrid_privatec": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatec"]), /* harmony export */ "ɵgrid_privated": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privated"]), /* harmony export */ "ɵgrid_privatee": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatee"]), /* harmony export */ "ɵgrid_privatef": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatef"]), /* harmony export */ "ɵgrid_privateg": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privateg"]), /* harmony export */ "ɵgrid_privateh": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privateh"]), /* harmony export */ "ɵgrid_privatei": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatei"]), /* harmony export */ "ɵgrid_privatej": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatej"]), /* harmony export */ "ɵgrid_privatek": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatek"]), /* harmony export */ "ɵgrid_privatel": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatel"]), /* harmony export */ "ɵgrid_privatem": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatem"]), /* harmony export */ "ɵgrid_privaten": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privaten"]), /* harmony export */ "ɵgrid_privateo": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privateo"]), /* harmony export */ "ɵgrid_privatep": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatep"]), /* harmony export */ "ɵgrid_privateq": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privateq"]), /* harmony export */ "ɵgrid_privater": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privater"]), /* harmony export */ "ɵgrid_privates": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privates"]), /* harmony export */ "ɵgrid_privatet": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatet"]), /* harmony export */ "ɵgrid_privateu": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privateu"]), /* harmony export */ "ɵgrid_privatev": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatev"]), /* harmony export */ "ɵgrid_privatew": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatew"]), /* harmony export */ "ɵgrid_privatex": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatex"]), /* harmony export */ "ɵgrid_privatey": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatey"]), /* harmony export */ "ɵgrid_privatez": () => (/* reexport safe */ _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__["ɵgrid_privatez"]) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/flex-layout/core */ 58084); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/flex-layout/flex */ 30277); /* harmony import */ var _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/flex-layout/grid */ 97811); /** * @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 */ /** * @fileoverview added by tsickle * Generated from: version.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Current version of Angular Flex-Layout. * @type {?} */ const VERSION = /*#__PURE__*/new _angular_core__WEBPACK_IMPORTED_MODULE_4__.Version('12.0.0-beta.34'); /** * @fileoverview added by tsickle * Generated from: module.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * FlexLayoutModule -- the main import for all utilities in the Angular Layout library * * Will automatically provide Flex, Grid, and Extended modules for use in the application * * Can be configured using the static withConfig method, options viewable on the Wiki's * Configuration page */ let FlexLayoutModule = /*#__PURE__*/(() => { class FlexLayoutModule { /** * @param {?} serverModuleLoaded * @param {?} platformId */ constructor(serverModuleLoaded, platformId) { if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_5__.isPlatformServer)(platformId) && !serverModuleLoaded) { console.warn('Warning: Flex Layout loaded on the server without FlexLayoutServerModule'); } } /** * Initialize the FlexLayoutModule with a set of config options, * which sets the corresponding tokens accordingly * @param {?} configOptions * @param {?=} breakpoints * @return {?} */ static withConfig(configOptions, // tslint:disable-next-line:max-line-length breakpoints = []) { return { ngModule: FlexLayoutModule, providers: configOptions.serverLoaded ? [{ provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.LAYOUT_CONFIG, useValue: Object.assign(Object.assign({}, _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CONFIG), configOptions) }, { provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINT, useValue: breakpoints, multi: true }, { provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.SERVER_TOKEN, useValue: true }] : [{ provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.LAYOUT_CONFIG, useValue: Object.assign(Object.assign({}, _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CONFIG), configOptions) }, { provide: _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINT, useValue: breakpoints, multi: true }] }; } } FlexLayoutModule.ɵfac = function FlexLayoutModule_Factory(t) { return new (t || FlexLayoutModule)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.SERVER_TOKEN), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.PLATFORM_ID)); }; FlexLayoutModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: FlexLayoutModule }); FlexLayoutModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ imports: [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexModule, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ExtendedModule, _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__.GridModule, _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexModule, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ExtendedModule, _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__.GridModule] }); /** @nocollapse */ return FlexLayoutModule; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /*#__PURE__*/ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](FlexLayoutModule, { imports: function () { return [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexModule, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ExtendedModule, _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__.GridModule]; }, exports: function () { return [_angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_2__.FlexModule, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_1__.ExtendedModule, _angular_flex_layout_grid__WEBPACK_IMPORTED_MODULE_3__.GridModule]; } }); })(); /** * @fileoverview added by tsickle * Generated from: public-api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ //# sourceMappingURL=flex-layout.js.map /***/ }), /***/ 30277: /*!************************************************************************!*\ !*** ./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/flex.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "DefaultFlexAlignDirective": () => (/* binding */ DefaultFlexAlignDirective), /* harmony export */ "DefaultFlexDirective": () => (/* binding */ DefaultFlexDirective), /* harmony export */ "DefaultFlexOffsetDirective": () => (/* binding */ DefaultFlexOffsetDirective), /* harmony export */ "DefaultFlexOrderDirective": () => (/* binding */ DefaultFlexOrderDirective), /* harmony export */ "DefaultLayoutAlignDirective": () => (/* binding */ DefaultLayoutAlignDirective), /* harmony export */ "DefaultLayoutDirective": () => (/* binding */ DefaultLayoutDirective), /* harmony export */ "DefaultLayoutGapDirective": () => (/* binding */ DefaultLayoutGapDirective), /* harmony export */ "FlexAlignDirective": () => (/* binding */ FlexAlignDirective), /* harmony export */ "FlexAlignStyleBuilder": () => (/* binding */ FlexAlignStyleBuilder), /* harmony export */ "FlexDirective": () => (/* binding */ FlexDirective), /* harmony export */ "FlexFillDirective": () => (/* binding */ FlexFillDirective), /* harmony export */ "FlexFillStyleBuilder": () => (/* binding */ FlexFillStyleBuilder), /* harmony export */ "FlexModule": () => (/* binding */ FlexModule), /* harmony export */ "FlexOffsetDirective": () => (/* binding */ FlexOffsetDirective), /* harmony export */ "FlexOffsetStyleBuilder": () => (/* binding */ FlexOffsetStyleBuilder), /* harmony export */ "FlexOrderDirective": () => (/* binding */ FlexOrderDirective), /* harmony export */ "FlexOrderStyleBuilder": () => (/* binding */ FlexOrderStyleBuilder), /* harmony export */ "FlexStyleBuilder": () => (/* binding */ FlexStyleBuilder), /* harmony export */ "LayoutAlignDirective": () => (/* binding */ LayoutAlignDirective), /* harmony export */ "LayoutAlignStyleBuilder": () => (/* binding */ LayoutAlignStyleBuilder), /* harmony export */ "LayoutDirective": () => (/* binding */ LayoutDirective), /* harmony export */ "LayoutGapDirective": () => (/* binding */ LayoutGapDirective), /* harmony export */ "LayoutGapStyleBuilder": () => (/* binding */ LayoutGapStyleBuilder), /* harmony export */ "LayoutStyleBuilder": () => (/* binding */ LayoutStyleBuilder) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/flex-layout/core */ 58084); /* harmony import */ var _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/bidi */ 40445); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 7625); /** * @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 */ /** * @fileoverview added by tsickle * Generated from: utils/layout-validator.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @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 * @type {?} */ const INLINE = 'inline'; /** @type {?} */ const LAYOUT_VALUES = ['row', 'column', 'row-reverse', 'column-reverse']; /** * Validate the direction|'direction wrap' value and then update the host's inline flexbox styles * @param {?} value * @return {?} */ function buildLayoutCSS(value) { let [direction, wrap, isInline] = validateValue(value); return buildCSS(direction, wrap, isInline); } /** * Validate the value to be one of the acceptable value options * Use default fallback of 'row' * @param {?} value * @return {?} */ function validateValue(value) { value = value ? value.toLowerCase() : ''; let [direction, wrap, inline] = value.split(' '); // First value must be the `flex-direction` if (!LAYOUT_VALUES.find( /** * @param {?} x * @return {?} */ x => x === direction)) { direction = LAYOUT_VALUES[0]; } if (wrap === INLINE) { wrap = inline !== INLINE ? inline : ''; inline = INLINE; } return [direction, validateWrapValue(wrap), !!inline]; } /** * Determine if the validated, flex-direction value specifies * a horizontal/row flow. * @param {?} value * @return {?} */ function isFlowHorizontal(value) { let [flow] = validateValue(value); return flow.indexOf('row') > -1; } /** * Convert layout-wrap='' to expected flex-wrap style * @param {?} value * @return {?} */ function validateWrapValue(value) { if (!!value) { switch (value.toLowerCase()) { case 'reverse': case 'wrap-reverse': case 'reverse-wrap': value = 'wrap-reverse'; break; case 'no': case 'none': case 'nowrap': value = 'nowrap'; break; // All other values fallback to 'wrap' default: value = 'wrap'; break; } } return value; } /** * Build the CSS that should be assigned to the element instance * BUG: * 1) min-height on a column flex container won’t apply to its flex item children in IE 10-11. * Use height instead if possible; height : vh; * * This way any padding or border specified on the child elements are * laid out and drawn inside that element's specified width and height. * @param {?} direction * @param {?=} wrap * @param {?=} inline * @return {?} */ function buildCSS(direction, wrap = null, inline = false) { return { 'display': inline ? 'inline-flex' : 'flex', 'box-sizing': 'border-box', 'flex-direction': direction, 'flex-wrap': !!wrap ? wrap : null }; } /** * @fileoverview added by tsickle * Generated from: flex/layout/layout.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let LayoutStyleBuilder = /*#__PURE__*/(() => { class LayoutStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @return {?} */ buildStyles(input) { return buildLayoutCSS(input); } } LayoutStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵLayoutStyleBuilder_BaseFactory; return function LayoutStyleBuilder_Factory(t) { return (ɵLayoutStyleBuilder_BaseFactory || (ɵLayoutStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](LayoutStyleBuilder)))(t || LayoutStyleBuilder); }; }(); /** @nocollapse */ LayoutStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function LayoutStyleBuilder_Factory() { return new LayoutStyleBuilder(); }, token: LayoutStyleBuilder, providedIn: "root" }); return LayoutStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs = ['fxLayout', 'fxLayout.xs', 'fxLayout.sm', 'fxLayout.md', 'fxLayout.lg', 'fxLayout.xl', 'fxLayout.lt-sm', 'fxLayout.lt-md', 'fxLayout.lt-lg', 'fxLayout.lt-xl', 'fxLayout.gt-xs', 'fxLayout.gt-sm', 'fxLayout.gt-md', 'fxLayout.gt-lg']; /** @type {?} */ const selector = ` [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg] `; /** * 'layout' flexbox styling directive * Defines the positioning flow direction for the child elements: row or column * Optional values: column or row (default) * @see https://css-tricks.com/almanac/properties/f/flex-direction/ * */ let LayoutDirective = /*#__PURE__*/(() => { class LayoutDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.DIRECTIVE_KEY = 'layout'; this.styleCache = layoutCache; this.init(); } } LayoutDirective.ɵfac = function LayoutDirective_Factory(t) { return new (t || LayoutDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](LayoutStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; LayoutDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: LayoutDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return LayoutDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let DefaultLayoutDirective = /*#__PURE__*/(() => { class DefaultLayoutDirective extends LayoutDirective { constructor() { super(...arguments); this.inputs = inputs; } } DefaultLayoutDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultLayoutDirective_BaseFactory; return function DefaultLayoutDirective_Factory(t) { return (ɵDefaultLayoutDirective_BaseFactory || (ɵDefaultLayoutDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultLayoutDirective)))(t || DefaultLayoutDirective); }; }(); DefaultLayoutDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultLayoutDirective, selectors: [["", "fxLayout", ""], ["", "fxLayout.xs", ""], ["", "fxLayout.sm", ""], ["", "fxLayout.md", ""], ["", "fxLayout.lg", ""], ["", "fxLayout.xl", ""], ["", "fxLayout.lt-sm", ""], ["", "fxLayout.lt-md", ""], ["", "fxLayout.lt-lg", ""], ["", "fxLayout.lt-xl", ""], ["", "fxLayout.gt-xs", ""], ["", "fxLayout.gt-sm", ""], ["", "fxLayout.gt-md", ""], ["", "fxLayout.gt-lg", ""]], inputs: { fxLayout: "fxLayout", "fxLayout.xs": "fxLayout.xs", "fxLayout.sm": "fxLayout.sm", "fxLayout.md": "fxLayout.md", "fxLayout.lg": "fxLayout.lg", "fxLayout.xl": "fxLayout.xl", "fxLayout.lt-sm": "fxLayout.lt-sm", "fxLayout.lt-md": "fxLayout.lt-md", "fxLayout.lt-lg": "fxLayout.lt-lg", "fxLayout.lt-xl": "fxLayout.lt-xl", "fxLayout.gt-xs": "fxLayout.gt-xs", "fxLayout.gt-sm": "fxLayout.gt-sm", "fxLayout.gt-md": "fxLayout.gt-md", "fxLayout.gt-lg": "fxLayout.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultLayoutDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const layoutCache = /*#__PURE__*/new Map(); /** * @fileoverview added by tsickle * Generated from: flex/layout-gap/layout-gap.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const CLEAR_MARGIN_CSS = { 'margin-left': null, 'margin-right': null, 'margin-top': null, 'margin-bottom': null }; let LayoutGapStyleBuilder = /*#__PURE__*/(() => { class LayoutGapStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} _styler */ constructor(_styler) { super(); this._styler = _styler; } /** * @param {?} gapValue * @param {?} parent * @return {?} */ buildStyles(gapValue, parent) { if (gapValue.endsWith(GRID_SPECIFIER)) { gapValue = gapValue.slice(0, gapValue.indexOf(GRID_SPECIFIER)); // Add the margin to the host element return buildGridMargin(gapValue, parent.directionality); } else { return {}; } } /** * @param {?} gapValue * @param {?} _styles * @param {?} parent * @return {?} */ sideEffect(gapValue, _styles, parent) { /** @type {?} */ const items = parent.items; if (gapValue.endsWith(GRID_SPECIFIER)) { gapValue = gapValue.slice(0, gapValue.indexOf(GRID_SPECIFIER)); // For each `element` children, set the padding /** @type {?} */ const paddingStyles = buildGridPadding(gapValue, parent.directionality); this._styler.applyStyleToElements(paddingStyles, parent.items); } else { /** @type {?} */ const lastItem = /** @type {?} */ items.pop(); // For each `element` children EXCEPT the last, // set the margin right/bottom styles... /** @type {?} */ const gapCss = buildGapCSS(gapValue, parent); this._styler.applyStyleToElements(gapCss, items); // Clear all gaps for all visible elements this._styler.applyStyleToElements(CLEAR_MARGIN_CSS, [lastItem]); } } } LayoutGapStyleBuilder.ɵfac = function LayoutGapStyleBuilder_Factory(t) { return new (t || LayoutGapStyleBuilder)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils)); }; /** @nocollapse */ LayoutGapStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function LayoutGapStyleBuilder_Factory() { return new LayoutGapStyleBuilder((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils)); }, token: LayoutGapStyleBuilder, providedIn: "root" }); /** @nocollapse */ return LayoutGapStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs$1 = ['fxLayoutGap', 'fxLayoutGap.xs', 'fxLayoutGap.sm', 'fxLayoutGap.md', 'fxLayoutGap.lg', 'fxLayoutGap.xl', 'fxLayoutGap.lt-sm', 'fxLayoutGap.lt-md', 'fxLayoutGap.lt-lg', 'fxLayoutGap.lt-xl', 'fxLayoutGap.gt-xs', 'fxLayoutGap.gt-sm', 'fxLayoutGap.gt-md', 'fxLayoutGap.gt-lg']; /** @type {?} */ const selector$1 = ` [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg] `; /** * 'layout-padding' styling directive * Defines padding of child elements in a layout container */ let LayoutGapDirective = /*#__PURE__*/(() => { class LayoutGapDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} zone * @param {?} directionality * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, zone, directionality, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.zone = zone; this.directionality = directionality; this.styleUtils = styleUtils; this.layout = 'row'; // default flex-direction // default flex-direction this.DIRECTIVE_KEY = 'layout-gap'; this.observerSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject(); /** @type {?} */ const extraTriggers = [this.directionality.change, this.observerSubject.asObservable()]; this.init(extraTriggers); this.marshal.trackValue(this.nativeElement, 'layout').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.takeUntil)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)); } /** * Special accessor to query for all child 'element' nodes regardless of type, class, etc * @protected * @return {?} */ get childrenNodes() { /** @type {?} */ const obj = this.nativeElement.children; /** @type {?} */ const buffer = []; // iterate backwards ensuring that length is an UInt32 for (let i = obj.length; i--;) { buffer[i] = obj[i]; } return buffer; } // ********************************************* // Lifecycle Methods // ********************************************* /** * @return {?} */ ngAfterContentInit() { this.buildChildObservable(); this.triggerUpdate(); } /** * @return {?} */ ngOnDestroy() { super.ngOnDestroy(); if (this.observer) { this.observer.disconnect(); } } // ********************************************* // Protected methods // ********************************************* /** * Cache the parent container 'flex-direction' and update the 'margin' styles * @protected * @param {?} matcher * @return {?} */ onLayoutChange(matcher) { /** @type {?} */ const layout = matcher.value; // Make sure to filter out 'wrap' option /** @type {?} */ const direction = layout.split(' '); this.layout = direction[0]; if (!LAYOUT_VALUES.find( /** * @param {?} x * @return {?} */ x => x === this.layout)) { this.layout = 'row'; } this.triggerUpdate(); } /** * * @protected * @param {?} value * @return {?} */ updateWithValue(value) { // Gather all non-hidden Element nodes /** @type {?} */ const items = this.childrenNodes.filter( /** * @param {?} el * @return {?} */ el => el.nodeType === 1 && this.willDisplay(el)).sort( /** * @param {?} a * @param {?} b * @return {?} */ (a, b) => { /** @type {?} */ const orderA = +this.styler.lookupStyle(a, 'order'); /** @type {?} */ const orderB = +this.styler.lookupStyle(b, 'order'); if (isNaN(orderA) || isNaN(orderB) || orderA === orderB) { return 0; } else { return orderA > orderB ? 1 : -1; } }); if (items.length > 0) { /** @type {?} */ const directionality = this.directionality.value; /** @type {?} */ const layout = this.layout; if (layout === 'row' && directionality === 'rtl') { this.styleCache = layoutGapCacheRowRtl; } else if (layout === 'row' && directionality !== 'rtl') { this.styleCache = layoutGapCacheRowLtr; } else if (layout === 'column' && directionality === 'rtl') { this.styleCache = layoutGapCacheColumnRtl; } else if (layout === 'column' && directionality !== 'rtl') { this.styleCache = layoutGapCacheColumnLtr; } this.addStyles(value, { directionality, items, layout }); } } /** * We need to override clearStyles because in most cases mru isn't populated * @protected * @return {?} */ clearStyles() { /** @type {?} */ const gridMode = Object.keys(this.mru).length > 0; /** @type {?} */ const childrenStyle = gridMode ? 'padding' : getMarginType(this.directionality.value, this.layout); // If there are styles on the parent remove them if (gridMode) { super.clearStyles(); } // Then remove the children styles too this.styleUtils.applyStyleToElements({ [childrenStyle]: '' }, this.childrenNodes); } /** * Determine if an element will show or hide based on current activation * @protected * @param {?} source * @return {?} */ willDisplay(source) { /** @type {?} */ const value = this.marshal.getValue(source, 'show-hide'); return value === true || value === undefined && this.styleUtils.lookupStyle(source, 'display') !== 'none'; } /** * @protected * @return {?} */ buildChildObservable() { this.zone.runOutsideAngular( /** * @return {?} */ () => { if (typeof MutationObserver !== 'undefined') { this.observer = new MutationObserver( /** * @param {?} mutations * @return {?} */ mutations => { /** @type {?} */ const validatedChanges = /** * @param {?} it * @return {?} */ it => { return it.addedNodes && it.addedNodes.length > 0 || it.removedNodes && it.removedNodes.length > 0; }; // update gap styles only for child 'added' or 'removed' events if (mutations.some(validatedChanges)) { this.observerSubject.next(); } }); this.observer.observe(this.nativeElement, { childList: true }); } }); } } LayoutGapDirective.ɵfac = function LayoutGapDirective_Factory(t) { return new (t || LayoutGapDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_4__.Directionality), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](LayoutGapStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; LayoutGapDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: LayoutGapDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return LayoutGapDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let DefaultLayoutGapDirective = /*#__PURE__*/(() => { class DefaultLayoutGapDirective extends LayoutGapDirective { constructor() { super(...arguments); this.inputs = inputs$1; } } DefaultLayoutGapDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultLayoutGapDirective_BaseFactory; return function DefaultLayoutGapDirective_Factory(t) { return (ɵDefaultLayoutGapDirective_BaseFactory || (ɵDefaultLayoutGapDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultLayoutGapDirective)))(t || DefaultLayoutGapDirective); }; }(); DefaultLayoutGapDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultLayoutGapDirective, selectors: [["", "fxLayoutGap", ""], ["", "fxLayoutGap.xs", ""], ["", "fxLayoutGap.sm", ""], ["", "fxLayoutGap.md", ""], ["", "fxLayoutGap.lg", ""], ["", "fxLayoutGap.xl", ""], ["", "fxLayoutGap.lt-sm", ""], ["", "fxLayoutGap.lt-md", ""], ["", "fxLayoutGap.lt-lg", ""], ["", "fxLayoutGap.lt-xl", ""], ["", "fxLayoutGap.gt-xs", ""], ["", "fxLayoutGap.gt-sm", ""], ["", "fxLayoutGap.gt-md", ""], ["", "fxLayoutGap.gt-lg", ""]], inputs: { fxLayoutGap: "fxLayoutGap", "fxLayoutGap.xs": "fxLayoutGap.xs", "fxLayoutGap.sm": "fxLayoutGap.sm", "fxLayoutGap.md": "fxLayoutGap.md", "fxLayoutGap.lg": "fxLayoutGap.lg", "fxLayoutGap.xl": "fxLayoutGap.xl", "fxLayoutGap.lt-sm": "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md": "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg": "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl": "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs": "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm": "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md": "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg": "fxLayoutGap.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultLayoutGapDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const layoutGapCacheRowRtl = /*#__PURE__*/new Map(); /** @type {?} */ const layoutGapCacheColumnRtl = /*#__PURE__*/new Map(); /** @type {?} */ const layoutGapCacheRowLtr = /*#__PURE__*/new Map(); /** @type {?} */ const layoutGapCacheColumnLtr = /*#__PURE__*/new Map(); /** @type {?} */ const GRID_SPECIFIER = ' grid'; /** * @param {?} value * @param {?} directionality * @return {?} */ function buildGridPadding(value, directionality) { const [between, below] = value.split(' '); /** @type {?} */ const bottom = below || between; /** @type {?} */ let paddingRight = '0px'; /** @type {?} */ let paddingBottom = bottom; /** @type {?} */ let paddingLeft = '0px'; if (directionality === 'rtl') { paddingLeft = between; } else { paddingRight = between; } return { 'padding': `0px ${paddingRight} ${paddingBottom} ${paddingLeft}` }; } /** * @param {?} value * @param {?} directionality * @return {?} */ function buildGridMargin(value, directionality) { const [between, below] = value.split(' '); /** @type {?} */ const bottom = below || between; /** @type {?} */ const minus = /** * @param {?} str * @return {?} */ str => `-${str}`; /** @type {?} */ let marginRight = '0px'; /** @type {?} */ let marginBottom = minus(bottom); /** @type {?} */ let marginLeft = '0px'; if (directionality === 'rtl') { marginLeft = minus(between); } else { marginRight = minus(between); } return { 'margin': `0px ${marginRight} ${marginBottom} ${marginLeft}` }; } /** * @param {?} directionality * @param {?} layout * @return {?} */ function getMarginType(directionality, layout) { switch (layout) { case 'column': return 'margin-bottom'; case 'column-reverse': return 'margin-top'; case 'row': return directionality === 'rtl' ? 'margin-left' : 'margin-right'; case 'row-reverse': return directionality === 'rtl' ? 'margin-right' : 'margin-left'; default: return directionality === 'rtl' ? 'margin-left' : 'margin-right'; } } /** * @param {?} gapValue * @param {?} parent * @return {?} */ function buildGapCSS(gapValue, parent) { /** @type {?} */ const key = getMarginType(parent.directionality, parent.layout); /** @type {?} */ const margins = Object.assign({}, CLEAR_MARGIN_CSS); margins[key] = gapValue; return margins; } /** * @fileoverview added by tsickle * Generated from: utils/object-extend.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * Extends an object with the *enumerable* and *own* properties of one or more source objects, * similar to Object.assign. * * @param {?} dest The object which will have properties copied to it. * @param {...?} sources The source objects from which properties will be copied. * @return {?} */ function extendObject(dest, ...sources) { if (dest == null) { throw TypeError('Cannot convert undefined or null to object'); } for (let source of sources) { if (source != null) { for (let key in source) { if (source.hasOwnProperty(key)) { dest[key] = source[key]; } } } } return dest; } /** * @fileoverview added by tsickle * Generated from: flex/flex/flex.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let FlexStyleBuilder = /*#__PURE__*/(() => { class FlexStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} layoutConfig */ constructor(layoutConfig) { super(); this.layoutConfig = layoutConfig; } /** * @param {?} input * @param {?} parent * @return {?} */ buildStyles(input, parent) { let [grow, shrink, ...basisParts] = input.split(' '); /** @type {?} */ let basis = basisParts.join(' '); // The flex-direction of this element's flex container. Defaults to 'row'. /** @type {?} */ const direction = parent.direction.indexOf('column') > -1 ? 'column' : 'row'; /** @type {?} */ const max = isFlowHorizontal(direction) ? 'max-width' : 'max-height'; /** @type {?} */ const min = isFlowHorizontal(direction) ? 'min-width' : 'min-height'; /** @type {?} */ const hasCalc = String(basis).indexOf('calc') > -1; /** @type {?} */ const usingCalc = hasCalc || basis === 'auto'; /** @type {?} */ const isPercent = String(basis).indexOf('%') > -1 && !hasCalc; /** @type {?} */ const hasUnits = String(basis).indexOf('px') > -1 || String(basis).indexOf('rem') > -1 || String(basis).indexOf('em') > -1 || String(basis).indexOf('vw') > -1 || String(basis).indexOf('vh') > -1; /** @type {?} */ let isValue = hasCalc || hasUnits; grow = grow == '0' ? 0 : grow; shrink = shrink == '0' ? 0 : shrink; // make box inflexible when shrink and grow are both zero // should not set a min when the grow is zero // should not set a max when the shrink is zero /** @type {?} */ const isFixed = !grow && !shrink; /** @type {?} */ let css = {}; // flex-basis allows you to specify the initial/starting main-axis size of the element, // before anything else is computed. It can either be a percentage or an absolute value. // It is, however, not the breaking point for flex-grow/shrink properties // // flex-grow can be seen as this: // 0: Do not stretch. Either size to element's content width, or obey 'flex-basis'. // 1: (Default value). Stretch; will be the same size to all other flex items on // the same row since they have a default value of 1. // ≥2 (integer n): Stretch. Will be n times the size of other elements // with 'flex-grow: 1' on the same row. // Use `null` to clear existing styles. /** @type {?} */ const clearStyles = { 'max-width': null, 'max-height': null, 'min-width': null, 'min-height': null }; switch (basis || '') { case '': /** @type {?} */ const useColumnBasisZero = this.layoutConfig.useColumnBasisZero !== false; basis = direction === 'row' ? '0%' : useColumnBasisZero ? '0.000000001px' : 'auto'; break; case 'initial': // default case 'nogrow': grow = 0; basis = 'auto'; break; case 'grow': basis = '100%'; break; case 'noshrink': shrink = 0; basis = 'auto'; break; case 'auto': break; case 'none': grow = 0; shrink = 0; basis = 'auto'; break; default: // Defaults to percentage sizing unless `px` is explicitly set if (!isValue && !isPercent && !isNaN( /** @type {?} */ basis)) { basis = basis + '%'; } // Fix for issue 280 if (basis === '0%') { isValue = true; } if (basis === '0px') { basis = '0%'; } // fix issue #5345 if (hasCalc) { css = extendObject(clearStyles, { 'flex-grow': grow, 'flex-shrink': shrink, 'flex-basis': isValue ? basis : '100%' }); } else { css = extendObject(clearStyles, { 'flex': `${grow} ${shrink} ${isValue ? basis : '100%'}` }); } break; } if (!(css['flex'] || css['flex-grow'])) { if (hasCalc) { css = extendObject(clearStyles, { 'flex-grow': grow, 'flex-shrink': shrink, 'flex-basis': basis }); } else { css = extendObject(clearStyles, { 'flex': `${grow} ${shrink} ${basis}` }); } } // Fix for issues 277, 534, and 728 if (basis !== '0%' && basis !== '0px' && basis !== '0.000000001px' && basis !== 'auto') { css[min] = isFixed || isValue && grow ? basis : null; css[max] = isFixed || !usingCalc && shrink ? basis : null; } // Fix for issue 528 if (!css[min] && !css[max]) { if (hasCalc) { css = extendObject(clearStyles, { 'flex-grow': grow, 'flex-shrink': shrink, 'flex-basis': basis }); } else { css = extendObject(clearStyles, { 'flex': `${grow} ${shrink} ${basis}` }); } } else { // Fix for issue 660 if (parent.hasWrap) { css[hasCalc ? 'flex-basis' : 'flex'] = css[max] ? hasCalc ? css[max] : `${grow} ${shrink} ${css[max]}` : hasCalc ? css[min] : `${grow} ${shrink} ${css[min]}`; } } return ( /** @type {?} */ extendObject(css, { 'box-sizing': 'border-box' }) ); } } FlexStyleBuilder.ɵfac = function FlexStyleBuilder_Factory(t) { return new (t || FlexStyleBuilder)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.LAYOUT_CONFIG)); }; /** @nocollapse */ FlexStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function FlexStyleBuilder_Factory() { return new FlexStyleBuilder((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.LAYOUT_CONFIG)); }, token: FlexStyleBuilder, providedIn: "root" }); /** @nocollapse */ return FlexStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs$2 = ['fxFlex', 'fxFlex.xs', 'fxFlex.sm', 'fxFlex.md', 'fxFlex.lg', 'fxFlex.xl', 'fxFlex.lt-sm', 'fxFlex.lt-md', 'fxFlex.lt-lg', 'fxFlex.lt-xl', 'fxFlex.gt-xs', 'fxFlex.gt-sm', 'fxFlex.gt-md', 'fxFlex.gt-lg']; /** @type {?} */ const selector$2 = ` [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg] `; /** * Directive to control the size of a flex item using flex-basis, flex-grow, and flex-shrink. * Corresponds to the css `flex` shorthand property. * * @see https://css-tricks.com/snippets/css/a-guide-to-flexbox/ */ let FlexDirective = /*#__PURE__*/(() => { class FlexDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} styleUtils * @param {?} layoutConfig * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, layoutConfig, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.layoutConfig = layoutConfig; this.marshal = marshal; this.DIRECTIVE_KEY = 'flex'; this.direction = undefined; this.wrap = undefined; this.flexGrow = '1'; this.flexShrink = '1'; this.init(); } /** * @return {?} */ get shrink() { return this.flexShrink; } /** * @param {?} value * @return {?} */ set shrink(value) { this.flexShrink = value || '1'; this.triggerReflow(); } /** * @return {?} */ get grow() { return this.flexGrow; } /** * @param {?} value * @return {?} */ set grow(value) { this.flexGrow = value || '1'; this.triggerReflow(); } /** * @return {?} */ ngOnInit() { if (this.parentElement) { this.marshal.trackValue(this.parentElement, 'layout').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.takeUntil)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)); this.marshal.trackValue(this.nativeElement, 'layout-align').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.takeUntil)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)); } } /** * Caches the parent container's 'flex-direction' and updates the element's style. * Used as a handler for layout change events from the parent flex container. * @protected * @param {?} matcher * @return {?} */ onLayoutChange(matcher) { /** @type {?} */ const layout = matcher.value; /** @type {?} */ const layoutParts = layout.split(' '); this.direction = layoutParts[0]; this.wrap = layoutParts[1] !== undefined && layoutParts[1] === 'wrap'; this.triggerUpdate(); } /** * Input to this is exclusively the basis input value * @protected * @param {?} value * @return {?} */ updateWithValue(value) { /** @type {?} */ const addFlexToParent = this.layoutConfig.addFlexToParent !== false; if (this.direction === undefined) { this.direction = this.getFlexFlowDirection( /** @type {?} */ this.parentElement, addFlexToParent); } if (this.wrap === undefined) { this.wrap = this.hasWrap( /** @type {?} */ this.parentElement); } /** @type {?} */ const direction = this.direction; /** @type {?} */ const isHorizontal = direction.startsWith('row'); /** @type {?} */ const hasWrap = this.wrap; if (isHorizontal && hasWrap) { this.styleCache = flexRowWrapCache; } else if (isHorizontal && !hasWrap) { this.styleCache = flexRowCache; } else if (!isHorizontal && hasWrap) { this.styleCache = flexColumnWrapCache; } else if (!isHorizontal && !hasWrap) { this.styleCache = flexColumnCache; } /** @type {?} */ const basis = String(value).replace(';', ''); /** @type {?} */ const parts = (0,_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.validateBasis)(basis, this.flexGrow, this.flexShrink); this.addStyles(parts.join(' '), { direction, hasWrap }); } /** * Trigger a style reflow, usually based on a shrink/grow input event * @protected * @return {?} */ triggerReflow() { /** @type {?} */ const activatedValue = this.activatedValue; if (activatedValue !== undefined) { /** @type {?} */ const parts = (0,_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.validateBasis)(activatedValue + '', this.flexGrow, this.flexShrink); this.marshal.updateElement(this.nativeElement, this.DIRECTIVE_KEY, parts.join(' ')); } } } FlexDirective.ɵfac = function FlexDirective_Factory(t) { return new (t || FlexDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.LAYOUT_CONFIG), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FlexStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; FlexDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: FlexDirective, inputs: { shrink: ["fxShrink", "shrink"], grow: ["fxGrow", "grow"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return FlexDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let DefaultFlexDirective = /*#__PURE__*/(() => { class DefaultFlexDirective extends FlexDirective { constructor() { super(...arguments); this.inputs = inputs$2; } } DefaultFlexDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultFlexDirective_BaseFactory; return function DefaultFlexDirective_Factory(t) { return (ɵDefaultFlexDirective_BaseFactory || (ɵDefaultFlexDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultFlexDirective)))(t || DefaultFlexDirective); }; }(); DefaultFlexDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultFlexDirective, selectors: [["", "fxFlex", ""], ["", "fxFlex.xs", ""], ["", "fxFlex.sm", ""], ["", "fxFlex.md", ""], ["", "fxFlex.lg", ""], ["", "fxFlex.xl", ""], ["", "fxFlex.lt-sm", ""], ["", "fxFlex.lt-md", ""], ["", "fxFlex.lt-lg", ""], ["", "fxFlex.lt-xl", ""], ["", "fxFlex.gt-xs", ""], ["", "fxFlex.gt-sm", ""], ["", "fxFlex.gt-md", ""], ["", "fxFlex.gt-lg", ""]], inputs: { fxFlex: "fxFlex", "fxFlex.xs": "fxFlex.xs", "fxFlex.sm": "fxFlex.sm", "fxFlex.md": "fxFlex.md", "fxFlex.lg": "fxFlex.lg", "fxFlex.xl": "fxFlex.xl", "fxFlex.lt-sm": "fxFlex.lt-sm", "fxFlex.lt-md": "fxFlex.lt-md", "fxFlex.lt-lg": "fxFlex.lt-lg", "fxFlex.lt-xl": "fxFlex.lt-xl", "fxFlex.gt-xs": "fxFlex.gt-xs", "fxFlex.gt-sm": "fxFlex.gt-sm", "fxFlex.gt-md": "fxFlex.gt-md", "fxFlex.gt-lg": "fxFlex.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultFlexDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const flexRowCache = /*#__PURE__*/new Map(); /** @type {?} */ const flexColumnCache = /*#__PURE__*/new Map(); /** @type {?} */ const flexRowWrapCache = /*#__PURE__*/new Map(); /** @type {?} */ const flexColumnWrapCache = /*#__PURE__*/new Map(); /** * @fileoverview added by tsickle * Generated from: flex/flex-order/flex-order.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let FlexOrderStyleBuilder = /*#__PURE__*/(() => { class FlexOrderStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} value * @return {?} */ buildStyles(value) { return { order: value && parseInt(value, 10) || '' }; } } FlexOrderStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵFlexOrderStyleBuilder_BaseFactory; return function FlexOrderStyleBuilder_Factory(t) { return (ɵFlexOrderStyleBuilder_BaseFactory || (ɵFlexOrderStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](FlexOrderStyleBuilder)))(t || FlexOrderStyleBuilder); }; }(); /** @nocollapse */ FlexOrderStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function FlexOrderStyleBuilder_Factory() { return new FlexOrderStyleBuilder(); }, token: FlexOrderStyleBuilder, providedIn: "root" }); return FlexOrderStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs$3 = ['fxFlexOrder', 'fxFlexOrder.xs', 'fxFlexOrder.sm', 'fxFlexOrder.md', 'fxFlexOrder.lg', 'fxFlexOrder.xl', 'fxFlexOrder.lt-sm', 'fxFlexOrder.lt-md', 'fxFlexOrder.lt-lg', 'fxFlexOrder.lt-xl', 'fxFlexOrder.gt-xs', 'fxFlexOrder.gt-sm', 'fxFlexOrder.gt-md', 'fxFlexOrder.gt-lg']; /** @type {?} */ const selector$3 = ` [fxFlexOrder], [fxFlexOrder.xs], [fxFlexOrder.sm], [fxFlexOrder.md], [fxFlexOrder.lg], [fxFlexOrder.xl], [fxFlexOrder.lt-sm], [fxFlexOrder.lt-md], [fxFlexOrder.lt-lg], [fxFlexOrder.lt-xl], [fxFlexOrder.gt-xs], [fxFlexOrder.gt-sm], [fxFlexOrder.gt-md], [fxFlexOrder.gt-lg] `; /** * 'flex-order' flexbox styling directive * Configures the positional ordering of the element in a sorted layout container * @see https://css-tricks.com/almanac/properties/o/order/ */ let FlexOrderDirective = /*#__PURE__*/(() => { class FlexOrderDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.DIRECTIVE_KEY = 'flex-order'; this.styleCache = flexOrderCache; this.init(); } } FlexOrderDirective.ɵfac = function FlexOrderDirective_Factory(t) { return new (t || FlexOrderDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FlexOrderStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; FlexOrderDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: FlexOrderDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return FlexOrderDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const flexOrderCache = /*#__PURE__*/new Map(); let DefaultFlexOrderDirective = /*#__PURE__*/(() => { class DefaultFlexOrderDirective extends FlexOrderDirective { constructor() { super(...arguments); this.inputs = inputs$3; } } DefaultFlexOrderDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultFlexOrderDirective_BaseFactory; return function DefaultFlexOrderDirective_Factory(t) { return (ɵDefaultFlexOrderDirective_BaseFactory || (ɵDefaultFlexOrderDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultFlexOrderDirective)))(t || DefaultFlexOrderDirective); }; }(); DefaultFlexOrderDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultFlexOrderDirective, selectors: [["", "fxFlexOrder", ""], ["", "fxFlexOrder.xs", ""], ["", "fxFlexOrder.sm", ""], ["", "fxFlexOrder.md", ""], ["", "fxFlexOrder.lg", ""], ["", "fxFlexOrder.xl", ""], ["", "fxFlexOrder.lt-sm", ""], ["", "fxFlexOrder.lt-md", ""], ["", "fxFlexOrder.lt-lg", ""], ["", "fxFlexOrder.lt-xl", ""], ["", "fxFlexOrder.gt-xs", ""], ["", "fxFlexOrder.gt-sm", ""], ["", "fxFlexOrder.gt-md", ""], ["", "fxFlexOrder.gt-lg", ""]], inputs: { fxFlexOrder: "fxFlexOrder", "fxFlexOrder.xs": "fxFlexOrder.xs", "fxFlexOrder.sm": "fxFlexOrder.sm", "fxFlexOrder.md": "fxFlexOrder.md", "fxFlexOrder.lg": "fxFlexOrder.lg", "fxFlexOrder.xl": "fxFlexOrder.xl", "fxFlexOrder.lt-sm": "fxFlexOrder.lt-sm", "fxFlexOrder.lt-md": "fxFlexOrder.lt-md", "fxFlexOrder.lt-lg": "fxFlexOrder.lt-lg", "fxFlexOrder.lt-xl": "fxFlexOrder.lt-xl", "fxFlexOrder.gt-xs": "fxFlexOrder.gt-xs", "fxFlexOrder.gt-sm": "fxFlexOrder.gt-sm", "fxFlexOrder.gt-md": "fxFlexOrder.gt-md", "fxFlexOrder.gt-lg": "fxFlexOrder.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultFlexOrderDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: flex/flex-offset/flex-offset.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let FlexOffsetStyleBuilder = /*#__PURE__*/(() => { class FlexOffsetStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} offset * @param {?} parent * @return {?} */ buildStyles(offset, parent) { if (offset === '') { offset = '0'; } /** @type {?} */ const isPercent = String(offset).indexOf('%') > -1; /** @type {?} */ const isPx = String(offset).indexOf('px') > -1; if (!isPx && !isPercent && !isNaN(+offset)) { offset = offset + '%'; } /** @type {?} */ const horizontalLayoutKey = parent.isRtl ? 'margin-right' : 'margin-left'; /** @type {?} */ const styles = isFlowHorizontal(parent.layout) ? { [horizontalLayoutKey]: `${offset}` } : { 'margin-top': `${offset}` }; return styles; } } FlexOffsetStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵFlexOffsetStyleBuilder_BaseFactory; return function FlexOffsetStyleBuilder_Factory(t) { return (ɵFlexOffsetStyleBuilder_BaseFactory || (ɵFlexOffsetStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](FlexOffsetStyleBuilder)))(t || FlexOffsetStyleBuilder); }; }(); /** @nocollapse */ FlexOffsetStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function FlexOffsetStyleBuilder_Factory() { return new FlexOffsetStyleBuilder(); }, token: FlexOffsetStyleBuilder, providedIn: "root" }); return FlexOffsetStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs$4 = ['fxFlexOffset', 'fxFlexOffset.xs', 'fxFlexOffset.sm', 'fxFlexOffset.md', 'fxFlexOffset.lg', 'fxFlexOffset.xl', 'fxFlexOffset.lt-sm', 'fxFlexOffset.lt-md', 'fxFlexOffset.lt-lg', 'fxFlexOffset.lt-xl', 'fxFlexOffset.gt-xs', 'fxFlexOffset.gt-sm', 'fxFlexOffset.gt-md', 'fxFlexOffset.gt-lg']; /** @type {?} */ const selector$4 = ` [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md], [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md], [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm], [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg] `; /** * 'flex-offset' flexbox styling directive * Configures the 'margin-left' of the element in a layout container */ let FlexOffsetDirective = /*#__PURE__*/(() => { class FlexOffsetDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} directionality * @param {?} styleBuilder * @param {?} marshal * @param {?} styler */ constructor(elRef, directionality, styleBuilder, marshal, styler) { super(elRef, styleBuilder, styler, marshal); this.directionality = directionality; this.DIRECTIVE_KEY = 'flex-offset'; this.init([this.directionality.change]); // Parent DOM `layout-gap` with affect the nested child with `flex-offset` if (this.parentElement) { this.marshal.trackValue(this.parentElement, 'layout-gap').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.takeUntil)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this)); } } // ********************************************* // Protected methods // ********************************************* /** * Using the current fxFlexOffset value, update the inline CSS * NOTE: this will assign `margin-left` if the parent flex-direction == 'row', * otherwise `margin-top` is used for the offset. * @protected * @param {?=} value * @return {?} */ updateWithValue(value = '') { // The flex-direction of this element's flex container. Defaults to 'row'. /** @type {?} */ const layout = this.getFlexFlowDirection( /** @type {?} */ this.parentElement, true); /** @type {?} */ const isRtl = this.directionality.value === 'rtl'; if (layout === 'row' && isRtl) { this.styleCache = flexOffsetCacheRowRtl; } else if (layout === 'row' && !isRtl) { this.styleCache = flexOffsetCacheRowLtr; } else if (layout === 'column' && isRtl) { this.styleCache = flexOffsetCacheColumnRtl; } else if (layout === 'column' && !isRtl) { this.styleCache = flexOffsetCacheColumnLtr; } this.addStyles(value + '', { layout, isRtl }); } } FlexOffsetDirective.ɵfac = function FlexOffsetDirective_Factory(t) { return new (t || FlexOffsetDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_4__.Directionality), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FlexOffsetStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils)); }; FlexOffsetDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: FlexOffsetDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return FlexOffsetDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let DefaultFlexOffsetDirective = /*#__PURE__*/(() => { class DefaultFlexOffsetDirective extends FlexOffsetDirective { constructor() { super(...arguments); this.inputs = inputs$4; } } DefaultFlexOffsetDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultFlexOffsetDirective_BaseFactory; return function DefaultFlexOffsetDirective_Factory(t) { return (ɵDefaultFlexOffsetDirective_BaseFactory || (ɵDefaultFlexOffsetDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultFlexOffsetDirective)))(t || DefaultFlexOffsetDirective); }; }(); DefaultFlexOffsetDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultFlexOffsetDirective, selectors: [["", "fxFlexOffset", ""], ["", "fxFlexOffset.xs", ""], ["", "fxFlexOffset.sm", ""], ["", "fxFlexOffset.md", ""], ["", "fxFlexOffset.lg", ""], ["", "fxFlexOffset.xl", ""], ["", "fxFlexOffset.lt-sm", ""], ["", "fxFlexOffset.lt-md", ""], ["", "fxFlexOffset.lt-lg", ""], ["", "fxFlexOffset.lt-xl", ""], ["", "fxFlexOffset.gt-xs", ""], ["", "fxFlexOffset.gt-sm", ""], ["", "fxFlexOffset.gt-md", ""], ["", "fxFlexOffset.gt-lg", ""]], inputs: { fxFlexOffset: "fxFlexOffset", "fxFlexOffset.xs": "fxFlexOffset.xs", "fxFlexOffset.sm": "fxFlexOffset.sm", "fxFlexOffset.md": "fxFlexOffset.md", "fxFlexOffset.lg": "fxFlexOffset.lg", "fxFlexOffset.xl": "fxFlexOffset.xl", "fxFlexOffset.lt-sm": "fxFlexOffset.lt-sm", "fxFlexOffset.lt-md": "fxFlexOffset.lt-md", "fxFlexOffset.lt-lg": "fxFlexOffset.lt-lg", "fxFlexOffset.lt-xl": "fxFlexOffset.lt-xl", "fxFlexOffset.gt-xs": "fxFlexOffset.gt-xs", "fxFlexOffset.gt-sm": "fxFlexOffset.gt-sm", "fxFlexOffset.gt-md": "fxFlexOffset.gt-md", "fxFlexOffset.gt-lg": "fxFlexOffset.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultFlexOffsetDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const flexOffsetCacheRowRtl = /*#__PURE__*/new Map(); /** @type {?} */ const flexOffsetCacheColumnRtl = /*#__PURE__*/new Map(); /** @type {?} */ const flexOffsetCacheRowLtr = /*#__PURE__*/new Map(); /** @type {?} */ const flexOffsetCacheColumnLtr = /*#__PURE__*/new Map(); /** * @fileoverview added by tsickle * Generated from: flex/flex-align/flex-align.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let FlexAlignStyleBuilder = /*#__PURE__*/(() => { class FlexAlignStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @return {?} */ buildStyles(input) { input = input || 'stretch'; /** @type {?} */ const styles = {}; // Cross-axis switch (input) { case 'start': styles['align-self'] = 'flex-start'; break; case 'end': styles['align-self'] = 'flex-end'; break; default: styles['align-self'] = input; break; } return styles; } } FlexAlignStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵFlexAlignStyleBuilder_BaseFactory; return function FlexAlignStyleBuilder_Factory(t) { return (ɵFlexAlignStyleBuilder_BaseFactory || (ɵFlexAlignStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](FlexAlignStyleBuilder)))(t || FlexAlignStyleBuilder); }; }(); /** @nocollapse */ FlexAlignStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function FlexAlignStyleBuilder_Factory() { return new FlexAlignStyleBuilder(); }, token: FlexAlignStyleBuilder, providedIn: "root" }); return FlexAlignStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs$5 = ['fxFlexAlign', 'fxFlexAlign.xs', 'fxFlexAlign.sm', 'fxFlexAlign.md', 'fxFlexAlign.lg', 'fxFlexAlign.xl', 'fxFlexAlign.lt-sm', 'fxFlexAlign.lt-md', 'fxFlexAlign.lt-lg', 'fxFlexAlign.lt-xl', 'fxFlexAlign.gt-xs', 'fxFlexAlign.gt-sm', 'fxFlexAlign.gt-md', 'fxFlexAlign.gt-lg']; /** @type {?} */ const selector$5 = ` [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md], [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md], [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm], [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg] `; /** * 'flex-align' flexbox styling directive * Allows element-specific overrides for cross-axis alignments in a layout container * @see https://css-tricks.com/almanac/properties/a/align-self/ */ let FlexAlignDirective = /*#__PURE__*/(() => { class FlexAlignDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.DIRECTIVE_KEY = 'flex-align'; this.styleCache = flexAlignCache; this.init(); } } FlexAlignDirective.ɵfac = function FlexAlignDirective_Factory(t) { return new (t || FlexAlignDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FlexAlignStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; FlexAlignDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: FlexAlignDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return FlexAlignDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const flexAlignCache = /*#__PURE__*/new Map(); let DefaultFlexAlignDirective = /*#__PURE__*/(() => { class DefaultFlexAlignDirective extends FlexAlignDirective { constructor() { super(...arguments); this.inputs = inputs$5; } } DefaultFlexAlignDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultFlexAlignDirective_BaseFactory; return function DefaultFlexAlignDirective_Factory(t) { return (ɵDefaultFlexAlignDirective_BaseFactory || (ɵDefaultFlexAlignDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultFlexAlignDirective)))(t || DefaultFlexAlignDirective); }; }(); DefaultFlexAlignDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultFlexAlignDirective, selectors: [["", "fxFlexAlign", ""], ["", "fxFlexAlign.xs", ""], ["", "fxFlexAlign.sm", ""], ["", "fxFlexAlign.md", ""], ["", "fxFlexAlign.lg", ""], ["", "fxFlexAlign.xl", ""], ["", "fxFlexAlign.lt-sm", ""], ["", "fxFlexAlign.lt-md", ""], ["", "fxFlexAlign.lt-lg", ""], ["", "fxFlexAlign.lt-xl", ""], ["", "fxFlexAlign.gt-xs", ""], ["", "fxFlexAlign.gt-sm", ""], ["", "fxFlexAlign.gt-md", ""], ["", "fxFlexAlign.gt-lg", ""]], inputs: { fxFlexAlign: "fxFlexAlign", "fxFlexAlign.xs": "fxFlexAlign.xs", "fxFlexAlign.sm": "fxFlexAlign.sm", "fxFlexAlign.md": "fxFlexAlign.md", "fxFlexAlign.lg": "fxFlexAlign.lg", "fxFlexAlign.xl": "fxFlexAlign.xl", "fxFlexAlign.lt-sm": "fxFlexAlign.lt-sm", "fxFlexAlign.lt-md": "fxFlexAlign.lt-md", "fxFlexAlign.lt-lg": "fxFlexAlign.lt-lg", "fxFlexAlign.lt-xl": "fxFlexAlign.lt-xl", "fxFlexAlign.gt-xs": "fxFlexAlign.gt-xs", "fxFlexAlign.gt-sm": "fxFlexAlign.gt-sm", "fxFlexAlign.gt-md": "fxFlexAlign.gt-md", "fxFlexAlign.gt-lg": "fxFlexAlign.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultFlexAlignDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: flex/flex-fill/flex-fill.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const FLEX_FILL_CSS = { 'margin': 0, 'width': '100%', 'height': '100%', 'min-width': '100%', 'min-height': '100%' }; let FlexFillStyleBuilder = /*#__PURE__*/(() => { class FlexFillStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} _input * @return {?} */ buildStyles(_input) { return FLEX_FILL_CSS; } } FlexFillStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵFlexFillStyleBuilder_BaseFactory; return function FlexFillStyleBuilder_Factory(t) { return (ɵFlexFillStyleBuilder_BaseFactory || (ɵFlexFillStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](FlexFillStyleBuilder)))(t || FlexFillStyleBuilder); }; }(); /** @nocollapse */ FlexFillStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function FlexFillStyleBuilder_Factory() { return new FlexFillStyleBuilder(); }, token: FlexFillStyleBuilder, providedIn: "root" }); return FlexFillStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * 'fxFill' flexbox styling directive * Maximizes width and height of element in a layout container * * NOTE: fxFill is NOT responsive API!! */ let FlexFillDirective = /*#__PURE__*/(() => { class FlexFillDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.styleCache = flexFillCache; this.addStyles(''); } } FlexFillDirective.ɵfac = function FlexFillDirective_Factory(t) { return new (t || FlexFillDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](FlexFillStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; FlexFillDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: FlexFillDirective, selectors: [["", "fxFill", ""], ["", "fxFlexFill", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return FlexFillDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const flexFillCache = /*#__PURE__*/new Map(); /** * @fileoverview added by tsickle * Generated from: flex/layout-align/layout-align.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let LayoutAlignStyleBuilder = /*#__PURE__*/(() => { class LayoutAlignStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} align * @param {?} parent * @return {?} */ buildStyles(align, parent) { /** @type {?} */ const css = {}; const [mainAxis, crossAxis] = align.split(' '); // Main axis switch (mainAxis) { case 'center': css['justify-content'] = 'center'; break; case 'space-around': css['justify-content'] = 'space-around'; break; case 'space-between': css['justify-content'] = 'space-between'; break; case 'space-evenly': css['justify-content'] = 'space-evenly'; break; case 'end': case 'flex-end': css['justify-content'] = 'flex-end'; break; case 'start': case 'flex-start': default: css['justify-content'] = 'flex-start'; // default main axis break; } // Cross-axis switch (crossAxis) { case 'start': case 'flex-start': css['align-items'] = css['align-content'] = 'flex-start'; break; case 'center': css['align-items'] = css['align-content'] = 'center'; break; case 'end': case 'flex-end': css['align-items'] = css['align-content'] = 'flex-end'; break; case 'space-between': css['align-content'] = 'space-between'; css['align-items'] = 'stretch'; break; case 'space-around': css['align-content'] = 'space-around'; css['align-items'] = 'stretch'; break; case 'baseline': css['align-content'] = 'stretch'; css['align-items'] = 'baseline'; break; case 'stretch': default: // 'stretch' css['align-items'] = css['align-content'] = 'stretch'; // default cross axis break; } return ( /** @type {?} */ extendObject(css, { 'display': parent.inline ? 'inline-flex' : 'flex', 'flex-direction': parent.layout, 'box-sizing': 'border-box', 'max-width': crossAxis === 'stretch' ? !isFlowHorizontal(parent.layout) ? '100%' : null : null, 'max-height': crossAxis === 'stretch' ? isFlowHorizontal(parent.layout) ? '100%' : null : null }) ); } } LayoutAlignStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵLayoutAlignStyleBuilder_BaseFactory; return function LayoutAlignStyleBuilder_Factory(t) { return (ɵLayoutAlignStyleBuilder_BaseFactory || (ɵLayoutAlignStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](LayoutAlignStyleBuilder)))(t || LayoutAlignStyleBuilder); }; }(); /** @nocollapse */ LayoutAlignStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function LayoutAlignStyleBuilder_Factory() { return new LayoutAlignStyleBuilder(); }, token: LayoutAlignStyleBuilder, providedIn: "root" }); return LayoutAlignStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const inputs$6 = ['fxLayoutAlign', 'fxLayoutAlign.xs', 'fxLayoutAlign.sm', 'fxLayoutAlign.md', 'fxLayoutAlign.lg', 'fxLayoutAlign.xl', 'fxLayoutAlign.lt-sm', 'fxLayoutAlign.lt-md', 'fxLayoutAlign.lt-lg', 'fxLayoutAlign.lt-xl', 'fxLayoutAlign.gt-xs', 'fxLayoutAlign.gt-sm', 'fxLayoutAlign.gt-md', 'fxLayoutAlign.gt-lg']; /** @type {?} */ const selector$6 = ` [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg] `; /** * 'layout-align' flexbox styling directive * Defines positioning of child elements along main and cross axis in a layout container * Optional values: {main-axis} values or {main-axis cross-axis} value pairs * * @see https://css-tricks.com/almanac/properties/j/justify-content/ * @see https://css-tricks.com/almanac/properties/a/align-items/ * @see https://css-tricks.com/almanac/properties/a/align-content/ */ let LayoutAlignDirective = /*#__PURE__*/(() => { class LayoutAlignDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { // default inline value /** * @param {?} elRef * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.DIRECTIVE_KEY = 'layout-align'; this.layout = 'row'; // default flex-direction // default flex-direction this.inline = false; // default inline value this.init(); this.marshal.trackValue(this.nativeElement, 'layout').pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.takeUntil)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)); } // ********************************************* // Protected methods // ********************************************* /** * * @protected * @param {?} value * @return {?} */ updateWithValue(value) { /** @type {?} */ const layout = this.layout || 'row'; /** @type {?} */ const inline = this.inline; if (layout === 'row' && inline) { this.styleCache = layoutAlignHorizontalInlineCache; } else if (layout === 'row' && !inline) { this.styleCache = layoutAlignHorizontalCache; } else if (layout === 'row-reverse' && inline) { this.styleCache = layoutAlignHorizontalRevInlineCache; } else if (layout === 'row-reverse' && !inline) { this.styleCache = layoutAlignHorizontalRevCache; } else if (layout === 'column' && inline) { this.styleCache = layoutAlignVerticalInlineCache; } else if (layout === 'column' && !inline) { this.styleCache = layoutAlignVerticalCache; } else if (layout === 'column-reverse' && inline) { this.styleCache = layoutAlignVerticalRevInlineCache; } else if (layout === 'column-reverse' && !inline) { this.styleCache = layoutAlignVerticalRevCache; } this.addStyles(value, { layout, inline }); } /** * Cache the parent container 'flex-direction' and update the 'flex' styles * @protected * @param {?} matcher * @return {?} */ onLayoutChange(matcher) { /** @type {?} */ const layoutKeys = matcher.value.split(' '); this.layout = layoutKeys[0]; this.inline = matcher.value.includes('inline'); if (!LAYOUT_VALUES.find( /** * @param {?} x * @return {?} */ x => x === this.layout)) { this.layout = 'row'; } this.triggerUpdate(); } } LayoutAlignDirective.ɵfac = function LayoutAlignDirective_Factory(t) { return new (t || LayoutAlignDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](LayoutAlignStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; LayoutAlignDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: LayoutAlignDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return LayoutAlignDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let DefaultLayoutAlignDirective = /*#__PURE__*/(() => { class DefaultLayoutAlignDirective extends LayoutAlignDirective { constructor() { super(...arguments); this.inputs = inputs$6; } } DefaultLayoutAlignDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultLayoutAlignDirective_BaseFactory; return function DefaultLayoutAlignDirective_Factory(t) { return (ɵDefaultLayoutAlignDirective_BaseFactory || (ɵDefaultLayoutAlignDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultLayoutAlignDirective)))(t || DefaultLayoutAlignDirective); }; }(); DefaultLayoutAlignDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultLayoutAlignDirective, selectors: [["", "fxLayoutAlign", ""], ["", "fxLayoutAlign.xs", ""], ["", "fxLayoutAlign.sm", ""], ["", "fxLayoutAlign.md", ""], ["", "fxLayoutAlign.lg", ""], ["", "fxLayoutAlign.xl", ""], ["", "fxLayoutAlign.lt-sm", ""], ["", "fxLayoutAlign.lt-md", ""], ["", "fxLayoutAlign.lt-lg", ""], ["", "fxLayoutAlign.lt-xl", ""], ["", "fxLayoutAlign.gt-xs", ""], ["", "fxLayoutAlign.gt-sm", ""], ["", "fxLayoutAlign.gt-md", ""], ["", "fxLayoutAlign.gt-lg", ""]], inputs: { fxLayoutAlign: "fxLayoutAlign", "fxLayoutAlign.xs": "fxLayoutAlign.xs", "fxLayoutAlign.sm": "fxLayoutAlign.sm", "fxLayoutAlign.md": "fxLayoutAlign.md", "fxLayoutAlign.lg": "fxLayoutAlign.lg", "fxLayoutAlign.xl": "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm": "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md": "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg": "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl": "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs": "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm": "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md": "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg": "fxLayoutAlign.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultLayoutAlignDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const layoutAlignHorizontalCache = /*#__PURE__*/new Map(); /** @type {?} */ const layoutAlignVerticalCache = /*#__PURE__*/new Map(); /** @type {?} */ const layoutAlignHorizontalRevCache = /*#__PURE__*/new Map(); /** @type {?} */ const layoutAlignVerticalRevCache = /*#__PURE__*/new Map(); /** @type {?} */ const layoutAlignHorizontalInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const layoutAlignVerticalInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const layoutAlignHorizontalRevInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const layoutAlignVerticalRevInlineCache = /*#__PURE__*/new Map(); /** * @fileoverview added by tsickle * Generated from: flex/module.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const ALL_DIRECTIVES = [DefaultLayoutDirective, DefaultLayoutGapDirective, DefaultLayoutAlignDirective, DefaultFlexOrderDirective, DefaultFlexOffsetDirective, FlexFillDirective, DefaultFlexAlignDirective, DefaultFlexDirective]; /** * ***************************************************************** * Define module for the Flex API * ***************************************************************** */ let FlexModule = /*#__PURE__*/(() => { class FlexModule {} FlexModule.ɵfac = function FlexModule_Factory(t) { return new (t || FlexModule)(); }; FlexModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: FlexModule }); FlexModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.CoreModule, _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_4__.BidiModule] }); return FlexModule; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /*#__PURE__*/ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](FlexModule, { declarations: function () { return [DefaultLayoutDirective, DefaultLayoutGapDirective, DefaultLayoutAlignDirective, DefaultFlexOrderDirective, DefaultFlexOffsetDirective, FlexFillDirective, DefaultFlexAlignDirective, DefaultFlexDirective]; }, imports: function () { return [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.CoreModule, _angular_cdk_bidi__WEBPACK_IMPORTED_MODULE_4__.BidiModule]; }, exports: function () { return [DefaultLayoutDirective, DefaultLayoutGapDirective, DefaultLayoutAlignDirective, DefaultFlexOrderDirective, DefaultFlexOffsetDirective, FlexFillDirective, DefaultFlexAlignDirective, DefaultFlexDirective]; } }); })(); /** * @fileoverview added by tsickle * Generated from: flex/public-api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: flex/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ //# sourceMappingURL=flex.js.map /***/ }), /***/ 97811: /*!************************************************************************!*\ !*** ./node_modules/@angular/flex-layout/__ivy_ngcc__/esm2015/grid.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "GridModule": () => (/* binding */ GridModule), /* harmony export */ "ɵgrid_privatea": () => (/* binding */ GridAlignStyleBuilder), /* harmony export */ "ɵgrid_privateb": () => (/* binding */ GridAlignDirective), /* harmony export */ "ɵgrid_privateba": () => (/* binding */ DefaultGridGapDirective), /* harmony export */ "ɵgrid_privatebb": () => (/* binding */ GridRowStyleBuilder), /* harmony export */ "ɵgrid_privatebc": () => (/* binding */ GridRowDirective), /* harmony export */ "ɵgrid_privatebd": () => (/* binding */ DefaultGridRowDirective), /* harmony export */ "ɵgrid_privatebe": () => (/* binding */ GridRowsStyleBuilder), /* harmony export */ "ɵgrid_privatebf": () => (/* binding */ GridRowsDirective), /* harmony export */ "ɵgrid_privatebg": () => (/* binding */ DefaultGridRowsDirective), /* harmony export */ "ɵgrid_privatec": () => (/* binding */ DefaultGridAlignDirective), /* harmony export */ "ɵgrid_privated": () => (/* binding */ GridAlignColumnsStyleBuilder), /* harmony export */ "ɵgrid_privatee": () => (/* binding */ GridAlignColumnsDirective), /* harmony export */ "ɵgrid_privatef": () => (/* binding */ DefaultGridAlignColumnsDirective), /* harmony export */ "ɵgrid_privateg": () => (/* binding */ GridAlignRowsStyleBuilder), /* harmony export */ "ɵgrid_privateh": () => (/* binding */ GridAlignRowsDirective), /* harmony export */ "ɵgrid_privatei": () => (/* binding */ DefaultGridAlignRowsDirective), /* harmony export */ "ɵgrid_privatej": () => (/* binding */ GridAreaStyleBuilder), /* harmony export */ "ɵgrid_privatek": () => (/* binding */ GridAreaDirective), /* harmony export */ "ɵgrid_privatel": () => (/* binding */ DefaultGridAreaDirective), /* harmony export */ "ɵgrid_privatem": () => (/* binding */ GridAreasStyleBuiler), /* harmony export */ "ɵgrid_privaten": () => (/* binding */ GridAreasDirective), /* harmony export */ "ɵgrid_privateo": () => (/* binding */ DefaultGridAreasDirective), /* harmony export */ "ɵgrid_privatep": () => (/* binding */ GridAutoStyleBuilder), /* harmony export */ "ɵgrid_privateq": () => (/* binding */ GridAutoDirective), /* harmony export */ "ɵgrid_privater": () => (/* binding */ DefaultGridAutoDirective), /* harmony export */ "ɵgrid_privates": () => (/* binding */ GridColumnStyleBuilder), /* harmony export */ "ɵgrid_privatet": () => (/* binding */ GridColumnDirective), /* harmony export */ "ɵgrid_privateu": () => (/* binding */ DefaultGridColumnDirective), /* harmony export */ "ɵgrid_privatev": () => (/* binding */ GridColumnsStyleBuilder), /* harmony export */ "ɵgrid_privatew": () => (/* binding */ GridColumnsDirective), /* harmony export */ "ɵgrid_privatex": () => (/* binding */ DefaultGridColumnsDirective), /* harmony export */ "ɵgrid_privatey": () => (/* binding */ GridGapStyleBuilder), /* harmony export */ "ɵgrid_privatez": () => (/* binding */ GridGapDirective) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/flex-layout/core */ 58084); /* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/cdk/coercion */ 21281); /** * @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 */ /** * @fileoverview added by tsickle * Generated from: grid/grid-align/grid-align.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const ROW_DEFAULT = 'stretch'; /** @type {?} */ const COL_DEFAULT = 'stretch'; let GridAlignStyleBuilder = /*#__PURE__*/(() => { class GridAlignStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @return {?} */ buildStyles(input) { return buildCss(input || ROW_DEFAULT); } } GridAlignStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridAlignStyleBuilder_BaseFactory; return function GridAlignStyleBuilder_Factory(t) { return (ɵGridAlignStyleBuilder_BaseFactory || (ɵGridAlignStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridAlignStyleBuilder)))(t || GridAlignStyleBuilder); }; }(); /** @nocollapse */ GridAlignStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridAlignStyleBuilder_Factory() { return new GridAlignStyleBuilder(); }, token: GridAlignStyleBuilder, providedIn: "root" }); return GridAlignStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridAlignDirective = /*#__PURE__*/(() => { class GridAlignDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { super(elementRef, styleBuilder, styler, marshal); this.DIRECTIVE_KEY = 'grid-align'; this.styleCache = alignCache; this.init(); } } GridAlignDirective.ɵfac = function GridAlignDirective_Factory(t) { return new (t || GridAlignDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridAlignStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridAlignDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridAlignDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridAlignDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const alignCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs = ['gdGridAlign', 'gdGridAlign.xs', 'gdGridAlign.sm', 'gdGridAlign.md', 'gdGridAlign.lg', 'gdGridAlign.xl', 'gdGridAlign.lt-sm', 'gdGridAlign.lt-md', 'gdGridAlign.lt-lg', 'gdGridAlign.lt-xl', 'gdGridAlign.gt-xs', 'gdGridAlign.gt-sm', 'gdGridAlign.gt-md', 'gdGridAlign.gt-lg']; /** @type {?} */ const selector = ` [gdGridAlign], [gdGridAlign.xs], [gdGridAlign.sm], [gdGridAlign.md], [gdGridAlign.lg],[gdGridAlign.xl], [gdGridAlign.lt-sm], [gdGridAlign.lt-md], [gdGridAlign.lt-lg], [gdGridAlign.lt-xl], [gdGridAlign.gt-xs], [gdGridAlign.gt-sm], [gdGridAlign.gt-md], [gdGridAlign.gt-lg] `; /** * 'align' CSS Grid styling directive for grid children * Defines positioning of child elements along row and column axis in a grid container * Optional values: {row-axis} values or {row-axis column-axis} value pairs * * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-justify-self * @see https://css-tricks.com/snippets/css/complete-guide-grid/#prop-align-self */ let DefaultGridAlignDirective = /*#__PURE__*/(() => { class DefaultGridAlignDirective extends GridAlignDirective { constructor() { super(...arguments); this.inputs = inputs; } } DefaultGridAlignDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridAlignDirective_BaseFactory; return function DefaultGridAlignDirective_Factory(t) { return (ɵDefaultGridAlignDirective_BaseFactory || (ɵDefaultGridAlignDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridAlignDirective)))(t || DefaultGridAlignDirective); }; }(); DefaultGridAlignDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridAlignDirective, selectors: [["", "gdGridAlign", ""], ["", "gdGridAlign.xs", ""], ["", "gdGridAlign.sm", ""], ["", "gdGridAlign.md", ""], ["", "gdGridAlign.lg", ""], ["", "gdGridAlign.xl", ""], ["", "gdGridAlign.lt-sm", ""], ["", "gdGridAlign.lt-md", ""], ["", "gdGridAlign.lt-lg", ""], ["", "gdGridAlign.lt-xl", ""], ["", "gdGridAlign.gt-xs", ""], ["", "gdGridAlign.gt-sm", ""], ["", "gdGridAlign.gt-md", ""], ["", "gdGridAlign.gt-lg", ""]], inputs: { gdGridAlign: "gdGridAlign", "gdGridAlign.xs": "gdGridAlign.xs", "gdGridAlign.sm": "gdGridAlign.sm", "gdGridAlign.md": "gdGridAlign.md", "gdGridAlign.lg": "gdGridAlign.lg", "gdGridAlign.xl": "gdGridAlign.xl", "gdGridAlign.lt-sm": "gdGridAlign.lt-sm", "gdGridAlign.lt-md": "gdGridAlign.lt-md", "gdGridAlign.lt-lg": "gdGridAlign.lt-lg", "gdGridAlign.lt-xl": "gdGridAlign.lt-xl", "gdGridAlign.gt-xs": "gdGridAlign.gt-xs", "gdGridAlign.gt-sm": "gdGridAlign.gt-sm", "gdGridAlign.gt-md": "gdGridAlign.gt-md", "gdGridAlign.gt-lg": "gdGridAlign.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridAlignDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @param {?=} align * @return {?} */ function buildCss(align = '') { /** @type {?} */ const css = {}; const [rowAxis, columnAxis] = align.split(' '); // Row axis switch (rowAxis) { case 'end': css['justify-self'] = 'end'; break; case 'center': css['justify-self'] = 'center'; break; case 'stretch': css['justify-self'] = 'stretch'; break; case 'start': css['justify-self'] = 'start'; break; default: css['justify-self'] = ROW_DEFAULT; // default row axis break; } // Column axis switch (columnAxis) { case 'end': css['align-self'] = 'end'; break; case 'center': css['align-self'] = 'center'; break; case 'stretch': css['align-self'] = 'stretch'; break; case 'start': css['align-self'] = 'start'; break; default: css['align-self'] = COL_DEFAULT; // default column axis break; } return css; } /** * @fileoverview added by tsickle * Generated from: grid/align-columns/align-columns.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_MAIN = 'start'; /** @type {?} */ const DEFAULT_CROSS = 'stretch'; let GridAlignColumnsStyleBuilder = /*#__PURE__*/(() => { class GridAlignColumnsStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @param {?} parent * @return {?} */ buildStyles(input, parent) { return buildCss$1(input || `${DEFAULT_MAIN} ${DEFAULT_CROSS}`, parent.inline); } } GridAlignColumnsStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridAlignColumnsStyleBuilder_BaseFactory; return function GridAlignColumnsStyleBuilder_Factory(t) { return (ɵGridAlignColumnsStyleBuilder_BaseFactory || (ɵGridAlignColumnsStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridAlignColumnsStyleBuilder)))(t || GridAlignColumnsStyleBuilder); }; }(); /** @nocollapse */ GridAlignColumnsStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridAlignColumnsStyleBuilder_Factory() { return new GridAlignColumnsStyleBuilder(); }, token: GridAlignColumnsStyleBuilder, providedIn: "root" }); return GridAlignColumnsStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridAlignColumnsDirective = /*#__PURE__*/(() => { class GridAlignColumnsDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { super(elementRef, styleBuilder, styler, marshal); this.DIRECTIVE_KEY = 'grid-align-columns'; this._inline = false; this.init(); } /** * @return {?} */ get inline() { return this._inline; } /** * @param {?} val * @return {?} */ set inline(val) { this._inline = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceBooleanProperty)(val); } // ********************************************* // Protected methods // ********************************************* /** * @protected * @param {?} value * @return {?} */ updateWithValue(value) { this.styleCache = this.inline ? alignColumnsInlineCache : alignColumnsCache; this.addStyles(value, { inline: this.inline }); } } GridAlignColumnsDirective.ɵfac = function GridAlignColumnsDirective_Factory(t) { return new (t || GridAlignColumnsDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridAlignColumnsStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridAlignColumnsDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridAlignColumnsDirective, inputs: { inline: ["gdInline", "inline"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridAlignColumnsDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const alignColumnsCache = /*#__PURE__*/new Map(); /** @type {?} */ const alignColumnsInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$1 = ['gdAlignColumns', 'gdAlignColumns.xs', 'gdAlignColumns.sm', 'gdAlignColumns.md', 'gdAlignColumns.lg', 'gdAlignColumns.xl', 'gdAlignColumns.lt-sm', 'gdAlignColumns.lt-md', 'gdAlignColumns.lt-lg', 'gdAlignColumns.lt-xl', 'gdAlignColumns.gt-xs', 'gdAlignColumns.gt-sm', 'gdAlignColumns.gt-md', 'gdAlignColumns.gt-lg']; /** @type {?} */ const selector$1 = ` [gdAlignColumns], [gdAlignColumns.xs], [gdAlignColumns.sm], [gdAlignColumns.md], [gdAlignColumns.lg], [gdAlignColumns.xl], [gdAlignColumns.lt-sm], [gdAlignColumns.lt-md], [gdAlignColumns.lt-lg], [gdAlignColumns.lt-xl], [gdAlignColumns.gt-xs], [gdAlignColumns.gt-sm], [gdAlignColumns.gt-md], [gdAlignColumns.gt-lg] `; /** * 'column alignment' CSS Grid styling directive * Configures the alignment in the column direction * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-19 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-21 */ let DefaultGridAlignColumnsDirective = /*#__PURE__*/(() => { class DefaultGridAlignColumnsDirective extends GridAlignColumnsDirective { constructor() { super(...arguments); this.inputs = inputs$1; } } DefaultGridAlignColumnsDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridAlignColumnsDirective_BaseFactory; return function DefaultGridAlignColumnsDirective_Factory(t) { return (ɵDefaultGridAlignColumnsDirective_BaseFactory || (ɵDefaultGridAlignColumnsDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridAlignColumnsDirective)))(t || DefaultGridAlignColumnsDirective); }; }(); DefaultGridAlignColumnsDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridAlignColumnsDirective, selectors: [["", "gdAlignColumns", ""], ["", "gdAlignColumns.xs", ""], ["", "gdAlignColumns.sm", ""], ["", "gdAlignColumns.md", ""], ["", "gdAlignColumns.lg", ""], ["", "gdAlignColumns.xl", ""], ["", "gdAlignColumns.lt-sm", ""], ["", "gdAlignColumns.lt-md", ""], ["", "gdAlignColumns.lt-lg", ""], ["", "gdAlignColumns.lt-xl", ""], ["", "gdAlignColumns.gt-xs", ""], ["", "gdAlignColumns.gt-sm", ""], ["", "gdAlignColumns.gt-md", ""], ["", "gdAlignColumns.gt-lg", ""]], inputs: { gdAlignColumns: "gdAlignColumns", "gdAlignColumns.xs": "gdAlignColumns.xs", "gdAlignColumns.sm": "gdAlignColumns.sm", "gdAlignColumns.md": "gdAlignColumns.md", "gdAlignColumns.lg": "gdAlignColumns.lg", "gdAlignColumns.xl": "gdAlignColumns.xl", "gdAlignColumns.lt-sm": "gdAlignColumns.lt-sm", "gdAlignColumns.lt-md": "gdAlignColumns.lt-md", "gdAlignColumns.lt-lg": "gdAlignColumns.lt-lg", "gdAlignColumns.lt-xl": "gdAlignColumns.lt-xl", "gdAlignColumns.gt-xs": "gdAlignColumns.gt-xs", "gdAlignColumns.gt-sm": "gdAlignColumns.gt-sm", "gdAlignColumns.gt-md": "gdAlignColumns.gt-md", "gdAlignColumns.gt-lg": "gdAlignColumns.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridAlignColumnsDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @param {?} align * @param {?} inline * @return {?} */ function buildCss$1(align, inline) { /** @type {?} */ const css = {}; const [mainAxis, crossAxis] = align.split(' '); // Main axis switch (mainAxis) { case 'center': css['align-content'] = 'center'; break; case 'space-around': css['align-content'] = 'space-around'; break; case 'space-between': css['align-content'] = 'space-between'; break; case 'space-evenly': css['align-content'] = 'space-evenly'; break; case 'end': css['align-content'] = 'end'; break; case 'start': css['align-content'] = 'start'; break; case 'stretch': css['align-content'] = 'stretch'; break; default: css['align-content'] = DEFAULT_MAIN; // default main axis break; } // Cross-axis switch (crossAxis) { case 'start': css['align-items'] = 'start'; break; case 'center': css['align-items'] = 'center'; break; case 'end': css['align-items'] = 'end'; break; case 'stretch': css['align-items'] = 'stretch'; break; default: // 'stretch' css['align-items'] = DEFAULT_CROSS; // default cross axis break; } css['display'] = inline ? 'inline-grid' : 'grid'; return css; } /** * @fileoverview added by tsickle * Generated from: grid/align-rows/align-rows.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_MAIN$1 = 'start'; /** @type {?} */ const DEFAULT_CROSS$1 = 'stretch'; let GridAlignRowsStyleBuilder = /*#__PURE__*/(() => { class GridAlignRowsStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @param {?} parent * @return {?} */ buildStyles(input, parent) { return buildCss$2(input || `${DEFAULT_MAIN$1} ${DEFAULT_CROSS$1}`, parent.inline); } } GridAlignRowsStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridAlignRowsStyleBuilder_BaseFactory; return function GridAlignRowsStyleBuilder_Factory(t) { return (ɵGridAlignRowsStyleBuilder_BaseFactory || (ɵGridAlignRowsStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridAlignRowsStyleBuilder)))(t || GridAlignRowsStyleBuilder); }; }(); /** @nocollapse */ GridAlignRowsStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridAlignRowsStyleBuilder_Factory() { return new GridAlignRowsStyleBuilder(); }, token: GridAlignRowsStyleBuilder, providedIn: "root" }); return GridAlignRowsStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridAlignRowsDirective = /*#__PURE__*/(() => { class GridAlignRowsDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { super(elementRef, styleBuilder, styler, marshal); this.DIRECTIVE_KEY = 'grid-align-rows'; this._inline = false; this.init(); } /** * @return {?} */ get inline() { return this._inline; } /** * @param {?} val * @return {?} */ set inline(val) { this._inline = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceBooleanProperty)(val); } // ********************************************* // Protected methods // ********************************************* /** * @protected * @param {?} value * @return {?} */ updateWithValue(value) { this.styleCache = this.inline ? alignRowsInlineCache : alignRowsCache; this.addStyles(value, { inline: this.inline }); } } GridAlignRowsDirective.ɵfac = function GridAlignRowsDirective_Factory(t) { return new (t || GridAlignRowsDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridAlignRowsStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridAlignRowsDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridAlignRowsDirective, inputs: { inline: ["gdInline", "inline"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridAlignRowsDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const alignRowsCache = /*#__PURE__*/new Map(); /** @type {?} */ const alignRowsInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$2 = ['gdAlignRows', 'gdAlignRows.xs', 'gdAlignRows.sm', 'gdAlignRows.md', 'gdAlignRows.lg', 'gdAlignRows.xl', 'gdAlignRows.lt-sm', 'gdAlignRows.lt-md', 'gdAlignRows.lt-lg', 'gdAlignRows.lt-xl', 'gdAlignRows.gt-xs', 'gdAlignRows.gt-sm', 'gdAlignRows.gt-md', 'gdAlignRows.gt-lg']; /** @type {?} */ const selector$2 = ` [gdAlignRows], [gdAlignRows.xs], [gdAlignRows.sm], [gdAlignRows.md], [gdAlignRows.lg], [gdAlignRows.xl], [gdAlignRows.lt-sm], [gdAlignRows.lt-md], [gdAlignRows.lt-lg], [gdAlignRows.lt-xl], [gdAlignRows.gt-xs], [gdAlignRows.gt-sm], [gdAlignRows.gt-md], [gdAlignRows.gt-lg] `; /** * 'row alignment' CSS Grid styling directive * Configures the alignment in the row direction * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-18 * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-20 */ let DefaultGridAlignRowsDirective = /*#__PURE__*/(() => { class DefaultGridAlignRowsDirective extends GridAlignRowsDirective { constructor() { super(...arguments); this.inputs = inputs$2; } } DefaultGridAlignRowsDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridAlignRowsDirective_BaseFactory; return function DefaultGridAlignRowsDirective_Factory(t) { return (ɵDefaultGridAlignRowsDirective_BaseFactory || (ɵDefaultGridAlignRowsDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridAlignRowsDirective)))(t || DefaultGridAlignRowsDirective); }; }(); DefaultGridAlignRowsDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridAlignRowsDirective, selectors: [["", "gdAlignRows", ""], ["", "gdAlignRows.xs", ""], ["", "gdAlignRows.sm", ""], ["", "gdAlignRows.md", ""], ["", "gdAlignRows.lg", ""], ["", "gdAlignRows.xl", ""], ["", "gdAlignRows.lt-sm", ""], ["", "gdAlignRows.lt-md", ""], ["", "gdAlignRows.lt-lg", ""], ["", "gdAlignRows.lt-xl", ""], ["", "gdAlignRows.gt-xs", ""], ["", "gdAlignRows.gt-sm", ""], ["", "gdAlignRows.gt-md", ""], ["", "gdAlignRows.gt-lg", ""]], inputs: { gdAlignRows: "gdAlignRows", "gdAlignRows.xs": "gdAlignRows.xs", "gdAlignRows.sm": "gdAlignRows.sm", "gdAlignRows.md": "gdAlignRows.md", "gdAlignRows.lg": "gdAlignRows.lg", "gdAlignRows.xl": "gdAlignRows.xl", "gdAlignRows.lt-sm": "gdAlignRows.lt-sm", "gdAlignRows.lt-md": "gdAlignRows.lt-md", "gdAlignRows.lt-lg": "gdAlignRows.lt-lg", "gdAlignRows.lt-xl": "gdAlignRows.lt-xl", "gdAlignRows.gt-xs": "gdAlignRows.gt-xs", "gdAlignRows.gt-sm": "gdAlignRows.gt-sm", "gdAlignRows.gt-md": "gdAlignRows.gt-md", "gdAlignRows.gt-lg": "gdAlignRows.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridAlignRowsDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @param {?} align * @param {?} inline * @return {?} */ function buildCss$2(align, inline) { /** @type {?} */ const css = {}; const [mainAxis, crossAxis] = align.split(' '); // Main axis switch (mainAxis) { case 'center': case 'space-around': case 'space-between': case 'space-evenly': case 'end': case 'start': case 'stretch': css['justify-content'] = mainAxis; break; default: css['justify-content'] = DEFAULT_MAIN$1; // default main axis break; } // Cross-axis switch (crossAxis) { case 'start': case 'center': case 'end': case 'stretch': css['justify-items'] = crossAxis; break; default: // 'stretch' css['justify-items'] = DEFAULT_CROSS$1; // default cross axis break; } css['display'] = inline ? 'inline-grid' : 'grid'; return css; } /** * @fileoverview added by tsickle * Generated from: grid/area/area.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE = 'auto'; let GridAreaStyleBuilder = /*#__PURE__*/(() => { class GridAreaStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @return {?} */ buildStyles(input) { return { 'grid-area': input || DEFAULT_VALUE }; } } GridAreaStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridAreaStyleBuilder_BaseFactory; return function GridAreaStyleBuilder_Factory(t) { return (ɵGridAreaStyleBuilder_BaseFactory || (ɵGridAreaStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridAreaStyleBuilder)))(t || GridAreaStyleBuilder); }; }(); /** @nocollapse */ GridAreaStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridAreaStyleBuilder_Factory() { return new GridAreaStyleBuilder(); }, token: GridAreaStyleBuilder, providedIn: "root" }); return GridAreaStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridAreaDirective = /*#__PURE__*/(() => { class GridAreaDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.DIRECTIVE_KEY = 'grid-area'; this.styleCache = gridAreaCache; this.init(); } } GridAreaDirective.ɵfac = function GridAreaDirective_Factory(t) { return new (t || GridAreaDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridAreaStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridAreaDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridAreaDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridAreaDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const gridAreaCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$3 = ['gdArea', 'gdArea.xs', 'gdArea.sm', 'gdArea.md', 'gdArea.lg', 'gdArea.xl', 'gdArea.lt-sm', 'gdArea.lt-md', 'gdArea.lt-lg', 'gdArea.lt-xl', 'gdArea.gt-xs', 'gdArea.gt-sm', 'gdArea.gt-md', 'gdArea.gt-lg']; /** @type {?} */ const selector$3 = ` [gdArea], [gdArea.xs], [gdArea.sm], [gdArea.md], [gdArea.lg], [gdArea.xl], [gdArea.lt-sm], [gdArea.lt-md], [gdArea.lt-lg], [gdArea.lt-xl], [gdArea.gt-xs], [gdArea.gt-sm], [gdArea.gt-md], [gdArea.gt-lg] `; /** * 'grid-area' CSS Grid styling directive * Configures the name or position of an element within the grid * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-27 */ let DefaultGridAreaDirective = /*#__PURE__*/(() => { class DefaultGridAreaDirective extends GridAreaDirective { constructor() { super(...arguments); this.inputs = inputs$3; } } DefaultGridAreaDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridAreaDirective_BaseFactory; return function DefaultGridAreaDirective_Factory(t) { return (ɵDefaultGridAreaDirective_BaseFactory || (ɵDefaultGridAreaDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridAreaDirective)))(t || DefaultGridAreaDirective); }; }(); DefaultGridAreaDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridAreaDirective, selectors: [["", "gdArea", ""], ["", "gdArea.xs", ""], ["", "gdArea.sm", ""], ["", "gdArea.md", ""], ["", "gdArea.lg", ""], ["", "gdArea.xl", ""], ["", "gdArea.lt-sm", ""], ["", "gdArea.lt-md", ""], ["", "gdArea.lt-lg", ""], ["", "gdArea.lt-xl", ""], ["", "gdArea.gt-xs", ""], ["", "gdArea.gt-sm", ""], ["", "gdArea.gt-md", ""], ["", "gdArea.gt-lg", ""]], inputs: { gdArea: "gdArea", "gdArea.xs": "gdArea.xs", "gdArea.sm": "gdArea.sm", "gdArea.md": "gdArea.md", "gdArea.lg": "gdArea.lg", "gdArea.xl": "gdArea.xl", "gdArea.lt-sm": "gdArea.lt-sm", "gdArea.lt-md": "gdArea.lt-md", "gdArea.lt-lg": "gdArea.lt-lg", "gdArea.lt-xl": "gdArea.lt-xl", "gdArea.gt-xs": "gdArea.gt-xs", "gdArea.gt-sm": "gdArea.gt-sm", "gdArea.gt-md": "gdArea.gt-md", "gdArea.gt-lg": "gdArea.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridAreaDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: grid/areas/areas.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE$1 = 'none'; /** @type {?} */ const DELIMETER = '|'; let GridAreasStyleBuiler = /*#__PURE__*/(() => { class GridAreasStyleBuiler extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @param {?} parent * @return {?} */ buildStyles(input, parent) { /** @type {?} */ const areas = (input || DEFAULT_VALUE$1).split(DELIMETER).map( /** * @param {?} v * @return {?} */ v => `"${v.trim()}"`); return { 'display': parent.inline ? 'inline-grid' : 'grid', 'grid-template-areas': areas.join(' ') }; } } GridAreasStyleBuiler.ɵfac = /*@__PURE__*/function () { let ɵGridAreasStyleBuiler_BaseFactory; return function GridAreasStyleBuiler_Factory(t) { return (ɵGridAreasStyleBuiler_BaseFactory || (ɵGridAreasStyleBuiler_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridAreasStyleBuiler)))(t || GridAreasStyleBuiler); }; }(); /** @nocollapse */ GridAreasStyleBuiler.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridAreasStyleBuiler_Factory() { return new GridAreasStyleBuiler(); }, token: GridAreasStyleBuiler, providedIn: "root" }); return GridAreasStyleBuiler; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridAreasDirective = /*#__PURE__*/(() => { class GridAreasDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.DIRECTIVE_KEY = 'grid-areas'; this._inline = false; this.init(); } /** * @return {?} */ get inline() { return this._inline; } /** * @param {?} val * @return {?} */ set inline(val) { this._inline = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceBooleanProperty)(val); } // ********************************************* // Protected methods // ********************************************* /** * @protected * @param {?} value * @return {?} */ updateWithValue(value) { this.styleCache = this.inline ? areasInlineCache : areasCache; this.addStyles(value, { inline: this.inline }); } } GridAreasDirective.ɵfac = function GridAreasDirective_Factory(t) { return new (t || GridAreasDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridAreasStyleBuiler), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridAreasDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridAreasDirective, inputs: { inline: ["gdInline", "inline"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridAreasDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const areasCache = /*#__PURE__*/new Map(); /** @type {?} */ const areasInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$4 = ['gdAreas', 'gdAreas.xs', 'gdAreas.sm', 'gdAreas.md', 'gdAreas.lg', 'gdAreas.xl', 'gdAreas.lt-sm', 'gdAreas.lt-md', 'gdAreas.lt-lg', 'gdAreas.lt-xl', 'gdAreas.gt-xs', 'gdAreas.gt-sm', 'gdAreas.gt-md', 'gdAreas.gt-lg']; /** @type {?} */ const selector$4 = ` [gdAreas], [gdAreas.xs], [gdAreas.sm], [gdAreas.md], [gdAreas.lg], [gdAreas.xl], [gdAreas.lt-sm], [gdAreas.lt-md], [gdAreas.lt-lg], [gdAreas.lt-xl], [gdAreas.gt-xs], [gdAreas.gt-sm], [gdAreas.gt-md], [gdAreas.gt-lg] `; /** * 'grid-template-areas' CSS Grid styling directive * Configures the names of elements within the grid * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-14 */ let DefaultGridAreasDirective = /*#__PURE__*/(() => { class DefaultGridAreasDirective extends GridAreasDirective { constructor() { super(...arguments); this.inputs = inputs$4; } } DefaultGridAreasDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridAreasDirective_BaseFactory; return function DefaultGridAreasDirective_Factory(t) { return (ɵDefaultGridAreasDirective_BaseFactory || (ɵDefaultGridAreasDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridAreasDirective)))(t || DefaultGridAreasDirective); }; }(); DefaultGridAreasDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridAreasDirective, selectors: [["", "gdAreas", ""], ["", "gdAreas.xs", ""], ["", "gdAreas.sm", ""], ["", "gdAreas.md", ""], ["", "gdAreas.lg", ""], ["", "gdAreas.xl", ""], ["", "gdAreas.lt-sm", ""], ["", "gdAreas.lt-md", ""], ["", "gdAreas.lt-lg", ""], ["", "gdAreas.lt-xl", ""], ["", "gdAreas.gt-xs", ""], ["", "gdAreas.gt-sm", ""], ["", "gdAreas.gt-md", ""], ["", "gdAreas.gt-lg", ""]], inputs: { gdAreas: "gdAreas", "gdAreas.xs": "gdAreas.xs", "gdAreas.sm": "gdAreas.sm", "gdAreas.md": "gdAreas.md", "gdAreas.lg": "gdAreas.lg", "gdAreas.xl": "gdAreas.xl", "gdAreas.lt-sm": "gdAreas.lt-sm", "gdAreas.lt-md": "gdAreas.lt-md", "gdAreas.lt-lg": "gdAreas.lt-lg", "gdAreas.lt-xl": "gdAreas.lt-xl", "gdAreas.gt-xs": "gdAreas.gt-xs", "gdAreas.gt-sm": "gdAreas.gt-sm", "gdAreas.gt-md": "gdAreas.gt-md", "gdAreas.gt-lg": "gdAreas.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridAreasDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: grid/auto/auto.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE$2 = 'initial'; let GridAutoStyleBuilder = /*#__PURE__*/(() => { class GridAutoStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @param {?} parent * @return {?} */ buildStyles(input, parent) { let [direction, dense] = (input || DEFAULT_VALUE$2).split(' '); if (direction !== 'column' && direction !== 'row' && direction !== 'dense') { direction = 'row'; } dense = dense === 'dense' && direction !== 'dense' ? ' dense' : ''; return { 'display': parent.inline ? 'inline-grid' : 'grid', 'grid-auto-flow': direction + dense }; } } GridAutoStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridAutoStyleBuilder_BaseFactory; return function GridAutoStyleBuilder_Factory(t) { return (ɵGridAutoStyleBuilder_BaseFactory || (ɵGridAutoStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridAutoStyleBuilder)))(t || GridAutoStyleBuilder); }; }(); /** @nocollapse */ GridAutoStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridAutoStyleBuilder_Factory() { return new GridAutoStyleBuilder(); }, token: GridAutoStyleBuilder, providedIn: "root" }); return GridAutoStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridAutoDirective = /*#__PURE__*/(() => { class GridAutoDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { super(elementRef, styleBuilder, styler, marshal); this._inline = false; this.DIRECTIVE_KEY = 'grid-auto'; this.init(); } /** * @return {?} */ get inline() { return this._inline; } /** * @param {?} val * @return {?} */ set inline(val) { this._inline = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceBooleanProperty)(val); } // ********************************************* // Protected methods // ********************************************* /** * @protected * @param {?} value * @return {?} */ updateWithValue(value) { this.styleCache = this.inline ? autoInlineCache : autoCache; this.addStyles(value, { inline: this.inline }); } } GridAutoDirective.ɵfac = function GridAutoDirective_Factory(t) { return new (t || GridAutoDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridAutoStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridAutoDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridAutoDirective, inputs: { inline: ["gdInline", "inline"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridAutoDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const autoCache = /*#__PURE__*/new Map(); /** @type {?} */ const autoInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$5 = ['gdAuto', 'gdAuto.xs', 'gdAuto.sm', 'gdAuto.md', 'gdAuto.lg', 'gdAuto.xl', 'gdAuto.lt-sm', 'gdAuto.lt-md', 'gdAuto.lt-lg', 'gdAuto.lt-xl', 'gdAuto.gt-xs', 'gdAuto.gt-sm', 'gdAuto.gt-md', 'gdAuto.gt-lg']; /** @type {?} */ const selector$5 = ` [gdAuto], [gdAuto.xs], [gdAuto.sm], [gdAuto.md], [gdAuto.lg], [gdAuto.xl], [gdAuto.lt-sm], [gdAuto.lt-md], [gdAuto.lt-lg], [gdAuto.lt-xl], [gdAuto.gt-xs], [gdAuto.gt-sm], [gdAuto.gt-md], [gdAuto.gt-lg] `; /** * 'grid-auto-flow' CSS Grid styling directive * Configures the auto placement algorithm for the grid * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-23 */ let DefaultGridAutoDirective = /*#__PURE__*/(() => { class DefaultGridAutoDirective extends GridAutoDirective { constructor() { super(...arguments); this.inputs = inputs$5; } } DefaultGridAutoDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridAutoDirective_BaseFactory; return function DefaultGridAutoDirective_Factory(t) { return (ɵDefaultGridAutoDirective_BaseFactory || (ɵDefaultGridAutoDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridAutoDirective)))(t || DefaultGridAutoDirective); }; }(); DefaultGridAutoDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridAutoDirective, selectors: [["", "gdAuto", ""], ["", "gdAuto.xs", ""], ["", "gdAuto.sm", ""], ["", "gdAuto.md", ""], ["", "gdAuto.lg", ""], ["", "gdAuto.xl", ""], ["", "gdAuto.lt-sm", ""], ["", "gdAuto.lt-md", ""], ["", "gdAuto.lt-lg", ""], ["", "gdAuto.lt-xl", ""], ["", "gdAuto.gt-xs", ""], ["", "gdAuto.gt-sm", ""], ["", "gdAuto.gt-md", ""], ["", "gdAuto.gt-lg", ""]], inputs: { gdAuto: "gdAuto", "gdAuto.xs": "gdAuto.xs", "gdAuto.sm": "gdAuto.sm", "gdAuto.md": "gdAuto.md", "gdAuto.lg": "gdAuto.lg", "gdAuto.xl": "gdAuto.xl", "gdAuto.lt-sm": "gdAuto.lt-sm", "gdAuto.lt-md": "gdAuto.lt-md", "gdAuto.lt-lg": "gdAuto.lt-lg", "gdAuto.lt-xl": "gdAuto.lt-xl", "gdAuto.gt-xs": "gdAuto.gt-xs", "gdAuto.gt-sm": "gdAuto.gt-sm", "gdAuto.gt-md": "gdAuto.gt-md", "gdAuto.gt-lg": "gdAuto.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridAutoDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: grid/column/column.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE$3 = 'auto'; let GridColumnStyleBuilder = /*#__PURE__*/(() => { class GridColumnStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @return {?} */ buildStyles(input) { return { 'grid-column': input || DEFAULT_VALUE$3 }; } } GridColumnStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridColumnStyleBuilder_BaseFactory; return function GridColumnStyleBuilder_Factory(t) { return (ɵGridColumnStyleBuilder_BaseFactory || (ɵGridColumnStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridColumnStyleBuilder)))(t || GridColumnStyleBuilder); }; }(); /** @nocollapse */ GridColumnStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridColumnStyleBuilder_Factory() { return new GridColumnStyleBuilder(); }, token: GridColumnStyleBuilder, providedIn: "root" }); return GridColumnStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridColumnDirective = /*#__PURE__*/(() => { class GridColumnDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { super(elementRef, styleBuilder, styler, marshal); this.DIRECTIVE_KEY = 'grid-column'; this.styleCache = columnCache; this.init(); } } GridColumnDirective.ɵfac = function GridColumnDirective_Factory(t) { return new (t || GridColumnDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridColumnStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridColumnDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridColumnDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridColumnDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const columnCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$6 = ['gdColumn', 'gdColumn.xs', 'gdColumn.sm', 'gdColumn.md', 'gdColumn.lg', 'gdColumn.xl', 'gdColumn.lt-sm', 'gdColumn.lt-md', 'gdColumn.lt-lg', 'gdColumn.lt-xl', 'gdColumn.gt-xs', 'gdColumn.gt-sm', 'gdColumn.gt-md', 'gdColumn.gt-lg']; /** @type {?} */ const selector$6 = ` [gdColumn], [gdColumn.xs], [gdColumn.sm], [gdColumn.md], [gdColumn.lg], [gdColumn.xl], [gdColumn.lt-sm], [gdColumn.lt-md], [gdColumn.lt-lg], [gdColumn.lt-xl], [gdColumn.gt-xs], [gdColumn.gt-sm], [gdColumn.gt-md], [gdColumn.gt-lg] `; /** * 'grid-column' CSS Grid styling directive * Configures the name or position of an element within the grid * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26 */ let DefaultGridColumnDirective = /*#__PURE__*/(() => { class DefaultGridColumnDirective extends GridColumnDirective { constructor() { super(...arguments); this.inputs = inputs$6; } } DefaultGridColumnDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridColumnDirective_BaseFactory; return function DefaultGridColumnDirective_Factory(t) { return (ɵDefaultGridColumnDirective_BaseFactory || (ɵDefaultGridColumnDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridColumnDirective)))(t || DefaultGridColumnDirective); }; }(); DefaultGridColumnDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridColumnDirective, selectors: [["", "gdColumn", ""], ["", "gdColumn.xs", ""], ["", "gdColumn.sm", ""], ["", "gdColumn.md", ""], ["", "gdColumn.lg", ""], ["", "gdColumn.xl", ""], ["", "gdColumn.lt-sm", ""], ["", "gdColumn.lt-md", ""], ["", "gdColumn.lt-lg", ""], ["", "gdColumn.lt-xl", ""], ["", "gdColumn.gt-xs", ""], ["", "gdColumn.gt-sm", ""], ["", "gdColumn.gt-md", ""], ["", "gdColumn.gt-lg", ""]], inputs: { gdColumn: "gdColumn", "gdColumn.xs": "gdColumn.xs", "gdColumn.sm": "gdColumn.sm", "gdColumn.md": "gdColumn.md", "gdColumn.lg": "gdColumn.lg", "gdColumn.xl": "gdColumn.xl", "gdColumn.lt-sm": "gdColumn.lt-sm", "gdColumn.lt-md": "gdColumn.lt-md", "gdColumn.lt-lg": "gdColumn.lt-lg", "gdColumn.lt-xl": "gdColumn.lt-xl", "gdColumn.gt-xs": "gdColumn.gt-xs", "gdColumn.gt-sm": "gdColumn.gt-sm", "gdColumn.gt-md": "gdColumn.gt-md", "gdColumn.gt-lg": "gdColumn.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridColumnDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: grid/columns/columns.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE$4 = 'none'; /** @type {?} */ const AUTO_SPECIFIER = '!'; let GridColumnsStyleBuilder = /*#__PURE__*/(() => { class GridColumnsStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @param {?} parent * @return {?} */ buildStyles(input, parent) { input = input || DEFAULT_VALUE$4; /** @type {?} */ let auto = false; if (input.endsWith(AUTO_SPECIFIER)) { input = input.substring(0, input.indexOf(AUTO_SPECIFIER)); auto = true; } /** @type {?} */ const css = { 'display': parent.inline ? 'inline-grid' : 'grid', 'grid-auto-columns': '', 'grid-template-columns': '' }; /** @type {?} */ const key = auto ? 'grid-auto-columns' : 'grid-template-columns'; css[key] = input; return css; } } GridColumnsStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridColumnsStyleBuilder_BaseFactory; return function GridColumnsStyleBuilder_Factory(t) { return (ɵGridColumnsStyleBuilder_BaseFactory || (ɵGridColumnsStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridColumnsStyleBuilder)))(t || GridColumnsStyleBuilder); }; }(); /** @nocollapse */ GridColumnsStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridColumnsStyleBuilder_Factory() { return new GridColumnsStyleBuilder(); }, token: GridColumnsStyleBuilder, providedIn: "root" }); return GridColumnsStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridColumnsDirective = /*#__PURE__*/(() => { class GridColumnsDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { super(elementRef, styleBuilder, styler, marshal); this.DIRECTIVE_KEY = 'grid-columns'; this._inline = false; this.init(); } /** * @return {?} */ get inline() { return this._inline; } /** * @param {?} val * @return {?} */ set inline(val) { this._inline = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceBooleanProperty)(val); } // ********************************************* // Protected methods // ********************************************* /** * @protected * @param {?} value * @return {?} */ updateWithValue(value) { this.styleCache = this.inline ? columnsInlineCache : columnsCache; this.addStyles(value, { inline: this.inline }); } } GridColumnsDirective.ɵfac = function GridColumnsDirective_Factory(t) { return new (t || GridColumnsDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridColumnsStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridColumnsDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridColumnsDirective, inputs: { inline: ["gdInline", "inline"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridColumnsDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const columnsCache = /*#__PURE__*/new Map(); /** @type {?} */ const columnsInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$7 = ['gdColumns', 'gdColumns.xs', 'gdColumns.sm', 'gdColumns.md', 'gdColumns.lg', 'gdColumns.xl', 'gdColumns.lt-sm', 'gdColumns.lt-md', 'gdColumns.lt-lg', 'gdColumns.lt-xl', 'gdColumns.gt-xs', 'gdColumns.gt-sm', 'gdColumns.gt-md', 'gdColumns.gt-lg']; /** @type {?} */ const selector$7 = ` [gdColumns], [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl], [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl], [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg] `; /** * 'grid-template-columns' CSS Grid styling directive * Configures the sizing for the columns in the grid * Syntax: [auto] * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-13 */ let DefaultGridColumnsDirective = /*#__PURE__*/(() => { class DefaultGridColumnsDirective extends GridColumnsDirective { constructor() { super(...arguments); this.inputs = inputs$7; } } DefaultGridColumnsDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridColumnsDirective_BaseFactory; return function DefaultGridColumnsDirective_Factory(t) { return (ɵDefaultGridColumnsDirective_BaseFactory || (ɵDefaultGridColumnsDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridColumnsDirective)))(t || DefaultGridColumnsDirective); }; }(); DefaultGridColumnsDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridColumnsDirective, selectors: [["", "gdColumns", ""], ["", "gdColumns.xs", ""], ["", "gdColumns.sm", ""], ["", "gdColumns.md", ""], ["", "gdColumns.lg", ""], ["", "gdColumns.xl", ""], ["", "gdColumns.lt-sm", ""], ["", "gdColumns.lt-md", ""], ["", "gdColumns.lt-lg", ""], ["", "gdColumns.lt-xl", ""], ["", "gdColumns.gt-xs", ""], ["", "gdColumns.gt-sm", ""], ["", "gdColumns.gt-md", ""], ["", "gdColumns.gt-lg", ""]], inputs: { gdColumns: "gdColumns", "gdColumns.xs": "gdColumns.xs", "gdColumns.sm": "gdColumns.sm", "gdColumns.md": "gdColumns.md", "gdColumns.lg": "gdColumns.lg", "gdColumns.xl": "gdColumns.xl", "gdColumns.lt-sm": "gdColumns.lt-sm", "gdColumns.lt-md": "gdColumns.lt-md", "gdColumns.lt-lg": "gdColumns.lt-lg", "gdColumns.lt-xl": "gdColumns.lt-xl", "gdColumns.gt-xs": "gdColumns.gt-xs", "gdColumns.gt-sm": "gdColumns.gt-sm", "gdColumns.gt-md": "gdColumns.gt-md", "gdColumns.gt-lg": "gdColumns.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridColumnsDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: grid/gap/gap.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE$5 = '0'; let GridGapStyleBuilder = /*#__PURE__*/(() => { class GridGapStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @param {?} parent * @return {?} */ buildStyles(input, parent) { return { 'display': parent.inline ? 'inline-grid' : 'grid', 'grid-gap': input || DEFAULT_VALUE$5 }; } } GridGapStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridGapStyleBuilder_BaseFactory; return function GridGapStyleBuilder_Factory(t) { return (ɵGridGapStyleBuilder_BaseFactory || (ɵGridGapStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridGapStyleBuilder)))(t || GridGapStyleBuilder); }; }(); /** @nocollapse */ GridGapStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridGapStyleBuilder_Factory() { return new GridGapStyleBuilder(); }, token: GridGapStyleBuilder, providedIn: "root" }); return GridGapStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridGapDirective = /*#__PURE__*/(() => { class GridGapDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elRef * @param {?} styleUtils * @param {?} styleBuilder * @param {?} marshal */ constructor(elRef, styleUtils, styleBuilder, marshal) { super(elRef, styleBuilder, styleUtils, marshal); this.DIRECTIVE_KEY = 'grid-gap'; this._inline = false; this.init(); } /** * @return {?} */ get inline() { return this._inline; } /** * @param {?} val * @return {?} */ set inline(val) { this._inline = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceBooleanProperty)(val); } // ********************************************* // Protected methods // ********************************************* /** * @protected * @param {?} value * @return {?} */ updateWithValue(value) { this.styleCache = this.inline ? gapInlineCache : gapCache; this.addStyles(value, { inline: this.inline }); } } GridGapDirective.ɵfac = function GridGapDirective_Factory(t) { return new (t || GridGapDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridGapStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridGapDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridGapDirective, inputs: { inline: ["gdInline", "inline"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridGapDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const gapCache = /*#__PURE__*/new Map(); /** @type {?} */ const gapInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$8 = ['gdGap', 'gdGap.xs', 'gdGap.sm', 'gdGap.md', 'gdGap.lg', 'gdGap.xl', 'gdGap.lt-sm', 'gdGap.lt-md', 'gdGap.lt-lg', 'gdGap.lt-xl', 'gdGap.gt-xs', 'gdGap.gt-sm', 'gdGap.gt-md', 'gdGap.gt-lg']; /** @type {?} */ const selector$8 = ` [gdGap], [gdGap.xs], [gdGap.sm], [gdGap.md], [gdGap.lg], [gdGap.xl], [gdGap.lt-sm], [gdGap.lt-md], [gdGap.lt-lg], [gdGap.lt-xl], [gdGap.gt-xs], [gdGap.gt-sm], [gdGap.gt-md], [gdGap.gt-lg] `; /** * 'grid-gap' CSS Grid styling directive * Configures the gap between items in the grid * Syntax: [] * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-17 */ let DefaultGridGapDirective = /*#__PURE__*/(() => { class DefaultGridGapDirective extends GridGapDirective { constructor() { super(...arguments); this.inputs = inputs$8; } } DefaultGridGapDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridGapDirective_BaseFactory; return function DefaultGridGapDirective_Factory(t) { return (ɵDefaultGridGapDirective_BaseFactory || (ɵDefaultGridGapDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridGapDirective)))(t || DefaultGridGapDirective); }; }(); DefaultGridGapDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridGapDirective, selectors: [["", "gdGap", ""], ["", "gdGap.xs", ""], ["", "gdGap.sm", ""], ["", "gdGap.md", ""], ["", "gdGap.lg", ""], ["", "gdGap.xl", ""], ["", "gdGap.lt-sm", ""], ["", "gdGap.lt-md", ""], ["", "gdGap.lt-lg", ""], ["", "gdGap.lt-xl", ""], ["", "gdGap.gt-xs", ""], ["", "gdGap.gt-sm", ""], ["", "gdGap.gt-md", ""], ["", "gdGap.gt-lg", ""]], inputs: { gdGap: "gdGap", "gdGap.xs": "gdGap.xs", "gdGap.sm": "gdGap.sm", "gdGap.md": "gdGap.md", "gdGap.lg": "gdGap.lg", "gdGap.xl": "gdGap.xl", "gdGap.lt-sm": "gdGap.lt-sm", "gdGap.lt-md": "gdGap.lt-md", "gdGap.lt-lg": "gdGap.lt-lg", "gdGap.lt-xl": "gdGap.lt-xl", "gdGap.gt-xs": "gdGap.gt-xs", "gdGap.gt-sm": "gdGap.gt-sm", "gdGap.gt-md": "gdGap.gt-md", "gdGap.gt-lg": "gdGap.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridGapDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: grid/row/row.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE$6 = 'auto'; let GridRowStyleBuilder = /*#__PURE__*/(() => { class GridRowStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @return {?} */ buildStyles(input) { return { 'grid-row': input || DEFAULT_VALUE$6 }; } } GridRowStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridRowStyleBuilder_BaseFactory; return function GridRowStyleBuilder_Factory(t) { return (ɵGridRowStyleBuilder_BaseFactory || (ɵGridRowStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridRowStyleBuilder)))(t || GridRowStyleBuilder); }; }(); /** @nocollapse */ GridRowStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridRowStyleBuilder_Factory() { return new GridRowStyleBuilder(); }, token: GridRowStyleBuilder, providedIn: "root" }); return GridRowStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridRowDirective = /*#__PURE__*/(() => { class GridRowDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { super(elementRef, styleBuilder, styler, marshal); this.DIRECTIVE_KEY = 'grid-row'; this.styleCache = rowCache; this.init(); } } GridRowDirective.ɵfac = function GridRowDirective_Factory(t) { return new (t || GridRowDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridRowStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridRowDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridRowDirective, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridRowDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const rowCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$9 = ['gdRow', 'gdRow.xs', 'gdRow.sm', 'gdRow.md', 'gdRow.lg', 'gdRow.xl', 'gdRow.lt-sm', 'gdRow.lt-md', 'gdRow.lt-lg', 'gdRow.lt-xl', 'gdRow.gt-xs', 'gdRow.gt-sm', 'gdRow.gt-md', 'gdRow.gt-lg']; /** @type {?} */ const selector$9 = ` [gdRow], [gdRow.xs], [gdRow.sm], [gdRow.md], [gdRow.lg], [gdRow.xl], [gdRow.lt-sm], [gdRow.lt-md], [gdRow.lt-lg], [gdRow.lt-xl], [gdRow.gt-xs], [gdRow.gt-sm], [gdRow.gt-md], [gdRow.gt-lg] `; /** * 'grid-row' CSS Grid styling directive * Configures the name or position of an element within the grid * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-26 */ let DefaultGridRowDirective = /*#__PURE__*/(() => { class DefaultGridRowDirective extends GridRowDirective { constructor() { super(...arguments); this.inputs = inputs$9; } } DefaultGridRowDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridRowDirective_BaseFactory; return function DefaultGridRowDirective_Factory(t) { return (ɵDefaultGridRowDirective_BaseFactory || (ɵDefaultGridRowDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridRowDirective)))(t || DefaultGridRowDirective); }; }(); DefaultGridRowDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridRowDirective, selectors: [["", "gdRow", ""], ["", "gdRow.xs", ""], ["", "gdRow.sm", ""], ["", "gdRow.md", ""], ["", "gdRow.lg", ""], ["", "gdRow.xl", ""], ["", "gdRow.lt-sm", ""], ["", "gdRow.lt-md", ""], ["", "gdRow.lt-lg", ""], ["", "gdRow.lt-xl", ""], ["", "gdRow.gt-xs", ""], ["", "gdRow.gt-sm", ""], ["", "gdRow.gt-md", ""], ["", "gdRow.gt-lg", ""]], inputs: { gdRow: "gdRow", "gdRow.xs": "gdRow.xs", "gdRow.sm": "gdRow.sm", "gdRow.md": "gdRow.md", "gdRow.lg": "gdRow.lg", "gdRow.xl": "gdRow.xl", "gdRow.lt-sm": "gdRow.lt-sm", "gdRow.lt-md": "gdRow.lt-md", "gdRow.lt-lg": "gdRow.lt-lg", "gdRow.lt-xl": "gdRow.lt-xl", "gdRow.gt-xs": "gdRow.gt-xs", "gdRow.gt-sm": "gdRow.gt-sm", "gdRow.gt-md": "gdRow.gt-md", "gdRow.gt-lg": "gdRow.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridRowDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: grid/rows/rows.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const DEFAULT_VALUE$7 = 'none'; /** @type {?} */ const AUTO_SPECIFIER$1 = '!'; let GridRowsStyleBuilder = /*#__PURE__*/(() => { class GridRowsStyleBuilder extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleBuilder { /** * @param {?} input * @param {?} parent * @return {?} */ buildStyles(input, parent) { input = input || DEFAULT_VALUE$7; /** @type {?} */ let auto = false; if (input.endsWith(AUTO_SPECIFIER$1)) { input = input.substring(0, input.indexOf(AUTO_SPECIFIER$1)); auto = true; } /** @type {?} */ const css = { 'display': parent.inline ? 'inline-grid' : 'grid', 'grid-auto-rows': '', 'grid-template-rows': '' }; /** @type {?} */ const key = auto ? 'grid-auto-rows' : 'grid-template-rows'; css[key] = input; return css; } } GridRowsStyleBuilder.ɵfac = /*@__PURE__*/function () { let ɵGridRowsStyleBuilder_BaseFactory; return function GridRowsStyleBuilder_Factory(t) { return (ɵGridRowsStyleBuilder_BaseFactory || (ɵGridRowsStyleBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](GridRowsStyleBuilder)))(t || GridRowsStyleBuilder); }; }(); /** @nocollapse */ GridRowsStyleBuilder.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"])({ factory: function GridRowsStyleBuilder_Factory() { return new GridRowsStyleBuilder(); }, token: GridRowsStyleBuilder, providedIn: "root" }); return GridRowsStyleBuilder; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); let GridRowsDirective = /*#__PURE__*/(() => { class GridRowsDirective extends _angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.BaseDirective2 { /** * @param {?} elementRef * @param {?} styleBuilder * @param {?} styler * @param {?} marshal */ constructor(elementRef, styleBuilder, styler, marshal) { super(elementRef, styleBuilder, styler, marshal); this.DIRECTIVE_KEY = 'grid-rows'; this._inline = false; this.init(); } /** * @return {?} */ get inline() { return this._inline; } /** * @param {?} val * @return {?} */ set inline(val) { this._inline = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_2__.coerceBooleanProperty)(val); } // ********************************************* // Protected methods // ********************************************* /** * @protected * @param {?} value * @return {?} */ updateWithValue(value) { this.styleCache = this.inline ? rowsInlineCache : rowsCache; this.addStyles(value, { inline: this.inline }); } } GridRowsDirective.ɵfac = function GridRowsDirective_Factory(t) { return new (t || GridRowsDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](GridRowsStyleBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.StyleUtils), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.MediaMarshaller)); }; GridRowsDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: GridRowsDirective, inputs: { inline: ["gdInline", "inline"] }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); /** @nocollapse */ return GridRowsDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** @type {?} */ const rowsCache = /*#__PURE__*/new Map(); /** @type {?} */ const rowsInlineCache = /*#__PURE__*/new Map(); /** @type {?} */ const inputs$10 = ['gdRows', 'gdRows.xs', 'gdRows.sm', 'gdRows.md', 'gdRows.lg', 'gdRows.xl', 'gdRows.lt-sm', 'gdRows.lt-md', 'gdRows.lt-lg', 'gdRows.lt-xl', 'gdRows.gt-xs', 'gdRows.gt-sm', 'gdRows.gt-md', 'gdRows.gt-lg']; /** @type {?} */ const selector$10 = ` [gdRows], [gdRows.xs], [gdRows.sm], [gdRows.md], [gdRows.lg], [gdRows.xl], [gdRows.lt-sm], [gdRows.lt-md], [gdRows.lt-lg], [gdRows.lt-xl], [gdRows.gt-xs], [gdRows.gt-sm], [gdRows.gt-md], [gdRows.gt-lg] `; /** * 'grid-template-rows' CSS Grid styling directive * Configures the sizing for the rows in the grid * Syntax: [auto] * @see https://css-tricks.com/snippets/css/complete-guide-grid/#article-header-id-13 */ let DefaultGridRowsDirective = /*#__PURE__*/(() => { class DefaultGridRowsDirective extends GridRowsDirective { constructor() { super(...arguments); this.inputs = inputs$10; } } DefaultGridRowsDirective.ɵfac = /*@__PURE__*/function () { let ɵDefaultGridRowsDirective_BaseFactory; return function DefaultGridRowsDirective_Factory(t) { return (ɵDefaultGridRowsDirective_BaseFactory || (ɵDefaultGridRowsDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](DefaultGridRowsDirective)))(t || DefaultGridRowsDirective); }; }(); DefaultGridRowsDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: DefaultGridRowsDirective, selectors: [["", "gdRows", ""], ["", "gdRows.xs", ""], ["", "gdRows.sm", ""], ["", "gdRows.md", ""], ["", "gdRows.lg", ""], ["", "gdRows.xl", ""], ["", "gdRows.lt-sm", ""], ["", "gdRows.lt-md", ""], ["", "gdRows.lt-lg", ""], ["", "gdRows.lt-xl", ""], ["", "gdRows.gt-xs", ""], ["", "gdRows.gt-sm", ""], ["", "gdRows.gt-md", ""], ["", "gdRows.gt-lg", ""]], inputs: { gdRows: "gdRows", "gdRows.xs": "gdRows.xs", "gdRows.sm": "gdRows.sm", "gdRows.md": "gdRows.md", "gdRows.lg": "gdRows.lg", "gdRows.xl": "gdRows.xl", "gdRows.lt-sm": "gdRows.lt-sm", "gdRows.lt-md": "gdRows.lt-md", "gdRows.lt-lg": "gdRows.lt-lg", "gdRows.lt-xl": "gdRows.lt-xl", "gdRows.gt-xs": "gdRows.gt-xs", "gdRows.gt-sm": "gdRows.gt-sm", "gdRows.gt-md": "gdRows.gt-md", "gdRows.gt-lg": "gdRows.gt-lg" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]] }); return DefaultGridRowsDirective; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: grid/module.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const ALL_DIRECTIVES = [DefaultGridAlignDirective, DefaultGridAlignColumnsDirective, DefaultGridAlignRowsDirective, DefaultGridAreaDirective, DefaultGridAreasDirective, DefaultGridAutoDirective, DefaultGridColumnDirective, DefaultGridColumnsDirective, DefaultGridGapDirective, DefaultGridRowDirective, DefaultGridRowsDirective]; /** * ***************************************************************** * Define module for the CSS Grid API * ***************************************************************** */ let GridModule = /*#__PURE__*/(() => { class GridModule {} GridModule.ɵfac = function GridModule_Factory(t) { return new (t || GridModule)(); }; GridModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: GridModule }); GridModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ imports: [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.CoreModule] }); return GridModule; })(); /*#__PURE__*/ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /*#__PURE__*/ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](GridModule, { declarations: function () { return [DefaultGridAlignDirective, DefaultGridAlignColumnsDirective, DefaultGridAlignRowsDirective, DefaultGridAreaDirective, DefaultGridAreasDirective, DefaultGridAutoDirective, DefaultGridColumnDirective, DefaultGridColumnsDirective, DefaultGridGapDirective, DefaultGridRowDirective, DefaultGridRowsDirective]; }, imports: function () { return [_angular_flex_layout_core__WEBPACK_IMPORTED_MODULE_0__.CoreModule]; }, exports: function () { return [DefaultGridAlignDirective, DefaultGridAlignColumnsDirective, DefaultGridAlignRowsDirective, DefaultGridAreaDirective, DefaultGridAreasDirective, DefaultGridAutoDirective, DefaultGridColumnDirective, DefaultGridColumnsDirective, DefaultGridGapDirective, DefaultGridRowDirective, DefaultGridRowsDirective]; } }); })(); /** * @fileoverview added by tsickle * Generated from: grid/public-api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @fileoverview added by tsickle * Generated from: grid/index.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ //# sourceMappingURL=grid.js.map /***/ }), /***/ 66694: /*!********************************************************!*\ !*** ./node_modules/@angularclass/hmr/dist/helpers.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "bootloader": () => (/* binding */ bootloader), /* harmony export */ "createInputTransfer": () => (/* binding */ createInputTransfer), /* harmony export */ "createNewHosts": () => (/* binding */ createNewHosts), /* harmony export */ "getInputValues": () => (/* binding */ getInputValues), /* harmony export */ "removeNgStyles": () => (/* binding */ removeNgStyles), /* harmony export */ "setInputValues": () => (/* binding */ setInputValues) /* harmony export */ }); // Hot Module Replacement function identity(val) { return val; } function bootloader(main, before, after) { if (typeof main === 'object') { const _main = main.main; before = main.before; after = main.after; main = _main; } before = before || identity; after = after || identity; const readyState = document.readyState; function __domReadyHandler() { document.removeEventListener('DOMContentLoaded', __domReadyHandler); after(main(before(readyState))); } switch (readyState) { case 'loading': document.addEventListener('DOMContentLoaded', __domReadyHandler); break; case 'interactive': case 'complete': default: after(main(before(readyState))); } } // create new host elements and remove the old elements function createNewHosts(cmps) { const components = Array.prototype.map.call(cmps, function (componentNode) { const newNode = document.createElement(componentNode.tagName); const parentNode = componentNode.parentNode; const currentDisplay = newNode.style.display; newNode.style.display = 'none'; parentNode.insertBefore(newNode, componentNode); function removeOldHost() { newNode.style.display = currentDisplay; try { parentNode.removeChild(componentNode); } catch (e) {} } return removeOldHost; }); return function removeOldHosts() { components.forEach(removeOldHost => removeOldHost()); }; } // remove old styles function removeNgStyles() { const docHead = document.head; const _styles = docHead.querySelectorAll('style'); const styles = Array.prototype.slice.call(_styles); styles.filter(style => style.innerText.indexOf('_ng') !== -1).map(el => docHead.removeChild(el)); } // get input values function getInputValues() { const _inputs = document.querySelectorAll('input'); const inputs = Array.prototype.slice.call(_inputs); return inputs.map(input => input.value); } // set input values function setInputValues(_inputs) { const inputs = document.querySelectorAll('input'); if (_inputs && inputs.length === _inputs.length) { _inputs.forEach((value, i) => { const el = inputs[i]; el.value = value; el.dispatchEvent(new CustomEvent('input', { detail: el.value })); }); // clear array _inputs.length = 0; } } // get/set input values function createInputTransfer() { const _inputs = getInputValues(); return function restoreInputValues() { return setInputValues(_inputs); }; } //# sourceMappingURL=helpers.js.map /***/ }), /***/ 24597: /*!************************************************!*\ !*** ./src/@core/animations/core.animation.ts ***! \************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "fadeIn": () => (/* binding */ fadeIn), /* harmony export */ "fadeInLeft": () => (/* binding */ fadeInLeft), /* harmony export */ "zoomIn": () => (/* binding */ zoomIn) /* harmony export */ }); /* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/animations */ 91591); // Animation: FadeInLeft const fadeInLeft = (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.trigger)('fadeInLeft', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.transition)('* => *', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.query)(':enter, :leave', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ position: 'absolute', left: 0, width: '100%', paddingRight: '2rem', paddingLeft: '2rem', opacity: 0 }), { optional: true }), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.query)(':enter', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ transform: 'translateX(-100%)', opacity: 0 }), { optional: true }), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.group)([(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.query)(':leave', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ transform: 'translateX(0%)' }), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.animate)('600ms ease', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ opacity: 1, transform: 'translateX(100%)' }))], { optional: true }), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.query)(':enter', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.animate)('800ms ease', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ opacity: 1, transform: 'translateX(0%)' })), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.animateChild)()], { optional: true })])])]); // Animation: ZoomIn const zoomIn = (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.trigger)('zoomIn', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.transition)('* <=> *', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.query)(':enter, :leave', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ position: 'absolute', left: 0, width: '100%', paddingRight: '2rem', paddingLeft: '2rem', opacity: 0, transform: 'scale(0.5) translateY(-20%)' })], { optional: true }), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.query)(':enter', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.animate)('400ms ease', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ opacity: 1, paddingRight: '2rem', paddingLeft: '2rem', transform: 'scale(1) translateY(0)' }))], { optional: true })])]); // Animation: FadeIn const fadeIn = (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.trigger)('fadeIn', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.transition)('* <=> *', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.query)(':enter, :leave', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ position: 'absolute', left: 0, width: '100%', paddingRight: '2rem', paddingLeft: '2rem', opacity: 0 })], { optional: true }), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.query)(':enter', [(0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.animate)('500ms ease', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_0__.style)({ opacity: 1, paddingRight: '2rem', paddingLeft: '2rem' }))], { optional: true })])]); /***/ }), /***/ 75078: /*!************************************!*\ !*** ./src/@core/common.module.ts ***! \************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreCommonModule": () => (/* binding */ CoreCommonModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/flex-layout */ 77613); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_directives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/directives */ 35455); /* harmony import */ var _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/pipes/pipes.module */ 30021); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); class CoreCommonModule { static ɵfac = function CoreCommonModule_Factory(t) { return new (t || CoreCommonModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({ type: CoreCommonModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.CommonModule, _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__.FlexLayoutModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.ReactiveFormsModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_0__.CoreDirectivesModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_1__.CorePipesModule, _angular_common__WEBPACK_IMPORTED_MODULE_3__.CommonModule, _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__.FlexLayoutModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.ReactiveFormsModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_0__.CoreDirectivesModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_1__.CorePipesModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](CoreCommonModule, { imports: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.CommonModule, _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__.FlexLayoutModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.ReactiveFormsModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_0__.CoreDirectivesModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_1__.CorePipesModule], exports: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.CommonModule, _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__.FlexLayoutModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.ReactiveFormsModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_0__.CoreDirectivesModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_1__.CorePipesModule] }); })(); /***/ }), /***/ 3090: /*!*********************************************************************!*\ !*** ./src/@core/components/card-snippet/card-snippet.component.ts ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreCardSnippetComponent": () => (/* binding */ CoreCardSnippetComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var ngx_highlightjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ngx-highlightjs */ 42756); function CoreCardSnippetComponent_li_10_ng_template_3_i_3_Template(rf, ctx) { if (rf & 1) { const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "i", 16); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CoreCardSnippetComponent_li_10_ng_template_3_i_3_Template_i_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r8.copyCode(ctx_r8.snippetCode.html)); }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } function CoreCardSnippetComponent_li_10_ng_template_3_span_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 17); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "copied !"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } const _c0 = function () { return ["html"]; }; function CoreCardSnippetComponent_li_10_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12)(1, "pre"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CoreCardSnippetComponent_li_10_ng_template_3_i_3_Template, 1, 0, "i", 13); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CoreCardSnippetComponent_li_10_ng_template_3_span_5_Template, 2, 0, "span", 14); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "code", 15); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r5.copyCodeStatus); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r5.copyCodeStatus); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("highlight", ctx_r5.snippetCode.html)("languages", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](4, _c0)); } } function CoreCardSnippetComponent_li_10_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 9)(1, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "HTML"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CoreCardSnippetComponent_li_10_ng_template_3_Template, 10, 5, "ng-template", 11); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "html"); } } function CoreCardSnippetComponent_li_11_ng_template_3_i_3_Template(rf, ctx) { if (rf & 1) { const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "i", 20); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CoreCardSnippetComponent_li_11_ng_template_3_i_3_Template_i_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r13.copyCode(ctx_r13.snippetCode.ts)); }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } function CoreCardSnippetComponent_li_11_ng_template_3_span_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "copied !"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } const _c1 = function () { return ["typescript"]; }; function CoreCardSnippetComponent_li_11_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12)(1, "pre"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CoreCardSnippetComponent_li_11_ng_template_3_i_3_Template, 1, 0, "i", 18); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CoreCardSnippetComponent_li_11_ng_template_3_span_5_Template, 2, 0, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "code", 15); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r10.copyCodeStatus); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r10.copyCodeStatus); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("highlight", ctx_r10.snippetCode.ts)("languages", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](4, _c1)); } } function CoreCardSnippetComponent_li_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 9)(1, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "TS"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CoreCardSnippetComponent_li_11_ng_template_3_Template, 10, 5, "ng-template", 11); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "ts"); } } function CoreCardSnippetComponent_li_12_ng_template_3_i_3_Template(rf, ctx) { if (rf & 1) { const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "i", 20); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CoreCardSnippetComponent_li_12_ng_template_3_i_3_Template_i_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r19); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r18.copyCode(ctx_r18.snippetCode.scss)); }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } function CoreCardSnippetComponent_li_12_ng_template_3_span_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "copied !"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } const _c2 = function () { return ["scss"]; }; function CoreCardSnippetComponent_li_12_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12)(1, "pre"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CoreCardSnippetComponent_li_12_ng_template_3_i_3_Template, 1, 0, "i", 18); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CoreCardSnippetComponent_li_12_ng_template_3_span_5_Template, 2, 0, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "code", 15); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r15.copyCodeStatus); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r15.copyCodeStatus); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("highlight", ctx_r15.snippetCode.scss)("languages", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](4, _c2)); } } function CoreCardSnippetComponent_li_12_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 9)(1, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "SCSS"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CoreCardSnippetComponent_li_12_ng_template_3_Template, 10, 5, "ng-template", 11); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "scss"); } } function CoreCardSnippetComponent_li_13_ng_template_3_i_4_Template(rf, ctx) { if (rf & 1) { const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "i", 20); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CoreCardSnippetComponent_li_13_ng_template_3_i_4_Template_i_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r24); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r23.copyCode(ctx_r23.snippetCode.json)); }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } function CoreCardSnippetComponent_li_13_ng_template_3_span_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "copied !"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } const _c3 = function () { return ["json"]; }; function CoreCardSnippetComponent_li_13_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "pre"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, " "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CoreCardSnippetComponent_li_13_ng_template_3_i_4_Template, 1, 0, "i", 18); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CoreCardSnippetComponent_li_13_ng_template_3_span_6_Template, 2, 0, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "code", 15); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10, "\n "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r20.copyCodeStatus); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r20.copyCodeStatus); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("highlight", ctx_r20.snippetCode.json)("languages", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](4, _c3)); } } function CoreCardSnippetComponent_li_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 9)(1, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "JSON"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CoreCardSnippetComponent_li_13_ng_template_3_Template, 11, 5, "ng-template", 11); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "json"); } } const _c4 = [[["", 8, "card-title"]], [["", 8, "card-body"]], "*"]; const _c5 = [".card-title", ".card-body", "*"]; class CoreCardSnippetComponent { // public copyCodeStatus = false; // private _defaultSnippetCode = { isCollapsed: true // default collapsed is true }; snippetCode; constructor() {} // Public Methods // ----------------------------------------------------------------------------------------------------- /** * copyCode * * @param code */ copyCode(code) { const selectBox = document.createElement('textarea'); selectBox.style.position = 'fixed'; selectBox.value = code; document.body.appendChild(selectBox); selectBox.focus(); selectBox.select(); document.execCommand('copy'); document.body.removeChild(selectBox); setTimeout(() => { this.copyCodeStatus = false; }, 500); this.copyCodeStatus = true; } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // concatenate default properties with passed properties this.snippetCode = { ...this._defaultSnippetCode, ...this.snippetCode }; } static ɵfac = function CoreCardSnippetComponent_Factory(t) { return new (t || CoreCardSnippetComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CoreCardSnippetComponent, selectors: [["core-card-snippet"]], inputs: { snippetCode: "snippetCode" }, ngContentSelectors: _c5, decls: 15, vars: 8, consts: [[1, "card"], [1, "card-header"], [1, "code-icon", 3, "click"], [3, "ngbCollapse"], [1, "card-body", "pt-0"], ["ngbNav", "", 1, "nav-tabs", 3, "activeId", "activeIdChange"], ["nav", "ngbNav"], [3, "ngbNavItem", 4, "ngIf"], [1, "mt-2", 3, "ngbNavOutlet"], [3, "ngbNavItem"], ["ngbNavLink", ""], ["ngbNavContent", ""], [1, "code-toggle"], ["class", "feather icon-copy font-medium-2 cursor-pointer text-white p-1", 3, "click", 4, "ngIf"], ["class", "text-white text-copied mr-1 badge badge-secondary", 4, "ngIf"], [3, "highlight", "languages"], [1, "feather", "icon-copy", "font-medium-2", "cursor-pointer", "text-white", "p-1", 3, "click"], [1, "text-white", "text-copied", "mr-1", "badge", "badge-secondary"], ["class", "feather icon-copy font-medium-2 cursor-pointer text-white float-right p-1", 3, "click", 4, "ngIf"], ["class", "text-white float-right mr-1 badge badge-secondary", 4, "ngIf"], [1, "feather", "icon-copy", "font-medium-2", "cursor-pointer", "text-white", "float-right", "p-1", 3, "click"], [1, "text-white", "float-right", "mr-1", "badge", "badge-secondary"], [1, "mb-1", "ml-50"]], template: function CoreCardSnippetComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c4); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "i", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CoreCardSnippetComponent_Template_i_click_3_listener() { return ctx.snippetCode.isCollapsed = !ctx.snippetCode.isCollapsed; }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](4, 1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](5, 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 3)(7, "div", 4)(8, "ul", 5, 6); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("activeIdChange", function CoreCardSnippetComponent_Template_ul_activeIdChange_8_listener($event) { return ctx.snippetCode.active = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, CoreCardSnippetComponent_li_10_Template, 4, 1, "li", 7); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, CoreCardSnippetComponent_li_11_Template, 4, 1, "li", 7); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, CoreCardSnippetComponent_li_12_Template, 4, 1, "li", 7); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, CoreCardSnippetComponent_li_13_Template, 4, 1, "li", 7); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](14, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()(); } if (rf & 2) { const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](9); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("aria-expanded", !ctx.snippetCode.isCollapsed); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbCollapse", ctx.snippetCode.isCollapsed); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("activeId", ctx.snippetCode.active); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.snippetCode.html); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.snippetCode.ts); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.snippetCode.scss); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.snippetCode.json); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavOutlet", _r0); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__.NgbCollapse, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__.NgbNavContent, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__.NgbNav, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__.NgbNavItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__.NgbNavLink, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__.NgbNavOutlet, ngx_highlightjs__WEBPACK_IMPORTED_MODULE_3__.Highlight], styles: [".code-icon[_ngcontent-%COMP%] {\n font: normal normal normal 14px/1 FontAwesome;\n display: inline-block;\n font-weight: 700 !important;\n cursor: pointer;\n}\n.code-icon[_ngcontent-%COMP%]:before {\n content: \"\\f121\";\n}\n.code-toggle[_ngcontent-%COMP%] {\n transition: transform 0.35s, opacity 0.35s, max-height 0.4s ease-out;\n position: relative;\n}\n.code-toggle.collapse[_ngcontent-%COMP%] {\n opacity: 0;\n max-height: 0;\n transform: translateY(100%);\n}\n.code-toggle.collapse.show[_ngcontent-%COMP%] {\n opacity: 1;\n max-height: 600px;\n transform: translateY(0);\n}\n.code-toggle.collapse[_ngcontent-%COMP%]:not(.show) {\n display: block;\n}\n.code-toggle[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n max-height: 350px;\n overflow: auto;\n white-space: nowrap;\n margin: 0;\n}\n.code-toggle[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] code[_ngcontent-%COMP%] {\n white-space: pre;\n overflow: visible;\n padding: 2rem 0.5em;\n}\n.code-toggle[_ngcontent-%COMP%] .icon-copy[_ngcontent-%COMP%] {\n position: absolute;\n right: 7px;\n}\n.code-toggle[_ngcontent-%COMP%] .text-copied[_ngcontent-%COMP%] {\n position: absolute;\n right: 7px;\n top: 5px;\n}"] }); } /***/ }), /***/ 76826: /*!******************************************************************!*\ !*** ./src/@core/components/card-snippet/card-snippet.module.ts ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CardSnippetModule": () => (/* binding */ CardSnippetModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var ngx_highlightjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ngx-highlightjs */ 42756); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var _core_components_card_snippet_card_snippet_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/card-snippet/card-snippet.component */ 3090); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); class CardSnippetModule { static ɵfac = function CardSnippetModule_Factory(t) { return new (t || CardSnippetModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({ type: CardSnippetModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({ providers: [{ provide: ngx_highlightjs__WEBPACK_IMPORTED_MODULE_3__.HIGHLIGHT_OPTIONS, useValue: { fullLibraryLoader: () => __webpack_require__.e(/*! import() */ 376).then(__webpack_require__.t.bind(__webpack_require__, /*! highlight.js */ 82376, 23)) } }], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__.NgbModule, ngx_highlightjs__WEBPACK_IMPORTED_MODULE_3__.HighlightModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](CardSnippetModule, { declarations: [_core_components_card_snippet_card_snippet_component__WEBPACK_IMPORTED_MODULE_1__.CoreCardSnippetComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__.NgbModule, ngx_highlightjs__WEBPACK_IMPORTED_MODULE_3__.HighlightModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule], exports: [_core_components_card_snippet_card_snippet_component__WEBPACK_IMPORTED_MODULE_1__.CoreCardSnippetComponent] }); })(); /***/ }), /***/ 82016: /*!*********************************************************************************!*\ !*** ./src/@core/components/core-card/core-block-ui/core-block-ui.component.ts ***! \*********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreBlockUiComponent": () => (/* binding */ CoreBlockUiComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class CoreBlockUiComponent { constructor() {} static ɵfac = function CoreBlockUiComponent_Factory(t) { return new (t || CoreBlockUiComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CoreBlockUiComponent, selectors: [["core-block-ui"]], decls: 4, vars: 0, consts: [[1, "block-ui-template", "text-center"], ["role", "status", 1, "spinner-border", "text-light"], [1, "sr-only"]], template: function CoreBlockUiComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "span", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, "Loading..."); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()(); } }, styles: [".block-ui-wrapper {\n background: rgba(34, 41, 47, 0.5) !important;\n opacity: 0;\n display: block !important;\n visibility: hidden;\n transition: all 0.1s linear;\n}\n.block-ui-wrapper .block-ui-template {\n top: 50% !important;\n text-align: center;\n color: #fff !important;\n}\n.block-ui-wrapper .block-ui-spinner {\n top: 50% !important;\n}\n.block-ui-wrapper .block-ui-spinner .loader {\n font-size: 3px;\n}\n.block-ui-wrapper.active {\n opacity: 1;\n transition: all 0.1s linear;\n visibility: visible;\n}"], encapsulation: 2 }); } /***/ }), /***/ 92997: /*!***************************************************************!*\ !*** ./src/@core/components/core-card/core-card.component.ts ***! \***************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreCardComponent": () => (/* binding */ CoreCardComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_components_core_card_core_block_ui_core_block_ui_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/components/core-card/core-block-ui/core-block-ui.component */ 82016); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); const _c0 = ["coreCard"]; const _c1 = ["cardHeader"]; const _c2 = function (a0) { return { rotate: a0 }; }; function CoreCardComponent_div_0_li_7_Template(rf, ctx) { if (rf & 1) { const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 11); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function CoreCardComponent_div_0_li_7_Template_li_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r13); const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r12.collapse()); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 12); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "i", 13); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](1, _c2, ctx_r3.onclickEvent.collapseStatus)); } } function CoreCardComponent_div_0_li_8_Template(rf, ctx) { if (rf & 1) { const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 11); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function CoreCardComponent_div_0_li_8_Template_li_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r15); const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r14.expand()); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "i", 15); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", ctx_r4.onclickEvent.expandStatus ? "icon-minimize" : "icon-maximize"); } } function CoreCardComponent_div_0_li_9_Template(rf, ctx) { if (rf & 1) { const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 11); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function CoreCardComponent_div_0_li_9_Template_li_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r17); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r16.reload()); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 16); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "i", 17); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); } } function CoreCardComponent_div_0_li_10_Template(rf, ctx) { if (rf & 1) { const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 11); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function CoreCardComponent_div_0_li_10_Template_li_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r19); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r18.close()); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 18); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "i", 19); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); } } function CoreCardComponent_div_0_div_11_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0); } } function CoreCardComponent_div_0_div_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, CoreCardComponent_div_0_div_11_ng_container_1_Template, 1, 0, "ng-container", 21); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](15); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbCollapse", ctx_r7.onclickEvent.collapseStatus); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r10); } } function CoreCardComponent_div_0_ng_template_12_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0); } } function CoreCardComponent_div_0_ng_template_12_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CoreCardComponent_div_0_ng_template_12_ng_container_0_Template, 1, 0, "ng-container", 21); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](15); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r10); } } function CoreCardComponent_div_0_ng_template_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojection"](0, 1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojection"](1, 2); } } const _c3 = function (a0) { return { "card-fullscreen": a0 }; }; function CoreCardComponent_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 1, 2)(2, "div", 3, 4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojection"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "div", 5)(6, "ul", 6); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, CoreCardComponent_div_0_li_7_Template, 3, 3, "li", 7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, CoreCardComponent_div_0_li_8_Template, 3, 1, "li", 7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, CoreCardComponent_div_0_li_9_Template, 3, 0, "li", 7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, CoreCardComponent_div_0_li_10_Template, 3, 0, "li", 7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, CoreCardComponent_div_0_div_11_Template, 2, 2, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](12, CoreCardComponent_div_0_ng_template_12_Template, 1, 1, "ng-template", null, 9, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](14, CoreCardComponent_div_0_ng_template_14_Template, 2, 0, "ng-template", null, 10, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } if (rf & 2) { const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](13); const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](7, _c3, ctx_r0.onclickEvent.expandStatus)); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.actionsView.collapse); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.actionsView.expand); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.actionsView.reload); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.actionsView.close); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.actionsView.collapse)("ngIfElse", _r8); } } const _c4 = [[["", 8, "card-title"]], [["", 8, "card-body"]], "*"]; const _c5 = [".card-title", ".card-body", "*"]; class CoreCardComponent { blockUIService; // public // Generate random string assign to specific core-card to only block that specific card coreCardId = Math.random().toString(36).substring(2); // To pass core-block-ui component values to _CoreBlockUiComponent variable _CoreBlockUiComponent = _core_components_core_card_core_block_ui_core_block_ui_component__WEBPACK_IMPORTED_MODULE_0__.CoreBlockUiComponent; // default status before click event onclickEvent = { collapseStatus: false, expandStatus: false, reloadStatus: false, closeStatus: false }; // default action-views actionsView = { collapse: false, expand: false, reload: false, close: false }; actions; isReload = false; reloadTime = 2500; events; onKeydownHandler(event) { // on press of esc card will return to normal from full screen if (this.onclickEvent.expandStatus) { this.onclickEvent.expandStatus = false; } } // private coreCard; cardHeader; /** * Constructor * * @param {BlockUIService} blockUIService */ constructor(blockUIService) { this.blockUIService = blockUIService; this.events = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * ng On Init */ ngOnInit() { // show collapse icon if actions includes 'collapse' if (this.actions.includes('collapse')) { this.actionsView.collapse = true; } // show expand icon if actions includes 'expand' if (this.actions.includes('expand')) { this.actionsView.expand = true; } // show reload icon if actions includes 'reload' if (this.actions.includes('reload')) { this.actionsView.reload = true; } // show close icon if actions includes 'close' if (this.actions.includes('close')) { this.actionsView.close = true; } } /** * * @param changes * * ng On Changes */ ngOnChanges(changes) { if (changes.isReload?.currentValue === true) { this.events.emit('reload'); this.blockUIService.start(this.coreCardId); } else if (changes.isReload?.currentValue === false) { this.blockUIService.stop(this.coreCardId); } } // Public Methods // ----------------------------------------------------------------------------------------------------- /** * Collapse */ collapse() { this.events.emit('collapse'); const cardHeaderEl = this.cardHeader.nativeElement; this.onclickEvent.collapseStatus = !this.onclickEvent.collapseStatus; if (this.onclickEvent.collapseStatus) { setTimeout(() => { cardHeaderEl.classList.add('pb-2'); }, 350); } else { cardHeaderEl.classList.remove('pb-2'); } } /** * Expand */ expand() { this.events.emit('expand'); this.onclickEvent.expandStatus = !this.onclickEvent.expandStatus; } /** * Close */ close() { this.events.emit('close'); this.coreCard.nativeElement.remove(); } /** * Reload */ reload() { this.isReload = true; this.events.emit('reload'); this.blockUIService.start(this.coreCardId); // block-ui timeout setTimeout(() => { this.blockUIService.stop(this.coreCardId); this.isReload = false; }, this.reloadTime); } static ɵfac = function CoreCardComponent_Factory(t) { return new (t || CoreCardComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](ng_block_ui__WEBPACK_IMPORTED_MODULE_2__.BlockUIService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: CoreCardComponent, selectors: [["core-card"]], viewQuery: function CoreCardComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_c0, 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_c1, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.coreCard = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.cardHeader = _t.first); } }, hostBindings: function CoreCardComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("keydown.escape", function CoreCardComponent_keydown_escape_HostBindingHandler($event) { return ctx.onKeydownHandler($event); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresolveDocument"]); } }, inputs: { actions: "actions", isReload: "isReload", reloadTime: "reloadTime" }, outputs: { events: "events" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]], ngContentSelectors: _c5, decls: 1, vars: 2, consts: [["class", "card", 3, "ngClass", 4, "blockUI", "blockUITemplate"], [1, "card", 3, "ngClass"], ["coreCard", ""], [1, "card-header"], ["cardHeader", ""], [1, "heading-elements"], [1, "list-inline", "mb-0"], [3, "click", 4, "ngIf"], ["class", "card-content", 3, "ngbCollapse", 4, "ngIf", "ngIfElse"], ["noCollapse", ""], ["cardBodyOutlet", ""], [3, "click"], ["data-action", "collapse", 3, "ngClass"], [1, "feather", "icon-chevron-down"], ["data-action", "expand"], [1, "feather", 3, "ngClass"], ["data-action", "reload"], [1, "feather", "icon-rotate-cw"], ["data-action", "close"], [1, "feather", "icon-x"], [1, "card-content", 3, "ngbCollapse"], [4, "ngTemplateOutlet"]], template: function CoreCardComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojectionDef"](_c4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CoreCardComponent_div_0_Template, 16, 9, "div", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("blockUI", ctx.coreCardId)("blockUITemplate", ctx._CoreBlockUiComponent); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_3__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_3__.NgTemplateOutlet, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__.NgbCollapse, ng_block_ui__WEBPACK_IMPORTED_MODULE_2__["ɵf"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__.DefaultClassDirective], encapsulation: 2 }); } /***/ }), /***/ 4651: /*!************************************************************!*\ !*** ./src/@core/components/core-card/core-card.module.ts ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreCardModule": () => (/* binding */ CoreCardModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var _core_components_core_card_core_card_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-card/core-card.component */ 92997); /* harmony import */ var _core_components_core_card_core_block_ui_core_block_ui_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-card/core-block-ui/core-block-ui.component */ 82016); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); class CoreCardModule { static ɵfac = function CoreCardModule_Factory(t) { return new (t || CoreCardModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: CoreCardModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__.NgbModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_6__.BlockUIModule.forRoot({ template: _core_components_core_card_core_block_ui_core_block_ui_component__WEBPACK_IMPORTED_MODULE_2__.CoreBlockUiComponent }), _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](CoreCardModule, { declarations: [_core_components_core_card_core_card_component__WEBPACK_IMPORTED_MODULE_1__.CoreCardComponent, _core_components_core_card_core_block_ui_core_block_ui_component__WEBPACK_IMPORTED_MODULE_2__.CoreBlockUiComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__.NgbModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_6__.BlockUIModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule], exports: [_core_components_core_card_core_card_component__WEBPACK_IMPORTED_MODULE_1__.CoreCardComponent] }); })(); /***/ }), /***/ 34505: /*!***************************************************************!*\ !*** ./src/@core/components/core-menu/core-menu.component.ts ***! \***************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuComponent": () => (/* binding */ CoreMenuComponent) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/components/core-menu/core-menu.service */ 54278); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_components_core_menu_vertical_section_section_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-menu/vertical/section/section.component */ 9380); /* harmony import */ var _core_components_core_menu_vertical_item_item_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-menu/vertical/item/item.component */ 86365); /* harmony import */ var _core_components_core_menu_vertical_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-menu/vertical/collapsible/collapsible.component */ 96315); /* harmony import */ var _core_components_core_menu_horizontal_item_item_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/components/core-menu/horizontal/item/item.component */ 17023); /* harmony import */ var _core_components_core_menu_horizontal_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/components/core-menu/horizontal/collapsible/collapsible.component */ 42592); const _c0 = ["core-menu", ""]; function CoreMenuComponent_ng_container_0_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "li", 5); } if (rf & 2) { const item_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("item", item_r3); } } const _c1 = function (a0) { return { disabled: a0 }; }; const _c2 = function (a0) { return { exact: a0 }; }; const _c3 = function () { return []; }; const _c4 = function (a0) { return [a0]; }; function CoreMenuComponent_ng_container_0_ng_container_1_ng_container_2_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "li", 6); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const item_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("item", item_r10)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](5, _c1, item_r10.disabled === true))("routerLinkActive", !item_r10.openInNewTab ? "active" : "")("routerLinkActiveOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](7, _c2, item_r10.exactMatch || false)); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("routerLink", item_r10.openInNewTab ? _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](9, _c3) : _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](10, _c4, item_r10.url)); } } function CoreMenuComponent_ng_container_0_ng_container_1_ng_container_2_ng_container_1_li_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "li", 8); } if (rf & 2) { const item_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("item", item_r10); } } function CoreMenuComponent_ng_container_0_ng_container_1_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, CoreMenuComponent_ng_container_0_ng_container_1_ng_container_2_ng_container_1_li_1_Template, 2, 12, "li", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, CoreMenuComponent_ng_container_0_ng_container_1_ng_container_2_ng_container_1_li_2_Template, 1, 1, "li", 4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"](); } if (rf & 2) { const item_r10 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r10.type == "item"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r10.type == "collapsible"); } } function CoreMenuComponent_ng_container_0_ng_container_1_ng_container_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, CoreMenuComponent_ng_container_0_ng_container_1_ng_container_2_ng_container_1_Template, 3, 2, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"](); } if (rf & 2) { const item_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", item_r3.children); } } function CoreMenuComponent_ng_container_0_ng_container_1_li_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "li", 6); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const item_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("item", item_r3)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](5, _c1, item_r3.disabled === true))("routerLinkActive", !item_r3.openInNewTab ? "active" : "")("routerLinkActiveOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](7, _c2, item_r3.exactMatch || false)); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("routerLink", item_r3.openInNewTab ? _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](9, _c3) : _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](10, _c4, item_r3.url)); } } function CoreMenuComponent_ng_container_0_ng_container_1_li_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "li", 8); } if (rf & 2) { const item_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("item", item_r3); } } function CoreMenuComponent_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, CoreMenuComponent_ng_container_0_ng_container_1_li_1_Template, 1, 1, "li", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, CoreMenuComponent_ng_container_0_ng_container_1_ng_container_2_Template, 2, 1, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](3, CoreMenuComponent_ng_container_0_ng_container_1_li_3_Template, 2, 12, "li", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](4, CoreMenuComponent_ng_container_0_ng_container_1_li_4_Template, 1, 1, "li", 4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"](); } if (rf & 2) { const item_r3 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r3.type == "section"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r3.type == "section"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r3.type == "item"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r3.type == "collapsible"); } } function CoreMenuComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, CoreMenuComponent_ng_container_0_ng_container_1_Template, 5, 4, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r0.menu); } } function CoreMenuComponent_ng_container_1_ng_container_1_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "li", 12); } if (rf & 2) { const item_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("item", item_r19); } } function CoreMenuComponent_ng_container_1_ng_container_1_li_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "li", 13); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const item_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("item", item_r19)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](5, _c1, item_r19.disabled === true))("routerLinkActive", !item_r19.openInNewTab ? "active" : "")("routerLinkActiveOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](7, _c2, item_r19.exactMatch || false)); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("routerLink", item_r19.openInNewTab ? _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](9, _c3) : _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](10, _c4, item_r19.url)); } } function CoreMenuComponent_ng_container_1_ng_container_1_li_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "li", 14); } if (rf & 2) { const item_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("item", item_r19); } } function CoreMenuComponent_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, CoreMenuComponent_ng_container_1_ng_container_1_li_1_Template, 1, 1, "li", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, CoreMenuComponent_ng_container_1_ng_container_1_li_2_Template, 2, 12, "li", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](3, CoreMenuComponent_ng_container_1_ng_container_1_li_3_Template, 1, 1, "li", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"](); } if (rf & 2) { const item_r19 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r19.type == "section"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r19.type == "item"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", item_r19.type == "collapsible"); } } function CoreMenuComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, CoreMenuComponent_ng_container_1_ng_container_1_Template, 4, 3, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r1.menu); } } class CoreMenuComponent { _changeDetectorRef; _coreMenuService; currentUser; layout = 'vertical'; menu; // Private _unsubscribeAll; /** * * @param {ChangeDetectorRef} _changeDetectorRef * @param {CoreMenuService} _coreMenuService */ constructor(_changeDetectorRef, _coreMenuService) { this._changeDetectorRef = _changeDetectorRef; this._coreMenuService = _coreMenuService; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_7__.Subject(); } // Lifecycle hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // Set the menu either from the input or from the service this.menu = this.menu || this._coreMenuService.getCurrentMenu(); // Subscribe to the current menu changes this._coreMenuService.onMenuChanged.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.takeUntil)(this._unsubscribeAll)).subscribe(() => { // Load menu this.menu = this._coreMenuService.getCurrentMenu(); this._changeDetectorRef.markForCheck(); }); } static ɵfac = function CoreMenuComponent_Factory(t) { return new (t || CoreMenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_0__.CoreMenuService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: CoreMenuComponent, selectors: [["", "core-menu", ""]], inputs: { layout: "layout", menu: "menu" }, attrs: _c0, decls: 2, vars: 2, consts: [[4, "ngIf"], [4, "ngFor", "ngForOf"], ["core-menu-vertical-section", "", "class", "navigation-header", 3, "item", 4, "ngIf"], ["core-menu-vertical-item", "", 3, "item", "ngClass", "routerLinkActive", "routerLinkActiveOptions", 4, "ngIf"], ["core-menu-vertical-collapsible", "", "class", "nav-item has-sub", 3, "item", 4, "ngIf"], ["core-menu-vertical-section", "", 1, "navigation-header", 3, "item"], ["core-menu-vertical-item", "", 3, "item", "ngClass", "routerLinkActive", "routerLinkActiveOptions"], [1, "d-none", 3, "routerLink"], ["core-menu-vertical-collapsible", "", 1, "nav-item", "has-sub", 3, "item"], ["core-menu-horizontal-collapsible", "", "class", "dropdown nav-item", 3, "item", 4, "ngIf"], ["core-menu-horizontal-item", "", 3, "item", "ngClass", "routerLinkActive", "routerLinkActiveOptions", 4, "ngIf"], ["core-menu-horizontal-collapsible", "", "class", "dropdown dropdown-submenu", 3, "item", 4, "ngIf"], ["core-menu-horizontal-collapsible", "", 1, "dropdown", "nav-item", 3, "item"], ["core-menu-horizontal-item", "", 3, "item", "ngClass", "routerLinkActive", "routerLinkActiveOptions"], ["core-menu-horizontal-collapsible", "", 1, "dropdown", "dropdown-submenu", 3, "item"]], template: function CoreMenuComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, CoreMenuComponent_ng_container_0_Template, 2, 1, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, CoreMenuComponent_ng_container_1_Template, 2, 1, "ng-container", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.layout === "vertical"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.layout === "horizontal"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_9__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgIf, _angular_router__WEBPACK_IMPORTED_MODULE_10__.RouterLink, _angular_router__WEBPACK_IMPORTED_MODULE_10__.RouterLinkActive, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_11__.DefaultClassDirective, _core_components_core_menu_vertical_section_section_component__WEBPACK_IMPORTED_MODULE_1__.CoreMenuVerticalSectionComponent, _core_components_core_menu_vertical_item_item_component__WEBPACK_IMPORTED_MODULE_2__.CoreMenuVerticalItemComponent, _core_components_core_menu_vertical_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_3__.CoreMenuVerticalCollapsibleComponent, _core_components_core_menu_horizontal_item_item_component__WEBPACK_IMPORTED_MODULE_4__.CoreMenuHorizontalItemComponent, _core_components_core_menu_horizontal_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_5__.CoreMenuHorizontalCollapsibleComponent], styles: [".vertical-layout:not(.vertical-overlay-menu) .main-menu:not(.expanded) .nav-item.has-sub.open .menu-content {\n display: none;\n}\n\n.nav-item.disabled {\n outline: none;\n}"], encapsulation: 2, changeDetection: 0 }); } /***/ }), /***/ 64017: /*!************************************************************!*\ !*** ./src/@core/components/core-menu/core-menu.module.ts ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuModule": () => (/* binding */ CoreMenuModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var _core_components_core_menu_core_menu_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-menu/core-menu.component */ 34505); /* harmony import */ var _core_components_core_menu_vertical_section_section_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-menu/vertical/section/section.component */ 9380); /* harmony import */ var _core_components_core_menu_vertical_item_item_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-menu/vertical/item/item.component */ 86365); /* harmony import */ var _core_components_core_menu_vertical_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/components/core-menu/vertical/collapsible/collapsible.component */ 96315); /* harmony import */ var _core_components_core_menu_horizontal_item_item_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/components/core-menu/horizontal/item/item.component */ 17023); /* harmony import */ var _core_components_core_menu_horizontal_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/components/core-menu/horizontal/collapsible/collapsible.component */ 42592); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 94650); _core_components_core_menu_vertical_section_section_component__WEBPACK_IMPORTED_MODULE_2__.CoreMenuVerticalSectionComponent; _core_components_core_menu_vertical_item_item_component__WEBPACK_IMPORTED_MODULE_3__.CoreMenuVerticalItemComponent; _core_components_core_menu_vertical_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_4__.CoreMenuVerticalCollapsibleComponent; class CoreMenuModule { static ɵfac = function CoreMenuModule_Factory(t) { return new (t || CoreMenuModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({ type: CoreMenuModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_9__.RouterModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__.TranslateModule.forChild(), _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](CoreMenuModule, { declarations: [_core_components_core_menu_core_menu_component__WEBPACK_IMPORTED_MODULE_1__.CoreMenuComponent, _core_components_core_menu_vertical_section_section_component__WEBPACK_IMPORTED_MODULE_2__.CoreMenuVerticalSectionComponent, _core_components_core_menu_vertical_item_item_component__WEBPACK_IMPORTED_MODULE_3__.CoreMenuVerticalItemComponent, _core_components_core_menu_vertical_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_4__.CoreMenuVerticalCollapsibleComponent, _core_components_core_menu_horizontal_item_item_component__WEBPACK_IMPORTED_MODULE_5__.CoreMenuHorizontalItemComponent, _core_components_core_menu_horizontal_collapsible_collapsible_component__WEBPACK_IMPORTED_MODULE_6__.CoreMenuHorizontalCollapsibleComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_9__.RouterModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__.TranslateModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule], exports: [_core_components_core_menu_core_menu_component__WEBPACK_IMPORTED_MODULE_1__.CoreMenuComponent] }); })(); /***/ }), /***/ 54278: /*!*************************************************************!*\ !*** ./src/@core/components/core-menu/core-menu.service.ts ***! \*************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuService": () => (/* binding */ CoreMenuService) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 591); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 34793); class CoreMenuService { _router; onItemCollapsed; onItemCollapseToggled; // Private _onMenuRegistered; _onMenuUnregistered; _onMenuChanged; _currentMenuKey; _registry = {}; /** * Constructor * * @param {Router} _router */ constructor(_router) { this._router = _router; // Set defaults this.onItemCollapsed = new rxjs__WEBPACK_IMPORTED_MODULE_0__.Subject(); this.onItemCollapseToggled = new rxjs__WEBPACK_IMPORTED_MODULE_0__.Subject(); // Set private defaults this._currentMenuKey = null; this._onMenuRegistered = new rxjs__WEBPACK_IMPORTED_MODULE_1__.BehaviorSubject(null); this._onMenuUnregistered = new rxjs__WEBPACK_IMPORTED_MODULE_1__.BehaviorSubject(null); this._onMenuChanged = new rxjs__WEBPACK_IMPORTED_MODULE_1__.BehaviorSubject(null); } // Accessors // ----------------------------------------------------------------------------------------------------- /** * onMenuRegistered * * @returns {Observable} */ get onMenuRegistered() { return this._onMenuRegistered.asObservable(); } /** * onMenuUnregistered * * @returns {Observable} */ get onMenuUnregistered() { return this._onMenuUnregistered.asObservable(); } /** * onMenuChanged * * @returns {Observable} */ get onMenuChanged() { return this._onMenuChanged.asObservable(); } // Public methods // ----------------------------------------------------------------------------------------------------- /** * Register the provided menu with the provided key * * @param key * @param menu */ register(key, menu) { // Confirm if the key already used if (this._registry[key]) { console.error(`Menu with the key '${key}' already exists. Either unregister it first or use a unique key.`); return; } // Add to registry this._registry[key] = menu; // Notify subject this._onMenuRegistered.next([key, menu]); } /** * Unregister the menu from the registry * * @param key */ unregister(key) { // Confirm if the menu exists if (!this._registry[key]) { console.warn(`Menu with the key '${key}' doesn't exist in the registry.`); } // Unregister sidebar delete this._registry[key]; // Notify subject this._onMenuUnregistered.next(key); } /** * Get menu from registry by key * * @param key * @returns {any} */ getMenu(key) { // Confirm if the menu exists if (!this._registry[key]) { console.warn(`Menu with the key '${key}' doesn't exist in the registry.`); return; } // Return sidebar return this._registry[key]; } /** * Get current menu * * @returns {any} */ getCurrentMenu() { if (!this._currentMenuKey) { console.warn(`The current menu is not set.`); return; } return this.getMenu(this._currentMenuKey); } /** * Set menu with the key as the current menu * * @param key */ setCurrentMenu(key) { // Confirm if the sidebar exists if (!this._registry[key]) { console.warn(`Menu with the key '${key}' doesn't exist in the registry.`); return; } // Set current menu key this._currentMenuKey = key; // Notify subject this._onMenuChanged.next(key); } static ɵfac = function CoreMenuService_Factory(t) { return new (t || CoreMenuService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_3__.Router)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ token: CoreMenuService, factory: CoreMenuService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 42592: /*!****************************************************************************************!*\ !*** ./src/@core/components/core-menu/horizontal/collapsible/collapsible.component.ts ***! \****************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuHorizontalCollapsibleComponent": () => (/* binding */ CoreMenuHorizontalCollapsibleComponent) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 92198); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-menu/core-menu.service */ 54278); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _core_components_core_menu_horizontal_item_item_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-menu/horizontal/item/item.component */ 17023); const _c0 = ["core-menu-horizontal-collapsible", ""]; function CoreMenuHorizontalCollapsibleComponent_ng_container_0_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainer"](0); } } function CoreMenuHorizontalCollapsibleComponent_ng_container_0_a_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "a", 5); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, CoreMenuHorizontalCollapsibleComponent_ng_container_0_a_1_ng_container_1_Template, 1, 0, "ng-container", 6); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](); const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵreference"](3); const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngClass", ctx_r1.item.classes)("ngClass", ctx_r1.item.type == "section" ? "dropdown-toggle nav-link" : "dropdown-item dropdown-toggle"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngTemplateOutlet", _r2); } } function CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_template_2_span_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "span", 9); } if (rf & 2) { const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("data-feather", ctx_r6.item.icon); } } function CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](0, CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_template_2_span_0_Template, 1, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](1, "span", 8); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", ctx_r3.item.icon); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("translate", ctx_r3.item.translate); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate"](ctx_r3.item.title); } } const _c1 = function (a0) { return { disabled: a0 }; }; const _c2 = function (a0) { return { exact: a0 }; }; const _c3 = function () { return []; }; const _c4 = function (a0) { return [a0]; }; function CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_container_5_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "li", 12); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](1, "span", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } if (rf & 2) { const item_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("item", item_r7)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpureFunction1"](5, _c1, item_r7.disabled === true))("routerLinkActive", !item_r7.openInNewTab ? "active" : "")("routerLinkActiveOptions", _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpureFunction1"](7, _c2, item_r7.exactMatch || false)); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("routerLink", item_r7.openInNewTab ? _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpureFunction0"](9, _c3) : _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpureFunction1"](10, _c4, item_r7.url)); } } function CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_container_5_li_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "li", 14); } if (rf & 2) { const item_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("item", item_r7); } } function CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_container_5_li_1_Template, 2, 12, "li", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](2, CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_container_5_li_2_Template, 1, 1, "li", 11); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { const item_r7 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", item_r7.type == "item"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", item_r7.type == "collapsible"); } } const _c5 = function (a0) { return { show: a0 }; }; function CoreMenuHorizontalCollapsibleComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, CoreMenuHorizontalCollapsibleComponent_ng_container_0_a_1_Template, 2, 3, "a", 1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](2, CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_template_2_Template, 3, 3, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](4, "ul", 3); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](5, CoreMenuHorizontalCollapsibleComponent_ng_container_0_ng_container_5_Template, 3, 2, "ng-container", 4); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementContainerEnd"](); } if (rf & 2) { const 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.item.url); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵpureFunction1"](3, _c5, ctx_r0.isShow)); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngForOf", ctx_r0.item.children); } } class CoreMenuHorizontalCollapsibleComponent { el; _router; _coreConfigService; _coreMenuService; coreConfig; isShow = false; // Conditionally add the active classes if UrlInChildren isActive = false; item; // Private _unsubscribeAll; /** * Constructor * * @param {Router} _router * @param {CoreConfigService} _coreConfigService * @param {CoreMenuService} _coreMenuService */ constructor(el, _router, _coreConfigService, _coreMenuService) { this.el = el; this._router = _router; this._coreConfigService = _coreConfigService; this._coreMenuService = _coreMenuService; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Subject(); } // Lifecycle hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // Subscribe to config changes this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; }); // Subscribe to the current menu changes // Listen for router events and expand this._router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.filter)(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_8__.NavigationEnd), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.takeUntil)(this._unsubscribeAll)).subscribe(event => { // Confirm if the urlAfterRedirects can be found in one of the children of this item if (this.confirmUrlInChildren(this.item, event.urlAfterRedirects)) { this.isActive = true; } else { this.isActive = false; } }); // Check if the url can be found in one of the children of this item // Required for onInit case (i.e switching theme customizer menu layout) if (this.confirmUrlInChildren(this.item, this._router.url)) { this.isActive = true; } else { this.isActive = false; } } /** * On destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } // Public methods // ----------------------------------------------------------------------------------------------------- /** * Open */ show() { this.isShow = true; this.setSubMenuProp(); } /** * Close */ hide() { this.isShow = false; } /** * Set sub-menu properties based on screen size * */ setSubMenuProp() { setTimeout(() => { let nativeElement = this.el.nativeElement, nativeElementChildren = this.el.nativeElement.children[1]; // If element has sub menu if (nativeElement.classList.contains('dropdown-submenu')) { const innerHeight = window.innerHeight, dropdownTop = nativeElementChildren.getBoundingClientRect().top, dropdownLeft = nativeElementChildren.getBoundingClientRect().left, dropdownHeight = nativeElementChildren.scrollHeight, dropdownWidth = nativeElementChildren.scrollWidth; //Set sub-menu height if (innerHeight - dropdownTop - dropdownHeight - 28 < 1) { let maxHeight = innerHeight - dropdownTop - 25; nativeElementChildren.setAttribute('style', 'overflow-y: auto; overflow-x: hidden; max-height : ' + maxHeight + 'px'); } // Open sub-menu on left based on screen size (To avoid opn sub-menu outside of the screen) if (dropdownLeft + dropdownWidth - (window.innerWidth - 16) >= 0) { nativeElementChildren.parentElement.classList.add('openLeft'); } } }); } /** * Confirms if the provided url can be found in one of the given parent's children * * @param parent * @param url * @returns {boolean} */ confirmUrlInChildren(parent, url) { const children = parent.children; // Return false if parent don't have any children if (!children) { return false; } // Loop all the children for (const child of children) { // If children has child (Sub to sub item url) if (child.children) { // Call function again with child if (this.confirmUrlInChildren(child, url)) { return true; } } // If child.url is same as provided url if (child.url === url || url.includes(child.url)) { return true; } } return false; } static ɵfac = function CoreMenuHorizontalCollapsibleComponent_Factory(t) { return new (t || CoreMenuHorizontalCollapsibleComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_4__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_0__.CoreConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_1__.CoreMenuService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({ type: CoreMenuHorizontalCollapsibleComponent, selectors: [["", "core-menu-horizontal-collapsible", ""]], hostVars: 6, hostBindings: function CoreMenuHorizontalCollapsibleComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("mouseenter", function CoreMenuHorizontalCollapsibleComponent_mouseenter_HostBindingHandler() { return ctx.show(); })("mouseleave", function CoreMenuHorizontalCollapsibleComponent_mouseleave_HostBindingHandler() { return ctx.hide(); }); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵclassProp"]("active", ctx.isActive)("open", ctx.isActive)("sidebar-group-active", ctx.isActive); } }, inputs: { item: "item" }, attrs: _c0, decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "d-flex align-items-center", 3, "ngClass", 4, "ngIf"], ["itemContent", ""], [1, "dropdown-menu", 3, "ngClass"], [4, "ngFor", "ngForOf"], [1, "d-flex", "align-items-center", 3, "ngClass"], [4, "ngTemplateOutlet"], [3, "data-feather", 4, "ngIf"], [3, "translate"], [3, "data-feather"], ["core-menu-horizontal-item", "", 3, "item", "ngClass", "routerLinkActive", "routerLinkActiveOptions", 4, "ngIf"], ["core-menu-horizontal-collapsible", "", "class", "dropdown dropdown-submenu", 3, "item", 4, "ngIf"], ["core-menu-horizontal-item", "", 3, "item", "ngClass", "routerLinkActive", "routerLinkActiveOptions"], [1, "d-none", 3, "routerLink"], ["core-menu-horizontal-collapsible", "", 1, "dropdown", "dropdown-submenu", 3, "item"]], template: function CoreMenuHorizontalCollapsibleComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](0, CoreMenuHorizontalCollapsibleComponent_ng_container_0_Template, 6, 5, "ng-container", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !ctx.item.hidden); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_9__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgTemplateOutlet, _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLink, _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLinkActive, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__.TranslateDirective, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_11__.DefaultClassDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_2__.FeatherIconDirective, _core_components_core_menu_horizontal_item_item_component__WEBPACK_IMPORTED_MODULE_3__.CoreMenuHorizontalItemComponent, CoreMenuHorizontalCollapsibleComponent], encapsulation: 2 }); } /***/ }), /***/ 17023: /*!**************************************************************************!*\ !*** ./src/@core/components/core-menu/horizontal/item/item.component.ts ***! \**************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuHorizontalItemComponent": () => (/* binding */ CoreMenuHorizontalItemComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = ["core-menu-horizontal-item", ""]; function CoreMenuHorizontalItemComponent_ng_container_0_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0); } } const _c1 = function (a0) { return [a0]; }; function CoreMenuHorizontalItemComponent_ng_container_0_a_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, CoreMenuHorizontalItemComponent_ng_container_0_a_1_ng_container_1_Template, 1, 0, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4); const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", ctx_r1.item.classes)("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](4, _c1, ctx_r1.item.url))("target", ctx_r1.item.openInNewTab ? "_blank" : "_self"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r3); } } function CoreMenuHorizontalItemComponent_ng_container_0_a_2_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0); } } function CoreMenuHorizontalItemComponent_ng_container_0_a_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 6); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, CoreMenuHorizontalItemComponent_ng_container_0_a_2_ng_container_1_Template, 1, 0, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", ctx_r2.item.classes)("href", ctx_r2.item.url, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"])("target", ctx_r2.item.openInNewTab ? "_blank" : "_self"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r3); } } function CoreMenuHorizontalItemComponent_ng_container_0_ng_template_3_span_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "span", 9); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data-feather", ctx_r7.item.icon); } } function CoreMenuHorizontalItemComponent_ng_container_0_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CoreMenuHorizontalItemComponent_ng_container_0_ng_template_3_span_0_Template, 1, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 8); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r4.item.icon); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("translate", ctx_r4.item.translate); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r4.item.title); } } function CoreMenuHorizontalItemComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, CoreMenuHorizontalItemComponent_ng_container_0_a_1_Template, 2, 6, "a", 1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, CoreMenuHorizontalItemComponent_ng_container_0_a_2_Template, 2, 4, "a", 2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, CoreMenuHorizontalItemComponent_ng_container_0_ng_template_3_Template, 3, 3, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.item.url && !ctx_r0.item.externalUrl); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.item.url && ctx_r0.item.externalUrl); } } class CoreMenuHorizontalItemComponent { item; static ɵfac = function CoreMenuHorizontalItemComponent_Factory(t) { return new (t || CoreMenuHorizontalItemComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: CoreMenuHorizontalItemComponent, selectors: [["", "core-menu-horizontal-item", ""]], inputs: { item: "item" }, attrs: _c0, decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "dropdown-item d-flex align-items-center", 3, "ngClass", "routerLink", "target", 4, "ngIf"], ["class", "dropdown-item d-flex align-items-center", 3, "ngClass", "href", "target", 4, "ngIf"], ["itemContent", ""], [1, "dropdown-item", "d-flex", "align-items-center", 3, "ngClass", "routerLink", "target"], [4, "ngTemplateOutlet"], [1, "dropdown-item", "d-flex", "align-items-center", 3, "ngClass", "href", "target"], [3, "data-feather", 4, "ngIf"], [3, "translate"], [3, "data-feather"]], template: function CoreMenuHorizontalItemComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CoreMenuHorizontalItemComponent_ng_container_0_Template, 5, 2, "ng-container", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.item.hidden); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgTemplateOutlet, _angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterLinkWithHref, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__.TranslateDirective, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__.DefaultClassDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__.FeatherIconDirective], encapsulation: 2 }); } /***/ }), /***/ 96315: /*!**************************************************************************************!*\ !*** ./src/@core/components/core-menu/vertical/collapsible/collapsible.component.ts ***! \**************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuVerticalCollapsibleComponent": () => (/* binding */ CoreMenuVerticalCollapsibleComponent) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ 92198); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/components/core-menu/core-menu.service */ 54278); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _core_components_core_menu_vertical_item_item_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-menu/vertical/item/item.component */ 86365); const _c0 = ["core-menu-vertical-collapsible", ""]; function CoreMenuVerticalCollapsibleComponent_ng_container_0_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainer"](0); } } function CoreMenuVerticalCollapsibleComponent_ng_container_0_a_1_Template(rf, ctx) { if (rf & 1) { const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "a", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function CoreMenuVerticalCollapsibleComponent_ng_container_0_a_1_Template_a_click_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r7); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r6.toggleOpen($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, CoreMenuVerticalCollapsibleComponent_ng_container_0_a_1_ng_container_1_Template, 1, 0, "ng-container", 6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵreference"](3); const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngClass", ctx_r1.item.classes); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngTemplateOutlet", _r2); } } function CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_template_2_span_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](0, "span", 10); } if (rf & 2) { const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", ctx_r8.item.icon); } } function CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("translate", ctx_r9.item.badge.translate)("ngClass", ctx_r9.item.badge.classes); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", ctx_r9.item.badge.title, " "); } } function CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](0, CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_template_2_span_0_Template, 1, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "span", 8); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](3, CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_template_2_span_3_Template, 2, 3, "span", 9); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx_r3.item.icon); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("translate", ctx_r3.item.translate); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](ctx_r3.item.title); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx_r3.item.badge); } } const _c1 = function (a0) { return { disabled: a0 }; }; const _c2 = function (a0) { return { exact: a0 }; }; const _c3 = function () { return []; }; const _c4 = function (a0) { return [a0]; }; function CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_container_5_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 14); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "span", 15); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { const item_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("item", item_r10)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction1"](5, _c1, item_r10.disabled === true))("routerLinkActive", !item_r10.openInNewTab ? "active" : "")("routerLinkActiveOptions", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction1"](7, _c2, item_r10.exactMatch || false)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", item_r10.openInNewTab ? _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction0"](9, _c3) : _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction1"](10, _c4, item_r10.url)); } } function CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_container_5_li_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](0, "li", 16); } if (rf & 2) { const item_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("item", item_r10); } } function CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_container_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_container_5_li_1_Template, 2, 12, "li", 12); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](2, CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_container_5_li_2_Template, 1, 1, "li", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const item_r10 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", item_r10.type == "item"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", item_r10.type == "collapsible"); } } function CoreMenuVerticalCollapsibleComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, CoreMenuVerticalCollapsibleComponent_ng_container_0_a_1_Template, 2, 2, "a", 1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](2, CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_template_2_Template, 4, 4, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "ul", 3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](5, CoreMenuVerticalCollapsibleComponent_ng_container_0_ng_container_5_Template, 3, 2, "ng-container", 4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", !ctx_r0.item.url); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx_r0.item.children); } } class CoreMenuVerticalCollapsibleComponent { _router; _coreMenuService; _changeDetectorRef; item; isOpen = false; // Private _unsubscribeAll; /** * Constructor * * @param {Router} _router * @param {CoreMenuService} _coreMenuService * @param {ChangeDetectorRef} _changeDetectorRef */ constructor(_router, _coreMenuService, _changeDetectorRef) { this._router = _router; this._coreMenuService = _coreMenuService; this._changeDetectorRef = _changeDetectorRef; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_4__.Subject(); } // Lifecycle hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // Listen for router events and expand this._router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.filter)(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_6__.NavigationEnd), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.takeUntil)(this._unsubscribeAll)).subscribe(event => { // Confirm if the urlAfterRedirects can be found in one of the children of this item if (this.confirmUrlInChildren(this.item, event.urlAfterRedirects)) { this.expand(); } else { this.collapse(); } }); // Subscribe to the current menu changes // Listen for collapsing of any menu item this._coreMenuService.onItemCollapsed.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.takeUntil)(this._unsubscribeAll)).subscribe(clickedItem => { if (clickedItem && clickedItem.children) { // Check if the clicked item is one of the children of this item if (this.confirmItemInChildren(this.item, clickedItem)) { return; } // Check if the url can be found in one of the children of this item if (this.confirmUrlInChildren(this.item, this._router.url)) { return; } // If the clicked item is not this item, collapse... if (this.item !== clickedItem) { this.collapse(); } } }); // Check if the url can be found in one of the children of this item // Required for onInit case (i.e switching theme customizer menu layout) if (this.confirmUrlInChildren(this.item, this._router.url)) { this.expand(); } else { this.collapse(); } } /** * On destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } // Public methods // ----------------------------------------------------------------------------------------------------- /** * Toggle collapse * * @param e */ toggleOpen(e) { e.preventDefault(); this.isOpen = !this.isOpen; // Menu collapse toggled... this._coreMenuService.onItemCollapsed.next(this.item); this._coreMenuService.onItemCollapseToggled.next(); } /** * Expand the collapsible menu */ expand() { if (this.isOpen) { return; } this.isOpen = true; // Mark for check this._changeDetectorRef.markForCheck(); this._coreMenuService.onItemCollapseToggled.next(); } /** * Collapse the collapsible menu */ collapse() { if (!this.isOpen) { return; } this.isOpen = false; // Mark for check this._changeDetectorRef.markForCheck(); this._coreMenuService.onItemCollapseToggled.next(); } /** * Confirms if the provided url can be found in one of the given parent's children * * @param parent * @param url * @returns {boolean} */ confirmUrlInChildren(parent, url) { const children = parent.children; // Return false if parent don't have any children if (!children) { return false; } // Loop all the children for (const child of children) { // If children has child (Sub to sub item url) if (child.children) { // Call function again with child if (this.confirmUrlInChildren(child, url)) { return true; } } // If child.url is same as provided url if (child.url === url || url.includes(child.url)) { return true; } } return false; } /** * Check if the provided parent has the provided item in one of its children * * @param parent * @param item * @returns {boolean} */ confirmItemInChildren(parent, item) { const children = parent.children; // Return false if parent don't have any children if (!children) { return false; } // Return true parent has the provided item in one of its children if (children.indexOf(item) > -1) { return true; } for (const child of children) { if (child.children) { // Call function again with child (for sub to sub item) if (this.confirmItemInChildren(child, item)) { return true; } } } return false; } static ɵfac = function CoreMenuVerticalCollapsibleComponent_Factory(t) { return new (t || CoreMenuVerticalCollapsibleComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_0__.CoreMenuService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_3__.ChangeDetectorRef)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: CoreMenuVerticalCollapsibleComponent, selectors: [["", "core-menu-vertical-collapsible", ""]], hostVars: 2, hostBindings: function CoreMenuVerticalCollapsibleComponent_HostBindings(rf, ctx) { if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("open", ctx.isOpen); } }, inputs: { item: "item" }, attrs: _c0, decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "d-flex align-items-center", 3, "ngClass", "click", 4, "ngIf"], ["itemContent", ""], [1, "menu-content"], [4, "ngFor", "ngForOf"], [1, "d-flex", "align-items-center", 3, "ngClass", "click"], [4, "ngTemplateOutlet"], [3, "data-feather", 4, "ngIf"], [1, "menu-title", "text-truncate", 3, "translate"], ["class", "badge ml-auto mr-1", 3, "translate", "ngClass", 4, "ngIf"], [3, "data-feather"], [1, "badge", "ml-auto", "mr-1", 3, "translate", "ngClass"], ["core-menu-vertical-item", "", 3, "item", "ngClass", "routerLinkActive", "routerLinkActiveOptions", 4, "ngIf"], ["core-menu-vertical-collapsible", "", "class", "nav-item has-sub", 3, "item", 4, "ngIf"], ["core-menu-vertical-item", "", 3, "item", "ngClass", "routerLinkActive", "routerLinkActiveOptions"], [1, "d-none", 3, "routerLink"], ["core-menu-vertical-collapsible", "", 1, "nav-item", "has-sub", 3, "item"]], template: function CoreMenuVerticalCollapsibleComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](0, CoreMenuVerticalCollapsibleComponent_ng_container_0_Template, 6, 2, "ng-container", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", !ctx.item.hidden); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgTemplateOutlet, _angular_router__WEBPACK_IMPORTED_MODULE_6__.RouterLink, _angular_router__WEBPACK_IMPORTED_MODULE_6__.RouterLinkActive, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_9__.TranslateDirective, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_10__.DefaultClassDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__.FeatherIconDirective, _core_components_core_menu_vertical_item_item_component__WEBPACK_IMPORTED_MODULE_2__.CoreMenuVerticalItemComponent, CoreMenuVerticalCollapsibleComponent], encapsulation: 2 }); } /***/ }), /***/ 86365: /*!************************************************************************!*\ !*** ./src/@core/components/core-menu/vertical/item/item.component.ts ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuVerticalItemComponent": () => (/* binding */ CoreMenuVerticalItemComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = ["core-menu-vertical-item", ""]; function CoreMenuVerticalItemComponent_ng_container_0_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0); } } const _c1 = function (a0) { return [a0]; }; function CoreMenuVerticalItemComponent_ng_container_0_a_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, CoreMenuVerticalItemComponent_ng_container_0_a_1_ng_container_1_Template, 1, 0, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4); const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", ctx_r1.item.classes)("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](4, _c1, ctx_r1.item.url))("target", ctx_r1.item.openInNewTab ? "_blank" : "_self"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r3); } } function CoreMenuVerticalItemComponent_ng_container_0_a_2_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0); } } function CoreMenuVerticalItemComponent_ng_container_0_a_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "a", 6); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, CoreMenuVerticalItemComponent_ng_container_0_a_2_ng_container_1_Template, 1, 0, "ng-container", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", ctx_r2.item.classes)("href", ctx_r2.item.url, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeUrl"])("target", ctx_r2.item.openInNewTab ? "_blank" : "_self"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r3); } } function CoreMenuVerticalItemComponent_ng_container_0_ng_template_3_span_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "span", 10); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data-feather", ctx_r7.item.icon); } } function CoreMenuVerticalItemComponent_ng_container_0_ng_template_3_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("translate", ctx_r8.item.badge.translate)("ngClass", ctx_r8.item.badge.classes); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", ctx_r8.item.badge.title, " "); } } function CoreMenuVerticalItemComponent_ng_container_0_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CoreMenuVerticalItemComponent_ng_container_0_ng_template_3_span_0_Template, 1, 1, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 8); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, CoreMenuVerticalItemComponent_ng_container_0_ng_template_3_span_3_Template, 2, 3, "span", 9); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r4.item.icon); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("translate", ctx_r4.item.translate); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r4.item.title); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r4.item.badge); } } function CoreMenuVerticalItemComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, CoreMenuVerticalItemComponent_ng_container_0_a_1_Template, 2, 6, "a", 1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, CoreMenuVerticalItemComponent_ng_container_0_a_2_Template, 2, 4, "a", 2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, CoreMenuVerticalItemComponent_ng_container_0_ng_template_3_Template, 4, 4, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.item.url && !ctx_r0.item.externalUrl); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.item.url && ctx_r0.item.externalUrl); } } class CoreMenuVerticalItemComponent { item; static ɵfac = function CoreMenuVerticalItemComponent_Factory(t) { return new (t || CoreMenuVerticalItemComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: CoreMenuVerticalItemComponent, selectors: [["", "core-menu-vertical-item", ""]], inputs: { item: "item" }, attrs: _c0, decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "d-flex align-items-center", 3, "ngClass", "routerLink", "target", 4, "ngIf"], ["class", "d-flex align-items-center", 3, "ngClass", "href", "target", 4, "ngIf"], ["itemContent", ""], [1, "d-flex", "align-items-center", 3, "ngClass", "routerLink", "target"], [4, "ngTemplateOutlet"], [1, "d-flex", "align-items-center", 3, "ngClass", "href", "target"], [3, "data-feather", 4, "ngIf"], [1, "menu-title", "text-truncate", 3, "translate"], ["class", "badge ml-auto mr-1", 3, "translate", "ngClass", 4, "ngIf"], [3, "data-feather"], [1, "badge", "ml-auto", "mr-1", 3, "translate", "ngClass"]], template: function CoreMenuVerticalItemComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CoreMenuVerticalItemComponent_ng_container_0_Template, 5, 2, "ng-container", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.item.hidden); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgTemplateOutlet, _angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterLinkWithHref, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__.TranslateDirective, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__.DefaultClassDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__.FeatherIconDirective], encapsulation: 2 }); } /***/ }), /***/ 9380: /*!******************************************************************************!*\ !*** ./src/@core/components/core-menu/vertical/section/section.component.ts ***! \******************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuVerticalSectionComponent": () => (/* binding */ CoreMenuVerticalSectionComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = ["core-menu-vertical-section", ""]; function CoreMenuVerticalSectionComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "span", 2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("translate", ctx_r0.item.translate); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r0.item.title); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data-feather", "more-horizontal"); } } class CoreMenuVerticalSectionComponent { item; static ɵfac = function CoreMenuVerticalSectionComponent_Factory(t) { return new (t || CoreMenuVerticalSectionComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: CoreMenuVerticalSectionComponent, selectors: [["", "core-menu-vertical-section", ""]], inputs: { item: "item" }, attrs: _c0, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "navigation-section-text", 3, "translate"], [3, "data-feather"]], template: function CoreMenuVerticalSectionComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, CoreMenuVerticalSectionComponent_ng_container_0_Template, 4, 3, "ng-container", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.item.hidden); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__.TranslateDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__.FeatherIconDirective], encapsulation: 2 }); } /***/ }), /***/ 9831: /*!*********************************************************************!*\ !*** ./src/@core/components/core-sidebar/core-sidebar.component.ts ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreSidebarComponent": () => (/* binding */ CoreSidebarComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/animations */ 91591); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _core_services_media_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/services/media.service */ 42826); /* harmony import */ var _core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.service */ 66841); /* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/flex-layout */ 58084); const _c0 = ["*"]; class CoreSidebarComponent { document; _renderer; _elementRef; _coreConfigService; _changeDetectorRef; _coreMediaService; _coreSidebarService; _animationBuilder; _mediaObserver; // Sidebar name (Component input) name; // Class name for the overlay (Component input) overlayClass; // Sidebar Opened isOpened; // Collapsible sidebar (Component input) collapsibleSidebar; // iscollapsibleSidebar iscollapsibleSidebar; // Collapsible Sidebar expanded expanded; // Collapsed changed event collapsedChangedEvent; // Opened changed event openedChangedEvent; // Set overlay visibility overlayVisibility; // Hide sidebar on esc key press hideOnEsc; onKeydownHandler(event) { if (this.hideOnEsc) { this.close(); } } // Set menu class for current menu type menuClass; rootElement; // Private _coreConfig; _collapsed; _wasCollapsible; _wasCollapsed; _animationPlayer; _overlay = null; _unsubscribeAll; /** * Constructor * * @param {DOCUMENT} document * @param {Renderer2} _renderer * @param {ElementRef} _elementRef * @param {CoreConfigService} _coreConfigService * @param {ChangeDetectorRef} _changeDetectorRef * @param {CoreMediaService} _coreMediaService * @param {CoreSidebarService} _coreSidebarService * @param {AnimationBuilder} _animationBuilder * @param {MediaObserver} _mediaObserver */ constructor(document, _renderer, _elementRef, _coreConfigService, _changeDetectorRef, _coreMediaService, _coreSidebarService, _animationBuilder, _mediaObserver) { this.document = document; this._renderer = _renderer; this._elementRef = _elementRef; this._coreConfigService = _coreConfigService; this._changeDetectorRef = _changeDetectorRef; this._coreMediaService = _coreMediaService; this._coreSidebarService = _coreSidebarService; this._animationBuilder = _animationBuilder; this._mediaObserver = _mediaObserver; // Set Defaults this.isOpened = false; this.overlayVisibility = true; this.hideOnEsc = false; // Layout root element this.rootElement = this.document.querySelectorAll('.vertical-layout')[0] || this.document.querySelectorAll('.horizontal-layout')[0]; this.collapsedChangedEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_3__.EventEmitter(); this.openedChangedEvent = new _angular_core__WEBPACK_IMPORTED_MODULE_3__.EventEmitter(); // Set Private Defaults this._collapsed = false; this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_4__.Subject(); } // Accessors // ----------------------------------------------------------------------------------------------------- /** * Collapsed * * @param {boolean} value */ set collapsed(value) { // Set the collapsed value this._collapsed = value; // If the sidebar is closed, return if (!this.isOpened) { this.rootElement.classList.add('menu-expanded'); // Add menu expanded class default return; } // If Collapsed if (value) { // Collapse the sidebar this.collapse(); // Add menu-collapsed in body and remove menu-expanded this.rootElement.classList.add('menu-collapsed'); this.rootElement.classList.remove('menu-expanded'); } // If Expanded else { // Expanded the sidebar this.expand(); // Add menu-expanded in body and remove menu-collapsed this.rootElement.classList.add('menu-expanded'); this.rootElement.classList.remove('menu-collapsed'); } // Emit the 'collapsedChangedEvent' event this.collapsedChangedEvent.emit(this.collapsed); } get collapsed() { return this._collapsed; } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // Subscribe to app-config changes this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this._coreConfig = config; if (config.layout.type == 'vertical') { this.menuClass = 'vertical-menu-modern'; } else { this.menuClass = 'horizontal-menu'; } }); // Register the sidebar this._coreSidebarService.setSidebarRegistry(this.name, this); // Setup collapsibleSidebar this._setupCollapsibleSidebar(); // Default collapsed this._defaultCollapsed(); } /** * On destroy */ ngOnDestroy() { // If the sidebar is collapsed, expand it to reset changes if (this.collapsed) { this.expand(); } // Remove sidebar registry this._coreSidebarService.removeSidebarRegistry(this.name); // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } // Private Methods // ----------------------------------------------------------------------------------------------------- /** * Setup the collapsible sidebar handler * * @private */ _setupCollapsibleSidebar() { // Return if the collapsible sidebar breakpoint was not set from the layout if (!this.collapsibleSidebar) { return; } // Set the _wasCollapsible false for the first time this._wasCollapsible = false; // Set the wasCollapsed from the layout this._wasCollapsed = this.collapsed; // On every media(screen) change this._coreMediaService.onMediaUpdate.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.takeUntil)(this._unsubscribeAll)).subscribe(() => { // Get the collapsible status const isCollapsible = this._mediaObserver.isActive(this.collapsibleSidebar); //! On screen resize set the config collapsed state if we have else this.collapsed this._wasCollapsed = this._coreConfig.layout.menu.collapsed || this.collapsed; // If sidebar is not collapsible, switch to overlay menu (On page load without resize the window) // ? Improve this menu condition if (!isCollapsible && this.name === 'menu') { this.rootElement.classList.remove(this.menuClass); this.rootElement.classList.add('vertical-overlay-menu'); } // If the both status are the same, then return if (this._wasCollapsible === isCollapsible) { return; } // If isCollapsible is true, use collapsible sidebar if (isCollapsible) { // Set the collapsibleSidebar status this.iscollapsibleSidebar = true; // Set the the opened status to true this.isOpened = true; this.expanded = true; // Adde expanded class init // Emit the 'openedChangedEvent' event this.openedChangedEvent.emit(this.isOpened); // If the sidebar was collapsed, forcefully collapse it again if (this._wasCollapsed) { // Collapse this.collapsed = true; this.expanded = false; // Remove expanded class // Change detector this._changeDetectorRef.markForCheck(); } // If sidebar is collapsible, switch to collapsible menu (modern-menu) if (this.name === 'menu') { this.rootElement.classList.add(this.menuClass); this.rootElement.classList.remove('vertical-overlay-menu', 'menu-hide'); } // Hide the overlay if any exists this._hideOverlay(); } // Else use overlay sidebar else { // Set the collapsibleSidebar status this.iscollapsibleSidebar = false; // Expanded the sidebar in case if it was collapsed this.expand(); // Force the the opened status to close this.isOpened = false; // Emit the 'openedChangedEvent' event this.openedChangedEvent.emit(this.isOpened); // If sidebar is not collapsible, switch to overlay menu (On window resize) this.rootElement.classList.remove(this.menuClass); this.rootElement.classList.add('vertical-overlay-menu'); // Hide the sidebar this._hideSidebar(); } // Set the new active status this._wasCollapsible = isCollapsible; }); } /** * Setup the initial collapsed status * * @private */ _defaultCollapsed() { // Return, if sidebar is not collapsed if (!this.collapsed) { return; } // Return if the sidebar is closed if (!this.isOpened) { return; } // Collapse the sidebar this.collapse(); } /** * Show the overlay * * @private */ _showOverlay() { // Create the overlay element this._overlay = this._renderer.createElement('div'); // Add a class to the overlay element and make it visible this._overlay.classList.add(this.overlayClass); this._overlay.classList.add('show'); // If overlayVisibility is false, set the bg transparent if (!this.overlayVisibility) { this._overlay.classList.add('bg-transparent'); } // Append the overlay element to the parent element of the sidebar this._renderer.appendChild(this._elementRef.nativeElement.parentElement, this._overlay); // Overlay enter animation and attach it to the animationPlayer this._animationPlayer = this._animationBuilder.build([(0,_angular_animations__WEBPACK_IMPORTED_MODULE_6__.animate)('300ms ease', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_6__.style)({ opacity: 1 }))]).create(this._overlay); // Play the overlay animation this._animationPlayer.play(); // Add an event listener to the overlay, on click of it close the sidebar this._overlay.addEventListener('click', () => { this.close(); }); // Change detector this._changeDetectorRef.markForCheck(); } /** * Hide the overlay * * @private */ _hideOverlay() { // If overlay is already hidden, return if (!this._overlay) { return; } // Overlay leave animation and attach it to the animationPlayer this._animationPlayer = this._animationBuilder.build([(0,_angular_animations__WEBPACK_IMPORTED_MODULE_6__.animate)('300ms ease', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_6__.style)({ opacity: 0 }))]).create(this._overlay); // Play the overlay leave animation this._animationPlayer.play(); // Once the animation is done... this._animationPlayer.onDone(() => { // If the overlay still exists... if (this._overlay) { // Remove the overlay this._overlay.parentNode.removeChild(this._overlay); this._overlay = null; } }); // Change detector this._changeDetectorRef.markForCheck(); } /** * Change sidebar properties to make it visible * * @private */ _showSidebar() { // If menu as sidebar, add relevant classes to body to show menu if (this.name == 'menu') { // Open overlay menu this.rootElement.classList.add('menu-open'); this.rootElement.classList.remove('menu-hide'); } // For default sidebar add show class to make it visible else { this._renderer.addClass(this._elementRef.nativeElement, 'show'); // Add .modal-open from body to remove browser scroll if (this.overlayClass === 'modal-backdrop') { this.rootElement.classList.add('modal-open'); } } // Change detector this._changeDetectorRef.markForCheck(); } /** * Change sidebar properties to make it invisible * * @private */ _hideSidebar() { // If menu as sidebar, add relevant classes to body to show menu if (this.name == 'menu') { // Hide overlay menu this.rootElement.classList.remove('menu-open'); this.rootElement.classList.add('menu-hide'); } // For default sidebar remove show class to make it visible else { this._renderer.removeClass(this._elementRef.nativeElement, 'show'); // Remove .modal-open from body if (this.overlayClass === 'modal-backdrop') { this.rootElement.classList.remove('modal-open'); } } // Change detector this._changeDetectorRef.markForCheck(); } // Public Methods // ----------------------------------------------------------------------------------------------------- // For Collapsible Sidebar /** * Collapse the temporarily expanded sidebar */ collapseTemporarily() { // Only work if the sidebar is collapsed if (!this.collapsed) { return; } // Collapse the sidebar back this.expanded = false; this.collapsed = true; // Set the menu collapsed while collapsed temp. // Change detector this._changeDetectorRef.markForCheck(); } /** * Expanded the sidebar temporarily */ expandTemporarily() { // Only work if the sidebar is collapsed if (!this.collapsed) { return; } // Expanded the sidebar temporarily this.expanded = true; this.collapsed = true; // Set the menu collapsed while collapsed temp. // Change detector this._changeDetectorRef.markForCheck(); } /** * On Sidebar's Mouseenter Event */ onMouseEnter() { // Expand the sidebar temporarily this.expandTemporarily(); } /** * On Sidebar's Mouseleave Event */ onMouseLeave() { // Collapse the sidebar temporarily this.collapseTemporarily(); } /** * Collapse the sidebar permanently */ collapse() { // If the sidebar is not collapsed if (this.collapsed) { return; } // Set collapse true this.collapsed = true; // Change detector this._changeDetectorRef.markForCheck(); } /** * Expanded the sidebar permanently */ expand() { // If the sidebar is collapsed if (!this.collapsed) { return; } // Set collapse false (expanded) this.collapsed = false; // Change detector this._changeDetectorRef.markForCheck(); } /** * Toggle the sidebar expand/collapse permanently */ toggleCollapsible() { if (this.collapsed) { this.expand(); } else { this.collapse(); } } // For Overlay Sidebar /** * Open the sidebar */ open() { // If sidebar already open or collapsible, then return if (this.isOpened || this.iscollapsibleSidebar) { return; } // Show the sidebar this._showSidebar(); // Show the overlay this._showOverlay(); // Set the sidebar opened status this.isOpened = true; // Emit the 'openedChangedEvent' event this.openedChangedEvent.emit(this.isOpened); // Change detector this._changeDetectorRef.markForCheck(); } /** * Close the sidebar */ close() { // If sidebar is not open or collapsible, then return if (!this.isOpened || this.iscollapsibleSidebar) { return; } // Hide the overlay this._hideOverlay(); // Set the opened status this.isOpened = false; // Emit the 'openedChangedEvent' event this.openedChangedEvent.emit(this.isOpened); // Hide overlay menu this._hideSidebar(); // Change detector this._changeDetectorRef.markForCheck(); } /** * Toggle open/close the sidebar */ toggleOpen() { if (this.isOpened) { this.close(); } else { this.open(); } } static ɵfac = function CoreSidebarComponent_Factory(t) { return new (t || CoreSidebarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_7__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_3__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_3__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_0__.CoreConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_3__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_core_services_media_service__WEBPACK_IMPORTED_MODULE_1__.CoreMediaService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_2__.CoreSidebarService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_animations__WEBPACK_IMPORTED_MODULE_6__.AnimationBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_flex_layout__WEBPACK_IMPORTED_MODULE_8__.MediaObserver)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: CoreSidebarComponent, selectors: [["core-sidebar"]], hostVars: 2, hostBindings: function CoreSidebarComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("keydown.escape", function CoreSidebarComponent_keydown_escape_HostBindingHandler($event) { return ctx.onKeydownHandler($event); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresolveDocument"])("mouseenter", function CoreSidebarComponent_mouseenter_HostBindingHandler() { return ctx.onMouseEnter(); })("mouseleave", function CoreSidebarComponent_mouseleave_HostBindingHandler() { return ctx.onMouseLeave(); }); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("expanded", ctx.expanded); } }, inputs: { name: "name", overlayClass: "overlayClass", collapsibleSidebar: "collapsibleSidebar", overlayVisibility: "overlayVisibility", hideOnEsc: "hideOnEsc", collapsed: "collapsed" }, outputs: { collapsedChangedEvent: "collapsedChangedEvent", openedChangedEvent: "openedChangedEvent" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function CoreSidebarComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵprojectionDef"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵprojection"](0); } }, encapsulation: 2 }); } /***/ }), /***/ 39698: /*!******************************************************************!*\ !*** ./src/@core/components/core-sidebar/core-sidebar.module.ts ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreSidebarModule": () => (/* binding */ CoreSidebarModule) /* harmony export */ }); /* harmony import */ var _core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.component */ 9831); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); class CoreSidebarModule { static ɵfac = function CoreSidebarModule_Factory(t) { return new (t || CoreSidebarModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: CoreSidebarModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({}); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](CoreSidebarModule, { declarations: [_core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_0__.CoreSidebarComponent], exports: [_core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_0__.CoreSidebarComponent] }); })(); /***/ }), /***/ 66841: /*!*******************************************************************!*\ !*** ./src/@core/components/core-sidebar/core-sidebar.service.ts ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreSidebarService": () => (/* binding */ CoreSidebarService) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class CoreSidebarService { // Private _registry = {}; /** * Get the sidebar with the given key * * @param key * @returns {CoreSidebarComponent} */ getSidebarRegistry(key) { // Check if the sidebar registered if (!this._registry[key]) { console.warn(`The sidebar with the key '${key}' doesn't exist in the registry.`); return; } // Return the sidebar return this._registry[key]; } /** * Set the sidebar to the registry * * @param key * @param sidebar */ setSidebarRegistry(key, sidebar) { // Check if the key already being used if (this._registry[key]) { console.error(`The sidebar with the key '${key}' already exists. Either unregister it first or use a unique key.`); return; } // Set to the registry this._registry[key] = sidebar; } /** * Remove the sidebar from the registry * * @param key */ removeSidebarRegistry(key) { // Check if the sidebar registered if (!this._registry[key]) { console.warn(`The sidebar with the key '${key}' doesn't exist in the registry.`); } // Unregister the sidebar delete this._registry[key]; } static ɵfac = function CoreSidebarService_Factory(t) { return new (t || CoreSidebarService)(); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: CoreSidebarService, factory: CoreSidebarService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 71805: /*!*************************************************************************!*\ !*** ./src/@core/components/core-touchspin/core-touchspin.component.ts ***! \*************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreTouchspinComponent": () => (/* binding */ CoreTouchspinComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); function CoreTouchspinComponent_span_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "span", 8); } } function CoreTouchspinComponent_span_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "span", 9); } } function CoreTouchspinComponent_span_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "span", 10); } } function CoreTouchspinComponent_span_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "span", 11); } } const _c0 = function (a0, a1) { return { "touchspin-sm": a0, "touchspin-lg": a1 }; }; const _c1 = function (a0, a1, a2, a3) { return { "btn-info": a0, "btn-warning": a1, "btn-success": a2, "btn-danger": a3 }; }; class CoreTouchspinComponent { numberValue = 0; iconChevron = false; disabledValue = false; size = ''; color = ''; stepValue; maxValue = 9999; minValue = 0; onChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); disabledValueIncrement = false; disabledValueDecrement = false; constructor() {} inputChange(inputValue) { if (inputValue == this.maxValue || inputValue > this.maxValue) { this.disabledValueIncrement = true; } else { this.disabledValueIncrement = false; } if (inputValue == this.minValue || inputValue < this.minValue) { this.disabledValueDecrement = true; } else { this.disabledValueDecrement = false; } this.emitChange(inputValue); } increment() { if (this.stepValue == undefined) { this.numberValue += 1; } else { this.numberValue += this.stepValue; } this.emitChange(this.numberValue); if (!(this.minValue == undefined || this.maxValue == undefined)) { if (this.numberValue == this.maxValue || this.numberValue > this.maxValue) { this.disabledValueIncrement = true; } else { this.disabledValueIncrement = false; } if (this.numberValue > this.minValue) { this.disabledValueDecrement = false; } else { this.disabledValueDecrement = true; } } } decrement() { if (this.stepValue == undefined) { this.numberValue -= 1; } else { this.numberValue -= this.stepValue; } this.emitChange(this.numberValue); if (!(this.minValue == undefined || this.maxValue == undefined)) { if (this.numberValue == this.minValue || this.numberValue < this.minValue) { this.disabledValueDecrement = true; } else { this.disabledValueDecrement = false; } if (this.numberValue < this.maxValue) { this.disabledValueIncrement = false; } else { this.disabledValueIncrement = true; } } } /** * Emit changed value * @param value */ emitChange(value) { this.onChange.emit(value); } ngOnInit() { this.disabledValueIncrement = this.disabledValue; this.disabledValueDecrement = this.disabledValue; // Check if current value is equal to min / max value then disable button respectively if (this.numberValue === this.minValue) { this.disabledValueDecrement = true; } else if (this.numberValue === this.maxValue) { this.disabledValueIncrement = true; } } static ɵfac = function CoreTouchspinComponent_Factory(t) { return new (t || CoreTouchspinComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: CoreTouchspinComponent, selectors: [["core-touchspin"]], inputs: { numberValue: "numberValue", iconChevron: "iconChevron", disabledValue: ["disable", "disabledValue"], size: "size", color: "color", stepValue: "stepValue", maxValue: "maxValue", minValue: "minValue" }, outputs: { onChange: "onChange" }, decls: 8, vars: 28, consts: [[1, "btn-group", "touchspin-wrapper", 3, "ngClass"], [1, "btn", "btn-sm", "btn-primary", "btn-touchspin", "btn-touchspin-down", 3, "disabled", "ngClass", "click"], ["data-feather", "minus", 4, "ngIf"], ["data-feather", "chevron-down", 4, "ngIf"], ["type", "number", "pattern", "\\d*", "maxlength", "4", 1, "form-control", 3, "ngModel", "value", "disabled", "step", "min", "max", "ngModelChange", "input"], [1, "btn", "btn-sm", "btn-primary", "btn-touchspin", "btn-touchspin-up", 3, "disabled", "ngClass", "click"], ["data-feather", "plus", 4, "ngIf"], ["data-feather", "chevron-up", 4, "ngIf"], ["data-feather", "minus"], ["data-feather", "chevron-down"], ["data-feather", "plus"], ["data-feather", "chevron-up"]], template: function CoreTouchspinComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0)(1, "button", 1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function CoreTouchspinComponent_Template_button_click_1_listener() { return ctx.decrement(); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, CoreTouchspinComponent_span_2_Template, 1, 0, "span", 2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, CoreTouchspinComponent_span_3_Template, 1, 0, "span", 3); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "input", 4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function CoreTouchspinComponent_Template_input_ngModelChange_4_listener($event) { return ctx.numberValue = $event; })("input", function CoreTouchspinComponent_Template_input_input_4_listener($event) { return ctx.inputChange($event.target.value); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "button", 5); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function CoreTouchspinComponent_Template_button_click_5_listener() { return ctx.increment(); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, CoreTouchspinComponent_span_6_Template, 1, 0, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, CoreTouchspinComponent_span_7_Template, 1, 0, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](15, _c0, ctx.size == "sm", ctx.size == "lg")); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("disabled", ctx.disabledValueDecrement)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction4"](18, _c1, ctx.color == "info", ctx.color == "warning", ctx.color == "success", ctx.color == "danger")); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.iconChevron); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.iconChevron); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate"]("value", ctx.numberValue); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngModel", ctx.numberValue)("disabled", ctx.disabledValue)("step", ctx.stepValue)("min", ctx.minValue)("max", ctx.maxValue); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("disabled", ctx.disabledValueIncrement)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction4"](23, _c1, ctx.color == "info", ctx.color == "warning", ctx.color == "success", ctx.color == "danger")); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.iconChevron); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.iconChevron); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NumberValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.MaxLengthValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.PatternValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.MinValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.MaxValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NgModel, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_4__.DefaultClassDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__.FeatherIconDirective], styles: [".touchspin-wrapper {\n width: 8.4rem;\n}\n.touchspin-wrapper .btn-touchspin {\n z-index: 1;\n padding: 0;\n min-width: 20px;\n height: 20px;\n border-radius: 5px !important;\n position: relative;\n top: 4px;\n}\n.touchspin-wrapper .btn-touchspin span {\n position: relative;\n top: 1px;\n}\n.touchspin-wrapper .btn-touchspin.btn-touchspin-down {\n left: 10px;\n}\n.touchspin-wrapper .btn-touchspin.btn-touchspin-up {\n right: 10px;\n}\n.touchspin-wrapper .form-control {\n padding: 5px;\n height: auto;\n border-radius: 5px !important;\n border: 0 !important;\n background-color: #f8f8f8;\n text-align: center;\n font-weight: 500;\n}\n.touchspin-wrapper .form-control:focus {\n box-shadow: none;\n}\n.touchspin-wrapper.touchspin-lg {\n width: 9.375rem;\n}\n.touchspin-wrapper.touchspin-lg .btn-touchspin {\n min-width: 24px;\n height: 24px;\n top: 5px;\n}\n.touchspin-wrapper.touchspin-lg .form-control {\n padding: 9px;\n height: auto;\n}\n.touchspin-wrapper.touchspin-sm {\n width: 6.25rem;\n}\n.touchspin-wrapper.touchspin-sm .btn-touchspin {\n min-width: 16px;\n height: 16px;\n top: 4px;\n}\n.touchspin-wrapper.touchspin-sm .form-control {\n padding: 2px;\n height: auto;\n}\n.dark-layout .touchspin-wrapper .form-control {\n background-color: #161d31;\n}"], encapsulation: 2 }); } /***/ }), /***/ 83742: /*!**********************************************************************!*\ !*** ./src/@core/components/core-touchspin/core-touchspin.module.ts ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreTouchspinModule": () => (/* binding */ CoreTouchspinModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_components_core_touchspin_core_touchspin_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/components/core-touchspin/core-touchspin.component */ 71805); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); class CoreTouchspinModule { static ɵfac = function CoreTouchspinModule_Factory(t) { return new (t || CoreTouchspinModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({ type: CoreTouchspinModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_4__.FormsModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](CoreTouchspinModule, { declarations: [_core_components_core_touchspin_core_touchspin_component__WEBPACK_IMPORTED_MODULE_0__.CoreTouchspinComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_4__.FormsModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule], exports: [_core_components_core_touchspin_core_touchspin_component__WEBPACK_IMPORTED_MODULE_0__.CoreTouchspinComponent] }); })(); /***/ }), /***/ 69065: /*!***************************************!*\ !*** ./src/@core/components/index.ts ***! \***************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMenuModule": () => (/* reexport safe */ _core_menu_core_menu_module__WEBPACK_IMPORTED_MODULE_0__.CoreMenuModule), /* harmony export */ "CoreSidebarModule": () => (/* reexport safe */ _core_sidebar_core_sidebar_module__WEBPACK_IMPORTED_MODULE_1__.CoreSidebarModule), /* harmony export */ "CoreThemeCustomizerModule": () => (/* reexport safe */ _theme_customizer_theme_customizer_module__WEBPACK_IMPORTED_MODULE_2__.CoreThemeCustomizerModule) /* harmony export */ }); /* harmony import */ var _core_menu_core_menu_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core-menu/core-menu.module */ 64017); /* harmony import */ var _core_sidebar_core_sidebar_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core-sidebar/core-sidebar.module */ 39698); /* harmony import */ var _theme_customizer_theme_customizer_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./theme-customizer/theme-customizer.module */ 43332); // common components /***/ }), /***/ 20515: /*!*******************************************************************!*\ !*** ./src/@core/components/system-info/system-info.component.ts ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "SystemInfoComponent": () => (/* binding */ SystemInfoComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_system_info_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @services/apicore/system-info.service */ 21380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 36895); function SystemInfoComponent_div_0_div_97_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 12)(1, "div", 13)(2, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "div", 13)(11, "div", 15)(12, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](13, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](15); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](17); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); } if (rf & 2) { const disk_r6 = ctx.$implicit; const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](disk_r6.filesystem || "N/A"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](disk_r6.size || "N/A"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](disk_r6.used || "N/A"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](disk_r6.avail || "N/A"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstyleProp"]("width", ctx_r5.getDiskUsagePercentage(disk_r6["use%"]), "%"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](disk_r6["use%"] || "0%"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](disk_r6.mounted || "N/A"); } } const _c0 = function () { return []; }; function SystemInfoComponent_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3)(1, "div", 4)(2, "div", 5)(3, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, "General"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "div", 6)(6, "div")(7, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](8, "Nombre de host:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "div")(11, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](12, "Sistema operativo:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](13); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "div")(15, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](16, "Kernel:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](17); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](18, "div")(19, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](20, "Arquitectura:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](21); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](22, "div")(23, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](24, "Actividad:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](25); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](26, "div")(27, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](28, "Tiempo:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](29); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](30, "date"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](31, "div", 5)(32, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](33, "CPU"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](34, "div", 6)(35, "div")(36, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](37, "Modelo:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](38); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](39, "div")(40, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](41, "N\u00FAcleos:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](42); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](43, "div")(44, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](45, "Hilos:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](46); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](47, "div")(48, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](49, "Promedio de carga:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](50); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](51, "div", 5)(52, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](53, "Memoria"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](54, "div", 6)(55, "div")(56, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](57, "Total:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](58); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](59, "div")(60, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](61, "Usado:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](62); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](63, "div")(64, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](65, "Libre:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](66); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](67, "div")(68, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](69, "Total de intercambio:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](70); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](71, "div")(72, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](73, "Intercambio usado:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](74); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](75, "div")(76, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](77, "Intercambio Libre:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](78); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](79, "div", 5)(80, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](81, "Discos"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](82, "div", 7)(83, "div", 8)(84, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](85, "Archivos"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](86, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](87, "Tama\u00F1o"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](88, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](89, "Usado"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](90, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](91, "Disponible"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](92, "div", 8)(93, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](94, "Usado"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](95, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](96, "Montado"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](97, SystemInfoComponent_div_0_div_97_Template, 18, 8, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](98, "div", 5)(99, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](100, "Red"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](101, "div", 6)(102, "div")(103, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](104, "Direcci\u00F3n IP:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](105); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](106, "div")(107, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](108, "Interfaces:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](109); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](110, "div", 5)(111, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](112, "Procesos & Usuarios"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](113, "div", 6)(114, "div")(115, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](116, "Procesos totales:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](117); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](118, "div")(119, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](120, "Procesos en ejecuci\u00F3n:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](121); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](122, "div")(123, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](124, "Usuarios conectados:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](125); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.system == null ? null : ctx_r0.systemInfo.system.hostname) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.system == null ? null : ctx_r0.systemInfo.system.os) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.system == null ? null : ctx_r0.systemInfo.system.kernel) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.system == null ? null : ctx_r0.systemInfo.system.architecture) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.system == null ? null : ctx_r0.systemInfo.system.uptime) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind2"](30, 22, ctx_r0.systemInfo.timestamp, "medium") || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.cpu == null ? null : ctx_r0.systemInfo.cpu.model) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.cpu == null ? null : ctx_r0.systemInfo.cpu.cores) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.cpu == null ? null : ctx_r0.systemInfo.cpu.threads) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.cpu == null ? null : ctx_r0.systemInfo.cpu.load_average) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.memory == null ? null : ctx_r0.systemInfo.memory.total) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.memory == null ? null : ctx_r0.systemInfo.memory.used) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.memory == null ? null : ctx_r0.systemInfo.memory.free) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.memory == null ? null : ctx_r0.systemInfo.memory.swap_total) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.memory == null ? null : ctx_r0.systemInfo.memory.swap_used) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.memory == null ? null : ctx_r0.systemInfo.memory.swap_free) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](19); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.systemInfo.disks || _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](25, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.network == null ? null : ctx_r0.systemInfo.network.ip_address) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.network == null ? null : ctx_r0.systemInfo.network.interfaces) || "N/A", ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.processes == null ? null : ctx_r0.systemInfo.processes.total) || 0, ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.processes == null ? null : ctx_r0.systemInfo.processes.running) || 0, ""); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", (ctx_r0.systemInfo.users == null ? null : ctx_r0.systemInfo.users.logged_in) || 0, ""); } } function SystemInfoComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "mat-spinner"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, "Cargando informaci\u00F3n del sistema..."); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); } } function SystemInfoComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, " No se pudo cargar la informaci\u00F3n del sistema. Int\u00E9ntelo de nuevo m\u00E1s tarde. "); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); } } class SystemInfoComponent { systemInfoService; systemInfo = null; isLoading = true; constructor(systemInfoService) { this.systemInfoService = systemInfoService; } ngOnInit() { this.systemInfoService.getSystemInfo().subscribe({ next: data => { // Asegúrate de manejar el array o el objeto directamente this.systemInfo = Array.isArray(data) ? data[0] : data; this.isLoading = false; }, error: err => { console.error('Error loading system info:', err); this.isLoading = false; // Opcional: Inicializar con datos vacíos para evitar errores this.systemInfo = this.getEmptySystemInfo(); } }); } getDiskUsagePercentage(usePercent) { if (!usePercent) return 0; return parseFloat(usePercent.replace('%', '')) || 0; } // Función para crear un objeto vacío getEmptySystemInfo() { return { system: { hostname: 'N/A', uptime: 'N/A', os: 'N/A', kernel: 'N/A', architecture: 'N/A' }, cpu: { model: 'N/A', cores: 'N/A', threads: 'N/A', load_average: 'N/A' }, memory: { total: 'N/A', used: 'N/A', free: 'N/A', swap_total: 'N/A', swap_used: 'N/A', swap_free: 'N/A' }, disks: [], network: { ip_address: 'N/A', interfaces: 'N/A' }, processes: { total: 0, running: 0 }, users: { logged_in: 0 }, timestamp: new Date().toISOString() }; } static ɵfac = function SystemInfoComponent_Factory(t) { return new (t || SystemInfoComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_apicore_system_info_service__WEBPACK_IMPORTED_MODULE_0__.SystemInfoService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: SystemInfoComponent, selectors: [["app-system-info"]], decls: 5, vars: 2, consts: [["class", "system-info-container", 4, "ngIf", "ngIfElse"], ["loadingTmpl", ""], ["errorTmpl", ""], [1, "system-info-container"], [1, "card"], [1, "info-section"], [1, "info-grid"], [1, "disks-grid"], [1, "disk-header-row"], [1, "disk-header-cell"], [1, "disk-header-cell", "colspan-3"], ["class", "disk-data", 4, "ngFor", "ngForOf"], [1, "disk-data"], [1, "disk-data-row"], [1, "disk-data-cell"], [1, "disk-data-cell", "colspan-3"], [1, "progress-bar"], [1, "progress"], [1, "loading-spinner"], [1, "error-message"]], template: function SystemInfoComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, SystemInfoComponent_div_0_Template, 126, 26, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SystemInfoComponent_ng_template_1_Template, 4, 0, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, SystemInfoComponent_ng_template_3_Template, 2, 0, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.isLoading && ctx.systemInfo)("ngIfElse", _r1); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_2__.DatePipe], styles: ["@charset \"UTF-8\";\n\n.system-info-container[_ngcontent-%COMP%] {\n padding: 10px;\n}\n.card[_ngcontent-%COMP%] {\n background: white;\n border-radius: 8px;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n padding: 10px;\n}\n.info-section[_ngcontent-%COMP%] {\n margin-bottom: 25px;\n padding-bottom: 15px;\n border-bottom: 1px solid #eee;\n}\n.info-section[_ngcontent-%COMP%]:last-child {\n border-bottom: none;\n}\n.info-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n gap: 15px;\n}\n.disks-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(6, 1fr);\n gap: 10px;\n font-size: 0.9em;\n}\n.disk-header[_ngcontent-%COMP%], .disk-row[_ngcontent-%COMP%] {\n display: contents;\n}\n.disk-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n font-weight: bold;\n padding: 8px;\n background: #f5f5f5;\n border-radius: 4px;\n}\n.disk-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n padding: 8px;\n border-bottom: 1px solid #eee;\n}\n.progress-bar[_ngcontent-%COMP%] {\n position: relative;\n height: 20px;\n background: #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n}\n.progress[_ngcontent-%COMP%] {\n height: 100%;\n background: #4CAF50;\n}\n.progress-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 0.7em;\n color: white;\n text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);\n}\n.loading-spinner[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 200px;\n}\n.loading-spinner[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin-top: 15px;\n}\n.error-message[_ngcontent-%COMP%] {\n padding: 20px;\n color: #721c24;\n background-color: #f8d7da;\n border: 1px solid #f5c6cb;\n border-radius: 4px;\n text-align: center;\n}\n\n.disks-grid[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin-top: 10px;\n}\n.disk-header-row[_ngcontent-%COMP%], .disk-data-row[_ngcontent-%COMP%] {\n display: flex;\n gap: 8px;\n}\n.disk-header-cell[_ngcontent-%COMP%], .disk-data-cell[_ngcontent-%COMP%] {\n padding: 8px;\n border: 1px solid #e0e0e0;\n border-radius: 4px;\n background-color: #f5f5f5;\n font-weight: bold;\n text-align: center;\n}\n.disk-header-cell[_ngcontent-%COMP%] {\n background-color: #e0e0e0;\n}\n.disk-data-cell[_ngcontent-%COMP%] {\n background-color: white;\n font-weight: normal;\n}\n\n.colspan-3[_ngcontent-%COMP%] {\n flex: 3;\n}\n\n.progress-bar[_ngcontent-%COMP%] {\n position: relative;\n height: 24px;\n background-color: #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n}\n.progress[_ngcontent-%COMP%] {\n height: 100%;\n background-color: #4CAF50;\n transition: width 0.3s ease;\n}\n.progress-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: white;\n font-size: 0.8rem;\n text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);\n}\n\n.disk-data[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n border: 1px solid #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n}\n.disk-data-row[_ngcontent-%COMP%]:first-child {\n border-bottom: 1px solid #e0e0e0;\n}"] }); } /***/ }), /***/ 71763: /*!*********************************************************************!*\ !*** ./src/@core/components/task-monitor/task-monitor.component.ts ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "TaskMonitorComponent": () => (/* binding */ TaskMonitorComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 36895); function TaskMonitorComponent_tr_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "tr")(1, "td", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](2, "No hay procesos en segundo plano"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); } } function TaskMonitorComponent_tr_14_div_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1, "Completado"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } } function TaskMonitorComponent_tr_14_div_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1, "En Proceso"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } } function TaskMonitorComponent_tr_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "tr")(1, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](3, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](5, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](6, TaskMonitorComponent_tr_14_div_6_Template, 2, 0, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](7, TaskMonitorComponent_tr_14_div_7_Template, 2, 0, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](8, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r2 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](row_r2.pid); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](row_r2.programa); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", !row_r2.estatus); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", row_r2.estatus); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](row_r2.argumento); } } class TaskMonitorComponent { taskService; msjService; cdr; count; ListaComunicaciones = []; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_4__.ColumnMode; tempData = []; rowData = []; lstApp = []; destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Subject(); constructor(taskService, msjService, cdr) { this.taskService = taskService; this.msjService = msjService; this.cdr = cdr; } ngOnInit() { this.initProcess(); this.escucharPID(); } escucharPID() { this.msjService.lstpid$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.takeUntil)(this.destroy$)).subscribe(pid => { if (!pid.estatus) { this.buscarElemento(pid.id); } }); } initProcess() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.lstApp = []; const lst = yield _this.taskService.keys(); for (let i = 0; i < lst.length; i++) { const data = yield _this.taskService.get(lst[i]); _this.lstApp.push({ pid: data.id.substring(0, 6), programa: data.funcion, argumento: data.nombre, usuario: data.usuario, tiempo: data.fin ? data.fin.toUTCString().substring(0, 16) : '', estatus: data.estatus }); if (i === lst.length - 1) { _this.insertCommitDB(_this.lstApp); } } })(); } buscarElemento(pid) { this.rowData = this.rowData.map(e => { if (e.pid === pid.substring(0, 6)) { e.tiempo = new Date().toUTCString().substring(0, 16); e.estatus = false; } return e; }); this.tempData = [...this.rowData]; this.cdr.detectChanges(); } insertCommitDB(lst) { this.rowData = [...lst]; this.tempData = [...this.rowData]; this.cdr.detectChanges(); } ngOnDestroy() { this.destroy$.next(); this.destroy$.complete(); } static ɵfac = function TaskMonitorComponent_Factory(t) { return new (t || TaskMonitorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_1__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_2__.WsocketsService), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_3__.ChangeDetectorRef)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: TaskMonitorComponent, selectors: [["app-task-monitor"]], decls: 15, vars: 2, consts: [[1, "table-responsive", 2, "max-height", "100%", "overflow", "auto"], [1, "table", "table-striped"], ["scope", "col"], [4, "ngIf"], [4, "ngFor", "ngForOf"], ["colspan", "4", 1, "text-center"], ["class", "badge badge-glow badge-success", 4, "ngIf"], ["class", "badge badge-glow badge-warning", 4, "ngIf"], [1, "badge", "badge-glow", "badge-success"], [1, "badge", "badge-glow", "badge-warning"]], template: function TaskMonitorComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 0)(1, "table", 1)(2, "thead")(3, "tr")(4, "th", 2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5, "#"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "th", 2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](7, "Programa"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](8, "th", 2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9, "Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "th", 2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](11, "Argumento"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](12, "tbody"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](13, TaskMonitorComponent_tr_13_Template, 3, 0, "tr", 3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](14, TaskMonitorComponent_tr_14_Template, 10, 5, "tr", 4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", !ctx.rowData || ctx.rowData.length === 0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx.rowData); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf], styles: ["@charset \"UTF-8\";\n\n.table-responsive[_ngcontent-%COMP%] {\n max-height: 100%; \n overflow: auto; \n \n}\n.table-responsive[_ngcontent-%COMP%]::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.table-responsive[_ngcontent-%COMP%]::-webkit-scrollbar-thumb {\n background: #ccc;\n border-radius: 4px;\n}\n\ntable[_ngcontent-%COMP%] {\n width: 100%;\n border-collapse: collapse;\n}\nthead[_ngcontent-%COMP%] {\n position: sticky;\n top: 0;\n background: white; \n z-index: 10; \n}"] }); } /***/ }), /***/ 68347: /*!*****************************************************************************!*\ !*** ./src/@core/components/theme-customizer/theme-customizer.component.ts ***! \*****************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreThemeCustomizerComponent": () => (/* binding */ CoreThemeCustomizerComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.service */ 66841); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ngx-perfect-scrollbar */ 91851); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _core_components_system_info_system_info_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/components/system-info/system-info.component */ 20515); /* harmony import */ var _task_monitor_task_monitor_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../task-monitor/task-monitor.component */ 71763); function CoreThemeCustomizerComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](0, "app-task-monitor"); } } function CoreThemeCustomizerComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](0, "app-system-info"); } } function CoreThemeCustomizerComponent_ng_template_22_span_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Subir Certificado"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CoreThemeCustomizerComponent_ng_template_22_span_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](1, "i", 31); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, " Procesando... "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CoreThemeCustomizerComponent_ng_template_22_div_33_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"](" ", ctx_r7.errorMessage, " "); } } function CoreThemeCustomizerComponent_ng_template_22_div_34_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"](" ", ctx_r8.successMessage, " "); } } function CoreThemeCustomizerComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) { const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 12)(1, "h2"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Subir Certificados SSL"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "form", 13, 14); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngSubmit", function CoreThemeCustomizerComponent_ng_template_22_Template_form_ngSubmit_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r10); const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r9.onSubmit()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](5, "div", 15)(6, "label", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](7, "Nombre del Certificado:"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](8, "input", 17); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function CoreThemeCustomizerComponent_ng_template_22_Template_input_ngModelChange_8_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r10); const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r11.certificateData.name = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](9, "small", 18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](10, "Asigne un nombre descriptivo al certificado"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](11, "div", 15)(12, "label", 19); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](13, "Certificado P\u00FAblico (CRT/PEM):"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](14, "input", 20); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("change", function CoreThemeCustomizerComponent_ng_template_22_Template_input_change_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r10); const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r12.onFileSelected($event, "publicCert")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](15, "small", 18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](16, "Seleccione el archivo del certificado p\u00FAblico (.crt, .pem)"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](17, "div", 15)(18, "label", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](19, "Clave Privada (KEY):"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](20, "input", 22); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("change", function CoreThemeCustomizerComponent_ng_template_22_Template_input_change_20_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r10); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r13.onFileSelected($event, "privateKey")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](21, "small", 18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](22, "Seleccione el archivo de la clave privada (.key)"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](23, "div", 15)(24, "label", 23); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](25, "Contrase\u00F1a (opcional):"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](26, "input", 24); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function CoreThemeCustomizerComponent_ng_template_22_Template_input_ngModelChange_26_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r10); const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r14.certificateData.password = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](27, "div", 25)(28, "button", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](29, CoreThemeCustomizerComponent_ng_template_22_span_29_Template, 2, 0, "span", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](30, CoreThemeCustomizerComponent_ng_template_22_span_30_Template, 3, 0, "span", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](31, "button", 28); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CoreThemeCustomizerComponent_ng_template_22_Template_button_click_31_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r10); const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r15.resetForm()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](32, "Cancelar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](33, CoreThemeCustomizerComponent_ng_template_22_div_33_Template, 2, 1, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](34, CoreThemeCustomizerComponent_ng_template_22_div_34_Template, 2, 1, "div", 30); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](4); const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r3.certificateData.name); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r3.certificateData.password); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("disabled", !_r4.valid || ctx_r3.uploading); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", !ctx_r3.uploading); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r3.uploading); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r3.errorMessage); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r3.successMessage); } } class CoreThemeCustomizerComponent { _formBuilder; _coreConfigService; _coreSidebarService; taskService; msjService; table; searchValue = ''; contentHeader; certificateData = { name: '', publicCert: null, privateKey: null, password: '' }; uploading = false; errorMessage = ''; successMessage = ''; // Private _unsubscribeAll; /** * Constructor * @param {FormBuilder} _formBuilder * @param {CoreConfigService} _coreConfigService * @param {CoreSidebarService} _coreSidebarService * */ constructor(_formBuilder, _coreConfigService, _coreSidebarService, taskService, msjService) { this._formBuilder = _formBuilder; this._coreConfigService = _coreConfigService; this._coreSidebarService = _coreSidebarService; this.taskService = taskService; this.msjService = msjService; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_9__.Subject(); } // Lifecycle hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {})(); } /** * On destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } // Private methods // ----------------------------------------------------------------------------------------------------- onFileSelected(event, fileType) { const input = event.target; if (input.files && input.files.length > 0) { this.certificateData[fileType] = input.files[0]; } } onSubmit() { if (!this.certificateData.publicCert || !this.certificateData.privateKey) { this.errorMessage = 'Por favor, seleccione ambos archivos'; return; } this.uploading = true; this.errorMessage = ''; this.successMessage = ''; // Aquí iría la lógica para subir los archivos al servidor // Ejemplo: /* this.certificateService.uploadCertificate( this.certificateData.name, this.certificateData.publicCert, this.certificateData.privateKey, this.certificateData.password ).subscribe({ next: (response) => { this.uploading = false; this.successMessage = 'Certificado subido correctamente'; this.resetForm(); }, error: (err) => { this.uploading = false; this.errorMessage = 'Error al subir el certificado: ' + err.message; } }); */ // Simulación de subida (eliminar en implementación real) setTimeout(() => { this.uploading = false; this.successMessage = 'Simulación: Certificado subido correctamente'; console.log('Datos del certificado:', this.certificateData); }, 1500); } resetForm() { this.certificateData = { name: '', publicCert: null, privateKey: null, password: '' }; this.errorMessage = ''; this.successMessage = ''; } /** * Toggle sidebar open * * @param key */ toggleSidebar(key) { this._coreSidebarService.getSidebarRegistry(key).toggleOpen(); } static ɵfac = function CoreThemeCustomizerComponent_Factory(t) { return new (t || CoreThemeCustomizerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_10__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_1__.CoreConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_2__.CoreSidebarService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_3__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_4__.WsocketsService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineComponent"]({ type: CoreThemeCustomizerComponent, selectors: [["core-theme-customizer"]], viewQuery: function CoreThemeCustomizerComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, decls: 24, vars: 5, consts: [[1, "customizer-content", 3, "perfectScrollbar"], [1, "customizer-header", "px-2", "pt-1", "pb-0", "position-relative"], [1, "mb-0"], [1, "m-0"], [1, "customizer-close", 3, "click"], [3, "data-feather"], ["ngbNav", "", 1, "nav-tabs", "justify-content-center"], ["navWithIcons", "ngbNav"], ["ngbNavItem", ""], ["ngbNavLink", ""], ["ngbNavContent", ""], [1, "mt-2", 3, "ngbNavOutlet"], [1, "certificate-upload-container"], [3, "ngSubmit"], ["certificateForm", "ngForm"], [1, "form-group"], ["for", "certificateName"], ["type", "text", "id", "certificateName", "name", "certificateName", "required", "", "placeholder", "Ej: mi-sitio-web", 1, "form-control", 3, "ngModel", "ngModelChange"], [1, "text-muted"], ["for", "publicCertificate"], ["type", "file", "id", "publicCertificate", "name", "publicCertificate", "accept", ".crt,.pem,.cer", "required", "", 1, "form-control-file", 3, "change"], ["for", "privateKey"], ["type", "file", "id", "privateKey", "name", "privateKey", "accept", ".key,.pem", "required", "", 1, "form-control-file", 3, "change"], ["for", "password"], ["type", "password", "id", "password", "name", "password", "placeholder", "Si el certificado est\u00E1 protegido por contrase\u00F1a", 1, "form-control", 3, "ngModel", "ngModelChange"], [1, "form-actions"], ["type", "submit", 1, "btn", "btn-primary", 3, "disabled"], [4, "ngIf"], ["type", "button", 1, "btn", "btn-secondary", 3, "click"], ["class", "alert alert-danger mt-3", 4, "ngIf"], ["class", "alert alert-success mt-3", 4, "ngIf"], [1, "fa", "fa-spinner", "fa-spin"], [1, "alert", "alert-danger", "mt-3"], [1, "alert", "alert-success", "mt-3"]], template: function CoreThemeCustomizerComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "h4", 2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](3, "Monitoreo de Procesos"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](4, "p", 3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](5, "Sandra Server"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "a", 4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CoreThemeCustomizerComponent_Template_a_click_6_listener() { return ctx.toggleSidebar("themeCustomizer"); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](7, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](8, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](9, "ul", 6, 7)(11, "li", 8)(12, "a", 9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](13, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](14, CoreThemeCustomizerComponent_ng_template_14_Template, 1, 0, "ng-template", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](15, "li", 8)(16, "a", 9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](17, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](18, CoreThemeCustomizerComponent_ng_template_18_Template, 1, 0, "ng-template", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](19, "li", 8)(20, "a", 9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](21, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](22, CoreThemeCustomizerComponent_ng_template_22_Template, 35, 7, "ng-template", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](23, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "x"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "monitor"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "award"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngbNavOutlet", _r0); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_12__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_10__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.RequiredValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgForm, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_13__.PerfectScrollbarDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_5__.FeatherIconDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbNavContent, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbNav, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbNavItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbNavLink, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbNavOutlet, _core_components_system_info_system_info_component__WEBPACK_IMPORTED_MODULE_6__.SystemInfoComponent, _task_monitor_task_monitor_component__WEBPACK_IMPORTED_MODULE_7__.TaskMonitorComponent], styles: [".customizer.show {\n box-shadow: 0 15px 30px 0 rgba(34, 41, 47, 0.11), 0 5px 15px 0 rgba(34, 41, 47, 0.08);\n right: 0;\n}\n\n/* src/app/components/system-info/system-info.component.css */\n\n.system-info-container {\n padding: 20px;\n}\n\n.info-section {\n margin-bottom: 25px;\n padding-bottom: 15px;\n border-bottom: 1px solid #eee;\n}\n\n.info-section:last-child {\n border-bottom: none;\n}\n\n.info-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n gap: 15px;\n}\n\n.disks-grid {\n display: grid;\n grid-template-columns: repeat(6, 1fr);\n gap: 10px;\n font-size: 0.9em;\n}\n\n.disk-header, .disk-row {\n display: contents;\n}\n\n.disk-header > div {\n font-weight: bold;\n padding: 8px;\n background: #f5f5f5;\n border-radius: 4px;\n}\n\n.disk-row > div {\n padding: 8px;\n border-bottom: 1px solid #eee;\n}\n\n.progress-bar {\n position: relative;\n height: 20px;\n background: #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n}\n\n.progress {\n height: 100%;\n background: #4CAF50;\n}\n\n.progress-bar span {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 0.7em;\n color: white;\n text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);\n}\n\n.loading-spinner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 200px;\n}\n\n.loading-spinner p {\n margin-top: 15px;\n}\n\n.certificate-upload-container {\n max-width: 600px;\n margin: 2rem auto;\n padding: 2rem;\n background: #fff;\n border-radius: 8px;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n}\n\nh2 {\n margin-bottom: 1.5rem;\n color: #333;\n}\n\n.form-group {\n margin-bottom: 1.5rem;\n}\n\n.form-control-file {\n display: block;\n margin-top: 0.5rem;\n}\n\n.form-actions {\n margin-top: 2rem;\n display: flex;\n gap: 1rem;\n}\n\n.btn {\n padding: 0.5rem 1rem;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n}\n\n.btn-primary {\n background-color: #007bff;\n color: white;\n}\n\n.btn-primary:disabled {\n background-color: #6c757d;\n cursor: not-allowed;\n}\n\n.btn-secondary {\n background-color: #6c757d;\n color: white;\n}\n\n.alert {\n padding: 1rem;\n border-radius: 4px;\n margin-top: 1rem;\n}\n\n.alert-danger {\n background-color: #f8d7da;\n color: #721c24;\n}\n\n.alert-success {\n background-color: #d4edda;\n color: #155724;\n}\n\n.text-muted {\n color: #6c757d;\n font-size: 0.8rem;\n}"], encapsulation: 2 }); } /***/ }), /***/ 43332: /*!**************************************************************************!*\ !*** ./src/@core/components/theme-customizer/theme-customizer.module.ts ***! \**************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreThemeCustomizerModule": () => (/* binding */ CoreThemeCustomizerModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/flex-layout */ 77613); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ngx-perfect-scrollbar */ 91851); /* harmony import */ var _core_directives_directives__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/directives */ 35455); /* harmony import */ var _core_components_core_sidebar_core_sidebar_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.module */ 39698); /* harmony import */ var _core_components_theme_customizer_theme_customizer_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/theme-customizer/theme-customizer.component */ 68347); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _core_components_system_info_system_info_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/system-info/system-info.component */ 20515); /* harmony import */ var _task_monitor_task_monitor_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../task-monitor/task-monitor.component */ 71763); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 94650); const DEFAULT_PERFECT_SCROLLBAR_CONFIG = { suppressScrollX: true, wheelPropagation: false }; class CoreThemeCustomizerModule { static ɵfac = function CoreThemeCustomizerModule_Factory(t) { return new (t || CoreThemeCustomizerModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineNgModule"]({ type: CoreThemeCustomizerModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjector"]({ providers: [{ provide: ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__.PERFECT_SCROLLBAR_CONFIG, useValue: DEFAULT_PERFECT_SCROLLBAR_CONFIG }], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.ReactiveFormsModule, _angular_flex_layout__WEBPACK_IMPORTED_MODULE_9__.FlexLayoutModule, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__.PerfectScrollbarModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_0__.CoreDirectivesModule, _core_components_core_sidebar_core_sidebar_module__WEBPACK_IMPORTED_MODULE_1__.CoreSidebarModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵsetNgModuleScope"](CoreThemeCustomizerModule, { declarations: [_core_components_theme_customizer_theme_customizer_component__WEBPACK_IMPORTED_MODULE_2__.CoreThemeCustomizerComponent, _core_components_system_info_system_info_component__WEBPACK_IMPORTED_MODULE_3__.SystemInfoComponent, _task_monitor_task_monitor_component__WEBPACK_IMPORTED_MODULE_4__.TaskMonitorComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.ReactiveFormsModule, _angular_flex_layout__WEBPACK_IMPORTED_MODULE_9__.FlexLayoutModule, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__.PerfectScrollbarModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_0__.CoreDirectivesModule, _core_components_core_sidebar_core_sidebar_module__WEBPACK_IMPORTED_MODULE_1__.CoreSidebarModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavModule], exports: [_core_components_theme_customizer_theme_customizer_component__WEBPACK_IMPORTED_MODULE_2__.CoreThemeCustomizerComponent] }); })(); /***/ }), /***/ 70460: /*!**********************************!*\ !*** ./src/@core/core.module.ts ***! \**********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreModule": () => (/* binding */ CoreModule) /* harmony export */ }); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); class CoreModule { constructor(parentModule) { if (parentModule) { throw new Error('Import CoreModule in the AppModule only'); } } static forRoot(config) { return { ngModule: CoreModule, providers: [{ provide: _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__.CORE_CUSTOM_CONFIG, useValue: config }] }; } static ɵfac = function CoreModule_Factory(t) { return new (t || CoreModule)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](CoreModule, 12)); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: CoreModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({}); } /***/ }), /***/ 66279: /*!***********************************************************************!*\ !*** ./src/@core/directives/core-feather-icons/core-feather-icons.ts ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "FeatherIconDirective": () => (/* binding */ FeatherIconDirective) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var feather_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! feather-icons */ 9245); /* harmony import */ var feather_icons__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(feather_icons__WEBPACK_IMPORTED_MODULE_0__); class FeatherIconDirective { _elementRef; _changeDetector; // Private _nativeElement; name; class; size; inner; /** * Constructor * * @param {ElementRef} _elementRef */ constructor(_elementRef, _changeDetector) { this._elementRef = _elementRef; this._changeDetector = _changeDetector; } ngOnChanges(changes) { // Get the native element this._nativeElement = this._elementRef.nativeElement; // SVG parameter this.name = changes.name ? changes.name.currentValue : ''; this.size = changes.size ? changes.size.currentValue : '14'; // Set default size 14 this.class = changes.class ? changes.class.currentValue : ''; // Create SVG const svg = feather_icons__WEBPACK_IMPORTED_MODULE_0__.icons[this.name].toSvg({ class: this.class, width: this.size, height: this.size }); // Set SVG if (this.inner) { this._nativeElement.innerHTML = svg; } else { this._nativeElement.outerHTML = svg; } this._changeDetector.markForCheck(); } static ɵfac = function FeatherIconDirective_Factory(t) { return new (t || FeatherIconDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ChangeDetectorRef)); }; static ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: FeatherIconDirective, selectors: [["", "data-feather", ""]], inputs: { name: ["data-feather", "name"], class: "class", size: "size", inner: "inner" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]] }); } /***/ }), /***/ 75287: /*!*********************************************************************************!*\ !*** ./src/@core/directives/core-ripple-effect/core-ripple-effect.directive.ts ***! \*********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "RippleEffectDirective": () => (/* binding */ RippleEffectDirective) /* harmony export */ }); /* harmony import */ var node_waves__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! node-waves */ 79569); /* harmony import */ var node_waves__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(node_waves__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); class RippleEffectDirective { _elementRef; // Private _nativeElement; wave; /** * Constructor * * @param {ElementRef} _elementRef */ constructor(_elementRef) { this._elementRef = _elementRef; } ngOnInit() { // Get the native element this._nativeElement = this._elementRef.nativeElement; if ( // Attach ripple with light style i.e solid variant of button !this._nativeElement.className.split(' ').some(function (c) { return /btn-outline-.*/.test(c); }) && !this._nativeElement.className.split(' ').some(function (c) { return /btn-flat-.*/.test(c); })) { node_waves__WEBPACK_IMPORTED_MODULE_0__.attach(this._nativeElement, ['waves-float', 'waves-light']); } else { // Attach ripple with transparent style i.e flat, outline variant of button node_waves__WEBPACK_IMPORTED_MODULE_0__.attach(this._nativeElement); } } static ɵfac = function RippleEffectDirective_Factory(t) { return new (t || RippleEffectDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef)); }; static ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: RippleEffectDirective, selectors: [["", "rippleEffect", ""]], inputs: { wave: "wave" } }); } /***/ }), /***/ 35455: /*!********************************************!*\ !*** ./src/@core/directives/directives.ts ***! \********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreDirectivesModule": () => (/* binding */ CoreDirectivesModule) /* harmony export */ }); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); class CoreDirectivesModule { static ɵfac = function CoreDirectivesModule_Factory(t) { return new (t || CoreDirectivesModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({ type: CoreDirectivesModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({}); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](CoreDirectivesModule, { declarations: [_core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_1__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__.FeatherIconDirective], exports: [_core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_1__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_0__.FeatherIconDirective] }); })(); /***/ }), /***/ 69671: /*!****************************************!*\ !*** ./src/@core/pipes/filter.pipe.ts ***! \****************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "FilterPipe": () => (/* binding */ FilterPipe) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class FilterPipe { /** * Transform * * @param {any[]} items * @param {string} searchText * @param {string} key * * @returns {any} */ transform(items, searchText, key) { if (!items) return []; if (!searchText) return items; searchText = searchText.toLowerCase(); return items.filter(it => { return it[key].toLowerCase().includes(searchText); }); } static ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); }; static ɵpipe = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "filter", type: FilterPipe, pure: true }); } /***/ }), /***/ 16516: /*!******************************************!*\ !*** ./src/@core/pipes/initials.pipe.ts ***! \******************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "InitialsPipe": () => (/* binding */ InitialsPipe) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class InitialsPipe { transform(fullName) { return fullName?.split(' ').map(n => n[0]).join(''); } static ɵfac = function InitialsPipe_Factory(t) { return new (t || InitialsPipe)(); }; static ɵpipe = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "initials", type: InitialsPipe, pure: true }); } /***/ }), /***/ 30021: /*!*****************************************!*\ !*** ./src/@core/pipes/pipes.module.ts ***! \*****************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CorePipesModule": () => (/* binding */ CorePipesModule) /* harmony export */ }); /* harmony import */ var _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/pipes/filter.pipe */ 69671); /* harmony import */ var _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/pipes/initials.pipe */ 16516); /* harmony import */ var _core_pipes_safe_pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/pipes/safe.pipe */ 16821); /* harmony import */ var _core_pipes_stripHtml_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/pipes/stripHtml.pipe */ 93798); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); class CorePipesModule { static ɵfac = function CorePipesModule_Factory(t) { return new (t || CorePipesModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: CorePipesModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({}); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](CorePipesModule, { declarations: [_core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_1__.InitialsPipe, _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_0__.FilterPipe, _core_pipes_stripHtml_pipe__WEBPACK_IMPORTED_MODULE_3__.StripHtmlPipe, _core_pipes_safe_pipe__WEBPACK_IMPORTED_MODULE_2__.SafePipe], exports: [_core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_1__.InitialsPipe, _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_0__.FilterPipe, _core_pipes_stripHtml_pipe__WEBPACK_IMPORTED_MODULE_3__.StripHtmlPipe, _core_pipes_safe_pipe__WEBPACK_IMPORTED_MODULE_2__.SafePipe] }); })(); /***/ }), /***/ 16821: /*!**************************************!*\ !*** ./src/@core/pipes/safe.pipe.ts ***! \**************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "SafePipe": () => (/* binding */ SafePipe) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ 11481); /** * Sanitize HTML */ class SafePipe { _sanitizer; /** * Pipe Constructor * * @param _sanitizer: DomSanitezer */ // tslint:disable-next-line constructor(_sanitizer) { this._sanitizer = _sanitizer; } /** * Transform * * @param value: string * @param type: string */ transform(value, type) { switch (type) { case 'html': return this._sanitizer.bypassSecurityTrustHtml(value); case 'style': return this._sanitizer.bypassSecurityTrustStyle(value); case 'script': return this._sanitizer.bypassSecurityTrustScript(value); case 'url': return this._sanitizer.bypassSecurityTrustUrl(value); case 'resourceUrl': return this._sanitizer.bypassSecurityTrustResourceUrl(value); default: return this._sanitizer.bypassSecurityTrustHtml(value); } } static ɵfac = function SafePipe_Factory(t) { return new (t || SafePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__.DomSanitizer, 16)); }; static ɵpipe = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "safe", type: SafePipe, pure: true }); } /***/ }), /***/ 53421: /*!********************************************!*\ !*** ./src/@core/pipes/sql-format.pipe.ts ***! \********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "SqlFormatPipe": () => (/* binding */ SqlFormatPipe) /* harmony export */ }); /* harmony import */ var sql_formatter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! sql-formatter */ 65712); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); class SqlFormatPipe { transform(value) { const regex = /\$0/g; const formattedSql = sql_formatter__WEBPACK_IMPORTED_MODULE_0__.format(value.replace(regex, '')); return formattedSql; } static ɵfac = function SqlFormatPipe_Factory(t) { return new (t || SqlFormatPipe)(); }; static ɵpipe = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefinePipe"]({ name: "sqlFormat", type: SqlFormatPipe, pure: true }); } /***/ }), /***/ 93798: /*!*******************************************!*\ !*** ./src/@core/pipes/stripHtml.pipe.ts ***! \*******************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "StripHtmlPipe": () => (/* binding */ StripHtmlPipe) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class StripHtmlPipe { transform(value) { return value.replace(/<.*?>/g, ''); // replace tags } static ɵfac = function StripHtmlPipe_Factory(t) { return new (t || StripHtmlPipe)(); }; static ɵpipe = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({ name: "striphtml", type: StripHtmlPipe, pure: true }); } /***/ }), /***/ 52553: /*!**********************************************!*\ !*** ./src/@core/services/config.service.ts ***! \**********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CORE_CUSTOM_CONFIG": () => (/* binding */ CORE_CUSTOM_CONFIG), /* harmony export */ "CoreConfigService": () => (/* binding */ CoreConfigService) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 591); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 92198); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ 17489); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__); // Injection token for the core custom settings const CORE_CUSTOM_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('coreCustomConfig'); class CoreConfigService { _router; _config; // Private localConfig; _defaultConfig; _configSubject; /** * Constructor * * @param _config * @param {Router} _router */ constructor(_router, _config) { this._router = _router; this._config = _config; // Get the config from local storage if (_config.layout.enableLocalStorage) { this.localConfig = JSON.parse(localStorage.getItem('config')); } else { localStorage.removeItem('config'); } // Set the defaultConfig to localConfig if we have else appConfig (app-config.ts) this._defaultConfig = this.localConfig ? this.localConfig : _config; // Initialize the config service this._initConfig(); } // Accessors // ----------------------------------------------------------------------------------------------------- // Set the config set config(data) { let config; // Set config = localConfig, If we have else defaultConfig if (this.localConfig) { config = this.localConfig; } else { config = this._configSubject.getValue(); } // Merge provided data with config, and create new merged config config = lodash__WEBPACK_IMPORTED_MODULE_0__.merge({}, config, data); // Set config to local storage if enableLocalStorage parameter is true if (config.layout.enableLocalStorage) { localStorage.setItem('config', JSON.stringify(config)); } // Inform the observers this._configSubject.next(config); } // Get the config get config() { return this._configSubject.asObservable(); } /** * Get default config * * @returns {any} */ get defaultConfig() { return this._defaultConfig; } // Private methods // ----------------------------------------------------------------------------------------------------- /** * Initialize * * @private */ _initConfig() { // Set the config from the default config this._configSubject = new rxjs__WEBPACK_IMPORTED_MODULE_2__.BehaviorSubject(lodash__WEBPACK_IMPORTED_MODULE_0__.cloneDeep(this._defaultConfig)); // On every RoutesRecognized event // Check if localDefault (localStorage if we have else defaultConfig) is different form the default one this._router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.filter)(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_4__.ResolveEnd)).subscribe(() => { // Get the local config from local storage this.localConfig = JSON.parse(localStorage.getItem('config')); // Set localDefault to localConfig if we have else defaultConfig let localDefault = this.localConfig ? this.localConfig : this._defaultConfig; // If localDefault is different form the provided config (page config) if (!lodash__WEBPACK_IMPORTED_MODULE_0__.isEqual(this._configSubject.getValue().layout, localDefault.layout)) { // Clone the current config const config = lodash__WEBPACK_IMPORTED_MODULE_0__.cloneDeep(this._configSubject.getValue()); // Reset the layout from the default config config.layout = lodash__WEBPACK_IMPORTED_MODULE_0__.cloneDeep(localDefault.layout); // Set the config this._configSubject.next(config); } }); } // Public methods // ----------------------------------------------------------------------------------------------------- /** * Set config * * @param data * @param {{emitEvent: boolean}} param */ setConfig(data, param = { emitEvent: true }) { let config; // Set config = localConfig, If we have else defaultConfig this.localConfig = JSON.parse(localStorage.getItem('config')); if (this.localConfig) { config = this.localConfig; } else { config = this._configSubject.getValue(); } // Merge provided value with config, and create new merged config config = lodash__WEBPACK_IMPORTED_MODULE_0__.merge({}, config, data); // Set config to local storage if enableLocalStorage parameter is true if (config.layout.enableLocalStorage) { localStorage.setItem('config', JSON.stringify(config)); } // If emitEvent option is true... if (param.emitEvent === true) { // Inform the observers this._configSubject.next(config); } } /** * Get config * * @returns {Observable} */ getConfig() { return this._configSubject.asObservable(); } /** * Reset to the default config */ resetConfig() { this._configSubject.next(lodash__WEBPACK_IMPORTED_MODULE_0__.cloneDeep(this._defaultConfig)); } static ɵfac = function CoreConfigService_Factory(t) { return new (t || CoreConfigService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_4__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](CORE_CUSTOM_CONFIG)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: CoreConfigService, factory: CoreConfigService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 35428: /*!******************************************************!*\ !*** ./src/@core/services/loading-screen.service.ts ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreLoadingScreenService": () => (/* binding */ CoreLoadingScreenService) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/animations */ 91591); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ 92198); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 72986); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); class CoreLoadingScreenService { _document; _router; _animationBuilder; loadingScreenEl; animationPlayer; /** * Constructor * * @param _document * @param {Router} _router * @param {AnimationBuilder} _animationBuilder */ constructor(_document, _router, _animationBuilder) { this._document = _document; this._router = _router; this._animationBuilder = _animationBuilder; // Initialize this._init(); } // Private methods // ----------------------------------------------------------------------------------------------------- /** * Initialize * * @private */ _init() { // Get the loading screen element this.loadingScreenEl = this._document.body.querySelector('#loading-bg'); // If loading screen element if (this.loadingScreenEl) { // Hide it on the first NavigationEnd event this._router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_0__.filter)(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__.NavigationEnd), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.take)(1)).subscribe(() => { setTimeout(() => { this.hide(); }); }); } } // Public methods // ----------------------------------------------------------------------------------------------------- /** * Show the loading screen */ show() { this.animationPlayer = this._animationBuilder.build([(0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({ opacity: '0', zIndex: '99999' }), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.animate)('250ms ease', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({ opacity: '1' }))]).create(this.loadingScreenEl); setTimeout(() => { this.animationPlayer.play(); }, 0); } /** * Hide the loading screen */ hide() { this.animationPlayer = this._animationBuilder.build([(0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({ opacity: '1' }), (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.animate)('250ms ease', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({ opacity: '0', zIndex: '-10' }))]).create(this.loadingScreenEl); setTimeout(() => { this.loadingScreenEl.remove(); this.animationPlayer.play(); }, 0); } static ɵfac = function CoreLoadingScreenService_Factory(t) { return new (t || CoreLoadingScreenService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_5__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_animations__WEBPACK_IMPORTED_MODULE_3__.AnimationBuilder)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ token: CoreLoadingScreenService, factory: CoreLoadingScreenService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 42826: /*!*********************************************!*\ !*** ./src/@core/services/media.service.ts ***! \*********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreMediaService": () => (/* binding */ CoreMediaService) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 591); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ 80013); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 75778); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/flex-layout */ 58084); class CoreMediaService { _mediaObserver; currentMediaQuery; onMediaUpdate = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(''); /** * Constructor * * @param {MediaObserver} _mediaObserver */ constructor(_mediaObserver) { this._mediaObserver = _mediaObserver; // Set the defaults this.currentMediaQuery = ''; // Initialize this._init(); } // @ Private methods // ----------------------------------------------------------------------------------------------------- /** * Initialize * * @private */ _init() { this._mediaObserver.media$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_1__.debounceTime)(500), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.distinctUntilChanged)()).subscribe(change => { // console.log('subscription: ', change); if (this.currentMediaQuery !== change.mqAlias) { this.currentMediaQuery = change.mqAlias; this.onMediaUpdate.next(change.mqAlias); } }); } static ɵfac = function CoreMediaService_Factory(t) { return new (t || CoreMediaService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__.MediaObserver)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ token: CoreMediaService, factory: CoreMediaService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 63305: /*!***************************************************!*\ !*** ./src/@core/services/translation.service.ts ***! \***************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CoreTranslationService": () => (/* binding */ CoreTranslationService) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ngx-translate/core */ 42466); class CoreTranslationService { _translateService; /** * Constructor * * @param {TranslateService} _translateService */ constructor(_translateService) { this._translateService = _translateService; } // Public methods // ----------------------------------------------------------------------------------------------------- /** * Translate * * @param {Locale} args */ translate(...args) { const locales = [...args]; locales.forEach(locale => { // use setTranslation() with the third argument value as true to append translations instead of replacing them this._translateService.setTranslation(locale.lang, locale.data, true); }); } static ɵfac = function CoreTranslationService_Factory(t) { return new (t || CoreTranslationService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_1__.TranslateService)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: CoreTranslationService, factory: CoreTranslationService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 89780: /*!**********************************************!*\ !*** ./src/@services/apicore/api.service.ts ***! \**********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ApiService": () => (/* binding */ ApiService) /* harmony export */ }); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common/http */ 80529); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _task_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./task.service */ 46930); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); class ApiService { taskService; utilService; router; http; ws; //Dirección Get para servicios en la página WEB URL = _environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.API; hash = ":c521f27fb1b3311d686d511b668e5bd4"; httpOptions = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_5__.HttpHeaders({ "Content-Type": "application/json", Authorization: "Bearer " + sessionStorage.getItem("token") }) }; pID = { id: "", estatus: false, mensaje: "", segundos: "", contenido: "" }; constructor(taskService, utilService, router, http, ws) { this.taskService = taskService; this.utilService = utilService; this.router = router; this.http = http; this.ws = ws; } //EnviarArchivos generales EnviarArchivos(frm) { var httpOptions = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_5__.HttpHeaders({ Authorization: "Bearer " + sessionStorage.getItem("token") }) }; return this.http.post(this.URL + "subirarchivos", frm, httpOptions); } Guardar(xAPI, sApi) { var url = this.URL + sApi + this.hash; return this.http.post(url, xAPI, this.httpOptions); } Coleccion(xAPI, sApi) { var url = this.URL + sApi; return this.http.post(url, xAPI, this.httpOptions); } Listar() { var url = this.URL + "listar"; return this.http.get(url, this.httpOptions); } //Ejecutar Api generales Ejecutar(xAPI) { let hOpt = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_5__.HttpHeaders({ "Content-Type": "application/json", Authorization: "Bearer " + sessionStorage.getItem("token") }) }; var url = this.URL + "crud" + this.hash; return this.http.post(url, xAPI, hOpt); } //Ejecutar Api generales ExecFnx(fnx) { var url = this.URL + "fnx"; return this.http.post(url, fnx, this.httpOptions); } // Consulta el PID de una funcion ExecFnxId(id) { var url = this.URL + `fnx:${id}`; return this.http.get(url, this.httpOptions); } // Consulta el Pid recursivamente ConsultarPidRecursivo(id, paquete) { this.ExecFnxId(id).subscribe(data => { setTimeout(() => { if (data.documento == "PROCESADO") { this.pID.id = id; this.pID.estatus = false; this.pID.contenido = paquete; this.ws.lstpid$.emit(this.pID); } else { this.ConsultarPidRecursivo(id, paquete); } }, 10000); console.log(data); }, error => { console.log(error); }); } ConsultarPidScan(id, paquete) { return new Promise((resolve, reject) => { this.ExecFnxId(id).subscribe(data => { setTimeout(() => { if (data.documento == 'PROCESADO') { this.pID.id = id; this.pID.estatus = false; this.pID.contenido = paquete; this.ws.pidScan$.emit(this.pID); console.log(data); resolve(data); // Resuelve la promesa con los datos } else { this.ConsultarPidScan(id, paquete).then(resolve).catch(reject); } }, 1000); }, error => { // console.log(error); reject(error); // Rechaza la promesa en caso de error }); }); } DwsCdn(peticion) { let ruta = this.URL + "dwsother/" + peticion; const httpOptions = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_5__.HttpHeaders({ "Content-Type": "application/json", Authorization: "Bearer " + sessionStorage.getItem("token") }), responseType: "blob" }; this.http.get(ruta, httpOptions).subscribe(response => { console.log(response); const blob = new Blob([response], { type: "application/zip" }); const url = window.URL.createObjectURL(blob); window.open(url); }); } getDwsCdn(tpf) { let ruta = this.URL + "dwscdn"; const httpOptions = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_5__.HttpHeaders({ "Content-Type": "application/json", Authorization: "Bearer " + sessionStorage.getItem("token") }), responseType: "blob" }; return this.http.post(ruta, tpf, httpOptions); } // Servicio para sandra_sms ConsultarPidSandraSms(id, paquete) { return new Promise((resolve, reject) => { this.ExecFnxId(id).subscribe(data => { setTimeout(() => { if (data.documento == "PROCESADO") { this.pID.id = id; this.pID.estatus = false; this.pID.contenido = paquete; this.ws.pidDevice$.emit(this.pID); resolve(data); // Resuelve la promesa con los datos } else { this.ConsultarPidSandraSms(id, paquete).then(resolve).catch(reject); } }, 1000); }, error => { // console.log(error); reject(error); // Rechaza la promesa en caso de error }); }); } //ListarModulos ListarModulos() { var url = this.URL + "lmodulos"; return this.http.get(url, this.httpOptions); } //ListarArchivos ListarArchivos(id) { var url = this.URL + "larchivos/" + id; return this.http.get(url, this.httpOptions); } //ListarArchivos ProcesarArchivos(obj) { var url = this.URL + "phtml"; return this.http.post(url, obj, this.httpOptions); } GenerarCodigo(Entradas, funcion, ruta) { if (Entradas == "") return "Sin definicion"; const json = JSON.parse(Entradas); var strI = "/*!\n"; strI += "* Code Epic Technologies v1.0.1 (https://dev.code-epic.com)\n"; strI += "* Copyright 2020-2022 CodeEpicTechnologies \n"; strI += "* Licensed under MIT (https://code-epic.github.io)\n"; strI += "*/\n"; strI += "export interface " + funcion + " {\n"; json.forEach(value => { value.entradas.forEach(e => { strI += "\t" + e.alias + "\t ?:\t" + this.seleccionarTipo(e.tipo) + "\n"; }); }); strI += "}\n"; strI += "this.xAPI.funcion = '" + funcion + "'\n"; strI += "this.xAPI.parametros = ''\n"; strI += "this.xAPI.valores = JSON.stringify(" + funcion + ")\n"; strI += "const url = '" + ruta + "'\n"; strI += "const api = http.post(url, this.xAPI, httpOptions)\n"; strI += "api.subcribe(\n"; strI += "\t(data) => {\n"; strI += "\t\tconsole.info(data)\n"; strI += "\t},\n"; strI += "\t(error) => {\n"; strI += "\t\tconsole.error(error)\n"; strI += "\t}\n"; strI += ")\n"; return strI; } seleccionarTipo(tipo) { var c = ""; switch (tipo) { case "int": c = "number"; break; case "sql": c = "string"; break; default: c = tipo; break; } return c; } /** * Ejecutar la coleccion * @param xObjeto Objeto Coleccion * @returns */ ExecColeccion(xObjeto) { var url = this.URL + "ccoleccion"; return this.http.post(url, xObjeto, this.httpOptions); } Mensaje(msj, txt, icono, destino) { let respuesta = false; sweetalert2__WEBPACK_IMPORTED_MODULE_0___default().fire({ title: msj, text: txt, icon: icono, showCancelButton: false, confirmButtonColor: "#3085d6", cancelButtonColor: "#d33", confirmButtonText: "Aceptar", cancelButtonText: "No", allowEscapeKey: true }).then(result => { respuesta = result.isConfirmed; }); return respuesta; } static ɵfac = function ApiService_Factory(t) { return new (t || ApiService)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_task_service__WEBPACK_IMPORTED_MODULE_2__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_3__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_7__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_5__.HttpClient), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵinject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_4__.WsocketsService)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjectable"]({ token: ApiService, factory: ApiService.ɵfac, providedIn: "root" }); } /***/ }), /***/ 21380: /*!******************************************************!*\ !*** ./src/@services/apicore/system-info.service.ts ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "SystemInfoService": () => (/* binding */ SystemInfoService) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 57451); /* harmony import */ var _api_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./api.service */ 89780); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ 80529); class SystemInfoService { http; apiService; systemData; constructor(http, apiService) { this.http = http; this.apiService = apiService; // Aquí puedes cargar los datos desde una API o dejarlos estáticos this.systemData = []; } XgetSystemInfo() { // Si los datos vienen de una API: // return this.http.get('tu-api-endpoint'); let fnx = { funcion: "Fnx_DatosServidor" }; this.apiService.ExecFnx(fnx).subscribe(data => { console.log(data); let pid = data.contenido.id; return this.systemData = data; }, error => { console.log(error); }); // Para datos estáticos: return new rxjs__WEBPACK_IMPORTED_MODULE_1__.Observable(observer => { observer.next(this.systemData); observer.complete(); }); } getSystemInfo() { const fnx = { funcion: "Fnx_DatosServidor" }; return new rxjs__WEBPACK_IMPORTED_MODULE_1__.Observable(observer => { this.apiService.ExecFnx(fnx).subscribe(data => { // console.log(data); const pid = data.contenido.id; this.systemData = data; // Si ya está procesado, parseamos newData.rs if (data.documento === "PROCESADO") { this.parseAndAssignSystemData(data); observer.next(this.systemData); observer.complete(); return; } // Si no, iniciamos la verificación periódica const checkStatus = () => { this.apiService.ExecFnxId(pid).subscribe(newData => { console.log(newData); if (newData.documento === "PROCESADO") { this.parseAndAssignSystemData(newData); observer.next(this.systemData); observer.complete(); } else { setTimeout(checkStatus, 2000); // Reintentar en 2 segundos } }, error => { console.log(error); observer.error(error); }); }; setTimeout(checkStatus, 2000); // Primera verificación después de 2 segundos }, error => { console.log(error); observer.error(error); }); }); } // Método para extraer y parsear el JSON de newData.rs parseAndAssignSystemData(data) { try { // 1. Extraer el JSON del string completo const jsonStart = data.rs.indexOf('{'); const jsonEnd = data.rs.lastIndexOf('}') + 1; let jsonString = data.rs.substring(jsonStart, jsonEnd); // 2. Arreglar problemas comunes en el JSON // - Comas al final de arrays/objetos jsonString = jsonString.replace(/,\s*([}\]])/g, '$1'); // - Valores vacíos en propiedades numéricas jsonString = jsonString.replace(/:\s*,/g, ': null,'); jsonString = jsonString.replace(/:\s*$/g, ': null'); // 3. Parsear el JSON corregido const parsedData = JSON.parse(jsonString); // 4. Limpiar los datos numéricos vacíos if (parsedData.cpu) { parsedData.cpu.cores = parsedData.cpu.cores || null; parsedData.cpu.threads = parsedData.cpu.threads || null; } this.systemData = parsedData; // console.log('Datos del sistema parseados:', this.systemData); } catch (error) { console.error('Error al parsear data.rs:', error); console.error('Contenido problemático:', data.rs); this.systemData = { error: "Error al parsear datos del sistema", rawData: data.rs // Guardamos los datos crudos para diagnóstico }; } } static ɵfac = function SystemInfoService_Factory(t) { return new (t || SystemInfoService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__.HttpClient), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_api_service__WEBPACK_IMPORTED_MODULE_0__.ApiService)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ token: SystemInfoService, factory: SystemInfoService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 46930: /*!***********************************************!*\ !*** ./src/@services/apicore/task.service.ts ***! \***********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "TaskService": () => (/* binding */ TaskService) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var idb__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! idb */ 34735); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); const dbPromise = (0,idb__WEBPACK_IMPORTED_MODULE_1__.openDB)("sandrad-task", 1, { upgrade(db) { const task = db.createObjectStore("task", { // keyPath: "id", autoIncrement: true }); // task.createIndex("pid", "pid"); } }); class TaskService { iTask = { id: '', funcion: '', nombre: '', estatus: false, fin: undefined, inicio: undefined, prioridad: 0, usuario: '' }; get(key) { return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { return (yield dbPromise).get("task", key); })(); } set(key, val, app) { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.iTask.id = key; _this.iTask.inicio = new Date(); _this.iTask.funcion = val; _this.iTask.estatus = true; _this.iTask.nombre = app; return (yield dbPromise).put("task", _this.iTask, key); })(); } update(key) { var _this2 = this; this.get(key).then( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { _this2.iTask = data; _this2.iTask.fin = new Date(); _this2.iTask.estatus = false; (yield dbPromise).put("task", _this2.iTask, key); }); return function (_x) { return _ref.apply(this, arguments); }; }()); } del(key) { return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { return (yield dbPromise).delete("task", key); })(); } clear() { return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { console.log('eliminando task'); return (yield dbPromise).clear("task"); })(); } keys() { return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { return (yield dbPromise).getAllKeys("task"); })(); } static ɵfac = function TaskService_Factory(t) { return new (t || TaskService)(); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ token: TaskService, factory: TaskService.ɵfac, providedIn: "root" }); } /***/ }), /***/ 34552: /*!*******************************************************!*\ !*** ./src/@services/applications/install.service.ts ***! \*******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "InstallService": () => (/* binding */ InstallService) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class InstallService { constructor() {} static ɵfac = function InstallService_Factory(t) { return new (t || InstallService)(); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: InstallService, factory: InstallService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 91001: /*!****************************************************************!*\ !*** ./src/@services/comunicaciones/comunicaciones.service.ts ***! \****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ComunicacionesService": () => (/* binding */ ComunicacionesService) /* harmony export */ }); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ 80529); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); class ComunicacionesService { http; //Dirección Get para servicios en la página WEB URL = _environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.API; httpOptions = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + sessionStorage.getItem('token') }) }; constructor(http) { this.http = http; } Guardar(xCon, sApi) { var url = this.URL + sApi; return this.http.post(url, xCon, this.httpOptions); } Listar() { //console.log("Entrando en la funcion" + this.httpOptions) var url = this.URL + 'lcoleccion/sys-conection'; return this.http.get(url, this.httpOptions); } ListarDrivers() { var url = this.URL + 'drivers'; return this.http.get(url, this.httpOptions); } ListarConexiones() { var url = this.URL + 'conexiones'; return this.http.get(url, this.httpOptions); } ScanMac(sip) { var url = this.URL + 'sh'; var xCon = { script: "getmac.sh", flag: "", ip: sip }; console.log(xCon, url); return this.http.post(url, xCon, this.httpOptions); } ScanNmap(sip) { var url = this.URL + 'sh'; var xCon = { script: "getscan.sh", flag: "", ip: sip }; return this.http.post(url, xCon, this.httpOptions); } static ɵfac = function ComunicacionesService_Factory(t) { return new (t || ComunicacionesService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpClient)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ token: ComunicacionesService, factory: ComunicacionesService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 73542: /*!*********************************************************!*\ !*** ./src/@services/networks/comunications.service.ts ***! \*********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ComunicationsService": () => (/* binding */ ComunicationsService) /* harmony export */ }); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ 80529); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); class ComunicationsService { http; //Dirección Get para servicios en la página WEB URL = environments_environment__WEBPACK_IMPORTED_MODULE_0__.environment.API; httpOptions = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + sessionStorage.getItem('token') }) }; constructor(http) { this.http = http; } Guardar(xCon, sApi) { var url = this.URL + sApi; return this.http.post(url, xCon, this.httpOptions); } Listar() { //console.log("Entrando en la funcion" + this.httpOptions) var url = this.URL + 'lcoleccion/sys-conection'; return this.http.get(url, this.httpOptions); } ListarDrivers() { var url = this.URL + 'drivers'; return this.http.get(url, this.httpOptions); } ListarConexiones() { var url = this.URL + 'conexiones'; return this.http.get(url, this.httpOptions); } ScanMac(sip) { var url = this.URL + 'sh'; var xCon = { script: "getmac.sh", flag: "", ip: sip }; console.log(xCon, url); return this.http.post(url, xCon, this.httpOptions); } ScanNmap(sip) { var url = this.URL + 'sh'; var xCon = { script: "getscan.sh", flag: "", ip: sip }; return this.http.post(url, xCon, this.httpOptions); } static ɵfac = function ComunicationsService_Factory(t) { return new (t || ComunicationsService)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_1__.HttpClient)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ token: ComunicationsService, factory: ComunicationsService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 65784: /*!*******************************************************!*\ !*** ./src/@services/networks/connections.service.ts ***! \*******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ConexionesService": () => (/* binding */ ConexionesService) /* harmony export */ }); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common/http */ 80529); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 34793); class ConexionesService { router; http; //Dirección Get para servicios en la página WEB URL = '/v1/api/'; httpOptions = { headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_0__.HttpHeaders({ 'Content-Type': 'application/json', 'Authorization': 'Bearer ' + sessionStorage.getItem('token') }) }; constructor(router, http) { this.router = router; this.http = http; } Guardar(xDRI, sApi) { var url = this.URL + sApi; return this.http.post(url, xDRI, this.httpOptions); } Listar(APICORE) { var url = this.URL + 'crud'; return this.http.post(url, APICORE, this.httpOptions); } EvaluarConexion(xDRI, sApi) { var url = this.URL + sApi; return this.http.post(url, xDRI, this.httpOptions); } EstablecerConexion(xDRI, sApi) { var url = this.URL + sApi; return this.http.post(url, xDRI, this.httpOptions); } EvaluarPuente(sApi) { var url = this.URL + sApi; return this.http.post(url, {}, this.httpOptions); } static ɵfac = function ConexionesService_Factory(t) { return new (t || ConexionesService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__.HttpClient)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: ConexionesService, factory: ConexionesService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 2416: /*!******************************************!*\ !*** ./src/@services/pdf/pdf.service.ts ***! \******************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "PdfService": () => (/* binding */ PdfService) /* harmony export */ }); /* harmony import */ var jspdf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jspdf */ 20114); /* harmony import */ var jspdf_autotable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jspdf-autotable */ 12983); /* harmony import */ var jspdf_autotable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(jspdf_autotable__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); class PdfService { ListadoDeApis(data) { const tableData = data.map(item => [item.funcion, item.estatus ? 'ACTIVO' : 'INACTIVO', item.version, item.distribucion ? 'COMPARTIDA' : 'PRIVADA', item.metodo]); const doc = new jspdf__WEBPACK_IMPORTED_MODULE_0__["default"](); const pageWidth = doc.internal.pageSize.width || doc.internal.pageSize.getWidth(); // Obtener la longitud del título const fontSize = 20; const txt = "LISTA DE APIS"; const textWidth = doc.getStringUnitWidth(txt) * fontSize / doc.internal.scaleFactor; // Calcular la posición para centrar el título const x = (pageWidth - textWidth) / 2; const y = 15; // Altura deseada // Agregar el título al documento doc.text(txt, x, y); doc.setProperties({ title: "LISTA DE APIS", subject: "https://github.com/elpoloxrodriguez", author: "SANDRA SERVER", keywords: "generated, javascript, web 2.0, ajax", creator: "SANDRA SERVER - CODE EPIC TECHNOLOGIES" }); jspdf_autotable__WEBPACK_IMPORTED_MODULE_1___default()(doc, { head: [['FUNCION', 'ESTATUS', 'DRIVER', 'DISTRIBUCIÓN', 'METODO']], body: tableData, startY: 20, styles: { fillColor: [153, 153, 153], halign: 'center', overflow: "linebreak", fontSize: 9, valign: "middle" }, columnStyles: { 0: { halign: 'justify' } } }); doc.save("Lista-de-Apis.pdf"); } generarPDF(data) { console.log(data); const pdf = new jspdf__WEBPACK_IMPORTED_MODULE_0__["default"]({ orientation: 'landscape' // unit: 'cm', // format: [30, 30] }); pdf.html(document.getElementById('tuHTML')).then(() => { pdf.save('tu-archivo.pdf'); }).catch(() => { console.log('Algo salio mal'); }); } static ɵfac = function PdfService_Factory(t) { return new (t || PdfService)(); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({ token: PdfService, factory: PdfService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 76732: /*!*****************************************************!*\ !*** ./src/@services/seguridad/auth-guard.guard.ts ***! \*****************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "AuthGuardGuard": () => (/* binding */ AuthGuardGuard) /* harmony export */ }); /* harmony import */ var jwt_decode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! jwt-decode */ 21816); /* harmony import */ var ts_md5__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ts-md5 */ 87277); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./login.service */ 38072); class AuthGuardGuard { router; util; loginService; token; constructor(router, util, loginService) { this.router = router; this.util = util; this.loginService = loginService; } canActivate(next, state) { this.token = (0,jwt_decode__WEBPACK_IMPORTED_MODULE_0__["default"])(sessionStorage.getItem('token')); const IDAPP = this.token.Usuario.Aplicacion[0].id; if (sessionStorage.getItem("token") !== undefined && IDAPP == 'ID-001') { let menu = JSON.parse(sessionStorage.getItem('menu')); let texto = ts_md5__WEBPACK_IMPORTED_MODULE_1__.Md5.hashStr(sessionStorage.getItem('menu')); let validar = sessionStorage.getItem('crypt'); if (texto == validar) { let valor = false; if (state.url == '/home') return true; menu.forEach(e => { e.SubMenu.forEach(xe => { if (state.url.indexOf(xe.url) == 1) return valor = true; }); }); if (!valor) this.msj(); return valor; } else { return false; } } else { this.router.navigate(['/home']); return false; } } authConecting() { return new Promise((resolv, reject) => {}); } msj() { sweetalert2__WEBPACK_IMPORTED_MODULE_2___default().fire({ title: 'Área restringida', text: 'No poseé autorización', icon: 'error', showCancelButton: false, confirmButtonColor: '#3085d6', confirmButtonText: 'Ok', allowEscapeKey: true }).then(result => {// }); } static ɵfac = function AuthGuardGuard_Factory(t) { return new (t || AuthGuardGuard)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_3__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_login_service__WEBPACK_IMPORTED_MODULE_4__.LoginService)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({ token: AuthGuardGuard, factory: AuthGuardGuard.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 98801: /*!*************************************************************!*\ !*** ./src/@services/seguridad/auth-interceptor.service.ts ***! \*************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "AuthInterceptorService": () => (/* binding */ AuthInterceptorService) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 61737); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ 27221); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ 34793); class AuthInterceptorService { router; constructor(router) { this.router = router; } intercept(req, next) { const token = sessionStorage.getItem('token'); let request = req; if (token) {// request = req.clone({ // setHeaders: { // authorization: `Bearer ${ token }` // } // }); } return next.handle(request).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_1__.catchError)(err => { console.log(err.status); // switch(err.status){ // case 401: // sessionStorage.removeItem('token') // this.cerrar(err.error.msj) // break; // case 403: // sessionStorage.removeItem('token') // this.cerrar(err.error.msj) // break; // case 504: // sessionStorage.removeItem('token') // this.cerrar(err.error) // break // } return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.throwError)(err); })); } cerrar(msj) { sweetalert2__WEBPACK_IMPORTED_MODULE_0___default().fire({ title: 'Alerta', text: msj, icon: 'error', showCancelButton: false, confirmButtonColor: '#3085d6', confirmButtonText: 'Gracias por su tiempo!' }).then(result => { if (result.isConfirmed) { sessionStorage.removeItem('token'); window.location.href = '/login'; } }); } static ɵfac = function AuthInterceptorService_Factory(t) { return new (t || AuthInterceptorService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_4__.Router)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ token: AuthInterceptorService, factory: AuthInterceptorService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 38072: /*!**************************************************!*\ !*** ./src/@services/seguridad/login.service.ts ***! \**************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "LoginService": () => (/* binding */ LoginService) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var jwt_decode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! jwt-decode */ 21816); /* harmony import */ var ts_md5__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ts-md5 */ 87277); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common/http */ 80529); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); //import { CodeEpic, Configuracion } from 'code.epic.module' class LoginService { router; http; taskService; apiService; //Dirección Get para servicios en la página WEB URL = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.API; Id = ''; SToken; Token; Usuario; Aplicacion; xAPI = { funcion: '', parametros: '' }; urlGet = ''; //public Epic: CodeEpic = new CodeEpic constructor(router, http, taskService, apiService) { this.router = router; this.http = http; this.taskService = taskService; this.apiService = apiService; //environment.Url + this.urlGet = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.API; this.Id = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.ID; } Iniciar(itk) { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.Token = yield _this.getUserDecrypt(itk); sessionStorage.setItem("token", itk); _this.obenterAplicacion(itk); })(); } getLogin(user, clave) { var usuario = { "nombre": user, "clave": clave }; // var url = this.urlGet + 'wusuario/login'; var url = this.urlGet + 'wusuario/loginV2'; // console.info(url) return this.http.post(url, usuario); } getCrear(user, clave) { var usuario = { "nombre": user, "clave": clave }; var url = this.urlGet + 'wusuario/crear'; // console.info(url) return this.http.post(url, usuario); } makeUser(user) { var url = this.urlGet + 'identicacion'; return this.http.post(url, user); } logout() { sweetalert2__WEBPACK_IMPORTED_MODULE_2___default().fire({ title: 'Desea cerrar sesión?', text: "Gracias por su tiempo!", icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', confirmButtonText: 'Si, cerrar', cancelButtonText: 'Cancelar' }).then(result => { if (result.isConfirmed) { this.router.navigate(["login"]); this.clearSession(); } }); } clearSession() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let lstApp = []; yield _this2.taskService.keys().then( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (lst) { let cnt = lst.length; for (let i = 0; i < cnt; i++) { const e = lst[i]; _this2.taskService.get(e).then(data => { if (data.estatus) lstApp.push(data); if (i == cnt - 1) _this2.insertCommitDB(lstApp); }); } }); return function (_x) { return _ref.apply(this, arguments); }; }()); sessionStorage.clear(); localStorage.clear(); })(); } insertCommitDB(lst) { let idUser = "panel"; let obj = { "usuario": idUser, "task": lst, "fecha": new Date() }; let cl = { 'coleccion': environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.colecciones.USER_TASK, 'driver': environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.driver.PRINCIPAL, 'objeto': obj, 'donde': '{\"usuario\":\"' + idUser + '\"}', 'upsert': true }; this.apiService.ExecColeccion(cl).subscribe(x => { this.taskService.clear(); }, e => { this.taskService.clear(); }); } getUserDecrypt(itk) { var t = (0,jwt_decode__WEBPACK_IMPORTED_MODULE_3__["default"])(itk); return t; } //ObenterAplicacion obenterAplicacion(itk) { console.log(this.Token.Usuario); let cadena = this.Token.Usuario.cedula + ',' + this.Token.Usuario.sistema + ',' + this.Token.Usuario.correo; this.xAPI.funcion = "_SYS_CUsuarioPerfil"; this.xAPI.parametros = cadena; console.log(this.xAPI); this.apiService.Ejecutar(this.xAPI).subscribe(data => { console.log(data[0].Aplicacion[0]); sessionStorage.setItem("menu", JSON.stringify(data[0].Aplicacion[0].Rol.Menu)); let texto = ts_md5__WEBPACK_IMPORTED_MODULE_4__.Md5.hashStr(JSON.stringify(data[0].Aplicacion[0].Rol.Menu)); sessionStorage.setItem("crypt", texto); this.router.navigate(["home"]).then(() => { window.location.reload(); }); }, error => { console.error('Fallo conectando al perfil del usuario: ', error); }); } static ɵfac = function LoginService_Factory(t) { return new (t || LoginService)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpClient), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_5__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_6__.ApiService)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjectable"]({ token: LoginService, factory: LoginService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 41106: /*!*************************************************!*\ !*** ./src/@services/seguridad/user.service.ts ***! \*************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "UserService": () => (/* binding */ UserService) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class UserService { cedula = ''; nombre = ''; login = ''; correo = ''; clave = ''; sucursal = ''; direccion = ''; cargo = ''; telefono = ''; sistema = ''; token = ''; endpoint = ''; estatus = 1; Perfil = { descripcion: '', traza: '' }; Aplicacion = []; firmadigital = { duracion: 0, direccionmac: '*', direccionip: '*', tiempo: new Date().toISOString(), vigencia: 0, nivel: 0 }; iniciarObjeto() { this.cedula = ''; this.nombre = ''; this.login = ''; this.correo = ''; this.clave = ''; this.sucursal = ''; this.direccion = ''; this.cargo = ''; this.telefono = ''; this.endpoint = ''; this.sistema = ''; this.token = ''; this.estatus = 1; this.Perfil = { descripcion: '', traza: '' }; this.Aplicacion = []; this.firmadigital = { duracion: 0, direccionmac: '*', direccionip: '*', tiempo: new Date().toISOString(), vigencia: 0, nivel: 0 }; } limpiarObjeto() { this.iniciarObjeto(); } validarCampos() { const errores = []; const regex = { cedula: /^[0-9]+$/, nombre: /^[a-zA-ZáéíóúÁÉÍÓÚñÑ\s\-']+$/, login: /^[a-zA-Z0-9_\-]+$/, correo: /^[^\s@]+@[^\s@]+\.[^\s@]+$/, telefono: /^\+?[0-9\s\-()]+$/ }; if (!regex.cedula.test(this.cedula)) { errores.push('La cédula solo puede contener números'); } if (!regex.nombre.test(this.nombre)) { errores.push('El nombre contiene caracteres no permitidos'); } if (!regex.login.test(this.login)) { errores.push('El login solo puede contener letras, números y guiones'); } if (!regex.correo.test(this.correo)) { errores.push('El correo electrónico no es válido'); } if (!regex.telefono.test(this.telefono)) { errores.push('El teléfono contiene caracteres no válidos'); } return errores; } // Método para crear instancia desde JSON static fromJSON(json) { const usuario = new UserService(); Object.assign(usuario, json); return usuario; } // Método para convertir a JSON toJSON() { return { ...this }; } static ɵfac = function UserService_Factory(t) { return new (t || UserService)(); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: UserService, factory: UserService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 11225: /*!**************************************!*\ !*** ./src/@services/util/sha256.ts ***! \**************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "Sha256Service": () => (/* binding */ Sha256Service) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); class Sha256Service { constructor() {} K = [0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5 // ... (resto de las constantes K) ]; hash(message) { return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { // Preprocesamiento del mensaje const msgBuffer = new TextEncoder().encode(message); const msgBits = Array.from(msgBuffer).map(b => b.toString(2).padStart(8, '0')).join(''); const len = msgBits.length; const totalLen = len + 1 + 64 - (len + 1) % 64; // Añadir padding const paddedMsg = msgBits + '1' + '0'.repeat(totalLen - len - 1) + len.toString(2).padStart(64, '0'); // Procesar en bloques de 512 bits const blocks = []; for (let i = 0; i < paddedMsg.length; i += 512) { blocks.push(paddedMsg.substr(i, 512)); } // Inicializar variables de hash let h0 = 0x6a09e667, h1 = 0xbb67ae85, h2 = 0x3c6ef372, h3 = 0xa54ff53a; let h4 = 0x510e527f, h5 = 0x9b05688c, h6 = 0x1f83d9ab, h7 = 0x5be0cd19; // Procesar cada bloque for (const block of blocks) {// ... (implementación completa del algoritmo) } // Combinar los hashes const hashArray = [h0, h1, h2, h3, h4, h5, h6, h7]; const hashHex = hashArray.map(h => h.toString(16).padStart(8, '0')).join(''); return hashHex; })(); } static ɵfac = function Sha256Service_Factory(t) { return new (t || Sha256Service)(); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: Sha256Service, factory: Sha256Service.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 34380: /*!********************************************!*\ !*** ./src/@services/util/util.service.ts ***! \********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "UtilService": () => (/* binding */ UtilService) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! moment */ 15439); /* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _sha256__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./sha256 */ 11225); class UtilService { sha256; // constructor(sha256) { this.sha256 = sha256; } /** * Fecha Actual del sistema desde la application * @param dias sumar dias a la fecha actual * @returns retorna la fecha actual del sistema en formato YYYY-MM-DD */ FechaActual(dias = 0) { let date = new Date(); if (dias > 0) date.setDate(date.getDate() + dias); let output = date.getFullYear() + '-' + String(date.getMonth() + 1).padStart(2, '0') + '-' + String(date.getDate()).padStart(2, '0'); return output; } //retorna fecha en formato Dia/Mes/Anio ConvertirFecha(fecha) { return fecha.year + '-' + +fecha.month + '-' + fecha.day; } alertConfirmMini(icon, title) { const Toast = sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().mixin({ toast: true, position: 'top-end', showConfirmButton: false, timer: 3000, timerProgressBar: true, didOpen: toast => { toast.addEventListener('mouseenter', (sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().stopTimer)); toast.addEventListener('mouseleave', (sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().resumeTimer)); } }); Toast.fire({ icon: icon, title: title }); } FechaMomentActual() { moment__WEBPACK_IMPORTED_MODULE_2___default().locale('es'); var fech = moment__WEBPACK_IMPORTED_MODULE_2___default()().format('DD MMMM YYYY hh:mm:ss a'); return fech; } FechaMoment(fecha) { moment__WEBPACK_IMPORTED_MODULE_2___default().locale('es'); var fech = moment__WEBPACK_IMPORTED_MODULE_2___default()(fecha).format('LLLL'); return fech; } FechaMomentLL(fecha) { moment__WEBPACK_IMPORTED_MODULE_2___default().locale('es'); var fech = moment__WEBPACK_IMPORTED_MODULE_2___default()(fecha).format('LL'); return fech; } FechaMomentL(fecha) { moment__WEBPACK_IMPORTED_MODULE_2___default().locale('es'); var fech = moment__WEBPACK_IMPORTED_MODULE_2___default()(fecha).format('L'); return fech; } FechaMomentLLL(fecha) { moment__WEBPACK_IMPORTED_MODULE_2___default().locale('es'); var fech = moment__WEBPACK_IMPORTED_MODULE_2___default()(fecha).format('L'); return fech; } Semillero(id) { var f = new Date(); var anio = f.getFullYear().toString().substring(2, 4); var mes = this.zfill((f.getMonth() + 1).toString(), 2); var dia = this.zfill(f.getDate().toString(), 2); return anio + mes + dia + '-' + this.zfill(id, 5); } zfill(number, width) { var numberOutput = Math.abs(number); /* Valor absoluto del número */ var length = number.toString().length; /* Largo del número */ var zero = "0"; /* String de cero */ if (width <= length) { if (number < 0) { return "-" + numberOutput.toString(); } else { return numberOutput.toString(); } } else { if (number < 0) { return "-" + zero.repeat(width - length) + numberOutput.toString(); } else { return zero.repeat(width - length) + numberOutput.toString(); } } } //convertir cadena a minuscula y sin carateres especiales ConvertirCadena(cadena) { return cadena.toLowerCase().replace(/á/g, "a").replace(/ê/g, "i").replace(/í/g, "i").replace(/ó/g, "o").replace(/ú/g, "u"); } /** * Generar Unico ID * @returns string */ GenerarUnicId() { return Math.random().toString(36).substr(2, 18); } AlertMini(position, icon, title, timer) { const Toast = sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().mixin({ toast: true, position: position, showConfirmButton: false, timer: timer, timerProgressBar: true, didOpen: toast => { toast.addEventListener('mouseenter', (sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().stopTimer)); toast.addEventListener('mouseleave', (sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().resumeTimer)); } }); Toast.fire({ icon: icon, title: title }); } generateSHA256Hash(input) { return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { // const encoder = new TextEncoder(); // const data = encoder.encode(input); // const hashBuffer = await crypto.subtle.digest('SHA-256', data); // const hashArray = Array.from(new Uint8Array(hashBuffer)); // const hashHex = hashArray.map(byte => byte.toString(16).padStart(2, '0')).join(''); // return hashHex; return; //SHA256.hash('texto').then(hash => console.log(hash)); })(); } static ɵfac = function UtilService_Factory(t) { return new (t || UtilService)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_sha256__WEBPACK_IMPORTED_MODULE_3__.Sha256Service)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({ token: UtilService, factory: UtilService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 1442: /*!******************************************************!*\ !*** ./src/@services/websockets/wsockets.service.ts ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "WsocketsService": () => (/* binding */ WsocketsService) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var rxjs_webSocket__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/webSocket */ 87623); class WsocketsService { wsk; lst$ = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); lst; pid$; lstpid$ = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); pidDevice$ = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); pidScan$ = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); estatusText$ = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); estatusText = ''; constructor() {} instanciar() { this.wsk = (0,rxjs_webSocket__WEBPACK_IMPORTED_MODULE_1__.webSocket)("wss://localhost:3000/ws?id=panel"); } static ɵfac = function WsocketsService_Factory(t) { return new (t || WsocketsService)(); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: WsocketsService, factory: WsocketsService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 17151: /*!****************************************************!*\ !*** ./src/@services/workflow/workflow.service.ts ***! \****************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "WorkflowService": () => (/* binding */ WorkflowService) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class WorkflowService { msjText$ = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter(); msjText = ''; constructor() {} static ɵfac = function WorkflowService_Factory(t) { return new (t || WorkflowService)(); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: WorkflowService, factory: WorkflowService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 45529: /*!*******************************!*\ !*** ./src/app/app-config.ts ***! \*******************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "coreConfig": () => (/* binding */ coreConfig) /* harmony export */ }); /** * Default App Config * * ? TIP: * * Change app config based on your preferences. * You can also change them on each component basis. i.e `app/main/pages/authentication/auth-login-v1/auth-login-v1.component.ts` * * ! IMPORTANT: If the enableLocalStorage option is true then make sure you clear the browser local storage(https://developers.google.com/web/tools/chrome-devtools/storage/localstorage#delete). * ! Otherwise, it will not take the below config changes and use stored config from local storage. * */ // prettier-ignore const coreConfig = { app: { appName: 'CodeEpic', appTitle: 'Code-Epic Technologies', appLogoImage: 'assets/images/logo/logo.png', appLanguage: 'es' // App Default Language (en, fr, de, pt etc..) }, layout: { skin: 'default', type: 'vertical', animation: 'zoomIn', menu: { hidden: false, collapsed: false // Boolean: true, false }, // ? For horizontal menu, navbar type will work for navMenu type navbar: { hidden: false, type: 'fixed-top', background: 'navbar-light', customBackgroundColor: true, backgroundColor: '' // BS color i.e bg-primary, bg-success }, footer: { hidden: true, type: 'footer-sticky', background: 'footer-light', customBackgroundColor: false, backgroundColor: '' // BS color i.e bg-primary, bg-success }, enableLocalStorage: true, customizer: true, scrollTop: true, buyNow: false // Boolean: true, false (Set false in real project, For demo purpose only) } }; /***/ }), /***/ 55041: /*!**********************************!*\ !*** ./src/app/app.component.ts ***! \**********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "AppComponent": () => (/* binding */ AppComponent) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var node_waves__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! node-waves */ 79569); /* harmony import */ var node_waves__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(node_waves__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var app_menu_menu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/menu/menu */ 70318); /* harmony import */ var app_menu_i18n_en__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/menu/i18n/en */ 43831); /* harmony import */ var app_menu_i18n_es__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/menu/i18n/es */ 7147); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/platform-browser */ 11481); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.service */ 66841); /* harmony import */ var _core_services_loading_screen_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/services/loading-screen.service */ 35428); /* harmony import */ var _core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/components/core-menu/core-menu.service */ 54278); /* harmony import */ var _core_services_translation_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @core/services/translation.service */ 63305); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.component */ 9831); /* harmony import */ var _core_components_theme_customizer_theme_customizer_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @core/components/theme-customizer/theme-customizer.component */ 68347); /* harmony import */ var app_layout_vertical_vertical_layout_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! app/layout/vertical/vertical-layout.component */ 80836); /* harmony import */ var app_layout_horizontal_horizontal_layout_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! app/layout/horizontal/horizontal-layout.component */ 54487); function AppComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelement"](1, "vertical-layout"); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementContainerEnd"](); } } function AppComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelement"](1, "horizontal-layout"); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementContainerEnd"](); } } function AppComponent_core_sidebar_3_Template(rf, ctx) { if (rf & 1) { const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementStart"](0, "core-sidebar", 4)(1, "a", 5); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵlistener"]("click", function AppComponent_core_sidebar_3_Template_a_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵrestoreView"](_r5); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵresetView"](ctx_r4.toggleSidebar("themeCustomizer")); }); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelement"](2, "span", 6); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelement"](3, "core-theme-customizer"); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵproperty"]("invisibleOverlay", true); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵclassMap"]("spinner"); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵproperty"]("data-feather", "settings"); } } function AppComponent_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementStart"](0, "div", 7)(1, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelement"](2, "img", 9); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementStart"](3, "h1"); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵtext"](4, "Acceso restringido"); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementStart"](5, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵtext"](6, "El uso de herramientas de desarrollo no est\u00E1 permitido en esta aplicaci\u00F3n."); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementEnd"]()()(); } } class AppComponent { document; _title; _renderer; _elementRef; _coreConfigService; _coreSidebarService; _coreLoadingScreenService; _coreMenuService; _coreTranslationService; _translateService; appRef; renderer; devToolsOpened = false; checkInterval; showContent = true; disableRightClick = false; // Variable para controlar el bloqueo del clic derecho token; coreConfig; menu; defaultLanguage; // This language will be used as a fallback when a translation isn't found in the current language appLanguage; // Set application default language i.e fr // Private _unsubscribeAll; Menu; overlayElement; constructor(document, _title, _renderer, _elementRef, _coreConfigService, _coreSidebarService, _coreLoadingScreenService, _coreMenuService, _coreTranslationService, _translateService, appRef, renderer) { this.document = document; this._title = _title; this._renderer = _renderer; this._elementRef = _elementRef; this._coreConfigService = _coreConfigService; this._coreSidebarService = _coreSidebarService; this._coreLoadingScreenService = _coreLoadingScreenService; this._coreMenuService = _coreMenuService; this._coreTranslationService = _coreTranslationService; this._translateService = _translateService; this.appRef = appRef; this.renderer = renderer; // Crear el overlay de protección this.overlayElement = this.renderer.createElement('div'); this.renderer.addClass(this.overlayElement, 'devtools-overlay'); this.renderer.setStyle(this.overlayElement, 'display', 'none'); this.renderer.appendChild(document.body, this.overlayElement); // Configurar protección solo en producción if (_environments_environment__WEBPACK_IMPORTED_MODULE_4__.environment.production) { // this.disableRightClick = true; // Activar bloqueo de clic derecho // this.setupProtection(); // Detectar cuando las herramientas ya estaban abiertas al cargar la página if (window.outerWidth - window.innerWidth > 160 || window.outerHeight - window.innerHeight > 160) { this.handleDevToolsOpened(); } } this.Menu = undefined; // Get the application main menu var token = sessionStorage.getItem('token'); if (token === null) { this.menu = app_menu_menu__WEBPACK_IMPORTED_MODULE_1__.menu; } else { this.Menu = JSON.parse(sessionStorage.getItem('menu')); this.menu = this.Menu.map(e => { e.id = e.nombre.toLowerCase(); e.type = e.clase; e.icon = e.icono; e.translate = ''; e.title = e.nombre; if (e.SubMenu != undefined) { e.children = e.SubMenu.map(el => { el.id = el.nombre.toLowerCase(); el.title = el.descripcion; el.type = el.clase; el.icon = el.icono; return el; }); switch (e.type) { case 'item': e.url = e.descripcion; break; case 'collapsible': e.url = ''; break; default: break; } } return e; }); } // Register the menu to the menu service this._coreMenuService.register('main', this.menu); // Set the main menu as our current menu this._coreMenuService.setCurrentMenu('main'); // Add languages to the translation service this._translateService.addLangs(['es', 'en']); // This language will be used as a fallback when a translation isn't found in the current language this._translateService.setDefaultLang('es'); // Set the translations for the menu this._coreTranslationService.translate(app_menu_i18n_en__WEBPACK_IMPORTED_MODULE_2__.locale, app_menu_i18n_es__WEBPACK_IMPORTED_MODULE_3__.locale); // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_16__.Subject(); } onRightClick(event) { if (this.disableRightClick) { event.preventDefault(); } } // Lifecycle hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // Init wave effect (Ripple effect) node_waves__WEBPACK_IMPORTED_MODULE_0__.init(); // Subscribe to config changes this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; // Set application default language. const appLanguage = this.coreConfig.app.appLanguage || 'es'; this._translateService.use(appLanguage); // Fix for ngxTranslate setTimeout(() => { this._translateService.setDefaultLang('es'); this._translateService.setDefaultLang(appLanguage); }); // Layout //-------- // Remove default classes first this._elementRef.nativeElement.classList.remove('vertical-layout', 'vertical-menu-modern', 'horizontal-layout', 'horizontal-menu'); // Add class based on config options if (this.coreConfig.layout.type === 'vertical') { this._elementRef.nativeElement.classList.add('vertical-layout', 'vertical-menu-modern'); } else if (this.coreConfig.layout.type === 'horizontal') { this._elementRef.nativeElement.classList.add('horizontal-layout', 'horizontal-menu'); } // Navbar //-------- // Remove default classes first this._elementRef.nativeElement.classList.remove('navbar-floating', 'navbar-static', 'navbar-sticky', 'navbar-hidden'); // Add class based on config options if (this.coreConfig.layout.navbar.type === 'navbar-static-top') { this._elementRef.nativeElement.classList.add('navbar-static'); } else if (this.coreConfig.layout.navbar.type === 'fixed-top') { this._elementRef.nativeElement.classList.add('navbar-sticky'); } else if (this.coreConfig.layout.navbar.type === 'floating-nav') { this._elementRef.nativeElement.classList.add('navbar-floating'); } else { this._elementRef.nativeElement.classList.add('navbar-hidden'); } // Footer //-------- // Remove default classes first this._elementRef.nativeElement.classList.remove('footer-fixed', 'footer-static', 'footer-hidden'); // Add class based on config options if (this.coreConfig.layout.footer.type === 'footer-sticky') { this._elementRef.nativeElement.classList.add('footer-fixed'); } else if (this.coreConfig.layout.footer.type === 'footer-static') { this._elementRef.nativeElement.classList.add('footer-static'); } else { this._elementRef.nativeElement.classList.add('footer-hidden'); } // Blank layout if (this.coreConfig.layout.menu.hidden && this.coreConfig.layout.navbar.hidden && this.coreConfig.layout.footer.hidden) { this._elementRef.nativeElement.classList.add('blank-page'); // ! Fix: Transition issue while coming from blank page this._renderer.setAttribute(this._elementRef.nativeElement.getElementsByClassName('app-content')[0], 'style', 'transition:none'); } else { this._elementRef.nativeElement.classList.remove('blank-page'); // ! Fix: Transition issue while coming from blank page setTimeout(() => { this._renderer.setAttribute(this._elementRef.nativeElement.getElementsByClassName('app-content')[0], 'style', 'transition:300ms ease all'); }, 0); // If navbar hidden if (this.coreConfig.layout.navbar.hidden) { this._elementRef.nativeElement.classList.add('navbar-hidden'); } // Menu (Vertical menu hidden) if (this.coreConfig.layout.menu.hidden) { this._renderer.setAttribute(this._elementRef.nativeElement, 'data-col', '1-column'); } else { this._renderer.removeAttribute(this._elementRef.nativeElement, 'data-col'); } // Footer if (this.coreConfig.layout.footer.hidden) { this._elementRef.nativeElement.classList.add('footer-hidden'); } } // Skin Class (Adding to body as it requires highest priority) if (this.coreConfig.layout.skin !== '' && this.coreConfig.layout.skin !== undefined) { this.document.body.classList.remove('default-layout', 'bordered-layout', 'dark-layout', 'semi-dark-layout'); this.document.body.classList.add(this.coreConfig.layout.skin + '-layout'); } }); // Set the application page title this._title.setTitle(this.coreConfig.app.appTitle); } setupProtection() { // Configurar detección inicial this.checkDevTools(); // Verificar periódicamente this.checkInterval = setInterval(() => this.checkDevTools(), 1000); // Detectar atajos de teclado document.addEventListener('keydown', e => { if (e.key === 'F12' || e.keyCode === 123 || e.ctrlKey && e.shiftKey && (e.key === 'I' || e.key === 'J') || e.ctrlKey && e.key === 'U') { e.preventDefault(); this.handleDevToolsOpened(); } }); } checkDevTools() { const widthThreshold = window.outerWidth - window.innerWidth > 160; const heightThreshold = window.outerHeight - window.innerHeight > 160; if (widthThreshold || heightThreshold) { this.handleDevToolsOpened(); } else { this.handleDevToolsClosed(); } } handleDevToolsOpened() { if (!this.devToolsOpened) { this.devToolsOpened = true; this.showContent = false; this.disableInteractions(); this.appRef.tick(); // Forzar actualización de la vista } } handleDevToolsClosed() { if (this.devToolsOpened) { this.devToolsOpened = false; this.showContent = true; this.enableInteractions(); this.appRef.tick(); // Forzar actualización de la vista } } disableInteractions() { // Deshabilitar eventos document.addEventListener('keydown', this.preventEvent, true); document.addEventListener('click', this.preventEvent, true); document.addEventListener('contextmenu', this.preventEvent, true); } enableInteractions() { // Habilitar eventos nuevamente document.removeEventListener('keydown', this.preventEvent, true); document.removeEventListener('click', this.preventEvent, true); document.removeEventListener('contextmenu', this.preventEvent, true); } preventEvent(e) { e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); } /** * On destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions clearInterval(this.checkInterval); console.log('destroy code'); this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } // Public methods // ----------------------------------------------------------------------------------------------------- /** * Toggle sidebar open * * @param key */ toggleSidebar(key) { this._coreSidebarService.getSidebarRegistry(key).toggleOpen(); } static ɵfac = function AppComponent_Factory(t) { return new (t || AppComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_18__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_19__.Title), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_15__.Renderer2), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_15__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_5__.CoreConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarService), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_core_services_loading_screen_service__WEBPACK_IMPORTED_MODULE_7__.CoreLoadingScreenService), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_8__.CoreMenuService), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_core_services_translation_service__WEBPACK_IMPORTED_MODULE_9__.CoreTranslationService), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_20__.TranslateService), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_15__.ApplicationRef), _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_15__.Renderer2)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵdefineComponent"]({ type: AppComponent, selectors: [["app-root"]], hostBindings: function AppComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵlistener"]("contextmenu", function AppComponent_contextmenu_HostBindingHandler($event) { return ctx.onRightClick($event); }); } }, decls: 5, vars: 4, consts: [[1, "main-container"], [4, "ngIf"], ["name", "themeCustomizer", "class", "customizer d-none d-md-block", 3, "invisibleOverlay", 4, "ngIf"], ["class", "blocked-screen", 4, "ngIf"], ["name", "themeCustomizer", 1, "customizer", "d-none", "d-md-block", 3, "invisibleOverlay"], [1, "customizer-toggle", "d-flex", "align-items-center", "justify-content-center", 3, "click"], [3, "data-feather"], [1, "blocked-screen"], [1, "blocked-content"], ["src", "assets/images/logo/logo.png", "alt", "Acceso restringido", 1, "blocked-image"]], template: function AppComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵtemplate"](1, AppComponent_ng_container_1_Template, 2, 0, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵtemplate"](2, AppComponent_ng_container_2_Template, 2, 0, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵtemplate"](3, AppComponent_core_sidebar_3_Template, 4, 4, "core-sidebar", 2); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵtemplate"](4, AppComponent_div_4_Template, 7, 0, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵproperty"]("ngIf", ctx.coreConfig.layout.type === "vertical" && ctx.showContent); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵproperty"]("ngIf", ctx.coreConfig.layout.type === "horizontal" && ctx.showContent); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵproperty"]("ngIf", ctx.coreConfig.layout.customizer && ctx.showContent); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_15__["ɵɵproperty"]("ngIf", !ctx.showContent); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_18__.NgIf, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_10__.FeatherIconDirective, _core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_11__.CoreSidebarComponent, _core_components_theme_customizer_theme_customizer_component__WEBPACK_IMPORTED_MODULE_12__.CoreThemeCustomizerComponent, app_layout_vertical_vertical_layout_component__WEBPACK_IMPORTED_MODULE_13__.VerticalLayoutComponent, app_layout_horizontal_horizontal_layout_component__WEBPACK_IMPORTED_MODULE_14__.HorizontalLayoutComponent], styles: ["@charset \"UTF-8\";\nre-captcha.is-invalid > div {\n border: 1px solid #dc3545 !important;\n border-radius: 0.2rem;\n}\n.main-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.blocked-screen {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: white;\n z-index: 99999;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.blocked-screen .blocked-content {\n text-align: center;\n max-width: 90%;\n padding: 2rem;\n animation: fadeIn 0.5s ease-out;\n}\n.blocked-screen .blocked-content .blocked-image {\n width: 150px; /* Ajusta este valor seg\u00FAn tu logo */\n height: auto;\n margin-bottom: 2rem;\n /* Removemos el filtro para mostrar color real */\n}\n.blocked-screen .blocked-content h1 {\n color: #d32f2f; /* Rojo corporativo */\n font-size: 2.2rem;\n margin-bottom: 1.2rem;\n font-weight: 600;\n}\n.blocked-screen .blocked-content p {\n color: #5f6368; /* Gris oscuro para mejor legibilidad */\n font-size: 1.2rem;\n line-height: 1.6;\n max-width: 500px;\n margin: 0 auto;\n}\n@keyframes fadeIn {\n from {\n opacity: 0;\n transform: translateY(-20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}"], encapsulation: 2 }); } /***/ }), /***/ 36747: /*!*******************************!*\ !*** ./src/app/app.module.ts ***! \*******************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "AppModule": () => (/* binding */ AppModule) /* harmony export */ }); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/platform-browser */ 11481); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/platform-browser/animations */ 84934); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/common/http */ 80529); /* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hammerjs */ 55386); /* harmony import */ var hammerjs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(hammerjs__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var ngx_toastr__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ngx-toastr */ 97185); /* harmony import */ var _core_core_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../@core/core.module */ 70460); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var app_app_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/app-config */ 45529); /* harmony import */ var app_app_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/app.component */ 55041); /* harmony import */ var app_layout_layout_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/layout/layout.module */ 4805); /* harmony import */ var _main_home_home_module__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./main/home/home.module */ 81762); /* harmony import */ var _main_views_networks_networks_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./main/views/networks/networks.module */ 15945); /* harmony import */ var _main_views_options_options_module__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./main/views/options/options.module */ 56130); /* harmony import */ var _main_views_security_security_module__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./main/views/security/security.module */ 18912); /* harmony import */ var _main_views_tools_tools_module__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./main/views/tools/tools.module */ 35513); /* harmony import */ var _main_views_applications_applications_module__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./main/views/applications/applications.module */ 13416); /* harmony import */ var _main_views_task_task_module__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./main/views/task/task.module */ 82771); /* harmony import */ var _main_views_investigation_investigation_module__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./main/views/investigation/investigation.module */ 65584); /* harmony import */ var _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @ctrl/ngx-codemirror */ 1103); /* harmony import */ var ng_recaptcha__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ng-recaptcha */ 94700); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _services_seguridad_auth_interceptor_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @services/seguridad/auth-interceptor.service */ 98801); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/core */ 94650); //import { HttpClientModule } from '@angular/common/http'; // For auth after login toast // Recaptcha V3 // Recaptcha V2 // import { RECAPTCHA_SETTINGS, RecaptchaFormsModule, RecaptchaModule, RecaptchaSettings } from 'ng-recaptcha'; // import { environment } from 'environments/environment'; const appRoutes = [{ path: '', loadChildren: () => __webpack_require__.e(/*! import() */ 478).then(__webpack_require__.bind(__webpack_require__, /*! ./main/pages/pages.module */ 37478)).then(m => m.PagesModule) }, { path: '**', redirectTo: '/miscellaneous/error' //Error 404 - Page not found }]; class AppModule { static ɵfac = function AppModule_Factory(t) { return new (t || AppModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_17__["ɵɵdefineNgModule"]({ type: AppModule, bootstrap: [app_app_component__WEBPACK_IMPORTED_MODULE_5__.AppComponent] }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_17__["ɵɵdefineInjector"]({ providers: [{ provide: ng_recaptcha__WEBPACK_IMPORTED_MODULE_18__.RECAPTCHA_V3_SITE_KEY, useValue: environments_environment__WEBPACK_IMPORTED_MODULE_15__.environment.recaptcha.siteKey }, { provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_19__.HTTP_INTERCEPTORS, useClass: _services_seguridad_auth_interceptor_service__WEBPACK_IMPORTED_MODULE_16__.AuthInterceptorService, multi: true }], imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_20__.BrowserModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_21__.BrowserAnimationsModule, _angular_common_http__WEBPACK_IMPORTED_MODULE_19__.HttpClientModule, _angular_router__WEBPACK_IMPORTED_MODULE_22__.RouterModule.forRoot(appRoutes, { scrollPositionRestoration: 'enabled', relativeLinkResolution: 'legacy', useHash: true }), _ngx_translate_core__WEBPACK_IMPORTED_MODULE_23__.TranslateModule.forRoot(), _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_24__.CodemirrorModule, // Recaptcha V3 ng_recaptcha__WEBPACK_IMPORTED_MODULE_18__.RecaptchaV3Module, // Recaptcha V2 // RecaptchaFormsModule, // RecaptchaModule, //NgBootstrap _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__.NgbModule, ngx_toastr__WEBPACK_IMPORTED_MODULE_26__.ToastrModule.forRoot(), // Core modules _core_core_module__WEBPACK_IMPORTED_MODULE_1__.CoreModule.forRoot(app_app_config__WEBPACK_IMPORTED_MODULE_4__.coreConfig), _core_common_module__WEBPACK_IMPORTED_MODULE_2__.CoreCommonModule, _core_components__WEBPACK_IMPORTED_MODULE_3__.CoreSidebarModule, _core_components__WEBPACK_IMPORTED_MODULE_3__.CoreThemeCustomizerModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_27__.BlockUIModule.forRoot(), // App modules app_layout_layout_module__WEBPACK_IMPORTED_MODULE_6__.LayoutModule, _main_home_home_module__WEBPACK_IMPORTED_MODULE_7__.HomeModule, _main_views_networks_networks_module__WEBPACK_IMPORTED_MODULE_8__.NetworksModule, _main_views_applications_applications_module__WEBPACK_IMPORTED_MODULE_12__.ApplicationsModule, _main_views_options_options_module__WEBPACK_IMPORTED_MODULE_9__.OptionsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_28__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_28__.ReactiveFormsModule, _main_views_security_security_module__WEBPACK_IMPORTED_MODULE_10__.SecurityModule, _main_views_tools_tools_module__WEBPACK_IMPORTED_MODULE_11__.ToolsModule, _main_views_task_task_module__WEBPACK_IMPORTED_MODULE_13__.TaskModule, _main_views_investigation_investigation_module__WEBPACK_IMPORTED_MODULE_14__.InvestigationModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_29__.NgSelectModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_17__["ɵɵsetNgModuleScope"](AppModule, { declarations: [app_app_component__WEBPACK_IMPORTED_MODULE_5__.AppComponent], imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_20__.BrowserModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_21__.BrowserAnimationsModule, _angular_common_http__WEBPACK_IMPORTED_MODULE_19__.HttpClientModule, _angular_router__WEBPACK_IMPORTED_MODULE_22__.RouterModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_23__.TranslateModule, _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_24__.CodemirrorModule, // Recaptcha V3 ng_recaptcha__WEBPACK_IMPORTED_MODULE_18__.RecaptchaV3Module, // Recaptcha V2 // RecaptchaFormsModule, // RecaptchaModule, //NgBootstrap _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_25__.NgbModule, ngx_toastr__WEBPACK_IMPORTED_MODULE_26__.ToastrModule, _core_core_module__WEBPACK_IMPORTED_MODULE_1__.CoreModule, _core_common_module__WEBPACK_IMPORTED_MODULE_2__.CoreCommonModule, _core_components__WEBPACK_IMPORTED_MODULE_3__.CoreSidebarModule, _core_components__WEBPACK_IMPORTED_MODULE_3__.CoreThemeCustomizerModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_27__.BlockUIModule, // App modules app_layout_layout_module__WEBPACK_IMPORTED_MODULE_6__.LayoutModule, _main_home_home_module__WEBPACK_IMPORTED_MODULE_7__.HomeModule, _main_views_networks_networks_module__WEBPACK_IMPORTED_MODULE_8__.NetworksModule, _main_views_applications_applications_module__WEBPACK_IMPORTED_MODULE_12__.ApplicationsModule, _main_views_options_options_module__WEBPACK_IMPORTED_MODULE_9__.OptionsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_28__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_28__.ReactiveFormsModule, _main_views_security_security_module__WEBPACK_IMPORTED_MODULE_10__.SecurityModule, _main_views_tools_tools_module__WEBPACK_IMPORTED_MODULE_11__.ToolsModule, _main_views_task_task_module__WEBPACK_IMPORTED_MODULE_13__.TaskModule, _main_views_investigation_investigation_module__WEBPACK_IMPORTED_MODULE_14__.InvestigationModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_29__.NgSelectModule] }); })(); /***/ }), /***/ 13282: /*!*************************************************************************************!*\ !*** ./src/app/layout/components/content-header/breadcrumb/breadcrumb.component.ts ***! \*************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "BreadcrumbComponent": () => (/* binding */ BreadcrumbComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 34793); function BreadcrumbComponent_li_2_a_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 6); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { const link_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("routerLink", link_r1.link); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](link_r1.name); } } function BreadcrumbComponent_li_2_span_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { const link_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](link_r1.name); } } function BreadcrumbComponent_li_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, BreadcrumbComponent_li_2_a_1_Template, 2, 2, "a", 4); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BreadcrumbComponent_li_2_span_2_Template, 2, 1, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { const link_r1 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", link_r1.isLink); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !link_r1.isLink); } } const _c0 = function (a0, a1) { return { "justify-content-center": a0, "justify-content-end": a1 }; }; const _c1 = function (a0, a1, a2, a3, a4, a5) { return { "breadcrumb-slash": a0, "breadcrumb-dots": a1, "breadcrumb-dashes": a2, "breadcrumb-pipes": a3, "breadcrumb-chevron": a4, "mr-1": a5 }; }; class BreadcrumbComponent { // input variable breadcrumb; constructor() {} // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // concatenate default properties with passed properties this.breadcrumb = this.breadcrumb; } static ɵfac = function BreadcrumbComponent_Factory(t) { return new (t || BreadcrumbComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: BreadcrumbComponent, selectors: [["app-breadcrumb"]], inputs: { breadcrumb: "breadcrumb" }, decls: 3, vars: 13, consts: [[1, "breadcrumb-wrapper", "d-flex", 3, "ngClass"], [1, "breadcrumb", 3, "ngClass"], ["class", "breadcrumb-item", 4, "ngFor", "ngForOf"], [1, "breadcrumb-item"], [3, "routerLink", 4, "ngIf"], [4, "ngIf"], [3, "routerLink"]], template: function BreadcrumbComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "ol", 1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, BreadcrumbComponent_li_2_Template, 3, 2, "li", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](3, _c0, ctx.breadcrumb.alignment == "center", ctx.breadcrumb.alignment == "right")); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction6"](6, _c1, ctx.breadcrumb.type == "slash", ctx.breadcrumb.type == "dots", ctx.breadcrumb.type == "dashes", ctx.breadcrumb.type == "pipes", ctx.breadcrumb.type == "chevron", ctx.breadcrumb.alignment == "right")); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.breadcrumb.links); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_1__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf, _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterLinkWithHref], encapsulation: 2 }); } /***/ }), /***/ 90044: /*!**********************************************************************************!*\ !*** ./src/app/layout/components/content-header/breadcrumb/breadcrumb.module.ts ***! \**********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "BreadcrumbModule": () => (/* binding */ BreadcrumbModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var app_layout_components_content_header_breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/layout/components/content-header/breadcrumb/breadcrumb.component */ 13282); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); class BreadcrumbModule { static ɵfac = function BreadcrumbModule_Factory(t) { return new (t || BreadcrumbModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: BreadcrumbModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild([])] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](BreadcrumbModule, { declarations: [app_layout_components_content_header_breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_0__.BreadcrumbComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule], exports: [app_layout_components_content_header_breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_0__.BreadcrumbComponent] }); })(); /***/ }), /***/ 4810: /*!******************************************************************************!*\ !*** ./src/app/layout/components/content-header/content-header.component.ts ***! \******************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ContentHeaderComponent": () => (/* binding */ ContentHeaderComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var app_layout_components_content_header_breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/breadcrumb/breadcrumb.component */ 13282); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); const _c0 = function () { return ["/networks/communications"]; }; const _c1 = function () { return ["/networks/connections"]; }; const _c2 = function () { return ["/tools/applications"]; }; const _c3 = function () { return ["/security/role"]; }; function ContentHeaderComponent_ng_container_0_ng_container_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "div", 7)(2, "div", 8)(3, "div", 9)(4, "button", 10); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](5, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "div", 12)(7, "a", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](8, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9, " Servidores"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "a", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](11, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](12, " Conexiones"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](13, "a", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](14, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](15, " Api Rest"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](16, "a", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](17, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](18, " Seguridad"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "grid"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction0"](17, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "server"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction0"](18, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "hard-drive"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction0"](19, _c2)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "tool"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction0"](20, _c3)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "lock"); } } function ContentHeaderComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "h2", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](7, "app-breadcrumb", 6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](8, ContentHeaderComponent_ng_container_0_ng_container_8_Template, 19, 21, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", ctx_r0.contentHeader.headerTitle, " "); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("breadcrumb", ctx_r0.contentHeader.breadcrumb); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx_r0.contentHeader.actionButton); } } class ContentHeaderComponent { // input variable contentHeader; constructor() {} ngOnInit() {} static ɵfac = function ContentHeaderComponent_Factory(t) { return new (t || ContentHeaderComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: ContentHeaderComponent, selectors: [["app-content-header"]], inputs: { contentHeader: "contentHeader" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "content-header", "row"], [1, "content-header-left", "col-md-9", "col-12", "mb-2"], [1, "row", "breadcrumbs-top"], [1, "col-12", "d-flex"], [1, "content-header-title", "float-left", "mb-0"], [3, "breadcrumb"], [1, "content-header-right", "text-md-right", "col-md-3", "col-12", "d-md-block", "d-none"], [1, "form-group", "breadcrum-right"], ["ngbDropdown", ""], ["ngbDropdownToggle", "", "id", "dropdownSettings", "type", "button", "rippleEffect", "", 1, "btn-icon", "btn", "btn-primary", "btn-round", "btn-sm"], [3, "data-feather"], ["ngbDropdownMenu", "", "aria-labelledby", "dropdownSettings"], ["ngbDropdownItem", "", 3, "routerLink"]], template: function ContentHeaderComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](0, ContentHeaderComponent_ng_container_0_Template, 9, 3, "ng-container", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx.contentHeader); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterLinkWithHref, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_0__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__.FeatherIconDirective, app_layout_components_content_header_breadcrumb_breadcrumb_component__WEBPACK_IMPORTED_MODULE_2__.BreadcrumbComponent, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbDropdownItem], encapsulation: 2 }); } /***/ }), /***/ 50619: /*!***************************************************************************!*\ !*** ./src/app/layout/components/content-header/content-header.module.ts ***! \***************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ContentHeaderModule": () => (/* binding */ ContentHeaderModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_breadcrumb_breadcrumb_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/components/content-header/breadcrumb/breadcrumb.module */ 90044); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); class ContentHeaderModule { static ɵfac = function ContentHeaderModule_Factory(t) { return new (t || ContentHeaderModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: ContentHeaderModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule, app_layout_components_content_header_breadcrumb_breadcrumb_module__WEBPACK_IMPORTED_MODULE_1__.BreadcrumbModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](ContentHeaderModule, { declarations: [app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule, app_layout_components_content_header_breadcrumb_breadcrumb_module__WEBPACK_IMPORTED_MODULE_1__.BreadcrumbModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbModule], exports: [app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderComponent] }); })(); /***/ }), /***/ 24714: /*!****************************************************************!*\ !*** ./src/app/layout/components/content/content.component.ts ***! \****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ContentComponent": () => (/* binding */ ContentComponent) /* harmony export */ }); /* harmony import */ var _core_animations_core_animation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/animations/core.animation */ 24597); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 34793); class ContentComponent { _coreConfigService; coreConfig; animate; // Private _unsubscribeAll; /** * Constructor * * @param {CoreConfigService} _coreConfigService * */ constructor(_coreConfigService) { this._coreConfigService = _coreConfigService; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Subject(); } /** * Fade In Left Animation * * @param outlet */ fadeInLeft(outlet) { if (this.animate === 'fadeInLeft') { return outlet.activatedRouteData.animation; } return null; } /** * Zoom In Animation * * @param outlet */ zoomIn(outlet) { if (this.animate === 'zoomIn') { return outlet.activatedRouteData.animation; } return null; } /** * Fade In Animation * * @param outlet */ fadeIn(outlet) { if (this.animate === 'fadeIn') { return outlet.activatedRouteData.animation; } return null; } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On Init */ ngOnInit() { // Subscribe config change this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; this.animate = this.coreConfig.layout.animation; }); } static ɵfac = function ContentComponent_Factory(t) { return new (t || ContentComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_1__.CoreConfigService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({ type: ContentComponent, selectors: [["content"]], decls: 3, vars: 3, consts: [["outlet", "outlet"]], template: function ContentComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](1, "router-outlet", null, 0); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } if (rf & 2) { const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵreference"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("@zoomIn", ctx.zoomIn(_r0))("@fadeInLeft", ctx.fadeInLeft(_r0))("@fadeIn", ctx.fadeIn(_r0)); } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterOutlet], encapsulation: 2, data: { animation: [_core_animations_core_animation__WEBPACK_IMPORTED_MODULE_0__.fadeInLeft, _core_animations_core_animation__WEBPACK_IMPORTED_MODULE_0__.zoomIn, _core_animations_core_animation__WEBPACK_IMPORTED_MODULE_0__.fadeIn] } }); } /***/ }), /***/ 92181: /*!*************************************************************!*\ !*** ./src/app/layout/components/content/content.module.ts ***! \*************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ContentModule": () => (/* binding */ ContentModule) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_content_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/components/content/content.component */ 24714); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); class ContentModule { static ɵfac = function ContentModule_Factory(t) { return new (t || ContentModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({ type: ContentModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsetNgModuleScope"](ContentModule, { declarations: [app_layout_components_content_content_component__WEBPACK_IMPORTED_MODULE_1__.ContentComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule], exports: [app_layout_components_content_content_component__WEBPACK_IMPORTED_MODULE_1__.ContentComponent] }); })(); /***/ }), /***/ 92223: /*!**************************************************************!*\ !*** ./src/app/layout/components/footer/footer.component.ts ***! \**************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "FooterComponent": () => (/* binding */ FooterComponent) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_footer_scroll_to_top_scroll_top_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/components/footer/scroll-to-top/scroll-top.component */ 12394); function FooterComponent_app_scroll_top_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](0, "app-scroll-top"); } } function FooterComponent_a_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "a", 8); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](1, "Actualizaci\u00F3n Disponible"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } } class FooterComponent { _coreConfigService; coreConfig; year = new Date().getFullYear(); // Private _unsubscribeAll; myVersion; /** * Constructor * * @param {CoreConfigService} _coreConfigService */ constructor(_coreConfigService) { this._coreConfigService = _coreConfigService; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_3__.Subject(); } // Lifecycle hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { this.myVersion = _angular_core__WEBPACK_IMPORTED_MODULE_2__.VERSION.full; // Subscribe to config changes this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; }); } /** * On destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } static ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_0__.CoreConfigService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: FooterComponent, selectors: [["footer"]], decls: 12, vars: 4, consts: [[1, "clearfix", "mb-0"], [1, "float-md-left", "d-block", "d-md-inline-block", "mt-25"], ["href", "https://code-epic.com", "target", "_blank", 1, "ml-25"], [1, "d-none", "d-sm-inline-block"], [1, "float-md-right", "d-none", "d-md-block"], [4, "ngIf"], [1, "buy-now"], ["href", "https://code-epic.com", "target", "_blank", "class", "btn btn-danger", 4, "ngIf"], ["href", "https://code-epic.com", "target", "_blank", 1, "btn", "btn-danger"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "p", 0)(1, "span", 1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](3, "a", 2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](4, "Code-Epic Technologies"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](5, "span", 3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](6, ", All rights Reserved"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](7, "span", 4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](9, FooterComponent_app_scroll_top_9_Template, 1, 0, "app-scroll-top", 5); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](10, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](11, FooterComponent_a_11_Template, 2, 0, "a", 7); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" COPYRIGHT \u00A9 ", ctx.year, " "); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" Version Angular ", ctx.myVersion, " \u00A0 \u00A0 \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.coreConfig.layout.scrollTop); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.coreConfig.layout.buyNow); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.NgIf, app_layout_components_footer_scroll_to_top_scroll_top_component__WEBPACK_IMPORTED_MODULE_1__.ScrollTopComponent], encapsulation: 2 }); } /***/ }), /***/ 73030: /*!***********************************************************!*\ !*** ./src/app/layout/components/footer/footer.module.ts ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "FooterModule": () => (/* binding */ FooterModule) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/components/footer/footer.component */ 92223); /* harmony import */ var app_layout_components_footer_scroll_to_top_scroll_top_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/footer/scroll-to-top/scroll-top.component */ 12394); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); class FooterModule { static ɵfac = function FooterModule_Factory(t) { return new (t || FooterModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: FooterModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_4__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](FooterModule, { declarations: [app_layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_1__.FooterComponent, app_layout_components_footer_scroll_to_top_scroll_top_component__WEBPACK_IMPORTED_MODULE_2__.ScrollTopComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_4__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule], exports: [app_layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_1__.FooterComponent] }); })(); /***/ }), /***/ 12394: /*!********************************************************************************!*\ !*** ./src/app/layout/components/footer/scroll-to-top/scroll-top.component.ts ***! \********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ScrollTopComponent": () => (/* binding */ ScrollTopComponent) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = function (a0) { return { "show-scroll-to-top": a0 }; }; class ScrollTopComponent { document; windowScrolled; topOffset = 150; // Top offset to display scroll to top button constructor(document) { this.document = document; } onWindowScroll() { if (window.pageYOffset > this.topOffset || document.documentElement.scrollTop > this.topOffset || document.body.scrollTop > this.topOffset) { this.windowScrolled = true; } else if (this.windowScrolled && window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop < 10) { this.windowScrolled = false; } } scrollToTop() { (function smoothscroll() { var currentScroll = document.documentElement.scrollTop || document.body.scrollTop; if (currentScroll > 0) { window.requestAnimationFrame(smoothscroll); window.scrollTo(0, currentScroll - currentScroll / 8); } })(); } ngOnInit() {} static ɵfac = function ScrollTopComponent_Factory(t) { return new (t || ScrollTopComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_3__.DOCUMENT)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: ScrollTopComponent, selectors: [["app-scroll-top"]], hostBindings: function ScrollTopComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("scroll", function ScrollTopComponent_scroll_HostBindingHandler() { return ctx.onWindowScroll(); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵresolveWindow"]); } }, decls: 2, vars: 4, consts: [["type", "button", "rippleEffect", "", 1, "btn", "btn-primary", "btn-icon", "scroll-to-top", 3, "ngClass", "click"], [3, "data-feather"]], template: function ScrollTopComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "button", 0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function ScrollTopComponent_Template_button_click_0_listener() { return ctx.scrollToTop(); }); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](1, "span", 1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpureFunction1"](2, _c0, ctx.windowScrolled)); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("data-feather", "arrow-up"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgClass, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_4__.DefaultClassDirective, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_0__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__.FeatherIconDirective], styles: [".scroll-to-top[_ngcontent-%COMP%] {\n position: fixed;\n bottom: 5%;\n right: 30px;\n z-index: 99;\n display: none;\n transition: all 0.2s ease-in-out;\n}\n\n.show-scroll-to-top[_ngcontent-%COMP%] {\n opacity: 1;\n display: block;\n transition: all 0.2s ease-in-out;\n}"] }); } /***/ }), /***/ 71778: /*!*************************************************************************************!*\ !*** ./src/app/layout/components/menu/horizontal-menu/horizontal-menu.component.ts ***! \*************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "HorizontalMenuComponent": () => (/* binding */ HorizontalMenuComponent) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 92198); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-menu/core-menu.service */ 54278); /* harmony import */ var _core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.service */ 66841); /* harmony import */ var _core_components_core_menu_core_menu_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-menu/core-menu.component */ 34505); class HorizontalMenuComponent { _coreConfigService; _coreMenuService; _coreSidebarService; coreConfig; menu; // Private _unsubscribeAll; /** * Constructor * * @param {CoreConfigService} _coreConfigService * @param {CoreMenuService} _coreMenuService * @param {CoreSidebarService} _coreSidebarService */ constructor(_coreConfigService, _coreMenuService, _coreSidebarService) { this._coreConfigService = _coreConfigService; this._coreMenuService = _coreMenuService; this._coreSidebarService = _coreSidebarService; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_4__.Subject(); } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On Init */ ngOnInit() { // Subscribe config change this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; }); // Get current menu this._coreMenuService.onMenuChanged.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.filter)(value => value !== null), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.takeUntil)(this._unsubscribeAll)).subscribe(() => { this.menu = this._coreMenuService.getCurrentMenu(); }); } /** * On Destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } static ɵfac = function HorizontalMenuComponent_Factory(t) { return new (t || HorizontalMenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_0__.CoreConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_1__.CoreMenuService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_2__.CoreSidebarService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineComponent"]({ type: HorizontalMenuComponent, selectors: [["horizontal-menu"]], decls: 2, vars: 0, consts: [[1, "navbar-container", "main-menu-content"], ["id", "main-menu-navigation", "layout", "horizontal", "core-menu", "", 1, "nav", "navbar-nav"]], template: function HorizontalMenuComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "ul", 1); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } }, dependencies: [_core_components_core_menu_core_menu_component__WEBPACK_IMPORTED_MODULE_3__.CoreMenuComponent], encapsulation: 2 }); } /***/ }), /***/ 18029: /*!**********************************************************************************!*\ !*** ./src/app/layout/components/menu/horizontal-menu/horizontal-menu.module.ts ***! \**********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "HorizontalMenuModule": () => (/* binding */ HorizontalMenuModule) /* harmony export */ }); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_menu_horizontal_menu_horizontal_menu_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/menu/horizontal-menu/horizontal-menu.component */ 71778); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); class HorizontalMenuModule { static ɵfac = function HorizontalMenuModule_Factory(t) { return new (t || HorizontalMenuModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: HorizontalMenuModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [_core_components__WEBPACK_IMPORTED_MODULE_0__.CoreMenuModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](HorizontalMenuModule, { declarations: [app_layout_components_menu_horizontal_menu_horizontal_menu_component__WEBPACK_IMPORTED_MODULE_2__.HorizontalMenuComponent], imports: [_core_components__WEBPACK_IMPORTED_MODULE_0__.CoreMenuModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule], exports: [app_layout_components_menu_horizontal_menu_horizontal_menu_component__WEBPACK_IMPORTED_MODULE_2__.HorizontalMenuComponent] }); })(); /***/ }), /***/ 92393: /*!**********************************************************!*\ !*** ./src/app/layout/components/menu/menu.component.ts ***! \**********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "MenuComponent": () => (/* binding */ MenuComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_menu_vertical_menu_vertical_menu_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/layout/components/menu/vertical-menu/vertical-menu.component */ 72951); /* harmony import */ var app_layout_components_menu_horizontal_menu_horizontal_menu_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/components/menu/horizontal-menu/horizontal-menu.component */ 71778); function MenuComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](1, "vertical-menu"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"](); } } function MenuComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](1, "horizontal-menu"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainerEnd"](); } } class MenuComponent { _elementRef; _renderer; _menuType; /** * Constructor * * @param {ElementRef} _elementRef * @param {Renderer2} _renderer */ constructor(_elementRef, _renderer) { this._elementRef = _elementRef; this._renderer = _renderer; // Set the default menu this._menuType = 'vertical-menu'; } // Accessors // ----------------------------------------------------------------------------------------------------- //Get the menu type get menuType() { return this._menuType; } set menuType(value) { // Remove the old class name from native element this._renderer.removeClass(this._elementRef.nativeElement, this.menuType); // Store the menuType value this._menuType = value; // Add the new class name from native element this._renderer.addClass(this._elementRef.nativeElement, value); } static ɵfac = function MenuComponent_Factory(t) { return new (t || MenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.Renderer2)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: MenuComponent, selectors: [["app-menu"]], inputs: { menuType: "menuType" }, decls: 2, vars: 2, consts: [[4, "ngIf"]], template: function MenuComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, MenuComponent_ng_container_0_Template, 2, 0, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](1, MenuComponent_ng_container_1_Template, 2, 0, "ng-container", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.menuType === "vertical-menu"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.menuType === "horizontal-menu"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgIf, app_layout_components_menu_vertical_menu_vertical_menu_component__WEBPACK_IMPORTED_MODULE_0__.VerticalMenuComponent, app_layout_components_menu_horizontal_menu_horizontal_menu_component__WEBPACK_IMPORTED_MODULE_1__.HorizontalMenuComponent], encapsulation: 2 }); } /***/ }), /***/ 79287: /*!*******************************************************!*\ !*** ./src/app/layout/components/menu/menu.module.ts ***! \*******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "MenuModule": () => (/* binding */ MenuModule) /* harmony export */ }); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_menu_menu_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/components/menu/menu.component */ 92393); /* harmony import */ var app_layout_components_menu_vertical_menu_vertical_menu_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/menu/vertical-menu/vertical-menu.module */ 71307); /* harmony import */ var app_layout_components_menu_horizontal_menu_horizontal_menu_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/layout/components/menu/horizontal-menu/horizontal-menu.module */ 18029); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); class MenuModule { static ɵfac = function MenuModule_Factory(t) { return new (t || MenuModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: MenuModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ imports: [_core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule, app_layout_components_menu_vertical_menu_vertical_menu_module__WEBPACK_IMPORTED_MODULE_2__.VerticalMenuModule, app_layout_components_menu_horizontal_menu_horizontal_menu_module__WEBPACK_IMPORTED_MODULE_3__.HorizontalMenuModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](MenuModule, { declarations: [app_layout_components_menu_menu_component__WEBPACK_IMPORTED_MODULE_1__.MenuComponent], imports: [_core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule, app_layout_components_menu_vertical_menu_vertical_menu_module__WEBPACK_IMPORTED_MODULE_2__.VerticalMenuModule, app_layout_components_menu_horizontal_menu_horizontal_menu_module__WEBPACK_IMPORTED_MODULE_3__.HorizontalMenuModule], exports: [app_layout_components_menu_menu_component__WEBPACK_IMPORTED_MODULE_1__.MenuComponent] }); })(); /***/ }), /***/ 72951: /*!*********************************************************************************!*\ !*** ./src/app/layout/components/menu/vertical-menu/vertical-menu.component.ts ***! \*********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "VerticalMenuComponent": () => (/* binding */ VerticalMenuComponent) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 92198); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 72986); /* harmony import */ var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ngx-perfect-scrollbar */ 91851); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-menu/core-menu.service */ 54278); /* harmony import */ var _core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.service */ 66841); /* harmony import */ var _core_components_core_menu_core_menu_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-menu/core-menu.component */ 34505); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = function () { return ["/"]; }; const _c1 = function (a0) { return { "d-block": a0 }; }; class VerticalMenuComponent { _coreConfigService; _coreMenuService; _coreSidebarService; _router; coreConfig; menu; isCollapsed; isScrolled = false; // Private _unsubscribeAll; /** * Constructor * * @param {CoreConfigService} _coreConfigService * @param {CoreMenuService} _coreMenuService * @param {CoreSidebarService} _coreSidebarService * @param {Router} _router */ constructor(_coreConfigService, _coreMenuService, _coreSidebarService, _router) { this._coreConfigService = _coreConfigService; this._coreMenuService = _coreMenuService; this._coreSidebarService = _coreSidebarService; this._router = _router; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_5__.Subject(); } directiveRef; // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On Init */ ngOnInit() { // Subscribe config change this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; }); this.isCollapsed = this._coreSidebarService.getSidebarRegistry('menu').collapsed; // Close the menu on router NavigationEnd (Required for small screen to close the menu on select) this._router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.filter)(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_8__.NavigationEnd), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.takeUntil)(this._unsubscribeAll)).subscribe(() => { if (this._coreSidebarService.getSidebarRegistry('menu')) { this._coreSidebarService.getSidebarRegistry('menu').close(); } }); // scroll to active on navigation end this._router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.filter)(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_8__.NavigationEnd), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.take)(1)).subscribe(() => { setTimeout(() => { this.directiveRef.scrollToElement('.navigation .active', -180, 500); }); }); // Get current menu this._coreMenuService.onMenuChanged.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.filter)(value => value !== null), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.takeUntil)(this._unsubscribeAll)).subscribe(() => { this.menu = this._coreMenuService.getCurrentMenu(); }); } /** * On Destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } // Public Methods // ----------------------------------------------------------------------------------------------------- /** * On Sidebar scroll set isScrolled as true */ onSidebarScroll() { if (this.directiveRef.position(true).y > '3') { this.isScrolled = true; } else { this.isScrolled = false; } } /** * Toggle sidebar expanded status */ toggleSidebar() { this._coreSidebarService.getSidebarRegistry('menu').toggleOpen(); } /** * Toggle sidebar collapsed status */ toggleSidebarCollapsible() { // Get the current menu state this._coreConfigService.getConfig().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.isCollapsed = config.layout.menu.collapsed; }); if (this.isCollapsed) { this._coreConfigService.setConfig({ layout: { menu: { collapsed: false } } }, { emitEvent: true }); } else { this._coreConfigService.setConfig({ layout: { menu: { collapsed: true } } }, { emitEvent: true }); } } static ɵfac = function VerticalMenuComponent_Factory(t) { return new (t || VerticalMenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_0__.CoreConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_core_components_core_menu_core_menu_service__WEBPACK_IMPORTED_MODULE_1__.CoreMenuService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_2__.CoreSidebarService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_8__.Router)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdefineComponent"]({ type: VerticalMenuComponent, selectors: [["vertical-menu"]], viewQuery: function VerticalMenuComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵviewQuery"](ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_11__.PerfectScrollbarDirective, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵloadQuery"]()) && (ctx.directiveRef = _t.first); } }, decls: 16, vars: 7, consts: [[1, "navbar-header"], [1, "nav", "navbar-nav", "flex-row"], [1, "nav-item", "mr-auto"], [1, "navbar-brand", 3, "routerLink"], [1, "brand-logo"], ["src", "assets/images/logo/logo.png", "alt", "brand-logo"], [1, "brand-text", "mb-0"], [1, "nav-item", "nav-toggle"], [1, "nav-link", "modern-nav-toggle", "d-none", "d-xl-block", "pr-0", 3, "click"], [1, "toggle-icon", "feather", "font-medium-4", "collapse-toggle-icon", "text-primary", 3, "ngClass"], [1, "nav-link", "modern-nav-toggle", "d-block", "d-xl-none", "pr-0", 3, "click"], ["data-feather", "x", 1, "font-medium-4", "text-primary", "toggle-icon"], [1, "shadow-bottom", 3, "ngClass"], [1, "main-menu-content", 3, "perfectScrollbar", "scroll"], ["layout", "vertical", "core-menu", "", 1, "navigation", "navigation-main"]], template: function VerticalMenuComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 0)(1, "ul", 1)(2, "li", 2)(3, "a", 3)(4, "span", 4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](5, "img", 5); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](6, "h2", 6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](8, "li", 7)(9, "a", 8); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function VerticalMenuComponent_Template_a_click_9_listener() { return ctx.toggleSidebarCollapsible(); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](10, "i", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](11, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function VerticalMenuComponent_Template_a_click_11_listener() { return ctx.toggleSidebar(); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](12, "i", 11); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](13, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](14, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("scroll", function VerticalMenuComponent_Template_div_scroll_14_listener() { return ctx.onSidebarScroll(); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](15, "ul", 14); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](4, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](ctx.coreConfig.app.appName); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", ctx.isCollapsed === true ? "icon-circle" : "icon-disc"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](5, _c1, ctx.isScrolled)); } }, dependencies: [_core_components_core_menu_core_menu_component__WEBPACK_IMPORTED_MODULE_3__.CoreMenuComponent, _angular_common__WEBPACK_IMPORTED_MODULE_12__.NgClass, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_13__.DefaultClassDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_4__.FeatherIconDirective, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_11__.PerfectScrollbarDirective, _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLinkWithHref], encapsulation: 2 }); } /***/ }), /***/ 71307: /*!******************************************************************************!*\ !*** ./src/app/layout/components/menu/vertical-menu/vertical-menu.module.ts ***! \******************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "VerticalMenuModule": () => (/* binding */ VerticalMenuModule) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ngx-perfect-scrollbar */ 91851); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_menu_vertical_menu_vertical_menu_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/menu/vertical-menu/vertical-menu.component */ 72951); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); const DEFAULT_PERFECT_SCROLLBAR_CONFIG = { suppressScrollX: true, wheelPropagation: false }; class VerticalMenuModule { static ɵfac = function VerticalMenuModule_Factory(t) { return new (t || VerticalMenuModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: VerticalMenuModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ providers: [{ provide: ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_4__.PERFECT_SCROLLBAR_CONFIG, useValue: DEFAULT_PERFECT_SCROLLBAR_CONFIG }], imports: [_core_components__WEBPACK_IMPORTED_MODULE_0__.CoreMenuModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_4__.PerfectScrollbarModule, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](VerticalMenuModule, { declarations: [app_layout_components_menu_vertical_menu_vertical_menu_component__WEBPACK_IMPORTED_MODULE_2__.VerticalMenuComponent], imports: [_core_components__WEBPACK_IMPORTED_MODULE_0__.CoreMenuModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_4__.PerfectScrollbarModule, _angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule], exports: [app_layout_components_menu_vertical_menu_vertical_menu_component__WEBPACK_IMPORTED_MODULE_2__.VerticalMenuComponent] }); })(); /***/ }), /***/ 75361: /*!***************************************************************************************!*\ !*** ./src/app/layout/components/navbar/navbar-bookmark/navbar-bookmark.component.ts ***! \***************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "NavbarBookmarkComponent": () => (/* binding */ NavbarBookmarkComponent) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var app_layout_components_navbar_navbar_search_search_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/layout/components/navbar/navbar-search/search.service */ 50442); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ngx-perfect-scrollbar */ 91851); /* harmony import */ var _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/pipes/filter.pipe */ 69671); const _c0 = ["openBookmark"]; function NavbarBookmarkComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "li", 3)(2, "a", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](3, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const page_r5 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpropertyInterpolate"]("ngbTooltip", page_r5.title); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", page_r5.link); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"]("ficon"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", page_r5.icon); } } const _c1 = function (a0) { return { current_item: a0 }; }; function NavbarBookmarkComponent_ng_container_12_li_1_Template(rf, ctx) { if (rf & 1) { const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 15)(1, "a", 16); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function NavbarBookmarkComponent_ng_container_12_li_1_Template_a_click_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r10); const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); $event.stopPropagation(); $event.preventDefault(); ctx_r9.closeBookmark(); return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r9.removeOverlay()); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](3, "i"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "button", 18); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function NavbarBookmarkComponent_ng_container_12_li_1_Template_button_click_6_listener($event) { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r10); const page_r7 = restoredCtx.$implicit; const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); $event.stopPropagation(); $event.preventDefault(); return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r11.toggleBookmark(page_r7.id)); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](7, "i", 19); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); } if (rf & 2) { const page_r7 = ctx.$implicit; const i_r8 = ctx.index; const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction1"](8, _c1, i_r8 === ctx_r6.activeIndex)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", page_r7.link); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMapInterpolate1"]("feather icon-", page_r7.icon, " mr-75"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](page_r7.title); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("text-warning", page_r7.isBookmarked); } } function NavbarBookmarkComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, NavbarBookmarkComponent_ng_container_12_li_1_Template, 8, 10, "li", 14); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](2, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](3, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](2, 1, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](3, 5, ctx_r2.pages, ctx_r2.bookmarkText, "title"), 0, 6)); } } function NavbarBookmarkComponent_ng_template_13_ng_container_0_li_1_Template(rf, ctx) { if (rf & 1) { const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 15)(1, "a", 16); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function NavbarBookmarkComponent_ng_template_13_ng_container_0_li_1_Template_a_click_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r17); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](3); $event.stopPropagation(); $event.preventDefault(); ctx_r16.closeBookmark(); return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r16.removeOverlay()); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](3, "i"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "button", 18); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function NavbarBookmarkComponent_ng_template_13_ng_container_0_li_1_Template_button_click_6_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r17); const page_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]().$implicit; const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); $event.stopPropagation(); $event.preventDefault(); return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r18.toggleBookmark(page_r13.id)); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](7, "i", 19); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); const i_r14 = ctx_r20.index; const page_r13 = ctx_r20.$implicit; const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction1"](8, _c1, i_r14 === ctx_r15.activeIndex)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", page_r13.link); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMapInterpolate1"]("feather icon-", page_r13.icon, " mr-75"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](page_r13.title); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("text-warning", page_r13.isBookmarked); } } function NavbarBookmarkComponent_ng_template_13_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, NavbarBookmarkComponent_ng_template_13_ng_container_0_li_1_Template, 8, 10, "li", 20); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const page_r13 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", page_r13.isBookmarked); } } function NavbarBookmarkComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](0, NavbarBookmarkComponent_ng_template_13_ng_container_0_Template, 2, 1, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](1, "filter"); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](1, 1, ctx_r4.pages, ctx_r4.bookmarkText, "title")); } } class NavbarBookmarkComponent { document; _searchService; // Public bookmarkText = ''; openBookmarkRef = false; activeIndex = 0; apiData; pages = []; bookmarkSearchLimit; bookmarkedItems; // Decorator _bookmarkElement; fn() { this.removeOverlay(); this.openBookmarkRef = false; this.bookmarkText = ''; } clickout(event) { // Close Bookmark if Clicked on Overlay if (event.target.className === 'content-overlay') { this.removeOverlay(); this.openBookmarkRef = false; this.bookmarkText = ''; } // Close Bookmark if clicked Outside of Container if (!(event.target.nodeName === 'INPUT') && this.openBookmarkRef === true) { this.removeOverlay(); this.openBookmarkRef = false; this.bookmarkText = ''; } } /** * * @param document * @param _searchService */ constructor(document, _searchService) { this.document = document; this._searchService = _searchService; } // Public Methods // ----------------------------------------------------------------------------------------------------- /** * Add Bookmark * * @param id */ addBookmark(id) { const index = this.pages.findIndex(object => { return object.id === id; }); this.pages[index].isBookmarked = true; this.bookmarkedItems.push(this.pages[index]); } /** * Remove Bookmark * * @param id */ removeBookmark(id) { const index = this.bookmarkedItems.findIndex(object => { return object.id === id; }); this.bookmarkedItems[index].isBookmarked = false; this.bookmarkedItems.splice(index, 1); } /** * Open Bookmark */ openBookmark() { this.openBookmarkRef = true; this._searchService.onIsBookmarkOpenChange.next(this.openBookmarkRef); } /** * Close Bookmark */ closeBookmark() { this.openBookmarkRef = false; this._searchService.onIsBookmarkOpenChange.next(this.openBookmarkRef); } /** * Remove Overlay */ removeOverlay() { this.document.querySelector('.app-content').classList.remove('show-overlay'); } /** * Next Active Match */ nextActiveMatch() { this.activeIndex = this.activeIndex < this.bookmarkSearchLimit - 1 ? ++this.activeIndex : this.activeIndex; } /** * Previous Active Match */ prevActiveMatch() { this.activeIndex = this.activeIndex > 0 ? --this.activeIndex : 0; } /** * Auto Suggestion * * @param event */ autoSuggestion(event) { if (38 === event.keyCode) { return this.prevActiveMatch(); } if (40 === event.keyCode) { return this.nextActiveMatch(); } } /** * Toggle Bookmark * * @param id */ toggleBookmark(id) { const index = this.pages.findIndex(object => { return object.id === id; }); if (this.pages[index].isBookmarked === true) { this.removeBookmark(id); } else { this.addBookmark(id); } } /** * Toggle Bookmark Popup */ toggleBookmarkPopup() { setTimeout(() => { if (this.openBookmarkRef === false) { this.openBookmark(); } else { this.closeBookmark(); } setTimeout(() => { this._bookmarkElement.nativeElement.focus(); }, 0); }, 0); } /** * Update Bookmark * * @param event */ bookmarkUpdate(event) { const val = event.target.value.toLowerCase(); if (val !== '') { this.document.querySelector('.app-content').classList.add('show-overlay'); } else { this.document.querySelector('.app-content').classList.remove('show-overlay'); } this.autoSuggestion(event); } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { this._searchService.onApiDataChange.subscribe(res => { this.apiData = res; this.pages = this.apiData[0].data; this.bookmarkedItems = this.pages.filter(page => page.isBookmarked === true); this.bookmarkSearchLimit = this.apiData[0].bookmarkLimit; }); this._searchService.onIsBookmarkOpenChange.subscribe(res => { this.openBookmarkRef = res; }); } static ɵfac = function NavbarBookmarkComponent_Factory(t) { return new (t || NavbarBookmarkComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_4__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](app_layout_components_navbar_navbar_search_search_service__WEBPACK_IMPORTED_MODULE_0__.SearchService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: NavbarBookmarkComponent, selectors: [["app-navbar-bookmark"]], viewQuery: function NavbarBookmarkComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵviewQuery"](_c0, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵloadQuery"]()) && (ctx._bookmarkElement = _t.first); } }, hostBindings: function NavbarBookmarkComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("keydown.escape", function NavbarBookmarkComponent_keydown_escape_HostBindingHandler() { return ctx.fn(); })("click", function NavbarBookmarkComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresolveDocument"]); } }, decls: 15, vars: 10, consts: [[1, "nav", "navbar-nav", "bookmark-icons"], [4, "ngFor", "ngForOf"], [1, "nav", "navbar-nav"], [1, "nav-item", "d-none", "d-lg-block"], [1, "nav-link", "bookmark-star", 3, "click"], [3, "data-feather"], [1, "bookmark-input", "search-input"], [1, "bookmark-input-icon"], ["type", "text", "placeholder", "Bookmark", "tabindex", "0", "data-search", "search", 1, "form-control", "input", 3, "ngModel", "keyup", "ngModelChange"], ["openBookmark", ""], [1, "search-list", "search-list-bookmark", "show", 3, "perfectScrollbar"], [4, "ngIf", "ngIfElse"], ["defaultBookmarks", ""], ["placement", "bottom", 1, "nav-link", 3, "routerLink", "ngbTooltip"], ["class", "auto-suggestion", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "auto-suggestion", 3, "ngClass"], [1, "d-flex", "align-items-center", "justify-content-between", "w-100", 3, "routerLink", "click"], [1, "d-flex", "justify-content-start", "align-items-center"], ["type", "button", 1, "btn", "p-0", 3, "click"], [1, "feather", "icon-star"], ["class", "auto-suggestion", 3, "ngClass", 4, "ngIf"]], template: function NavbarBookmarkComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "ul", 0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, NavbarBookmarkComponent_ng_container_1_Template, 4, 5, "ng-container", 1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "ul", 2)(3, "li", 3)(4, "a", 4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function NavbarBookmarkComponent_Template_a_click_4_listener() { return ctx.toggleBookmarkPopup(); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](5, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "div", 6)(7, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](8, "span", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](9, "input", 8, 9); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("keyup", function NavbarBookmarkComponent_Template_input_keyup_9_listener($event) { return ctx.bookmarkUpdate($event); })("ngModelChange", function NavbarBookmarkComponent_Template_input_ngModelChange_9_listener($event) { return ctx.bookmarkText = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](11, "ul", 10); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](12, NavbarBookmarkComponent_ng_container_12_Template, 4, 9, "ng-container", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](13, NavbarBookmarkComponent_ng_template_13_Template, 2, 5, "ng-template", null, 12, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵreference"](14); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx.bookmarkedItems); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"]("ficon text-warning"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "star"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("show", ctx.openBookmarkRef); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "search"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngModel", ctx.bookmarkText); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx.bookmarkText !== "")("ngIfElse", _r3); } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterLinkWithHref, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbTooltip, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_7__.DefaultClassDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgModel, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__.FeatherIconDirective, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_9__.PerfectScrollbarDirective, _angular_common__WEBPACK_IMPORTED_MODULE_4__.SlicePipe, _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_2__.FilterPipe], encapsulation: 2 }); } /***/ }), /***/ 10578: /*!***********************************************************************************************!*\ !*** ./src/app/layout/components/navbar/navbar-notification/navbar-notification.component.ts ***! \***********************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "NavbarNotificationComponent": () => (/* binding */ NavbarNotificationComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var app_layout_components_navbar_navbar_notification_notifications_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/layout/components/navbar/navbar-notification/notifications.service */ 50861); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ngx-perfect-scrollbar */ 91851); function NavbarNotificationComponent_a_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "a", 18)(1, "div", 19)(2, "div", 20)(3, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](4, "img", 22); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](5, "div", 23); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](6, "p", 24); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](7, "small", 25); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const message_r2 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("src", message_r2.image, _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsanitizeUrl"]); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("innerHTML", message_r2.heading, _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsanitizeHtml"]); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](message_r2.text); } } const _c0 = function (a0, a1, a2) { return { "bg-light-danger": a0, "bg-light-success": a1, "bg-light-warning": a2 }; }; function NavbarNotificationComponent_a_20_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "a", 18)(1, "div", 19)(2, "div", 20)(3, "div", 26)(4, "div", 27); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](5, "i", 28); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](6, "div", 23); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](7, "p", 24); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](8, "small", 25); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](9); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const systemMessage_r3 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpureFunction3"](4, _c0, systemMessage_r3.icon === "x", systemMessage_r3.icon === "check", systemMessage_r3.icon === "alert-triangle")); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("data-feather", systemMessage_r3.icon); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("innerHTML", systemMessage_r3.heading, _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵsanitizeHtml"]); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](systemMessage_r3.text); } } class NavbarNotificationComponent { _notificationsService; // Public notifications; /** * * @param {NotificationsService} _notificationsService */ constructor(_notificationsService) { this._notificationsService = _notificationsService; } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { this._notificationsService.onApiDataChange.subscribe(res => { this.notifications = res; }); } static ɵfac = function NavbarNotificationComponent_Factory(t) { return new (t || NavbarNotificationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](app_layout_components_navbar_navbar_notification_notifications_service__WEBPACK_IMPORTED_MODULE_0__.NotificationsService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: NavbarNotificationComponent, selectors: [["app-navbar-notification"]], decls: 24, vars: 5, consts: [["ngbDropdown", "", 1, "nav-item", "dropdown-notification", "mr-25"], ["ngbDropdownToggle", "", "id", "navbarNotificationDropdown", 1, "nav-link"], ["data-feather", "bell", 1, "ficon"], [1, "badge", "badge-pill", "badge-danger", "badge-up"], ["ngbDropdownMenu", "", "aria-labelledby", "navbarNotificationDropdown", 1, "dropdown-menu", "dropdown-menu-media", "dropdown-menu-right"], [1, "dropdown-menu-header"], [1, "dropdown-header", "d-flex"], [1, "notification-title", "mb-0", "mr-auto"], [1, "badge", "badge-pill", "badge-light-primary"], [1, "scrollable-container", "media-list", 3, "perfectScrollbar"], ["class", "d-flex", "href", "javascript:void(0)", 4, "ngFor", "ngForOf"], [1, "media", "d-flex", "align-items-center"], [1, "font-weight-bolder", "mr-auto", "mb-0"], [1, "custom-control", "custom-control-primary", "custom-switch"], ["id", "systemNotification", "type", "checkbox", 1, "custom-control-input", 3, "checked"], ["for", "systemNotification", 1, "custom-control-label"], [1, "dropdown-menu-footer"], ["href", "javascript:void(0)", 1, "btn", "btn-primary", "btn-block"], ["href", "javascript:void(0)", 1, "d-flex"], [1, "media", "d-flex", "align-items-start"], [1, "media-left"], [1, "avatar"], ["alt", "avatar", "width", "32", "height", "32", 3, "src"], [1, "media-body"], [1, "media-heading", 3, "innerHTML"], [1, "notification-text"], [1, "avatar", 3, "ngClass"], [1, "avatar-content"], [1, "avatar-icon", 3, "data-feather"]], template: function NavbarNotificationComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "li", 0)(1, "a", 1); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](2, "i", 2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](3, "span", 3); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](5, "ul", 4)(6, "li", 5)(7, "div", 6)(8, "h4", 7); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](9, "Notifications"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](10, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](11); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](12, "li", 9); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](13, NavbarNotificationComponent_a_13_Template, 9, 3, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](14, "div", 11)(15, "h6", 12); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](16, "System Notifications"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](17, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](18, "input", 14)(19, "label", 15); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](20, NavbarNotificationComponent_a_20_Template, 10, 8, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](21, "li", 16)(22, "a", 17); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](23, "Read all notifications"); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"]((ctx.notifications.messages == null ? null : ctx.notifications.messages.length) + (ctx.notifications.systemMessages == null ? null : ctx.notifications.systemMessages.length)); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate1"](" ", (ctx.notifications.messages == null ? null : ctx.notifications.messages.length) + (ctx.notifications.systemMessages == null ? null : ctx.notifications.systemMessages.length), " New "); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", ctx.notifications.messages); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("checked", ctx.notifications.system); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", ctx.notifications.systemMessages); } }, dependencies: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__.NgbDropdownMenu, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_5__.DefaultClassDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__.FeatherIconDirective, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__.PerfectScrollbarDirective], encapsulation: 2 }); } /***/ }), /***/ 50861: /*!***************************************************************************************!*\ !*** ./src/app/layout/components/navbar/navbar-notification/notifications.service.ts ***! \***************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "NotificationsService": () => (/* binding */ NotificationsService) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 591); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ 80529); class NotificationsService { _httpClient; // Public apiData = []; onApiDataChange; /** * * @param {HttpClient} _httpClient */ constructor(_httpClient) { this._httpClient = _httpClient; this.onApiDataChange = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(''); this.getNotificationsData(); } /** * Get Notifications Data */ getNotificationsData() { return new Promise((resolve, reject) => { this._httpClient.get('api/notifications-data').subscribe(response => { this.apiData = response; this.onApiDataChange.next(this.apiData); resolve(this.apiData); }, reject); }); } static ɵfac = function NotificationsService_Factory(t) { return new (t || NotificationsService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__.HttpClient)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: NotificationsService, factory: NotificationsService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 6032: /*!***********************************************************************************!*\ !*** ./src/app/layout/components/navbar/navbar-search/navbar-search.component.ts ***! \***********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "NavbarSearchComponent": () => (/* binding */ NavbarSearchComponent) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var app_layout_components_navbar_navbar_search_search_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/layout/components/navbar/navbar-search/search.service */ 50442); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ngx-perfect-scrollbar */ 91851); /* harmony import */ var _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/pipes/filter.pipe */ 69671); const _c0 = ["openSearch"]; const _c1 = ["pageList"]; const _c2 = function (a0) { return { current_item: a0 }; }; function NavbarSearchComponent_ng_container_16_li_1_Template(rf, ctx) { if (rf & 1) { const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 18); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("mouseover", function NavbarSearchComponent_ng_container_16_li_1_Template_li_mouseover_0_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r15); const page_r12 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](page_r12.hover = true); })("mouseout", function NavbarSearchComponent_ng_container_16_li_1_Template_li_mouseout_0_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r15); const page_r12 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](page_r12.hover = false); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](1, "a", 19); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function NavbarSearchComponent_ng_container_16_li_1_Template_a_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r15); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r17.toggleSearch()); })("keyup.enter", function NavbarSearchComponent_ng_container_16_li_1_Template_a_keyup_enter_1_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r15); const page_r12 = restoredCtx.$implicit; const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r18.navigate(page_r12.link)); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](3, "i", 21); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const page_r12 = ctx.$implicit; const i_r13 = ctx.index; const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("current_item", page_r12.hover); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction1"](6, _c2, i_r13 === ctx_r11.activeIndex)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("routerLink", page_r12.link); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", page_r12.icon); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](page_r12.title); } } function NavbarSearchComponent_ng_container_16_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, NavbarSearchComponent_ng_container_16_li_1_Template, 6, 8, "li", 17); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](2, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](3, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](2, 1, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](3, 5, ctx_r2.pages, ctx_r2.searchText, "title"), 0, 4)); } } function NavbarSearchComponent_ng_template_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 22)(1, "a", 23)(2, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](3, "i", 25); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5, "No results found."); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); } } function NavbarSearchComponent_ng_container_24_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 27)(1, "a", 28)(2, "div", 29)(3, "div", 30); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](4, "img", 31); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](5, "div", 32)(6, "p", 33); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](8, "small", 34); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "small", 35); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); } if (rf & 2) { const file_r20 = ctx.$implicit; const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpureFunction1"](5, _c2, ctx_r19.i === ctx_r19.activeIndex)); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("src", file_r20.file, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsanitizeUrl"]); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](file_r20.title); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](file_r20.by); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](file_r20.size); } } function NavbarSearchComponent_ng_container_24_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, NavbarSearchComponent_ng_container_24_li_1_Template, 12, 7, "li", 26); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](2, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](3, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](2, 1, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](3, 5, ctx_r5.files, ctx_r5.searchText, "title"), 0, 4)); } } function NavbarSearchComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 22)(1, "a", 23)(2, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](3, "i", 25); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5, "No results found."); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); } } function NavbarSearchComponent_ng_container_32_li_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 37)(1, "a", 38)(2, "div", 10)(3, "div", 39); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](4, "img", 31); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](5, "div", 32)(6, "p", 33); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](8, "small", 34); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "small", 35); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); } if (rf & 2) { const contact_r22 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("src", contact_r22.img, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsanitizeUrl"]); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](contact_r22.title); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](contact_r22.email); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](contact_r22.date); } } function NavbarSearchComponent_ng_container_32_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, NavbarSearchComponent_ng_container_32_li_1_Template, 12, 4, "li", 36); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](2, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](3, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementContainerEnd"](); } if (rf & 2) { const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](2, 1, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](3, 5, ctx_r8.contacts, ctx_r8.searchText, "title"), 0, 4)); } } function NavbarSearchComponent_ng_template_34_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 22)(1, "a", 23)(2, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](3, "i", 25); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5, "No results found."); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); } } class NavbarSearchComponent { document; _elementRef; router; _searchService; // Public searchText = ''; openSearchRef = false; activeIndex = 0; apiData; pages = []; files = []; contacts = []; pageSearchLimit; // Decorators _inputElement; _pageListElement; fn() { this.removeOverlay(); this.openSearchRef = false; this.searchText = ''; } clickout(event) { if (event.target.className === 'content-overlay') { this.removeOverlay(); this.openSearchRef = false; this.searchText = ''; } } /** * * @param document * @param router * @param _searchService */ constructor(document, _elementRef, router, _searchService) { this.document = document; this._elementRef = _elementRef; this.router = router; this._searchService = _searchService; } // Public Methods // ----------------------------------------------------------------------------------------------------- /** * Next Active Match */ nextActiveMatch() { this.activeIndex = this.activeIndex < this.pageSearchLimit - 1 ? ++this.activeIndex : this.activeIndex; } /** * Previous Active Match */ prevActiveMatch() { this.activeIndex = this.activeIndex > 0 ? --this.activeIndex : 0; } /** * Remove Overlay */ removeOverlay() { this.document.querySelector('.app-content').classList.remove('show-overlay'); } /** * Auto Suggestion * * @param event */ autoSuggestion(event) { if (38 === event.keyCode) { return this.prevActiveMatch(); } if (40 === event.keyCode) { return this.nextActiveMatch(); } if (13 === event.keyCode) { // Navigate to activeIndex // ! Todo: Improve this code let current_item = this._pageListElement.nativeElement.getElementsByClassName('current_item'); current_item[0]?.children[0].click(); } } /** * Toggle Search */ toggleSearch() { this._searchService.onIsBookmarkOpenChange.next(false); this.removeOverlay(); this.openSearchRef = !this.openSearchRef; this.activeIndex = 0; setTimeout(() => { this._inputElement.nativeElement.focus(); }); if (this.openSearchRef === false) { this.document.querySelector('.app-content').classList.remove('show-overlay'); this.searchText = ''; } } /** * Search Update * * @param event */ searchUpdate(event) { const val = event.target.value.toLowerCase(); if (val !== '') { this.document.querySelector('.app-content').classList.add('show-overlay'); } else { this.document.querySelector('.app-content').classList.remove('show-overlay'); } this.autoSuggestion(event); } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() {// this._searchService.onApiDataChange.subscribe(res => { // this.apiData = res; // this.pages = this.apiData[0].data; // this.pageSearchLimit = this.apiData[0].searchLimit; // this.files = this.apiData[1].data; // this.contacts = this.apiData[2].data; // }); } static ɵfac = function NavbarSearchComponent_Factory(t) { return new (t || NavbarSearchComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_common__WEBPACK_IMPORTED_MODULE_4__.DOCUMENT), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_3__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_5__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](app_layout_components_navbar_navbar_search_search_service__WEBPACK_IMPORTED_MODULE_0__.SearchService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: NavbarSearchComponent, selectors: [["app-navbar-search"]], viewQuery: function NavbarSearchComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵviewQuery"](_c0, 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵviewQuery"](_c1, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵloadQuery"]()) && (ctx._inputElement = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵloadQuery"]()) && (ctx._pageListElement = _t.first); } }, hostBindings: function NavbarSearchComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("keydown.escape", function NavbarSearchComponent_keydown_escape_HostBindingHandler() { return ctx.fn(); })("click", function NavbarSearchComponent_click_HostBindingHandler($event) { return ctx.clickout($event); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresolveDocument"]); } }, decls: 36, vars: 28, consts: [[1, "nav-item", "nav-search"], [1, "nav-link", "nav-link-search", 3, "click"], [3, "data-feather"], [1, "search-input"], [1, "search-input-icon"], ["type", "text", "placeholder", "Buscar...", "tabindex", "-1", "data-search", "search", 1, "form-control", "input", 3, "ngModel", "keyup", "ngModelChange"], ["openSearch", ""], [1, "btn", "search-input-close", "p-0", 3, "click"], [1, "search-list", "search-list-main", 3, "perfectScrollbar"], ["pageList", ""], [1, "d-flex", "align-items-center"], ["href", "javascript:void(0)"], [1, "section-label", "mt-75", "mb-0"], [4, "ngIf", "ngIfElse"], ["noResultsPages", ""], ["noResultsFiles", ""], ["noResultsMembers", ""], ["class", "auto-suggestion", 3, "ngClass", "current_item", "mouseover", "mouseout", 4, "ngFor", "ngForOf"], [1, "auto-suggestion", 3, "ngClass", "mouseover", "mouseout"], [1, "d-flex", "align-items-center", "justify-content-between", "w-100", 3, "routerLink", "click", "keyup.enter"], [1, "d-flex", "justify-content-start", "align-items-center"], [1, "mr-75", 3, "data-feather"], [1, "auto-suggestion", "justify-content-between"], [1, "d-flex", "align-items-center", "justify-content-between", "w-100", "py-50"], [1, "d-flex", "justify-content-start"], ["data-feather", "alert-circle", 1, "mr-25"], ["class", "auto-suggestion", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "auto-suggestion", 3, "ngClass"], ["href", "javascript:void(0)", 1, "d-flex", "align-items-center", "justify-content-between", "w-100"], [1, "d-flex"], [1, "mr-75"], ["alt", "png", "height", "32", 3, "src"], [1, "search-data"], [1, "search-data-title", "mb-0"], [1, "text-muted"], [1, "search-data-size", "mr-50", "text-muted"], ["class", "auto-suggestion", 4, "ngFor", "ngForOf"], [1, "auto-suggestion"], ["href", "javascript:void(0)", 1, "d-flex", "align-items-center", "justify-content-between", "py-50", "w-100"], [1, "avatar", "mr-75"]], template: function NavbarSearchComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "li", 0)(1, "a", 1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function NavbarSearchComponent_Template_a_click_1_listener() { return ctx.toggleSearch(); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](2, "span", 2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](3, "div", 3)(4, "div", 4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](5, "span", 2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "input", 5, 6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("keyup", function NavbarSearchComponent_Template_input_keyup_6_listener($event) { return ctx.searchUpdate($event); })("ngModelChange", function NavbarSearchComponent_Template_input_ngModelChange_6_listener($event) { return ctx.searchText = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](8, "button", 7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function NavbarSearchComponent_Template_button_click_8_listener() { return ctx.toggleSearch(); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](9, "span", 2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](10, "ul", 8, 9)(12, "li", 10)(13, "a", 11)(14, "h6", 12); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](15, "Pages"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](16, NavbarSearchComponent_ng_container_16_Template, 4, 9, "ng-container", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](17, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](18, NavbarSearchComponent_ng_template_18_Template, 6, 0, "ng-template", null, 14, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](20, "li", 10)(21, "a", 11)(22, "h6", 12); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](23, "Files"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](24, NavbarSearchComponent_ng_container_24_Template, 4, 9, "ng-container", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](25, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](26, NavbarSearchComponent_ng_template_26_Template, 6, 0, "ng-template", null, 15, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](28, "li", 10)(29, "a", 11)(30, "h6", 12); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](31, "Members"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](32, NavbarSearchComponent_ng_container_32_Template, 4, 9, "ng-container", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipe"](33, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](34, NavbarSearchComponent_ng_template_34_Template, 6, 0, "ng-template", null, 16, _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); } if (rf & 2) { const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵreference"](19); const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵreference"](27); const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵreference"](35); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"]("ficon"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "search"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("open", ctx.openSearchRef === true); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "search"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngModel", ctx.searchText); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("data-feather", "x"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("show", ctx.searchText !== ""); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](17, 16, ctx.pages, ctx.searchText, "title").length)("ngIfElse", _r3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](25, 20, ctx.files, ctx.searchText, "title").length)("ngIfElse", _r6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵpipeBind3"](33, 24, ctx.contacts, ctx.searchText, "title").length)("ngIfElse", _r9); } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterLinkWithHref, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_6__.DefaultClassDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_7__.NgModel, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_1__.FeatherIconDirective, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__.PerfectScrollbarDirective, _angular_common__WEBPACK_IMPORTED_MODULE_4__.SlicePipe, _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_2__.FilterPipe], encapsulation: 2 }); } /***/ }), /***/ 50442: /*!**************************************************************************!*\ !*** ./src/app/layout/components/navbar/navbar-search/search.service.ts ***! \**************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "SearchService": () => (/* binding */ SearchService) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 591); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common/http */ 80529); class SearchService { _httpClient; // Public search = ''; apiData = []; onApiDataChange; onIsBookmarkOpenChange; /** * * @param {HttpClient} _httpClient */ constructor(_httpClient) { this._httpClient = _httpClient; this.onApiDataChange = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(''); this.onIsBookmarkOpenChange = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(false); this.getSearchData(); } /** * Get Search Data */ getSearchData() { return new Promise((resolve, reject) => { this._httpClient.get('api/search-data').subscribe(response => { this.apiData = response; this.onApiDataChange.next(this.apiData); resolve(this.apiData); }, reject); }); } static ɵfac = function SearchService_Factory(t) { return new (t || SearchService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__.HttpClient)); }; static ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: SearchService, factory: SearchService.ɵfac, providedIn: 'root' }); } /***/ }), /***/ 903: /*!**************************************************************!*\ !*** ./src/app/layout/components/navbar/navbar.component.ts ***! \**************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "NavbarComponent": () => (/* binding */ NavbarComponent) /* harmony export */ }); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ 17489); /* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var jwt_decode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jwt-decode */ 21816); /* harmony import */ var app_app_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/app-config */ 45529); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _core_services_media_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/services/media.service */ 42826); /* harmony import */ var _core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.service */ 66841); /* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/flex-layout */ 58084); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _services_seguridad_login_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @services/seguridad/login.service */ 38072); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = function () { return ["/"]; }; function NavbarComponent_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](0, "div", 31)(1, "ul", 32)(2, "li", 33)(3, "a", 34)(4, "span", 35); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](5, "img", 36); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](6, "h2", 37); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵpureFunction0"](2, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtextInterpolate"](ctx_r0.coreConfig.app.appName); } } function NavbarComponent_ul_3_Template(rf, ctx) { if (rf & 1) { const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](0, "ul", 38)(1, "li", 33)(2, "a", 39); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵlistener"]("click", function NavbarComponent_ul_3_Template_a_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵrestoreView"](_r7); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵresetView"](ctx_r6.toggleSidebar("menu")); }); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](3, "span", 27); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵclassMap"]("ficon"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("data-feather", "menu"); } } function NavbarComponent_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](0, "div", 40); } } function NavbarComponent_span_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](0, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](1, "\u00A0\u00A0\u00A0Procesando tareas en segundo plano..."); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"](); } } function NavbarComponent_a_15_Template(rf, ctx) { if (rf & 1) { const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](0, "a", 29); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵlistener"]("click", function NavbarComponent_a_15_Template_a_click_0_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵrestoreView"](_r10); const lang_r8 = restoredCtx.$implicit; const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵresetView"](ctx_r9.setLanguage(lang_r8)); }); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](1, "i"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"](); } if (rf & 2) { const lang_r8 = ctx.$implicit; const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵclassMapInterpolate1"]("flag-icon flag-icon-", ctx_r4.languageOptions[lang_r8].flag, ""); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtextInterpolate1"](" ", ctx_r4.languageOptions[lang_r8].title, " "); } } function NavbarComponent_div_40_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](0, "div", 41); } } const _c1 = function () { return ["/task/task-monitor"]; }; class NavbarComponent { msjService; taskService; _router; _coreConfigService; _coreMediaService; _coreSidebarService; _mediaObserver; _translateService; loginService; apiService; utilservice; horizontalMenu; hiddenMenu; coreConfig = app_app_config__WEBPACK_IMPORTED_MODULE_2__.coreConfig; currentSkin; prevSkin; token; usuario; tipo; blCargando = false; languageOptions; navigation; selectedLanguage; isFixed = false; windowScrolled = false; // Add .navbar-static-style-on-scroll on scroll using HostListener & HostBinding onWindowScroll() { if ((window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop > 100) && this.coreConfig.layout.navbar.type == "navbar-static-top" && this.coreConfig.layout.type == "horizontal") { this.windowScrolled = true; } else if (this.windowScrolled && window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop < 10) { this.windowScrolled = false; } } // Private _unsubscribeAll; /** * Constructor * * @param {Router} _router * @param {CoreConfigService} _coreConfigService * @param {CoreSidebarService} _coreSidebarService * @param {CoreMediaService} _coreMediaService * @param {MediaObserver} _mediaObserver * @param {TranslateService} _translateService */ constructor(msjService, taskService, _router, _coreConfigService, _coreMediaService, _coreSidebarService, _mediaObserver, _translateService, loginService, apiService, utilservice) { this.msjService = msjService; this.taskService = taskService; this._router = _router; this._coreConfigService = _coreConfigService; this._coreMediaService = _coreMediaService; this._coreSidebarService = _coreSidebarService; this._mediaObserver = _mediaObserver; this._translateService = _translateService; this.loginService = loginService; this.apiService = apiService; this.utilservice = utilservice; this.languageOptions = { en: { title: "English", flag: "us" }, es: { title: "Espanish", flag: "es" } }; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_15__.Subject(); } // Public Methods // ----------------------------------------------------------------------------------------------------- /** * Toggle sidebar open * * @param key */ toggleSidebar(key) { this._coreSidebarService.getSidebarRegistry(key).toggleOpen(); } /** * Set the language * * @param language */ setLanguage(language) { // Set the selected language for the navbar on change this.selectedLanguage = language; // Use the selected language id for translations this._translateService.use(language); this._coreConfigService.setConfig({ app: { appLanguage: language } }, { emitEvent: true }); } /** * Toggle Dark Skin */ toggleDarkSkin() { // Get the current skin this._coreConfigService.getConfig().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.currentSkin = config.layout.skin; }); // Toggle Dark skin with prevSkin skin this.prevSkin = localStorage.getItem("prevSkin"); if (this.currentSkin === "dark") { this._coreConfigService.setConfig({ layout: { skin: this.prevSkin ? this.prevSkin : "default" } }, { emitEvent: true }); } else { localStorage.setItem("prevSkin", this.currentSkin); this._coreConfigService.setConfig({ layout: { skin: "dark" } }, { emitEvent: true }); } } /** * Logout method */ logout() { this.loginService.logout(); } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { this.msjService.lstpid$.subscribe(pid => { this.blCargando = pid.estatus; if (!pid.estatus) { this.taskService.update(pid.id); this.ok("Sandra Server", pid); } }); this.msjService.pidDevice$.subscribe(pid => { this.blCargando = pid.estatus; if (!pid.estatus) { this.taskService.update(pid.id); } }); this.token = (0,jwt_decode__WEBPACK_IMPORTED_MODULE_1__["default"])(sessionStorage.getItem("token")); this.usuario = this.token.Usuario.usuario; this.tipo = this.token.Usuario.nombre; // get the currentUser details from localStorage // Subscribe to the config changes this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; this.horizontalMenu = config.layout.type === "horizontal"; this.hiddenMenu = config.layout.menu.hidden === true; this.currentSkin = config.layout.skin; // Fix: for vertical layout if default navbar fixed-top than set isFixed = true if (this.coreConfig.layout.type === "vertical") { setTimeout(() => { if (this.coreConfig.layout.navbar.type === "fixed-top") { this.isFixed = true; } }, 0); } }); // Horizontal Layout Only: Add class fixed-top to navbar below large screen if (this.coreConfig.layout.type == "horizontal") { // On every media(screen) change this._coreMediaService.onMediaUpdate.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.takeUntil)(this._unsubscribeAll)).subscribe(() => { const isFixedTop = this._mediaObserver.isActive("bs-gt-xl"); if (isFixedTop) { this.isFixed = false; } else { this.isFixed = true; } }); } // Set the selected language from default languageOptions this.selectedLanguage = lodash__WEBPACK_IMPORTED_MODULE_0__.find(this.languageOptions, { id: this._translateService.currentLang }); } /** * On destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } ok(titulo, PID) { let contenido = ""; let textoBoton = ""; let bCancel = true; switch (PID.contenido) { case "Descargando api": contenido = `Proceso finalizado`; textoBoton = "Descargar"; break; case "Descargando funciones": contenido = `Proceso finalizado`; textoBoton = "Descargar"; break; case "Restaurando api": contenido = `Proceso finalizado, las API's se han restaurado`; textoBoton = "Ok"; bCancel = false; break; case "Restaurando funciones": contenido = `Proceso finalizado, las Funciones se han restaurado`; textoBoton = "Ok"; bCancel = false; break; default: contenido = `Su proyecto a sido clonado exitosamente!`; textoBoton = "Ir al proyecto!"; break; } sweetalert2__WEBPACK_IMPORTED_MODULE_3___default().fire({ title: titulo, text: contenido, icon: "success", showCancelButton: bCancel, confirmButtonColor: "#3085d6", cancelButtonColor: "#d33", confirmButtonText: textoBoton }).then(result => { if (result.isConfirmed) { switch (PID.contenido) { case "Descargando api": this.utilservice.AlertMini("bottom-end", "success", "APIs Generadas", 3000); this.apiService.DwsCdn("bck-export/" + environments_environment__WEBPACK_IMPORTED_MODULE_4__.environment.driver.API_CORE_ZIP); break; case "Descargando funciones": this.utilservice.AlertMini("bottom-end", "success", "Funciones Generadas", 3000); this.apiService.DwsCdn("bck-export/" + environments_environment__WEBPACK_IMPORTED_MODULE_4__.environment.driver.SYS_FUNCION_ZIP); break; case "Restaurando api": this.utilservice.AlertMini("bottom-end", "success", "Restauracion exitosa", 3000); break; case "Restaurando funciones": this.utilservice.AlertMini("bottom-end", "success", "Restauracion exitosa", 3000); break; case "Fusionando proyecto": this.utilservice.AlertMini("bottom-end", "success", "Fusion exitosa", 3000); break; default: let dir = PID.contenido.split('|'); window.open(`https://${dir[0]}/${dir[1]}`); break; } } }); } static ɵfac = function NavbarComponent_Factory(t) { return new (t || NavbarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__.WsocketsService), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_6__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_17__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_7__.CoreConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_core_services_media_service__WEBPACK_IMPORTED_MODULE_8__.CoreMediaService), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_core_components_core_sidebar_core_sidebar_service__WEBPACK_IMPORTED_MODULE_9__.CoreSidebarService), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_angular_flex_layout__WEBPACK_IMPORTED_MODULE_18__.MediaObserver), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__.TranslateService), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_services_seguridad_login_service__WEBPACK_IMPORTED_MODULE_10__.LoginService), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_11__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_12__.UtilService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵdefineComponent"]({ type: NavbarComponent, selectors: [["app-navbar"]], hostVars: 4, hostBindings: function NavbarComponent_HostBindings(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵlistener"]("scroll", function NavbarComponent_scroll_HostBindingHandler() { return ctx.onWindowScroll(); }, false, _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵresolveWindow"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵclassProp"]("fixed-top", ctx.isFixed)("navbar-static-style-on-scroll", ctx.windowScrolled); } }, decls: 41, vars: 26, consts: [["class", "navbar-header d-xl-block d-none", 4, "ngIf"], [1, "navbar-container", "d-flex", "content"], [1, "bookmark-wrapper", "d-flex", "align-items-center"], ["class", "nav navbar-nav d-xl-none", 4, "ngIf"], ["class", "spinner-grow warning text-warning", "style", "margin-top: 5px;", 4, "ngIf"], [1, "nav", "navbar-nav", "align-items-center"], [1, "nav-item", "dropdown", "dropdown-language"], ["class", "selected-language", 4, "ngIf"], [1, "nav", "navbar-nav", "align-items-center", "ml-auto"], ["ngbDropdown", "", 1, "nav-item", "dropdown", "dropdown-language"], ["id", "dropdown-flag", "ngbDropdownToggle", "", 1, "nav-link", "dropdown-toggle"], [1, "selected-language"], ["ngbDropdownMenu", "", "aria-labelledby", "dropdown-flag"], ["ngbDropdownItem", "", 3, "click", 4, "ngFor", "ngForOf"], [1, "nav-item", "d-none", "d-lg-block"], [1, "nav-link", "nav-link-style", "btn", 3, "click"], [1, "ficon", "font-medium-5", "feather", 3, "ngClass"], ["ngbDropdown", "", 1, "nav-item", "dropdown-user"], ["id", "dropdown-user", "ngbDropdownToggle", "", "id", "navbarUserDropdown", "aria-haspopup", "true", "aria-expanded", "false", 1, "nav-link", "dropdown-toggle", "dropdown-user-link"], [1, "user-nav", "d-sm-flex", "d-none"], [1, "user-name", "font-weight-bolder"], [1, "user-status"], [1, "avatar"], ["src", "assets/images/logo/logo.png", "alt", "avatar", "height", "40", "width", "40", 1, "round"], [1, "avatar-status-online"], ["ngbDropdownMenu", "", "aria-labelledby", "navbarUserDropdown", 1, "dropdown-menu", "dropdown-menu-right"], ["ngbDropdownItem", "", 3, "routerLink"], [3, "data-feather"], [1, "dropdown-divider"], ["ngbDropdownItem", "", 3, "click"], ["class", "segundo-plano", 4, "ngIf"], [1, "navbar-header", "d-xl-block", "d-none"], [1, "nav", "navbar-nav", "flex-row"], [1, "nav-item"], [1, "navbar-brand", 3, "routerLink"], [1, "brand-logo"], ["src", "assets/images/logo/logo.png", "alt", "brand-logo", "width", "36"], [1, "brand-text", "mb-0"], [1, "nav", "navbar-nav", "d-xl-none"], [1, "nav-link", "menu-toggle", 3, "click"], [1, "spinner-grow", "warning", "text-warning", 2, "margin-top", "5px"], [1, "segundo-plano"]], template: function NavbarComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtemplate"](0, NavbarComponent_div_0_Template, 8, 3, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](1, "div", 1)(2, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtemplate"](3, NavbarComponent_ul_3_Template, 4, 3, "ul", 3); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtemplate"](4, NavbarComponent_div_4_Template, 1, 0, "div", 4); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](5, "ul", 5)(6, "li", 6); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtemplate"](7, NavbarComponent_span_7_Template, 2, 0, "span", 7); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](8, "ul", 8)(9, "li", 9)(10, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](11, "i"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](12, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](13); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](14, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtemplate"](15, NavbarComponent_a_15_Template, 3, 4, "a", 13); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](16, "li", 14)(17, "a", 15); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵlistener"]("click", function NavbarComponent_Template_a_click_17_listener() { return ctx.toggleDarkSkin(); }); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](18, "span", 16); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](19, "li", 17)(20, "a", 18)(21, "div", 19)(22, "span", 20); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](23); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](24, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](25); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](26, "span", 22); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](27, "img", 23)(28, "span", 24); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](29, "div", 25)(30, "a", 26); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](31, "span", 27); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](32, " Profile"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](33, "a", 26); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](34, "span", 27); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](35, " Monitor"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](36, "div", 28); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementStart"](37, "a", 29); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵlistener"]("click", function NavbarComponent_Template_a_click_37_listener() { return ctx.logout(); }); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelement"](38, "span", 27); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtext"](39, " Salir"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtemplate"](40, NavbarComponent_div_40_Template, 1, 0, "div", 30); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("ngIf", ctx.horizontalMenu); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("ngIf", !ctx.coreConfig.layout.menu.hidden); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("ngIf", ctx.blCargando); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("ngIf", ctx.blCargando); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵclassMapInterpolate1"]("flag-icon flag-icon-", ctx.languageOptions[ctx._translateService.currentLang].flag, ""); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtextInterpolate"](ctx.languageOptions[ctx._translateService.currentLang].title); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("ngForOf", ctx._translateService.getLangs()); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("ngClass", ctx.currentSkin === "dark" ? "icon-sun" : "icon-moon"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtextInterpolate"](ctx.usuario); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵtextInterpolate"](ctx.tipo); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵpureFunction0"](24, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("data-feather", "user"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("routerLink", _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵpureFunction0"](25, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("data-feather", "monitor"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("data-feather", "power"); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_14__["ɵɵproperty"]("ngIf", ctx.blCargando); } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_17__.RouterLinkWithHref, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_20__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_20__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_20__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_20__.NgbDropdownItem, _angular_common__WEBPACK_IMPORTED_MODULE_21__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_21__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_21__.NgIf, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_22__.DefaultClassDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_13__.FeatherIconDirective], styles: [".dropdown-menu-right {\n right: 0 !important;\n left: auto !important;\n}\n\n.touchspin-cart .touchspin-wrapper {\n width: 6.4rem;\n}\n\n.touchspin-cart:focus-within {\n box-shadow: none !important;\n}\n\napp-navbar-bookmark {\n display: flex;\n}\n\n.navbar-static-style-on-scroll {\n background-color: #fff !important;\n box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 20px 0px !important;\n}\n\n.dark-layout .navbar-container .search-input .search-list li.auto-suggestion:hover {\n background-color: #161d31;\n}\n\n.drop {\n filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));\n}\n\n.segundo-plano {\n position: fixed;\n z-index: -1;\n bottom: 20px;\n right: 900px;\n top: 900px;\n left: 630px;\n}\n\n.segundo-plano:before,\n.segundo-plano:after {\n content: \"\";\n position: absolute;\n top: 10px;\n left: 10px;\n width: 400px;\n height: 400px;\n border-radius: 50%;\n background-color: #f8ebce;\n opacity: 0;\n animation: onda 1s infinite;\n}\n\n.segundo-plano:before {\n animation-delay: 0.2s;\n}\n\n.segundo-plano:after {\n animation-delay: 0.5s;\n}\n\n.segundo-plano img {\n position: relative;\n z-index: 2;\n}\n\n@keyframes onda {\n 0% {\n transform: scale(1);\n }\n 15% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: scale(2.5);\n }\n}"], encapsulation: 2 }); } /***/ }), /***/ 17777: /*!***********************************************************!*\ !*** ./src/app/layout/components/navbar/navbar.module.ts ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "NavbarModule": () => (/* binding */ NavbarModule) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ngx-perfect-scrollbar */ 91851); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var _core_components_core_touchspin_core_touchspin_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-touchspin/core-touchspin.module */ 83742); /* harmony import */ var app_layout_components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/navbar/navbar.component */ 903); /* harmony import */ var app_layout_components_navbar_navbar_bookmark_navbar_bookmark_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/layout/components/navbar/navbar-bookmark/navbar-bookmark.component */ 75361); /* harmony import */ var app_layout_components_navbar_navbar_search_navbar_search_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/layout/components/navbar/navbar-search/navbar-search.component */ 6032); /* harmony import */ var app_layout_components_navbar_navbar_notification_navbar_notification_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/navbar/navbar-notification/navbar-notification.component */ 10578); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 94650); const DEFAULT_PERFECT_SCROLLBAR_CONFIG = { suppressScrollX: true, wheelPropagation: false }; class NavbarModule { static ɵfac = function NavbarModule_Factory(t) { return new (t || NavbarModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineNgModule"]({ type: NavbarModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjector"]({ providers: [{ provide: ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_7__.PERFECT_SCROLLBAR_CONFIG, useValue: DEFAULT_PERFECT_SCROLLBAR_CONFIG }], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_7__.PerfectScrollbarModule, _core_components_core_touchspin_core_touchspin_module__WEBPACK_IMPORTED_MODULE_1__.CoreTouchspinModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsetNgModuleScope"](NavbarModule, { declarations: [app_layout_components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_2__.NavbarComponent, app_layout_components_navbar_navbar_search_navbar_search_component__WEBPACK_IMPORTED_MODULE_4__.NavbarSearchComponent, app_layout_components_navbar_navbar_bookmark_navbar_bookmark_component__WEBPACK_IMPORTED_MODULE_3__.NavbarBookmarkComponent, app_layout_components_navbar_navbar_notification_navbar_notification_component__WEBPACK_IMPORTED_MODULE_5__.NavbarNotificationComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_7__.PerfectScrollbarModule, _core_components_core_touchspin_core_touchspin_module__WEBPACK_IMPORTED_MODULE_1__.CoreTouchspinModule], exports: [app_layout_components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_2__.NavbarComponent] }); })(); /***/ }), /***/ 41724: /*!**********************************************!*\ !*** ./src/app/layout/custom-breakpoints.ts ***! \**********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CustomBreakPointsProvider": () => (/* binding */ CustomBreakPointsProvider) /* harmony export */ }); /* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/flex-layout */ 58084); const BS_BREAKPOINTS = [{ alias: 'bs-xs', overlapping: false, mediaQuery: '(max-width: 575.98px)', suffix: 'BsXs' }, { alias: 'bs-sm', overlapping: false, mediaQuery: '(min-width: 576px) and (max-width: 767.98px)', suffix: 'BsSm' }, { alias: 'bs-md', overlapping: false, mediaQuery: '(min-width: 768px) and (max-width: 991.98px)', suffix: 'BsMd' }, { alias: 'bs-lg', overlapping: false, mediaQuery: '(min-width: 992px) and (max-width: 1199.98px)', suffix: 'BsLg' }, { alias: 'bs-xl', overlapping: false, mediaQuery: '(min-width: 1200px)', suffix: 'BsXl' }, { alias: 'bs-gt-sm', overlapping: false, mediaQuery: '(min-width: 576px)', suffix: 'BsGtSm' }, { alias: 'bs-gt-md', overlapping: false, mediaQuery: '(min-width: 768px)', suffix: 'BsGtMd' }, { alias: 'bs-gt-lg', overlapping: false, mediaQuery: '(min-width: 992px)', suffix: 'BsGtLg' }, { alias: 'bs-gt-xl', overlapping: false, mediaQuery: '(min-width: 1200px)', suffix: 'BsGtXl' }, { alias: 'bs-lt-sm', overlapping: false, mediaQuery: '(max-width: 575.98px)', suffix: 'BsLtSm' }, { alias: 'bs-lt-md', overlapping: false, mediaQuery: '(max-width: 767.98px)', suffix: 'BsLtMd' }, { alias: 'bs-lt-lg', overlapping: false, mediaQuery: '(max-width: 991.98px)', suffix: 'BsLtLg' }, { alias: 'bs-lt-xl', overlapping: false, mediaQuery: '(max-width: 1199.98px)', suffix: 'BsLtXl' }]; const CustomBreakPointsProvider = { provide: _angular_flex_layout__WEBPACK_IMPORTED_MODULE_0__.BREAKPOINT, useValue: BS_BREAKPOINTS, multi: true }; /***/ }), /***/ 54487: /*!******************************************************************!*\ !*** ./src/app/layout/horizontal/horizontal-layout.component.ts ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "HorizontalLayoutComponent": () => (/* binding */ HorizontalLayoutComponent) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.component */ 9831); /* harmony import */ var app_layout_components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/navbar/navbar.component */ 903); /* harmony import */ var app_layout_components_content_content_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/layout/components/content/content.component */ 24714); /* harmony import */ var app_layout_components_menu_menu_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/layout/components/menu/menu.component */ 92393); /* harmony import */ var app_layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/footer/footer.component */ 92223); function HorizontalLayoutComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainer"](0); } } function HorizontalLayoutComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainer"](0); } } function HorizontalLayoutComponent_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "div", 7); } } function HorizontalLayoutComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainer"](0); } } function HorizontalLayoutComponent_ng_template_7_app_navbar_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "app-navbar", 9); } if (rf & 2) { const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngClass", ctx_r10.coreConfig.layout.navbar.customBackgroundColor === true ? ctx_r10.coreConfig.layout.navbar.background + " " + ctx_r10.coreConfig.layout.navbar.backgroundColor : ctx_r10.coreConfig.layout.navbar.background); } } function HorizontalLayoutComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, HorizontalLayoutComponent_ng_template_7_app_navbar_0_Template, 1, 1, "app-navbar", 8); } if (rf & 2) { const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r5.coreConfig.layout.navbar.hidden); } } const _c0 = function (a0, a1) { return [a0, a1]; }; function HorizontalLayoutComponent_ng_template_9_app_menu_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "app-menu", 13); } if (rf & 2) { const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction2"](1, _c0, ctx_r11.coreConfig.layout.navbar.customBackgroundColor === true ? ctx_r11.coreConfig.layout.navbar.background + " " + ctx_r11.coreConfig.layout.navbar.type + " " + ctx_r11.coreConfig.layout.navbar.backgroundColor : ctx_r11.coreConfig.layout.navbar.background + " " + ctx_r11.coreConfig.layout.navbar.type, ctx_r11.coreConfig.layout.navbar.type === "floating-nav" ? "container-xxl" : "")); } } const _c1 = function (a0) { return [a0]; }; function HorizontalLayoutComponent_ng_template_9_core_sidebar_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "core-sidebar", 14); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "app-menu", 15); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("collapsed", ctx_r12.coreConfig.layout.menu.collapsed)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction1"](2, _c1, ctx_r12.coreConfig.layout.menu.collapsed === true ? "" : "expanded")); } } function HorizontalLayoutComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, HorizontalLayoutComponent_ng_template_9_app_menu_1_Template, 1, 4, "app-menu", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, HorizontalLayoutComponent_ng_template_9_core_sidebar_2_Template, 2, 4, "core-sidebar", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r7.coreConfig.layout.menu.hidden); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r7.coreConfig.layout.menu.hidden); } } function HorizontalLayoutComponent_ng_template_11_footer_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "footer", 17); } if (rf & 2) { const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngClass", ctx_r13.coreConfig.layout.footer.customBackgroundColor === true ? ctx_r13.coreConfig.layout.footer.background + " " + ctx_r13.coreConfig.layout.footer.type + " " + ctx_r13.coreConfig.layout.footer.backgroundColor : ctx_r13.coreConfig.layout.footer.background + " " + ctx_r13.coreConfig.layout.footer.type); } } function HorizontalLayoutComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, HorizontalLayoutComponent_ng_template_11_footer_0_Template, 1, 1, "footer", 16); } if (rf & 2) { const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r9.coreConfig.layout.footer.hidden); } } class HorizontalLayoutComponent { _coreConfigService; coreConfig; // Private _unsubscribeAll; /** * Constructor * * @param {CoreConfigService} _coreConfigService */ constructor(_coreConfigService) { this._coreConfigService = _coreConfigService; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_7__.Subject(); } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // Subscribe to config changes this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; }); } /** * On destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } static ɵfac = function HorizontalLayoutComponent_Factory(t) { return new (t || HorizontalLayoutComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_0__.CoreConfigService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: HorizontalLayoutComponent, selectors: [["horizontal-layout"]], decls: 13, vars: 4, consts: [[4, "ngTemplateOutlet"], [1, "app-content", "content"], [1, "content-overlay"], ["class", "header-navbar-shadow", 4, "ngIf"], ["navbar", ""], ["menu", ""], ["footer", ""], [1, "header-navbar-shadow"], ["class", "header-navbar horizontal-header-navbar navbar-expand-lg navbar navbar-fixed align-items-center navbar-shadow navbar-brand-center", 3, "ngClass", 4, "ngIf"], [1, "header-navbar", "horizontal-header-navbar", "navbar-expand-lg", "navbar", "navbar-fixed", "align-items-center", "navbar-shadow", "navbar-brand-center", 3, "ngClass"], [1, "horizontal-menu-wrapper"], ["menuType", "horizontal-menu", "class", "header-navbar navbar-expand-sm navbar navbar-horizontal navbar-shadow menu-border d-none d-xl-block", 3, "ngClass", 4, "ngIf"], ["name", "menu", "collapsibleSidebar", "bs-gt-xl", "class", "main-menu menu-fixed menu-light menu-accordio menu-shadow d-xl-none", "overlayClass", "sidenav-overlay", 3, "collapsed", "ngClass", 4, "ngIf"], ["menuType", "horizontal-menu", 1, "header-navbar", "navbar-expand-sm", "navbar", "navbar-horizontal", "navbar-shadow", "menu-border", "d-none", "d-xl-block", 3, "ngClass"], ["name", "menu", "collapsibleSidebar", "bs-gt-xl", "overlayClass", "sidenav-overlay", 1, "main-menu", "menu-fixed", "menu-light", "menu-accordio", "menu-shadow", "d-xl-none", 3, "collapsed", "ngClass"], ["menuType", "vertical-menu", 1, "vertical-menu"], ["class", "footer", 3, "ngClass", 4, "ngIf"], [1, "footer", 3, "ngClass"]], template: function HorizontalLayoutComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, HorizontalLayoutComponent_ng_container_0_Template, 1, 0, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, HorizontalLayoutComponent_ng_container_1_Template, 1, 0, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](2, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](3, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](4, HorizontalLayoutComponent_div_4_Template, 1, 0, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](5, "content"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](6, HorizontalLayoutComponent_ng_container_6_Template, 1, 0, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](7, HorizontalLayoutComponent_ng_template_7_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](9, HorizontalLayoutComponent_ng_template_9_Template, 3, 2, "ng-template", null, 5, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](11, HorizontalLayoutComponent_ng_template_11_Template, 1, 1, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](8); const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](10); const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](12); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngTemplateOutlet", _r4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngTemplateOutlet", _r6); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx.coreConfig.layout.navbar.hidden); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngTemplateOutlet", _r8); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_9__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgTemplateOutlet, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_10__.DefaultClassDirective, _core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_1__.CoreSidebarComponent, app_layout_components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_2__.NavbarComponent, app_layout_components_content_content_component__WEBPACK_IMPORTED_MODULE_3__.ContentComponent, app_layout_components_menu_menu_component__WEBPACK_IMPORTED_MODULE_4__.MenuComponent, app_layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_5__.FooterComponent], styles: ["/*=========================================================================================\n\tFile Name: horizontal-menu.scss\n\tDescription: A classic horizontal menu for easy navigation & support all devices.\n\tIt support light & dark version, flipped layout, right side icons, borders menu for\n\titem separation.\n\t----------------------------------------------------------------------------------------\n\tItem Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard TemplateTheme\n\tAuthor: PIXINVENT\n\tAuthor URL: http://www.themeforest.net/user/pixinvent\n==========================================================================================*/\n.horizontal-menu .content {\n margin-left: 0;\n}\n.horizontal-menu .content.show-overlay .content-overlay {\n z-index: 998 !important;\n}\n.horizontal-menu .navbar.header-navbar .navbar-container {\n padding: 0.8rem 2rem;\n}\n.horizontal-menu .horizontal-menu-wrapper .header-navbar {\n min-height: 4.45rem;\n}\n.horizontal-menu footer {\n position: static;\n}\n.horizontal-menu .horizontal-menu-wrapper {\n position: fixed;\n top: 62px;\n z-index: 990;\n width: 100%;\n}\n.horizontal-menu .horizontal-menu-wrapper .header-navbar .navbar-container {\n padding: 0 1rem;\n width: 100%;\n}\n.horizontal-menu .horizontal-menu-wrapper .header-navbar .navbar-header {\n display: none;\n}\n.horizontal-menu .header-navbar {\n background: #fff;\n z-index: 999 !important;\n line-height: 1;\n min-height: auto;\n}\n.horizontal-menu .header-navbar.navbar-light {\n background: #fff;\n}\n.horizontal-menu .header-navbar.navbar-horizontal.floating-nav {\n left: 0;\n top: 62px;\n width: calc(100vw - (100vw - 100%) - (2rem * 2));\n background: #fff;\n}\n.horizontal-menu .header-navbar .navbar-container {\n border-radius: 0.357rem;\n}\n.horizontal-menu .header-navbar.navbar-fixed {\n position: fixed;\n width: 100%;\n}\n.horizontal-menu .header-navbar.navbar-brand-center .navbar-header {\n position: absolute;\n left: calc(50% - 56px);\n padding: 0;\n z-index: 1000;\n}\n.horizontal-menu .header-navbar.navbar-brand-center .navbar-header .navbar-brand {\n display: flex;\n align-items: center;\n margin-right: 0;\n font-size: inherit;\n}\n.horizontal-menu .header-navbar.navbar-brand-center .navbar-header .navbar-brand .brand-logo img {\n max-width: 36px;\n}\n.horizontal-menu .header-navbar.navbar-brand-center .navbar-header .navbar-brand .brand-text {\n color: #7367f0;\n padding-left: 1rem;\n margin-bottom: 0;\n font-weight: 600;\n letter-spacing: 0.01rem;\n font-size: 1.45rem;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .nav-link.dropdown-toggle::after {\n left: 0.4rem;\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.horizontal-menu .header-navbar.navbar-horizontal .sidebar-group-active .dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu::before {\n display: none;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu {\n min-width: 215px;\n border: none;\n margin-top: 0;\n min-height: 52px;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .disabled {\n pointer-events: none !important;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .disabled a {\n color: #b8c2cc;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .dropdown-toggle::after {\n left: auto;\n position: absolute;\n top: 50%;\n margin-top: -7px;\n right: 1rem;\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .dropdown-item {\n font-size: 1rem;\n padding-top: 0.68rem;\n padding-bottom: 0.68rem;\n display: flex;\n align-items: center;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .dropdown-submenu {\n position: relative;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .dropdown-submenu.openLeft .dropdown-menu {\n left: auto !important;\n right: 100% !important;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .dropdown-submenu.sidebar-group-active {\n background: #f8f8f8;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .dropdown-submenu > .dropdown-menu {\n position: absolute;\n top: 0 !important;\n left: 100% !important;\n}\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .dropdown-submenu > .dropdown-menu i,\n.horizontal-menu .header-navbar.navbar-horizontal .dropdown-menu .dropdown-submenu > .dropdown-menu svg {\n height: 11px !important;\n width: 11px !important;\n font-size: 11px !important;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li {\n padding-top: 0.857rem;\n padding-bottom: 0.857rem;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li > .dropdown-menu a > * {\n transition: all 0.2s ease;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li > .dropdown-menu a:hover {\n background-color: transparent;\n color: #6e6b7b;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li > .dropdown-menu a:hover > * {\n transform: translateX(5px);\n transition: transform 0.2s ease;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li > .dropdown-menu .active > a {\n background: #f8f8f8;\n color: #7367f0;\n font-weight: 500;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li > .dropdown-menu .open.active > a {\n color: #6e6b7b;\n font-weight: normal;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li i,\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li svg {\n margin-right: 0.5rem;\n height: 17px;\n width: 17px;\n font-size: 1.2rem;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li > a {\n padding: 0.715rem 1.25rem;\n display: flex;\n margin-right: 0.715rem;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li:hover > a {\n background: #f8f8f8;\n border-radius: 4px;\n}\n.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li.active > a {\n background: linear-gradient(118deg, #7367f0, rgba(115, 103, 240, 0.7));\n box-shadow: 0px 0px 6px 1px rgba(115, 103, 240, 0.6);\n color: #fff;\n border-radius: 4px;\n}\n.horizontal-menu .navigation-header {\n font-family: inherit;\n color: #929292;\n padding: 8px 20px;\n font-size: 1rem;\n text-transform: uppercase;\n}\n.horizontal-menu .navbar-dark .nav-item.active > a {\n border-bottom: 2px solid #7367f0;\n background-color: #313c50;\n}\n.horizontal-layout.navbar-floating .header-navbar-shadow {\n height: 80px;\n}\n@media (min-width: 1200px) {\n .horizontal-layout.navbar-floating .header-navbar-shadow {\n top: 45px;\n }\n}\n.horizontal-layout.navbar-floating:not(.blank-page) .app-content {\n padding: calc(2rem + 4.45rem* 2 + 1.3rem) 2rem 0 2rem;\n}\n.horizontal-layout.navbar-floating .horizontal-menu-wrapper {\n background: linear-gradient(to bottom, rgba(248, 248, 248, 0.95) 44%, rgba(248, 248, 248, 0.46) 73%, rgba(255, 255, 255, 0) 100%);\n background-repeat: repeat-x;\n}\n.horizontal-layout.navbar-floating.footer-static .app-content .content-area-wrapper,\n.horizontal-layout.navbar-floating.footer-static .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 1) + 4.45rem + 3.35rem + 1.3rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 1) + 4.45rem + 3.35rem + 1.3rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-floating.footer-static .app-content .content-area-wrapper,\n.horizontal-layout.navbar-floating.footer-static .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 1) + 4.45rem + 3.35rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 1) + 4.45rem + 3.35rem));\n }\n}\n.horizontal-layout.navbar-floating.footer-hidden .app-content .content-area-wrapper,\n.horizontal-layout.navbar-floating.footer-hidden .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 2) + 4.45rem + 0rem + 1.3rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 2) + 4.45rem + 0rem + 1.3rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-floating.footer-hidden .app-content .content-area-wrapper,\n.horizontal-layout.navbar-floating.footer-hidden .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 0rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 0rem));\n }\n}\n.horizontal-layout.navbar-floating.footer-fixed .app-content .content-area-wrapper,\n.horizontal-layout.navbar-floating.footer-fixed .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 2) + 4.45rem + 3.35rem + 1.3rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 2) + 4.45rem + 3.35rem + 1.3rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-floating.footer-fixed .app-content .content-area-wrapper,\n.horizontal-layout.navbar-floating.footer-fixed .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 3.35rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 3.35rem));\n }\n}\n.horizontal-layout.navbar-sticky .app-content {\n padding: calc(2rem + 4.45rem* 2) 2rem 0 2rem;\n}\n.horizontal-layout.navbar-sticky .header-navbar {\n background-color: #f8f8f8;\n box-shadow: none;\n}\n.horizontal-layout.navbar-sticky .horizontal-menu-wrapper .navbar-horizontal.header-navbar.fixed-top {\n left: 0;\n top: 62px;\n background-color: #fff;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n}\n.horizontal-layout.navbar-sticky.footer-static .app-content .content-area-wrapper,\n.horizontal-layout.navbar-sticky.footer-static .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 1) + 4.45rem + 3.35rem + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 1) + 4.45rem + 3.35rem + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-sticky.footer-static .app-content .content-area-wrapper,\n.horizontal-layout.navbar-sticky.footer-static .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 1) + 4.45rem + 3.35rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 1) + 4.45rem + 3.35rem));\n }\n}\n.horizontal-layout.navbar-sticky.footer-hidden .app-content .content-area-wrapper,\n.horizontal-layout.navbar-sticky.footer-hidden .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 2) + 4.45rem + 0rem + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 2) + 4.45rem + 0rem + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-sticky.footer-hidden .app-content .content-area-wrapper,\n.horizontal-layout.navbar-sticky.footer-hidden .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 0rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 0rem));\n }\n}\n.horizontal-layout.navbar-sticky.footer-fixed .app-content .content-area-wrapper,\n.horizontal-layout.navbar-sticky.footer-fixed .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 2) + 4.45rem + 3.35rem + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 2) + 4.45rem + 3.35rem + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-sticky.footer-fixed .app-content .content-area-wrapper,\n.horizontal-layout.navbar-sticky.footer-fixed .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 3.35rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 3.35rem));\n }\n}\n.horizontal-layout.navbar-static .app-content {\n padding: calc(2rem + 4.45rem) 2rem 0 2rem;\n}\n.horizontal-layout.navbar-static .content {\n min-height: calc(100% - (4.45rem + calc(3.35rem + 0.2rem)));\n}\n.horizontal-layout.navbar-static .header-navbar {\n background-color: #f8f8f8;\n box-shadow: none;\n}\n.horizontal-layout.navbar-static .horizontal-menu-wrapper {\n position: relative;\n}\n.horizontal-layout.navbar-static .horizontal-menu-wrapper .navbar-horizontal.header-navbar {\n background: #fff;\n}\n.horizontal-layout.navbar-static .horizontal-menu-wrapper .navbar-horizontal.header-navbar.navbar-static-top {\n left: 0;\n width: 100%;\n}\n.horizontal-layout.navbar-static.footer-static .app-content .content-area-wrapper,\n.horizontal-layout.navbar-static.footer-static .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 1) + 4.45rem + calc(3.35rem + 0.2rem) + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 1) + 4.45rem + calc(3.35rem + 0.2rem) + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-static.footer-static .app-content .content-area-wrapper,\n.horizontal-layout.navbar-static.footer-static .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 1) + 4.45rem + calc(3.35rem + 0.2rem)));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 1) + 4.45rem + calc(3.35rem + 0.2rem)));\n }\n}\n.horizontal-layout.navbar-static.footer-hidden .app-content .content-area-wrapper,\n.horizontal-layout.navbar-static.footer-hidden .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 2) + 4.45rem + 0rem + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 2) + 4.45rem + 0rem + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-static.footer-hidden .app-content .content-area-wrapper,\n.horizontal-layout.navbar-static.footer-hidden .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 0rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 0rem));\n }\n}\n.horizontal-layout.navbar-static.footer-fixed .app-content .content-area-wrapper,\n.horizontal-layout.navbar-static.footer-fixed .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 2) + 4.45rem + 3.35rem + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 2) + 4.45rem + 3.35rem + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-static.footer-fixed .app-content .content-area-wrapper,\n.horizontal-layout.navbar-static.footer-fixed .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 3.35rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 2) + 4.45rem + 3.35rem));\n }\n}\n.horizontal-layout.navbar-hidden.footer-static .app-content .content-area-wrapper,\n.horizontal-layout.navbar-hidden.footer-static .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 1) + 0rem + 3.35rem + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 1) + 0rem + 3.35rem + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-hidden.footer-static .app-content .content-area-wrapper,\n.horizontal-layout.navbar-hidden.footer-static .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 1) + 0rem + 3.35rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 1) + 0rem + 3.35rem));\n }\n}\n.horizontal-layout.navbar-hidden.footer-hidden .app-content .content-area-wrapper,\n.horizontal-layout.navbar-hidden.footer-hidden .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 2) + 0rem + 0rem + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 2) + 0rem + 0rem + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-hidden.footer-hidden .app-content .content-area-wrapper,\n.horizontal-layout.navbar-hidden.footer-hidden .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 2) + 0rem + 0rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 2) + 0rem + 0rem));\n }\n}\n.horizontal-layout.navbar-hidden.footer-fixed .app-content .content-area-wrapper,\n.horizontal-layout.navbar-hidden.footer-fixed .app-content .kanban-wrapper {\n height: calc(100vh - (\n calc(2rem * 2) + 0rem + 3.35rem + 0rem + 4.45rem\n ));\n height: calc(var(--vh, 1vh) * 100 - (\n calc(2rem * 2) + 0rem + 3.35rem + 0rem + 4.45rem\n ));\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.navbar-hidden.footer-fixed .app-content .content-area-wrapper,\n.horizontal-layout.navbar-hidden.footer-fixed .app-content .kanban-wrapper {\n height: calc(100vh - (calc(calc(2rem - 0.8rem) * 2) + 0rem + 3.35rem));\n height: calc(var(--vh, 1vh) * 100 - (calc(calc(2rem - 0.8rem) * 2) + 0rem + 3.35rem));\n }\n}\n.horizontal-layout.vertical-overlay-menu #main-menu-navigation > li > ul > li > a i,\n.horizontal-layout.vertical-overlay-menu #main-menu-navigation > li > ul > li > a svg {\n height: 1rem;\n width: 1rem;\n font-size: 1rem;\n}\n@media (max-width: 1199.98px) {\n .horizontal-layout.horizontal-menu .horizontal-menu-wrapper .header-navbar {\n display: none;\n }\n .horizontal-layout .header-navbar {\n background: #fff;\n }\n .horizontal-layout .app-content {\n padding: calc(4.45rem + calc(2rem - 0.8rem)) calc(2rem - 0.8rem) 0 calc(2rem - 0.8rem) !important;\n }\n}\n@media (max-width: 575.98px) {\n html body.horizontal-layout.navbar-static .app-content {\n padding: calc(2rem - 0.8rem + 4.45rem) calc(2rem - 0.8rem) 0 calc(2rem - 0.8rem) !important;\n }\n}\n/*=========================================================================================\n File Name: vertical-overlay-menu.scss\n Description: A overlay style vertical menu with show and hide support. It support\n light & dark version, filpped layout, right side icons, native scroll and borders menu\n item seperation.\n ----------------------------------------------------------------------------------------\n Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template\n Author: PIXINVENT\n Author URL: http://www.themeforest.net/user/pixinvent\n==========================================================================================*/\n.vertical-overlay-menu .content {\n margin-left: 0;\n}\n.vertical-overlay-menu .navbar .navbar-header {\n float: left;\n width: 260px;\n}\n.vertical-overlay-menu .main-menu, .vertical-overlay-menu.menu-hide .main-menu {\n opacity: 0;\n transform: translate3d(0, 0, 0);\n transition: width 0.25s, opacity 0.25s, transform 0.25s;\n width: 260px;\n left: -260px;\n}\n.vertical-overlay-menu .main-menu .navigation > li > a > svg,\n.vertical-overlay-menu .main-menu .navigation > li > a > i {\n margin-right: 14px;\n float: left;\n transition: 200ms ease all;\n height: 20px;\n width: 20px;\n}\n.vertical-overlay-menu .main-menu .navigation > li > a > svg:before,\n.vertical-overlay-menu .main-menu .navigation > li > a > i:before {\n transition: 200ms ease all;\n font-size: 1.429rem;\n}\n.vertical-overlay-menu .main-menu .navigation li.has-sub > a:after {\n content: \"\";\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 1rem;\n height: 1rem;\n width: 1rem;\n display: inline-block;\n position: absolute;\n right: 20px;\n top: 14px;\n transform: rotate(0deg);\n transition: all 0.2s ease-out;\n}\n.vertical-overlay-menu .main-menu .navigation li.has-sub.open:not(.menu-item-closing) > a:after {\n transform: rotate(90deg);\n}\n.vertical-overlay-menu .main-menu .navigation .navigation-header .feather-more-horizontal {\n display: none;\n}\n.vertical-overlay-menu.menu-open .main-menu {\n opacity: 1;\n transform: translate3d(260px, 0, 0);\n transition: width 0.25s, opacity 0.25s, transform 0.25s;\n}\n/*=========================================================================================\n File Name: vertical-overlay-menu.scss\n Description: A overlay style vertical menu with show and hide support. It support\n light & dark version, filpped layout, right side icons, native scroll and borders menu\n item seperation.\n ----------------------------------------------------------------------------------------\n Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template\n Author: PIXINVENT\n Author URL: http://www.themeforest.net/user/pixinvent\n==========================================================================================*/\n.vertical-overlay-menu .content {\n margin-left: 0;\n}\n.vertical-overlay-menu .navbar .navbar-header {\n float: left;\n width: 260px;\n}\n.vertical-overlay-menu .main-menu, .vertical-overlay-menu.menu-hide .main-menu {\n opacity: 0;\n transform: translate3d(0, 0, 0);\n transition: width 0.25s, opacity 0.25s, transform 0.25s;\n width: 260px;\n left: -260px;\n}\n.vertical-overlay-menu .main-menu .navigation > li > a > svg,\n.vertical-overlay-menu .main-menu .navigation > li > a > i {\n margin-right: 14px;\n float: left;\n transition: 200ms ease all;\n height: 20px;\n width: 20px;\n}\n.vertical-overlay-menu .main-menu .navigation > li > a > svg:before,\n.vertical-overlay-menu .main-menu .navigation > li > a > i:before {\n transition: 200ms ease all;\n font-size: 1.429rem;\n}\n.vertical-overlay-menu .main-menu .navigation li.has-sub > a:after {\n content: \"\";\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 1rem;\n height: 1rem;\n width: 1rem;\n display: inline-block;\n position: absolute;\n right: 20px;\n top: 14px;\n transform: rotate(0deg);\n transition: all 0.2s ease-out;\n}\n.vertical-overlay-menu .main-menu .navigation li.has-sub.open:not(.menu-item-closing) > a:after {\n transform: rotate(90deg);\n}\n.vertical-overlay-menu .main-menu .navigation .navigation-header .feather-more-horizontal {\n display: none;\n}\n.vertical-overlay-menu.menu-open .main-menu {\n opacity: 1;\n transform: translate3d(260px, 0, 0);\n transition: width 0.25s, opacity 0.25s, transform 0.25s;\n}\n.horizontal-layout .horizontal-header-navbar .navbar-container ul.navbar-nav li.dropdown .dropdown-menu {\n top: 41px !important;\n}"], encapsulation: 2 }); } /***/ }), /***/ 43809: /*!***************************************************************!*\ !*** ./src/app/layout/horizontal/horizontal-layout.module.ts ***! \***************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "HorizontalLayoutModule": () => (/* binding */ HorizontalLayoutModule) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_navbar_navbar_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/navbar/navbar.module */ 17777); /* harmony import */ var app_layout_components_content_content_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/layout/components/content/content.module */ 92181); /* harmony import */ var app_layout_components_menu_menu_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/layout/components/menu/menu.module */ 79287); /* harmony import */ var app_layout_components_footer_footer_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/footer/footer.module */ 73030); /* harmony import */ var app_layout_horizontal_horizontal_layout_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/layout/horizontal/horizontal-layout.component */ 54487); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 94650); class HorizontalLayoutModule { static ɵfac = function HorizontalLayoutModule_Factory(t) { return new (t || HorizontalLayoutModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({ type: HorizontalLayoutModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _core_components__WEBPACK_IMPORTED_MODULE_0__.CoreSidebarModule, app_layout_components_navbar_navbar_module__WEBPACK_IMPORTED_MODULE_2__.NavbarModule, app_layout_components_content_content_module__WEBPACK_IMPORTED_MODULE_3__.ContentModule, app_layout_components_menu_menu_module__WEBPACK_IMPORTED_MODULE_4__.MenuModule, app_layout_components_footer_footer_module__WEBPACK_IMPORTED_MODULE_5__.FooterModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](HorizontalLayoutModule, { declarations: [app_layout_horizontal_horizontal_layout_component__WEBPACK_IMPORTED_MODULE_6__.HorizontalLayoutComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _core_components__WEBPACK_IMPORTED_MODULE_0__.CoreSidebarModule, app_layout_components_navbar_navbar_module__WEBPACK_IMPORTED_MODULE_2__.NavbarModule, app_layout_components_content_content_module__WEBPACK_IMPORTED_MODULE_3__.ContentModule, app_layout_components_menu_menu_module__WEBPACK_IMPORTED_MODULE_4__.MenuModule, app_layout_components_footer_footer_module__WEBPACK_IMPORTED_MODULE_5__.FooterModule], exports: [app_layout_horizontal_horizontal_layout_component__WEBPACK_IMPORTED_MODULE_6__.HorizontalLayoutComponent] }); })(); /***/ }), /***/ 4805: /*!*****************************************!*\ !*** ./src/app/layout/layout.module.ts ***! \*****************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "LayoutModule": () => (/* binding */ LayoutModule) /* harmony export */ }); /* harmony import */ var _angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/flex-layout */ 77613); /* harmony import */ var app_layout_custom_breakpoints__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/layout/custom-breakpoints */ 41724); /* harmony import */ var app_layout_vertical_vertical_layout_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/vertical/vertical-layout.module */ 16800); /* harmony import */ var app_layout_horizontal_horizontal_layout_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/horizontal/horizontal-layout.module */ 43809); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); class LayoutModule { static ɵfac = function LayoutModule_Factory(t) { return new (t || LayoutModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: LayoutModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ providers: [app_layout_custom_breakpoints__WEBPACK_IMPORTED_MODULE_0__.CustomBreakPointsProvider], imports: [_angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__.FlexLayoutModule.withConfig({ disableDefaultBps: true }), app_layout_vertical_vertical_layout_module__WEBPACK_IMPORTED_MODULE_1__.VerticalLayoutModule, app_layout_horizontal_horizontal_layout_module__WEBPACK_IMPORTED_MODULE_2__.HorizontalLayoutModule, app_layout_vertical_vertical_layout_module__WEBPACK_IMPORTED_MODULE_1__.VerticalLayoutModule, app_layout_horizontal_horizontal_layout_module__WEBPACK_IMPORTED_MODULE_2__.HorizontalLayoutModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](LayoutModule, { imports: [_angular_flex_layout__WEBPACK_IMPORTED_MODULE_4__.FlexLayoutModule, app_layout_vertical_vertical_layout_module__WEBPACK_IMPORTED_MODULE_1__.VerticalLayoutModule, app_layout_horizontal_horizontal_layout_module__WEBPACK_IMPORTED_MODULE_2__.HorizontalLayoutModule], exports: [app_layout_vertical_vertical_layout_module__WEBPACK_IMPORTED_MODULE_1__.VerticalLayoutModule, app_layout_horizontal_horizontal_layout_module__WEBPACK_IMPORTED_MODULE_2__.HorizontalLayoutModule] }); })(); /***/ }), /***/ 80836: /*!**************************************************************!*\ !*** ./src/app/layout/vertical/vertical-layout.component.ts ***! \**************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "VerticalLayoutComponent": () => (/* binding */ VerticalLayoutComponent) /* harmony export */ }); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 8929); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 7625); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _core_services_config_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/services/config.service */ 52553); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components/core-sidebar/core-sidebar.component */ 9831); /* harmony import */ var app_layout_components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/navbar/navbar.component */ 903); /* harmony import */ var app_layout_components_menu_menu_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/layout/components/menu/menu.component */ 92393); /* harmony import */ var app_layout_components_content_content_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/layout/components/content/content.component */ 24714); /* harmony import */ var app_layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/footer/footer.component */ 92223); function VerticalLayoutComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainer"](0); } } function VerticalLayoutComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainer"](0); } } function VerticalLayoutComponent_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "div", 7); } } function VerticalLayoutComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainer"](0); } } const _c0 = function (a0, a1) { return [a0, a1]; }; function VerticalLayoutComponent_ng_template_7_app_navbar_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "app-navbar", 9); } if (rf & 2) { const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction2"](1, _c0, ctx_r10.coreConfig.layout.navbar.customBackgroundColor === true ? ctx_r10.coreConfig.layout.navbar.background + " " + ctx_r10.coreConfig.layout.navbar.type + " " + ctx_r10.coreConfig.layout.navbar.backgroundColor : ctx_r10.coreConfig.layout.navbar.background + " " + ctx_r10.coreConfig.layout.navbar.type, ctx_r10.coreConfig.layout.navbar.type === "floating-nav" ? "container-xxl" : "")); } } function VerticalLayoutComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, VerticalLayoutComponent_ng_template_7_app_navbar_0_Template, 1, 4, "app-navbar", 8); } if (rf & 2) { const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r5.coreConfig.layout.navbar.hidden); } } function VerticalLayoutComponent_ng_template_9_core_sidebar_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "core-sidebar", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "app-menu", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("collapsed", ctx_r11.coreConfig.layout.menu.collapsed)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction2"](2, _c0, ctx_r11.coreConfig.layout.skin === "semi-dark" || ctx_r11.coreConfig.layout.skin === "dark" ? "menu-dark" : "menu-light", ctx_r11.coreConfig.layout.menu.collapsed ? "" : "expanded")); } } function VerticalLayoutComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, VerticalLayoutComponent_ng_template_9_core_sidebar_0_Template, 2, 5, "core-sidebar", 10); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r7.coreConfig.layout.menu.hidden); } } function VerticalLayoutComponent_ng_template_11_footer_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "footer", 14); } if (rf & 2) { const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngClass", ctx_r12.coreConfig.layout.footer.customBackgroundColor === true ? ctx_r12.coreConfig.layout.footer.background + " " + ctx_r12.coreConfig.layout.footer.type + " " + ctx_r12.coreConfig.layout.footer.backgroundColor : ctx_r12.coreConfig.layout.footer.background + " " + ctx_r12.coreConfig.layout.footer.type); } } function VerticalLayoutComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, VerticalLayoutComponent_ng_template_11_footer_0_Template, 1, 1, "footer", 13); } if (rf & 2) { const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r9.coreConfig.layout.footer.hidden); } } class VerticalLayoutComponent { _coreConfigService; _elementRef; coreConfig; // Private _unsubscribeAll; /** * Constructor * * @param {CoreConfigService} _coreConfigService */ constructor(_coreConfigService, _elementRef) { this._coreConfigService = _coreConfigService; this._elementRef = _elementRef; // Set the private defaults this._unsubscribeAll = new rxjs__WEBPACK_IMPORTED_MODULE_7__.Subject(); } // Lifecycle Hooks // ----------------------------------------------------------------------------------------------------- /** * On init */ ngOnInit() { // Subscribe to config changes this._coreConfigService.config.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.takeUntil)(this._unsubscribeAll)).subscribe(config => { this.coreConfig = config; }); } /** * On destroy */ ngOnDestroy() { // Unsubscribe from all subscriptions this._unsubscribeAll.next(); this._unsubscribeAll.complete(); } static ɵfac = function VerticalLayoutComponent_Factory(t) { return new (t || VerticalLayoutComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_core_services_config_service__WEBPACK_IMPORTED_MODULE_0__.CoreConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__.ElementRef)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: VerticalLayoutComponent, selectors: [["vertical-layout"]], decls: 13, vars: 4, consts: [[4, "ngTemplateOutlet"], [1, "app-content", "content"], [1, "content-overlay"], ["class", "header-navbar-shadow", 4, "ngIf"], ["navbar", ""], ["menu", ""], ["footer", ""], [1, "header-navbar-shadow"], ["class", "header-navbar navbar navbar-expand-lg align-items-center navbar-shadow", 3, "ngClass", 4, "ngIf"], [1, "header-navbar", "navbar", "navbar-expand-lg", "align-items-center", "navbar-shadow", 3, "ngClass"], ["name", "menu", "collapsibleSidebar", "bs-gt-xl", "class", "main-menu menu-fixed menu-accordio menu-shadow", "overlayClass", "sidenav-overlay", 3, "collapsed", "ngClass", 4, "ngIf"], ["name", "menu", "collapsibleSidebar", "bs-gt-xl", "overlayClass", "sidenav-overlay", 1, "main-menu", "menu-fixed", "menu-accordio", "menu-shadow", 3, "collapsed", "ngClass"], ["menuType", "vertical-menu", 1, "vertical-menu"], ["class", "footer", 3, "ngClass", 4, "ngIf"], [1, "footer", 3, "ngClass"]], template: function VerticalLayoutComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, VerticalLayoutComponent_ng_container_0_Template, 1, 0, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, VerticalLayoutComponent_ng_container_1_Template, 1, 0, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](2, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](3, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](4, VerticalLayoutComponent_div_4_Template, 1, 0, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](5, "content"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](6, VerticalLayoutComponent_ng_container_6_Template, 1, 0, "ng-container", 0); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](7, VerticalLayoutComponent_ng_template_7_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](9, VerticalLayoutComponent_ng_template_9_Template, 1, 1, "ng-template", null, 5, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](11, VerticalLayoutComponent_ng_template_11_Template, 1, 1, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](8); const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](10); const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](12); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngTemplateOutlet", _r4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngTemplateOutlet", _r6); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx.coreConfig.layout.navbar.hidden); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngTemplateOutlet", _r8); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_9__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgTemplateOutlet, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_10__.DefaultClassDirective, _core_components_core_sidebar_core_sidebar_component__WEBPACK_IMPORTED_MODULE_1__.CoreSidebarComponent, app_layout_components_navbar_navbar_component__WEBPACK_IMPORTED_MODULE_2__.NavbarComponent, app_layout_components_menu_menu_component__WEBPACK_IMPORTED_MODULE_3__.MenuComponent, app_layout_components_content_content_component__WEBPACK_IMPORTED_MODULE_4__.ContentComponent, app_layout_components_footer_footer_component__WEBPACK_IMPORTED_MODULE_5__.FooterComponent], styles: ["/*=========================================================================================\n File Name: vertical-menu.scss\n Description: A classic vertical modern style menu with expand and collops support. It support\n light & dark version, flipped layout, right side icons, native scroll and borders menu\n item separation.\n ----------------------------------------------------------------------------------------\n Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template\n Author: PIXINVENT\n Author URL: http://www.themeforest.net/user/pixinvent\n==========================================================================================*/\n.vertical-layout.vertical-menu-modern .main-menu {\n transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0s;\n transform: translate3d(0, 0, 0);\n backface-visibility: hidden;\n}\n.vertical-layout.vertical-menu-modern .main-menu .navigation li a {\n align-items: center;\n}\n.vertical-layout.vertical-menu-modern .main-menu .navigation > li > a svg,\n.vertical-layout.vertical-menu-modern .main-menu .navigation > li > a i {\n height: 20px;\n width: 20px;\n font-size: 1.45rem;\n margin-right: 1.1rem;\n flex-shrink: 0;\n}\n.vertical-layout.vertical-menu-modern .main-menu .navigation .menu-content > li > a svg,\n.vertical-layout.vertical-menu-modern .main-menu .navigation .menu-content > li > a i {\n margin-right: 1.45rem;\n font-size: 11px;\n height: 11px;\n width: 11px;\n}\n.vertical-layout.vertical-menu-modern.menu-expanded .main-menu {\n width: 260px;\n}\n.vertical-layout.vertical-menu-modern.menu-expanded .main-menu .navigation .navigation-header .feather-more-horizontal {\n display: none;\n}\n.vertical-layout.vertical-menu-modern.menu-expanded .main-menu .navigation > li > a > i:before,\n.vertical-layout.vertical-menu-modern.menu-expanded .main-menu .navigation > li > a > svg:before {\n height: 20px;\n width: 20px;\n font-size: 1.45rem;\n}\n.vertical-layout.vertical-menu-modern.menu-expanded .main-menu .navigation li.has-sub > a:after {\n content: \"\";\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 1.1rem;\n height: 1.1rem;\n width: 1.1rem;\n display: inline-block;\n position: absolute;\n right: 20px;\n top: 14px;\n transform: rotate(0deg);\n transition: all 0.2s ease-out;\n}\n.vertical-layout.vertical-menu-modern.menu-expanded .main-menu .navigation li.has-sub.open:not(.menu-item-closing) > a:after {\n transform: rotate(90deg);\n}\n.vertical-layout.vertical-menu-modern.menu-expanded .footer {\n margin-left: 260px;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .navbar .navbar-header {\n float: left;\n width: 80px;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .navbar .navbar-header .modern-nav-toggle {\n display: none;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .navbar .navbar-header.expanded {\n width: 260px;\n z-index: 1000;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .navbar .navbar-header.expanded .modern-nav-toggle {\n display: block;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .navbar.fixed-top, .vertical-layout.vertical-menu-modern.menu-collapsed .navbar.floating-nav {\n left: 80px;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu {\n width: 80px;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu .navbar-header .brand-text,\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu .modern-nav-toggle {\n display: none;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navigation-header {\n margin-left: 2.2rem;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navigation-header span {\n display: none;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navigation-header .feather-more-horizontal {\n display: block;\n font-size: 1.285rem;\n width: 18px;\n height: 18px;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navigation li:last-child {\n margin-bottom: 1.25rem !important;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navigation li.active a {\n background: whitesmoke;\n box-shadow: none;\n color: #565656;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.expanded {\n width: 260px;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.expanded .navigation > li.navigation-header span {\n display: block;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.expanded .navigation > li.navigation-header .feather-more-horizontal {\n display: none;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.expanded .navigation li.has-sub > a:after {\n content: \"\";\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 1rem;\n height: 1rem;\n width: 1rem;\n display: inline-block;\n position: absolute;\n right: 20px;\n top: 14px;\n transform: rotate(0deg);\n transition: all 0.2s ease-out;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.expanded .navigation li.has-sub.open:not(.menu-item-closing) > a:after {\n transform: rotate(90deg);\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.expanded .navbar-header .brand-text {\n display: inline;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.expanded .modern-nav-toggle {\n display: block;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu .navigation {\n overflow: visible;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu .navigation > li.navigation-header span {\n display: none;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu .navigation > li > a {\n text-overflow: inherit;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .app-content,\n.vertical-layout.vertical-menu-modern.menu-collapsed .footer {\n margin-left: 80px;\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .header-navbar.floating-nav {\n width: calc(100vw - (100vw - 100%) - 4.4rem - 74px);\n}\n.vertical-layout.vertical-menu-modern.menu-collapsed .header-navbar.navbar-static-top {\n width: calc(100vw - (100vw - 100%) - 74px);\n left: 74px;\n}\n.vertical-layout.vertical-menu-modern .toggle-icon,\n.vertical-layout.vertical-menu-modern .collapse-toggle-icon {\n margin-right: 0.425rem;\n}\n.vertical-layout.vertical-menu-modern .toggle-icon:focus,\n.vertical-layout.vertical-menu-modern .collapse-toggle-icon:focus {\n outline: none;\n}\n@media (min-width: 992px) {\n .vertical-layout.vertical-menu-modern .main-menu {\n width: 260px;\n }\n}\n@media (max-width: 1199.98px) {\n .vertical-layout.vertical-menu-modern .main-menu {\n width: 0;\n }\n .vertical-layout.vertical-menu-modern .navbar .navbar-header {\n width: 0;\n }\n .vertical-layout.vertical-menu-modern .content,\n.vertical-layout.vertical-menu-modern .footer {\n margin-left: 0;\n }\n .vertical-layout.vertical-menu-modern.menu-collapsed .app-content,\n.vertical-layout.vertical-menu-modern.menu-collapsed .footer {\n margin-left: 0;\n }\n .vertical-layout.vertical-menu-modern.menu-collapsed .main-menu {\n width: 0;\n }\n}\n@media (max-width: 767.98px) {\n .vertical-layout.vertical-menu-modern .main-menu {\n width: 0;\n }\n .vertical-layout.vertical-menu-modern .navbar .navbar-header {\n width: 0;\n }\n .vertical-layout.vertical-menu-modern .content,\n.vertical-layout.vertical-menu-modern .footer {\n margin-left: 0;\n }\n}\n@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes fadeout {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n .vertical-menu-modern.vertical-layout .main-menu .navigation > li > a > span {\n animation: none;\n }\n}\n/*=========================================================================================\n File Name: vertical-overlay-menu.scss\n Description: A overlay style vertical menu with show and hide support. It support\n light & dark version, filpped layout, right side icons, native scroll and borders menu\n item seperation.\n ----------------------------------------------------------------------------------------\n Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template\n Author: PIXINVENT\n Author URL: http://www.themeforest.net/user/pixinvent\n==========================================================================================*/\n.vertical-overlay-menu .content {\n margin-left: 0;\n}\n.vertical-overlay-menu .navbar .navbar-header {\n float: left;\n width: 260px;\n}\n.vertical-overlay-menu .main-menu, .vertical-overlay-menu.menu-hide .main-menu {\n opacity: 0;\n transform: translate3d(0, 0, 0);\n transition: width 0.25s, opacity 0.25s, transform 0.25s;\n width: 260px;\n left: -260px;\n}\n.vertical-overlay-menu .main-menu .navigation > li > a > svg,\n.vertical-overlay-menu .main-menu .navigation > li > a > i {\n margin-right: 14px;\n float: left;\n transition: 200ms ease all;\n height: 20px;\n width: 20px;\n}\n.vertical-overlay-menu .main-menu .navigation > li > a > svg:before,\n.vertical-overlay-menu .main-menu .navigation > li > a > i:before {\n transition: 200ms ease all;\n font-size: 1.429rem;\n}\n.vertical-overlay-menu .main-menu .navigation li.has-sub > a:after {\n content: \"\";\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 1rem;\n height: 1rem;\n width: 1rem;\n display: inline-block;\n position: absolute;\n right: 20px;\n top: 14px;\n transform: rotate(0deg);\n transition: all 0.2s ease-out;\n}\n.vertical-overlay-menu .main-menu .navigation li.has-sub.open:not(.menu-item-closing) > a:after {\n transform: rotate(90deg);\n}\n.vertical-overlay-menu .main-menu .navigation .navigation-header .feather-more-horizontal {\n display: none;\n}\n.vertical-overlay-menu.menu-open .main-menu {\n opacity: 1;\n transform: translate3d(260px, 0, 0);\n transition: width 0.25s, opacity 0.25s, transform 0.25s;\n}\n/*=========================================================================================\n File Name: vertical-overlay-menu.scss\n Description: A overlay style vertical menu with show and hide support. It support\n light & dark version, filpped layout, right side icons, native scroll and borders menu\n item seperation.\n ----------------------------------------------------------------------------------------\n Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template\n Author: PIXINVENT\n Author URL: http://www.themeforest.net/user/pixinvent\n==========================================================================================*/\n.vertical-overlay-menu .content {\n margin-left: 0;\n}\n.vertical-overlay-menu .navbar .navbar-header {\n float: left;\n width: 260px;\n}\n.vertical-overlay-menu .main-menu, .vertical-overlay-menu.menu-hide .main-menu {\n opacity: 0;\n transform: translate3d(0, 0, 0);\n transition: width 0.25s, opacity 0.25s, transform 0.25s;\n width: 260px;\n left: -260px;\n}\n.vertical-overlay-menu .main-menu .navigation > li > a > svg,\n.vertical-overlay-menu .main-menu .navigation > li > a > i {\n margin-right: 14px;\n float: left;\n transition: 200ms ease all;\n height: 20px;\n width: 20px;\n}\n.vertical-overlay-menu .main-menu .navigation > li > a > svg:before,\n.vertical-overlay-menu .main-menu .navigation > li > a > i:before {\n transition: 200ms ease all;\n font-size: 1.429rem;\n}\n.vertical-overlay-menu .main-menu .navigation li.has-sub > a:after {\n content: \"\";\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6b7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 1rem;\n height: 1rem;\n width: 1rem;\n display: inline-block;\n position: absolute;\n right: 20px;\n top: 14px;\n transform: rotate(0deg);\n transition: all 0.2s ease-out;\n}\n.vertical-overlay-menu .main-menu .navigation li.has-sub.open:not(.menu-item-closing) > a:after {\n transform: rotate(90deg);\n}\n.vertical-overlay-menu .main-menu .navigation .navigation-header .feather-more-horizontal {\n display: none;\n}\n.vertical-overlay-menu.menu-open .main-menu {\n opacity: 1;\n transform: translate3d(260px, 0, 0);\n transition: width 0.25s, opacity 0.25s, transform 0.25s;\n}"], encapsulation: 2 }); } /***/ }), /***/ 16800: /*!***********************************************************!*\ !*** ./src/app/layout/vertical/vertical-layout.module.ts ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "VerticalLayoutModule": () => (/* binding */ VerticalLayoutModule) /* harmony export */ }); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var app_layout_components_navbar_navbar_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/navbar/navbar.module */ 17777); /* harmony import */ var app_layout_components_content_content_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/layout/components/content/content.module */ 92181); /* harmony import */ var app_layout_components_menu_menu_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/layout/components/menu/menu.module */ 79287); /* harmony import */ var app_layout_components_footer_footer_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/footer/footer.module */ 73030); /* harmony import */ var app_layout_vertical_vertical_layout_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/layout/vertical/vertical-layout.component */ 80836); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 94650); class VerticalLayoutModule { static ɵfac = function VerticalLayoutModule_Factory(t) { return new (t || VerticalLayoutModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({ type: VerticalLayoutModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule, _core_components__WEBPACK_IMPORTED_MODULE_1__.CoreSidebarModule, app_layout_components_navbar_navbar_module__WEBPACK_IMPORTED_MODULE_2__.NavbarModule, app_layout_components_menu_menu_module__WEBPACK_IMPORTED_MODULE_4__.MenuModule, app_layout_components_content_content_module__WEBPACK_IMPORTED_MODULE_3__.ContentModule, app_layout_components_footer_footer_module__WEBPACK_IMPORTED_MODULE_5__.FooterModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](VerticalLayoutModule, { declarations: [app_layout_vertical_vertical_layout_component__WEBPACK_IMPORTED_MODULE_6__.VerticalLayoutComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule, _core_components__WEBPACK_IMPORTED_MODULE_1__.CoreSidebarModule, app_layout_components_navbar_navbar_module__WEBPACK_IMPORTED_MODULE_2__.NavbarModule, app_layout_components_menu_menu_module__WEBPACK_IMPORTED_MODULE_4__.MenuModule, app_layout_components_content_content_module__WEBPACK_IMPORTED_MODULE_3__.ContentModule, app_layout_components_footer_footer_module__WEBPACK_IMPORTED_MODULE_5__.FooterModule], exports: [app_layout_vertical_vertical_layout_component__WEBPACK_IMPORTED_MODULE_6__.VerticalLayoutComponent] }); })(); /***/ }), /***/ 71550: /*!*********************************************!*\ !*** ./src/app/main/home/home.component.ts ***! \*********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "HomeComponent": () => (/* binding */ HomeComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); class HomeComponent { /** * On init */ ngOnInit() { return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {})(); } static ɵfac = function HomeComponent_Factory(t) { return new (t || HomeComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: HomeComponent, selectors: [["app-home"]], hostAttrs: [1, "ecommerce-application"], decls: 4, vars: 0, consts: [[1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], ["src", "assets/images/login-v2.svg", "width", "80%", "alt", "Imagen 1", 1, "imagen"]], template: function HomeComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "img", 2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); } }, styles: [".imagen {\n display: inline-block;\n}"], encapsulation: 2 }); } /***/ }), /***/ 81762: /*!******************************************!*\ !*** ./src/app/main/home/home.module.ts ***! \******************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "HomeModule": () => (/* binding */ HomeModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @services/seguridad/auth-guard.guard */ 76732); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.module */ 50619); /* harmony import */ var _home_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./home.component */ 71550); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); const routes = [{ path: 'home', component: _home_component__WEBPACK_IMPORTED_MODULE_3__.HomeComponent, // canActivate: [AuthGuardGuard], canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }]; class HomeModule { static ɵfac = function HomeModule_Factory(t) { return new (t || HomeModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: HomeModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule.forChild(routes), app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__.TranslateModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_8__.NgxDatatableModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.ReactiveFormsModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](HomeModule, { declarations: [_home_component__WEBPACK_IMPORTED_MODULE_3__.HomeComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__.TranslateModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_8__.NgxDatatableModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormsModule, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.ReactiveFormsModule], exports: [_home_component__WEBPACK_IMPORTED_MODULE_3__.HomeComponent] }); })(); /***/ }), /***/ 13416: /*!****************************************************************!*\ !*** ./src/app/main/views/applications/applications.module.ts ***! \****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ApplicationsModule": () => (/* binding */ ApplicationsModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @services/seguridad/auth-guard.guard */ 76732); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.module */ 50619); /* harmony import */ var _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-card/core-card.module */ 4651); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var ng2_flatpickr__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ng2-flatpickr */ 89793); /* harmony import */ var _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/directives/directives */ 35455); /* harmony import */ var _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/pipes/pipes.module */ 30021); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _install_install_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./install/install.component */ 24330); /* harmony import */ var _menu_menu_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./menu/menu.component */ 74450); /* harmony import */ var _list_list_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./list/list.component */ 99411); /* harmony import */ var _terminal_terminal_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./terminal/terminal.component */ 58730); /* harmony import */ var _conciliation_conciliation_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./conciliation/conciliation.component */ 82722); /* harmony import */ var _text_messaging_text_messaging_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./text-messaging/text-messaging.component */ 59325); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/core */ 94650); const routes = [{ path: 'applications/list', component: _list_list_component__WEBPACK_IMPORTED_MODULE_9__.ListComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'applications/install', component: _install_install_component__WEBPACK_IMPORTED_MODULE_7__.InstallComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'applications/menu', component: _menu_menu_component__WEBPACK_IMPORTED_MODULE_8__.MenuComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'applications/terminal', component: _terminal_terminal_component__WEBPACK_IMPORTED_MODULE_10__.TerminalComponent // canActivate: [AuthGuardGuard], }, { path: 'applications/conciliation', component: _conciliation_conciliation_component__WEBPACK_IMPORTED_MODULE_11__.ConciliationComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'applications/sms', component: _text_messaging_text_messaging_component__WEBPACK_IMPORTED_MODULE_12__.TextMessagingComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }]; class ApplicationsModule { static ɵfac = function ApplicationsModule_Factory(t) { return new (t || ApplicationsModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵdefineNgModule"]({ type: ApplicationsModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_14__.RouterModule.forChild(routes), _angular_common__WEBPACK_IMPORTED_MODULE_15__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_17__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_17__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_18__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_19__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_20__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_21__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_22__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵsetNgModuleScope"](ApplicationsModule, { declarations: [_install_install_component__WEBPACK_IMPORTED_MODULE_7__.InstallComponent, _menu_menu_component__WEBPACK_IMPORTED_MODULE_8__.MenuComponent, _list_list_component__WEBPACK_IMPORTED_MODULE_9__.ListComponent, _terminal_terminal_component__WEBPACK_IMPORTED_MODULE_10__.TerminalComponent, _conciliation_conciliation_component__WEBPACK_IMPORTED_MODULE_11__.ConciliationComponent, _text_messaging_text_messaging_component__WEBPACK_IMPORTED_MODULE_12__.TextMessagingComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_14__.RouterModule, _angular_common__WEBPACK_IMPORTED_MODULE_15__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_17__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_17__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_18__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_19__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_20__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_21__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_22__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); })(); /***/ }), /***/ 82722: /*!********************************************************************************!*\ !*** ./src/app/main/views/applications/conciliation/conciliation.component.ts ***! \********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ConciliationComponent": () => (/* binding */ ConciliationComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/pipes/initials.pipe */ 16516); function ConciliationComponent_div_0_ng_template_30_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "img", 34); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const row_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("src", row_r5.avatar, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsanitizeUrl"]); } } const _c0 = function (a0, a1) { return { "bg-light-success": a0, "bg-light-danger": a1 }; }; function ConciliationComponent_div_0_ng_template_30_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 35)(1, "div", 36); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](3, "initials"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction2"](4, _c0, row_r5.esta == "1", row_r5.esta == "0")); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](3, 2, row_r5.nombre.toUpperCase())); } } function ConciliationComponent_div_0_ng_template_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, ConciliationComponent_div_0_ng_template_30_div_1_Template, 2, 1, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](2, ConciliationComponent_div_0_ng_template_30_ng_template_2_Template, 4, 7, "ng-template", null, 30, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "div", 31)(5, "span", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](7, "span", 33); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](9, "date"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r5 = ctx.row; const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", row_r5.length > 0)("ngIfElse", _r8); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](row_r5.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind2"](9, 4, row_r5.fecha, "dd-MM-yyyy"), ""); } } function ConciliationComponent_div_0_ng_template_32_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 37); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](3, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](5, " | "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](6, "div", 38); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](8, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r12 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](3, 2, row_r12.lenguaje), " "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](8, 4, row_r12.VERSION), " "); } } function ConciliationComponent_div_0_ng_template_34_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 37); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const lenguaje_r13 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", lenguaje_r13, " "); } } function ConciliationComponent_div_0_ng_template_36_a_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "a", 45); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "span", 46); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Proyecto"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const row_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().row; const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("href", ctx_r15.urlEnvironment.Url + "/" + row_r14.nombre, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsanitizeUrl"]); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "aperture")("size", 16); } } function ConciliationComponent_div_0_ng_template_36_a_5_Template(rf, ctx) { if (rf & 1) { const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "a", 47); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function ConciliationComponent_div_0_ng_template_36_a_5_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r21); const row_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().row; const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r19.Clonar(row_r14)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "span", 46); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Clonar"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "download-cloud")("size", 16); } } function ConciliationComponent_div_0_ng_template_36_a_6_Template(rf, ctx) { if (rf & 1) { const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "a", 47); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function ConciliationComponent_div_0_ng_template_36_a_6_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r24); const row_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().row; const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r22.Pull(row_r14)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "span", 46); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Actualizar"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "git-pull-request")("size", 16); } } function ConciliationComponent_div_0_ng_template_36_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 39)(1, "button", 40); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](2, "span", 41); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](4, ConciliationComponent_div_0_ng_template_36_a_4_Template, 3, 5, "a", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](5, ConciliationComponent_div_0_ng_template_36_a_5_Template, 3, 4, "a", 44); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](6, ConciliationComponent_div_0_ng_template_36_a_6_Template, 3, 4, "a", 44); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r14 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", row_r14.status == "1"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", row_r14.status == "0"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", row_r14.status == "1"); } } function ConciliationComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 1)(1, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](2, "app-content-header", 3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "section", 4)(4, "div", 5)(5, "div", 6)(6, "div", 7)(7, "div", 8)(8, "div", 9)(9, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "select", 10); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function ConciliationComponent_div_0_Template_select_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r26); const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r25.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](12, "option", 11); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](14, "option", 12); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](16, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](18, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](20, "div", 15)(21, "div", 16)(22, "div", 17)(23, "label", 18)(24, "input", 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function ConciliationComponent_div_0_Template_input_ngModelChange_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r26); const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r27.searchValue = $event); })("keyup", function ConciliationComponent_div_0_Template_input_keyup_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r26); const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r28.filterUpdate($event)); })("search", function ConciliationComponent_div_0_Template_input_search_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r26); const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r29.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](25, "div", 20)(26, "fieldset", 21)(27, "ng-select", 22); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("change", function ConciliationComponent_div_0_Template_ng_select_change_27_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r26); const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r30.filterLenguaje($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](28, "ngx-datatable", 23)(29, "ngx-datatable-column", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](30, ConciliationComponent_div_0_ng_template_30_Template, 10, 7, "ng-template", 25); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](31, "ngx-datatable-column", 26); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](32, ConciliationComponent_div_0_ng_template_32_Template, 9, 6, "ng-template", 25); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](33, "ngx-datatable-column", 27); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](34, ConciliationComponent_div_0_ng_template_34_Template, 3, 1, "ng-template", 25); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](35, "ngx-datatable-column", 28); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](36, ConciliationComponent_div_0_ng_template_36_Template, 7, 6, "ng-template", 25); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx_r0.lenguaje); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rows", ctx_r0.rowData)("rowHeight", 58)("limit", 10)("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 5)("sortable", false); } } class ConciliationComponent { taskService; apiService; msjService; table; blockUI; sectionBlockUI; xAPI = { funcion: "", parametros: "", relacional: false, concurrencia: false, protocolo: "", ruta: "", retorna: false, migrar: false, modulo: "", valores: {}, coleccion: "", http: 0, https: 0, consumidores: 0, puertohttp: 0, puertohttps: 0, driver: "", query: "", metodo: "", tipo: "", prioridad: "", entorno: "", logs: false }; pID = { id: "", estatus: false, mensaje: "", segundos: "", contenido: "" }; // Private urlEnvironment = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment; ListaAplicaciones = []; tempData = []; rowData = []; fnx; status = false; // public contentHeader; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.SelectionType; constructor(taskService, apiService, msjService) { this.taskService = taskService; this.apiService = apiService; this.msjService = msjService; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { // content header _this.contentHeader = { headerTitle: "Aplicaciones", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Aplicaciones", isLink: false }, { name: "Conciliación", isLink: false }] } }; })(); } filterUpdate(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempData.filter(function (d) { return d.nombre.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } static ɵfac = function ConciliationComponent_Factory(t) { return new (t || ConciliationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_2__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_4__.WsocketsService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineComponent"]({ type: ConciliationComponent, selectors: [["app-conciliation"]], viewQuery: function ConciliationComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModal])], decls: 1, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-10", "col-md-6", "pr-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "col-10", "col-md-6", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "form-group", "mb-0"], ["bindLabel", "name", "bindId", "id", "bindValue", "name", "placeholder", "Seleccione Status", 3, "items", "change"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "DRIVER", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "Sistema", 3, "width"], ["name", "Lenguaje", "prop", "lenguaje", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [4, "ngIf", "ngIfElse"], ["customAvatar", ""], [1, "cell-line-height"], [1, "font-weight-bold", "d-block", "text-nowrap", "font-medium-1"], [1, "text-muted", "font-small-2"], ["height", "32", "width", "32", "alt", "datatable-avatar", 1, "rounded-circle", "mr-1", 3, "src"], [1, "avatar", "mr-1", "ml-0", 3, "ngClass"], [1, "avatar-content"], [1, "font-weight-bold"], [1, "badge", "badge-glow", "badge-dark"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], [3, "data-feather"], ["ngbDropdownMenu", ""], ["target", "_blank", "ngbDropdownItem", "", 3, "href", 4, "ngIf"], ["ngbDropdownItem", "", 3, "click", 4, "ngIf"], ["target", "_blank", "ngbDropdownItem", "", 3, "href"], [3, "data-feather", "size"], ["ngbDropdownItem", "", 3, "click"]], template: function ConciliationComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](0, ConciliationComponent_div_0_Template, 37, 17, "div", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_12__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_12__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_13__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgModel, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownItem, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_15__["ɵf"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_16__.DefaultClassDirective, _angular_common__WEBPACK_IMPORTED_MODULE_12__.UpperCasePipe, _angular_common__WEBPACK_IMPORTED_MODULE_12__.DatePipe, _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_8__.InitialsPipe], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_17__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_15__.BlockUI)()], ConciliationComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_17__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_15__.BlockUI)("section-block")], ConciliationComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 24330: /*!**********************************************************************!*\ !*** ./src/app/main/views/applications/install/install.component.ts ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "InstallComponent": () => (/* binding */ InstallComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _services_applications_install_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/applications/install.service */ 34552); /* harmony import */ var bs_stepper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! bs-stepper */ 63094); /* harmony import */ var bs_stepper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(bs_stepper__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _services_comunicaciones_comunicaciones_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/comunicaciones/comunicaciones.service */ 91001); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); function InstallComponent_div_39_span_5_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_div_39_span_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_div_39_span_5_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r31 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r31.errors.required); } } const _c0 = function () { return { standalone: true }; }; function InstallComponent_div_39_Template(rf, ctx) { if (rf & 1) { const _r35 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 89)(1, "label", 90); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Aplicacion"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "ng-select", 91, 92); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_div_39_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r35); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r34.nameApp = $event); })("ngModelChange", function InstallComponent_div_39_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r35); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r36.selectEventModuloo($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](5, InstallComponent_div_39_span_5_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const _r31 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](4); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](33); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx_r2.dataApp)("ngModel", ctx_r2.nameApp)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](6, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r31.invalid); } } function InstallComponent_div_40_span_5_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_div_40_span_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_div_40_span_5_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r37 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r37.errors.required); } } function InstallComponent_div_40_Template(rf, ctx) { if (rf & 1) { const _r41 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 89)(1, "label", 96); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Aplicacion"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "input", 97, 98); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_div_40_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r41); const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r40.iApp.nombre = $event); })("blur", function InstallComponent_div_40_Template_input_blur_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r41); const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r42.selectEventModulo($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](5, InstallComponent_div_40_span_5_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const _r37 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](4); const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](33); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", !_r37.valid && _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r3.iApp.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](5, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r37.invalid); } } function InstallComponent_span_46_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_46_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_46_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](45); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r4.errors.required); } } function InstallComponent_span_52_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_52_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_52_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](51); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r6.errors.required); } } function InstallComponent_span_59_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_59_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_59_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](58); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r8.errors.required); } } function InstallComponent_ng_option_65_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 99); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const mdl_r46 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", mdl_r46.host); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate2"]("", mdl_r46.id, " | ", mdl_r46.descripcion, ""); } } function InstallComponent_span_66_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_66_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_66_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](64); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r10.errors.required); } } function InstallComponent_span_72_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_72_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_72_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r13.errors.required); } } function InstallComponent_span_79_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_79_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_79_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](78); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r15.errors.required); } } function InstallComponent_span_85_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_85_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_85_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](84); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r17.errors.required); } } function InstallComponent_span_100_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_100_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_100_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](99); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r19.errors.required); } } function InstallComponent_span_106_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_106_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_106_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](105); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r21.errors.required); } } function InstallComponent_span_112_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_112_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_112_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r23 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](111); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r23.errors.required); } } function InstallComponent_div_113_Template(rf, ctx) { if (rf & 1) { const _r55 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 100)(1, "label", 63); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Archivo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "button", 101); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function InstallComponent_div_113_Template_button_click_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r55); const ctx_r54 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r29 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](161); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r54.modalFile(_r29)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](4, "i", 102); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } } function InstallComponent_span_121_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "small", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } } function InstallComponent_span_121_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, InstallComponent_span_121_small_1_Template, 2, 0, "small", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](120); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r26.errors.required); } } function InstallComponent_ng_template_160_Template(rf, ctx) { if (rf & 1) { const _r59 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 103)(1, "h5", 104); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Subir Paquete"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "button", 105); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function InstallComponent_ng_template_160_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r59); const modal_r57 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](modal_r57.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "span", 106); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](6, "form", 107); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngSubmit", function InstallComponent_ng_template_160_Template_form_ngSubmit_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r59); const ctx_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r60.EditarDispositivo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](7, "div", 108)(8, "div", 109)(9, "div", 25)(10, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](11, "Los paquetes o programas que incluiran podran ser escritas en Golang, PHP, Python, Java, JavaScript, HTML."); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](12, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](13, "form"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](14, "input", 110); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](15, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](16, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](17, "(.zip, .tar, .war) Limite del Archivo : 100.00 MB "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](18, "div", 111)(19, "button", 112); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](20, "Subir archivo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](21, "button", 113); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function InstallComponent_ng_template_160_Template_button_click_21_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r59); const modal_r57 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](modal_r57.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](22, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("formGroup", ctx_r30.loginForm); } } class InstallComponent { apiService; modalService; config; utilservice; comunicacionesService; comunicacionesServices; hosts = []; selectBasic = [{ name: 'UK' }, { name: 'USA' }, { name: 'Spain' }, { name: 'France' }, { name: 'Italy' }, { name: 'Australia' }]; selectMulti = [{ name: 'English' }, { name: 'French' }, { name: 'Spanish' }]; selectMultiSelected; contentHeader; ApliVar; TipoVar; SerVar; SysVar; RepoVar; UsuVar; PassVar; MonVar; BdatoVar; VersionVar; LenVar; DescripcionVar; AplicacionVar; TDFirstNameVar; TDLastNameVar; twitterVar; facebookVar; googleVar; linkedinVar; landmarkVar; addressVar; mtipo; mservidor; msistema; mrepo; musuario; mpassword; mmontaje; mbdatos; mversion; mlenguaje; nombreapp = ''; xnombreapi = ''; xnombrecon = ''; funcion = ''; xparametroapi = ''; dataApp = []; rowData = []; keyword = 'name'; iApp = { identificador: 0, basedatos: undefined, lenguaje: undefined, nombre: '', observacion: '', clave: '', puntoMontaje: '', origen: undefined, repositorio: '', sistema: undefined, tipo: undefined, usuario: '', creador: '', version: '0.0.1', proyecto: '', rama: '' }; xAPI = { id: '', funcion: '', relacional: false, concurrencia: false, retorna: false, migrar: false, parametros: '', modulo: '', valores: null, logs: false, cache: 0, estatus: false }; tipos = [{ id: "1", descripcion: 'PRE-INSTALADA' }, { id: "2", descripcion: 'INSTALAR' }, { id: "3", descripcion: 'REPOSITORIO' }]; sistemasOperativos = [{ id: "WINNDOWS", descripcion: 'WINDOWS' }, { id: "LINUX", descripcion: 'LINUX' }, { id: "MACOS", descripcion: 'MACOS' }]; basesDatos = [{ id: "POSTGRES", descripcion: 'POSTGRES' }, { id: "MYSQL", descripcion: 'MYSQL' }, { id: "MARIADB", descripcion: 'MARIADB' }, { id: "SQLSERVER", descripcion: 'SQLSERVER' }, { id: "ORACLE", descripcion: 'ORACLE' }, { id: "SYBASE", descripcion: 'SYBASE' }, { id: "INFORMIX", descripcion: 'INFORMIX' }, { id: "MONGODB", descripcion: 'MONGODB' }, { id: "RETHINKDB", descripcion: 'RETHINKDB' }, { id: "SQLSERVER", descripcion: 'SQLSERVER' }, { id: "FIREBASE", descripcion: 'FIREBASE' }]; lenguaje = [{ id: "PHP", descripcion: 'PHP' }, { id: "J2EE", descripcion: 'JAVA J2EE' }, { id: "HCJS", descripcion: 'HTML / CSS3 / JAVASCRIPT' }, { id: "TSC", descripcion: 'ANGULAR' }, { id: "VBA", descripcion: 'VISUAL BASIC' }, { id: "VBN", descripcion: 'VISUAL STUDIO .NET' }, { id: "GO", descripcion: 'GOLANG' }, { id: "PYC", descripcion: 'PYTHON' }, { id: "C++", descripcion: 'C++' }, { id: "C", descripcion: 'C' }]; showAppA = true; showAppB = false; nameApp = undefined; showInput = false; onSubmit() { alert('Submitted!!'); return false; } // private horizontalWizardStepper; verticalWizardStepper; modernWizardStepper; modernVerticalWizardStepper; bsStepper; /** * Horizontal Wizard Stepper Next * * @param data */ horizontalWizardStepperNext(data) { if (data.form.valid === true) { this.guardarAplicacion(); this.horizontalWizardStepper.next(); } } /** * Horizontal Wizard Stepper Previous */ horizontalWizardStepperPrevious() { this.horizontalWizardStepper.previous(); } ListaConexiones = []; constructor(apiService, modalService, config, utilservice, comunicacionesService, comunicacionesServices) { this.apiService = apiService; this.modalService = modalService; this.config = config; this.utilservice = utilservice; this.comunicacionesService = comunicacionesService; this.comunicacionesServices = comunicacionesServices; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this.ListarIP(); yield _this.CargarListaConexiones(); yield _this.lstAplicaciones(); _this.horizontalWizardStepper = new (bs_stepper__WEBPACK_IMPORTED_MODULE_2___default())(document.querySelector('#stepper1'), {}); _this.contentHeader = { headerTitle: 'Aplicaciones', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/' }, { name: 'Registrar', isLink: false }] } }; })(); } ListarIP() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this2.comunicacionesServices.Listar().subscribe( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { yield data.map(e => { _this2.hosts.push(e); }); _this2.hosts.push({ id: 'SERVIDOR', host: 'github', descripcion: '@GITHUB' }, { id: 'SERVIDOR', host: 'gitlab', descripcion: '@GITLAB' }); }); return function (_x) { return _ref.apply(this, arguments); }; }(), error => { console.log(error); }); })(); } guardarAplicacion() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xAPI.funcion = "SSB_IAplicacion"; _this3.iApp.llave = _this3.iApp.nombre + '.sse'; _this3.xAPI.valores = JSON.stringify(_this3.iApp); if (_this3.iApp.identificador != null) _this3.xAPI.funcion = "SSB_UAplicacion"; console.log(_this3.xAPI); yield _this3.apiService.Ejecutar(_this3.xAPI).subscribe(data => { if (data.tipo == 1) { var msj = "Actualizado"; if (_this3.xAPI.funcion == "SSB_IAplicacion") { _this3.iApp.identificador = data.msj; var msj = "Agregado"; } _this3.utilservice.AlertMini('top-end', 'success', 'Se ha ' + msj + ' el registro con exito', 3000); } else { _this3.utilservice.AlertMini('top-end', 'error', 'Oops! Algo salio mal!', 3000); } }, error => { _this3.utilservice.AlertMini('top-end', 'error', 'Oops! Algo salio mal!', 3000); console.log(error); }); })(); } selectEventModulo() { // console.log(this.iApp.identificador) // console.log(this.iApp.nombre) /* this.iApp.identificador = this.iApp.identificador; */ this.nombreapp = this.iApp.nombre; this.consultarAplicacion(); } modalFile(modal) { this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } CargarListaConexiones() { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this4.xAPI.funcion = "LESBDrivers"; _this4.xAPI.parametros = ''; _this4.ListaConexiones = []; yield _this4.apiService.Ejecutar(_this4.xAPI).subscribe(data => { _this4.ListaConexiones = data.map(e => { e.name = `(${e.driver}) - ${e.descripcion}`; return e; }); }, error => { console.log(error); }); })(); } selectEventModuloo(e) { if (e == null) { this.showAppA = false; this.showAppB = true; } else { this.showAppA = true; this.showAppB = false; } this.iApp.identificador = e; this.consultarAplicacion(); } consultarAplicacion() { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { if (_this5.iApp.identificador == null) return false; _this5.xAPI.funcion = "SEC_CAplicacion"; //Consultar Aplicacion del sistema _this5.xAPI.parametros = _this5.iApp.identificador.toString(); _this5.xAPI.valores = ''; yield _this5.apiService.Ejecutar(_this5.xAPI).subscribe(data => { var xapp; xapp = data.Cuerpo[0]; _this5.iApp = xapp; }, error => { console.log(error); }); })(); } CapturarSeleccion(event) { if (event == 2) { this.showInput = true; } else { this.showInput = false; } } lstAplicaciones() { var _this6 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this6.xAPI.funcion = "_SYS_LstAplicaciones"; _this6.xAPI.valores = null; yield _this6.apiService.Ejecutar(_this6.xAPI).subscribe( /*#__PURE__*/function () { var _ref2 = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { _this6.dataApp = yield data.Cuerpo.map(e => { e.name = `${e.nombre} | ${e.VERSION}`; _this6.nameApp = e.name; return e; }); _this6.dataApp.push({ aplicacion: 'Crear Nuevo', name: ' Crear Nuevo' }); }); return function (_x2) { return _ref2.apply(this, arguments); }; }(), error => { console.log(error); }); })(); } static ɵfac = function InstallComponent_Factory(t) { return new (t || InstallComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__.NgSelectConfig), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_comunicaciones_comunicaciones_service__WEBPACK_IMPORTED_MODULE_5__.ComunicacionesService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_comunicaciones_comunicaciones_service__WEBPACK_IMPORTED_MODULE_5__.ComunicacionesService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineComponent"]({ type: InstallComponent, selectors: [["app-install"]], decls: 162, vars: 63, consts: [[1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "horizontal-wizard"], ["id", "stepper1", 1, "bs-stepper", "horizontal-wizard-example"], [1, "bs-stepper-header"], ["data-target", "#account-details", 1, "step"], [1, "step-trigger"], [1, "bs-stepper-box"], [1, "bs-stepper-label"], [1, "bs-stepper-title"], [1, "bs-stepper-subtitle"], [1, "line"], ["data-feather", "chevron-right", 1, "font-medium-2"], ["data-target", "#personal-info", 1, "step"], [1, "bs-stepper-content"], [3, "ngSubmit"], ["HWForm", "ngForm"], ["id", "account-details", 1, "content"], ["accountDetailsForm", "ngForm"], [1, "content-header"], [1, "mb-0"], [1, "text-muted"], [1, "row"], ["class", "form-group col-md-6", 4, "ngIf"], [1, "form-group", "col-md-3"], ["for", "proyecto", 1, "form-label"], ["required", "", "type", "text", "name", "proyecto", "id", "proyecto", 1, "form-control", 3, "ngModel", "ngModelChange"], ["Proyecto", "ngModel"], ["class", "invalid-form", 4, "ngIf"], ["for", "rama", 1, "form-label"], ["required", "", "type", "text", "name", "rama", "id", "rama", 1, "form-control", 3, "ngModel", "ngModelChange"], ["Ramas", "ngModel"], [1, "form-group", "col-md-4"], ["for", "tipo", 1, "form-label"], ["bindLabel", "descripcion", "name", "tipo", "id", "tipo", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "items", "ngModel", "ngModelChange"], ["Tipo", "ngModel"], ["for", "servidor", 1, "form-label"], ["bindLabel", "descripcion", "name", "servidor", "id", "servidor", "required", "", "placeholder", "Seleccione Servidor", "bindValue", "id", 3, "ngModel", "ngModelChange"], ["Server", "ngModel"], [3, "value", 4, "ngFor", "ngForOf"], ["for", "sistemas", 1, "form-label"], ["bindLabel", "descripcion", "name", "sistemas", "id", "sistemas", "required", "", "placeholder", "Seleccione Servidor", "bindValue", "id", 3, "items", "ngModel", "ngModelChange"], ["System", "ngModel"], ["for", "repositorio", 1, "form-label"], ["required", "", "type", "text", "name", "repositorio", "id", "repositorio", 1, "form-control", 3, "ngModel", "ngModelChange"], ["Reporef", "ngModel"], [1, "form-group", "col-md-2"], ["for", "usuario", 1, "form-label"], ["required", "", "type", "text", "name", "usuario", "id", "usuario", 1, "form-control", 3, "ngModel", "ngModelChange"], ["Usuref", "ngModel"], ["for", "password", 1, "form-label"], ["type", "text", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["for", "montaje", 1, "form-label"], [1, "form-group", "col-md-5"], ["for", "bdatos", 1, "form-label"], ["bindLabel", "descripcion", "name", "bdatos", "id", "bdatos", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "items", "ngModel", "ngModelChange"], ["Bdatos", "ngModel"], ["for", "version", 1, "form-label"], ["required", "", "type", "text", "name", "version", "id", "version", 1, "form-control", 3, "ngModel", "readOnly", "ngModelChange"], ["Verref", "ngModel"], ["for", "lenguaje", 1, "form-label"], ["bindLabel", "descripcion", "name", "lenguaje", "id", "lenguaje", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "items", "ngModel", "ngModelChange"], ["Lenref", "ngModel"], ["class", "form-group col-md-1", 4, "ngIf"], [1, "form-group", "col-md-12"], ["for", "descripcion"], [1, "form-group"], ["required", "", "type", "text", "name", "descripcion", "id", "descripcion", 1, "form-control", 3, "ngModel", "ngModelChange"], ["Desref", "ngModel"], [1, "d-flex", "justify-content-between"], ["disabled", "", "rippleEffect", "", 1, "btn", "btn-outline-secondary", "btn-prev", 3, "click"], ["data-feather", "arrow-left", 1, "align-middle", "mr-sm-25", "mr-0"], [1, "align-middle", "d-sm-inline-block", "d-none"], ["type", "submit", "rippleEffect", "", 1, "btn", "btn-primary", "btn-next", 3, "click"], ["data-feather", "arrow-right", 1, "align-middle", "ml-sm-25", "ml-0"], ["id", "personal-info", 1, "content"], ["personalInfoForm", "ngForm"], ["for", "language", 1, "form-label"], ["bindLabel", "name", "name", "driver", "id", "driver", "required", "", "placeholder", "Seleccione Driver", "bindValue", "id", 3, "items", "ngModel", "ngModelChange"], ["for", "first-name", 1, "form-label"], ["type", "file", "required", "", "name", "first-name", "id", "first-name", "placeholder", "John", 1, "form-control", 3, "ngModel", "ngModelChange"], ["for", "country", 1, "form-label"], ["rows", "7", 1, "form-control"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-primary", "btn-prev", 3, "click"], ["rippleEffect", "", 1, "btn", "btn-primary", "btn-next", 3, "click"], ["ModalFiles", ""], [1, "form-group", "col-md-6"], ["for", "apli", 1, "form-label"], ["bindLabel", "name", "name", "aplicacion", "id", "aplicacion", "required", "", "placeholder", "Seleccione", "bindValue", "identificador", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["aplicacion", "ngModel"], [1, "invalid-form"], ["class", "form-text text-danger", 4, "ngIf"], [1, "form-text", "text-danger"], ["for", "aplicacion", 1, "form-label"], ["required", "", "type", "text", "name", "aplicacion", "id", "aplicacion", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange", "blur"], ["Apliref", "ngModel"], [3, "value"], [1, "form-group", "col-md-1"], [1, "btn", "btn-success", 3, "click"], ["data-feather", "paperclip", 1, "mr-0", "mr-sm-0"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "auth-login-form", "mt-2", 3, "formGroup", "ngSubmit"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], ["type", "file", 1, "form-control"], [1, "modal-footer"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"]], template: function InstallComponent_Template(rf, ctx) { if (rf & 1) { const _r62 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 0)(1, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](2, "app-content-header", 2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "section", 3)(4, "div", 4)(5, "section", 5)(6, "div", 6)(7, "div", 7)(8, "div", 8)(9, "button", 9)(10, "span", 10); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](11, "1"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](12, "span", 11)(13, "span", 12); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](14, "Registrar"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](15, "span", 13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](16, "Aplicacion"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](17, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](18, "i", 15); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](19, "div", 16)(20, "button", 9)(21, "span", 10); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](22, "2"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](23, "span", 11)(24, "span", 12); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](25, "Conexiones"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](26, "span", 13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](27, "Informaci\u00F3n Base De Datos"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](28, "div", 17)(29, "form", 18, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngSubmit", function InstallComponent_Template_form_ngSubmit_29_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r62); const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](30); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](_r0.form.valid); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](31, "div", 20)(32, "form", null, 21)(34, "div", 22)(35, "h5", 23); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](36, "Registro Aplicacion."); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](37, "small", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](38, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](39, InstallComponent_div_39_Template, 6, 7, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](40, InstallComponent_div_40_Template, 6, 6, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](41, "div", 27)(42, "label", 28); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](43, "Nombre Proyecto"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](44, "input", 29, 30); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_input_ngModelChange_44_listener($event) { return ctx.iApp.proyecto = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](46, InstallComponent_span_46_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](47, "div", 27)(48, "label", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](49, "Nombre de la Rama"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](50, "input", 33, 34); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_input_ngModelChange_50_listener($event) { return ctx.iApp.rama = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](52, InstallComponent_span_52_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](53, "div", 25)(54, "div", 35)(55, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](56, "Tipo de instalaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](57, "ng-select", 37, 38); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_ng_select_ngModelChange_57_listener($event) { return ctx.iApp.tipo = $event; })("ngModelChange", function InstallComponent_Template_ng_select_ngModelChange_57_listener($event) { return ctx.CapturarSeleccion($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](59, InstallComponent_span_59_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](60, "div", 35)(61, "label", 39); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](62, "Servidor"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](63, "ng-select", 40, 41); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_ng_select_ngModelChange_63_listener($event) { return ctx.iApp.origen = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](65, InstallComponent_ng_option_65_Template, 2, 3, "ng-option", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](66, InstallComponent_span_66_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](67, "div", 35)(68, "label", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](69, "Sistema Operativo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](70, "ng-select", 44, 45); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_ng_select_ngModelChange_70_listener($event) { return ctx.iApp.sistema = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](72, InstallComponent_span_72_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](73, "div", 25)(74, "div", 35)(75, "label", 46); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](76, "Repositorio Url"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](77, "input", 47, 48); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_input_ngModelChange_77_listener($event) { return ctx.iApp.repositorio = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](79, InstallComponent_span_79_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](80, "div", 49)(81, "label", 50); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](82, "Usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](83, "input", 51, 52); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_input_ngModelChange_83_listener($event) { return ctx.iApp.usuario = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](85, InstallComponent_span_85_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](86, "div", 35)(87, "label", 53); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](88, "Password / Token"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](89, "input", 54); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_input_ngModelChange_89_listener($event) { return ctx.iApp.clave = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](90, "div", 49)(91, "label", 55); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](92, "Punto Montaje"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](93, "input", 54); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_input_ngModelChange_93_listener($event) { return ctx.iApp.puntoMontaje = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](94, "div", 25)(95, "div", 56)(96, "label", 57); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](97, "Base de Datos"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](98, "ng-select", 58, 59); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_ng_select_ngModelChange_98_listener($event) { return ctx.iApp.basedatos = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](100, InstallComponent_span_100_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](101, "div", 27)(102, "label", 60); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](103, "Versi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](104, "input", 61, 62); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_input_ngModelChange_104_listener($event) { return ctx.iApp.version = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](106, InstallComponent_span_106_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](107, "div", 27)(108, "label", 63); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](109, "Lenguaje"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](110, "ng-select", 64, 65); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_ng_select_ngModelChange_110_listener($event) { return ctx.iApp.lenguaje = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](112, InstallComponent_span_112_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](113, InstallComponent_div_113_Template, 5, 0, "div", 66); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](114, "div", 25)(115, "div", 67)(116, "label", 68); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](117, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](118, "fieldset", 69)(119, "textarea", 70, 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_textarea_ngModelChange_119_listener($event) { return ctx.iApp.observacion = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](121, InstallComponent_span_121_Template, 2, 1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](122, "div", 72)(123, "button", 73); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function InstallComponent_Template_button_click_123_listener() { return ctx.horizontalWizardStepperPrevious(); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](124, "i", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](125, "span", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](126, "Atr\u00E1s"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](127, "button", 76); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function InstallComponent_Template_button_click_127_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r62); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](33); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx.horizontalWizardStepperNext(_r1)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](128, "span", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](129, "Siguiente"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](130, "i", 77); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](131, "div", 78)(132, "form", null, 79)(134, "div", 22)(135, "h5", 23); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](136, "Conexiones"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](137, "div", 25)(138, "div", 67)(139, "label", 80); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](140, "Driver"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](141, "ng-select", 81); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_ng_select_ngModelChange_141_listener($event) { return ctx.iApp.sistema = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](142, "div", 67)(143, "label", 82); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](144, "Archivo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](145, "input", 83); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function InstallComponent_Template_input_ngModelChange_145_listener($event) { return ctx.TDFirstNameVar = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](146, "div", 25)(147, "div", 67)(148, "label", 84); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](149, "SQL"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](150, "textarea", 85); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](151, "div", 72)(152, "button", 86); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function InstallComponent_Template_button_click_152_listener() { return ctx.horizontalWizardStepperPrevious(); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](153, "i", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](154, "span", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](155, "Previous"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](156, "button", 87); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function InstallComponent_Template_button_click_156_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r62); const _r28 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](133); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx.horizontalWizardStepperNext(_r28)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](157, "span", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](158, "Next"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](159, "i", 77); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](160, InstallComponent_ng_template_160_Template, 23, 1, "ng-template", null, 88, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](33); const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](45); const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](51); const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](58); const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](64); const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](71); const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](78); const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](84); const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](99); const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](105); const _r23 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](111); const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](120); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("contentHeader", ctx.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](37); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx.showAppA); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx.showAppB); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", !_r4.valid && _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.proyecto); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r4.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", !_r6.valid && _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.rama); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r6.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx.tipos)("ngModel", ctx.iApp.tipo); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r8.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.origen); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx.hosts); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r10.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx.sistemasOperativos)("ngModel", ctx.iApp.sistema); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r13.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", !_r15.valid && _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.repositorio); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r15.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", !_r17.valid && _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.usuario); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r17.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.clave)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](61, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.puntoMontaje)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](62, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx.basesDatos)("ngModel", ctx.iApp.basedatos); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r19.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", !_r21.valid && _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.version)("readOnly", true); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r21.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx.lenguaje)("ngModel", ctx.iApp.lenguaje); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r23.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx.showInput); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassProp"]("error", !_r26.valid && _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.iApp.observacion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _r1.submitted && _r26.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](20); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx.ListaConexiones)("ngModel", ctx.iApp.sistema); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx.TDFirstNameVar); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_12__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_12__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_6__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_13__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.RequiredValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgForm, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.FormGroupDirective, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__.NgSelectComponent, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__.NgOptionComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_7__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_8__.FeatherIconDirective], styles: ["/*!\r\n * bsStepper v1.7.0 (https://github.com/Johann-S/bs-stepper)\r\n * Copyright 2018 - 2019 Johann-S \r\n * Licensed under MIT (https://github.com/Johann-S/bs-stepper/blob/master/LICENSE)\r\n */.bs-stepper .step-trigger{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;padding:20px;font-size:1rem;font-weight:700;line-height:1.5;color:#6c757d;text-align:center;text-decoration:none;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:transparent;border:none;border-radius:.25rem;transition:background-color .15s ease-out,color .15s ease-out}.bs-stepper .step-trigger:not(:disabled):not(.disabled){cursor:pointer}.bs-stepper .step-trigger.disabled,.bs-stepper .step-trigger:disabled{pointer-events:none;opacity:.65}.bs-stepper .step-trigger:focus{color:#007bff;outline:0}.bs-stepper .step-trigger:hover{text-decoration:none;background-color:rgba(0,0,0,.06)}@media (max-width:520px){.bs-stepper .step-trigger{flex-direction:column;padding:10px}}.bs-stepper-label{display:inline-block;margin:.25rem}.bs-stepper-header{display:flex;align-items:center}@media (max-width:520px){.bs-stepper-header{margin:0 -10px;text-align:center}}.bs-stepper .line,.bs-stepper-line{flex:1 0 32px;min-width:1px;min-height:1px;margin:auto;background-color:rgba(0,0,0,.12)}@media (max-width:400px){.bs-stepper .line,.bs-stepper-line{flex-basis:20px}}.bs-stepper-circle{display:inline-flex;align-content:center;justify-content:center;width:2em;height:2em;padding:.5em 0;margin:.25rem;line-height:1em;color:#fff;background-color:#6c757d;border-radius:1em}.active .bs-stepper-circle{background-color:#007bff}.bs-stepper-content{padding:0 20px 20px}@media (max-width:520px){.bs-stepper-content{padding:0}}.bs-stepper.vertical{display:flex}.bs-stepper.vertical .bs-stepper-header{flex-direction:column;align-items:stretch;margin:0}.bs-stepper.vertical .bs-stepper-pane,.bs-stepper.vertical .content{display:block}.bs-stepper.vertical .bs-stepper-pane:not(.fade),.bs-stepper.vertical .content:not(.fade){display:block;visibility:hidden}.bs-stepper .content:not(.fade),.bs-stepper-pane:not(.fade){display:none}.bs-stepper .content.fade,.bs-stepper-pane.fade{visibility:hidden;transition-duration:.3s;transition-property:opacity}.bs-stepper .content.fade.active,.bs-stepper-pane.fade.active{visibility:visible;opacity:1}.bs-stepper .content.active:not(.fade),.bs-stepper-pane.active:not(.fade){display:block;visibility:visible}.bs-stepper .content.dstepper-block,.bs-stepper-pane.dstepper-block{display:block}.bs-stepper:not(.vertical) .bs-stepper-pane.dstepper-none,.bs-stepper:not(.vertical) .content.dstepper-none{display:none}.vertical .bs-stepper-pane.fade.dstepper-none,.vertical .content.fade.dstepper-none{visibility:hidden}.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent #999;border-width:0 5px 5px}.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-focused:not(.ng-select-opened)>.ng-select-container{border-color:#007eff;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 0 3px rgba(0,126,255,0.1)}.ng-select.ng-select-disabled>.ng-select-container{background-color:#f9f9f9}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:4px;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select .ng-select-container:hover{box-shadow:0 1px 0 rgba(0,0,0,0.06)}.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}[dir=\"rtl\"] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:#999}.ng-select.ng-select-single .ng-select-container{height:36px}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=\"rtl\"] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:#f9f9f9;border:1px solid #e6e6e6}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:#333;background-color:#ebf5ff;border-radius:2px;margin-right:5px}[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:#f9f9f9}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:#d1e8ff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid #b8dbff}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:#000}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}.ng-select .ng-clear-wrapper{color:#999}.ng-select .ng-clear-wrapper:hover .ng-clear{color:#D0021B}.ng-select .ng-spinner-zone{padding:5px 5px 0 0}[dir=\"rtl\"] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}[dir=\"rtl\"] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:#666}.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px 0 rgba(0,0,0,0.06);left:0}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-top-color:#e6e6e6;margin-top:-1px}.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;padding:5px 7px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:rgba(0,0,0,0.54);cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:#f5faff}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:rgba(0,0,0,0.54);background-color:#ebf5ff;font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:rgba(0,0,0,0.87);padding:8px 10px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:#333;background-color:#ebf5ff}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:#f5faff;color:#333}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}[dir=\"rtl\"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}[dir=\"rtl\"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}[dir=\"rtl\"] .ng-dropdown-panel{direction:rtl;text-align:right}.bs-stepper {\n background-color: #fff;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n border-radius: 0.5rem;\n}.bs-stepper .bs-stepper-header {\n padding: 1.5rem 1.5rem;\n flex-wrap: wrap;\n border-bottom: 1px solid rgba(34, 41, 47, 0.08);\n margin: 0;\n}.bs-stepper .bs-stepper-header .line {\n flex: 0;\n min-width: auto;\n min-height: auto;\n background-color: transparent;\n margin: 0;\n padding: 0 1.75rem;\n color: #6e6b7b;\n font-size: 1.5rem;\n}.bs-stepper .bs-stepper-header .step {\n margin-bottom: 0.25rem;\n margin-top: 0.25rem;\n}.bs-stepper .bs-stepper-header .step .step-trigger {\n padding: 0;\n flex-wrap: nowrap;\n font-weight: normal;\n}.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-box {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 38px;\n height: 38px;\n padding: 0.5em 0;\n font-weight: 500;\n color: #babfc7;\n background-color: rgba(186, 191, 199, 0.12);\n border-radius: 0.35rem;\n}.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label {\n text-align: left;\n margin: 0;\n margin-top: 0.5rem;\n margin-left: 1rem;\n}.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-title {\n display: inherit;\n color: #6e6b7b;\n font-weight: 600;\n line-height: 1rem;\n margin-bottom: 0rem;\n}.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-subtitle {\n font-weight: 400;\n font-size: 0.85rem;\n color: #b9b9c3;\n}.bs-stepper .bs-stepper-header .step .step-trigger:hover {\n background-color: transparent;\n}.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #7367f0;\n}.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-box {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #b9b9c3;\n}.bs-stepper .bs-stepper-header .step.crossed + .line {\n color: #7367f0;\n}.bs-stepper .bs-stepper-content {\n padding: 1.5rem 1.5rem;\n}.bs-stepper .bs-stepper-content .content {\n margin-left: 0;\n}.bs-stepper .bs-stepper-content .content .content-header {\n margin-bottom: 1rem;\n}.bs-stepper.vertical .bs-stepper-header {\n border-right: 1px solid #ebe9f1;\n border-bottom: none;\n}.bs-stepper.vertical .bs-stepper-header .step .step-trigger {\n padding: 1rem 0;\n}.bs-stepper.vertical .bs-stepper-header .line {\n display: none;\n}.bs-stepper.vertical .bs-stepper-content {\n width: 100%;\n padding-top: 2.5rem;\n}.bs-stepper.vertical .bs-stepper-content .content:not(.active) {\n display: none;\n}.bs-stepper.vertical.wizard-icons .step {\n text-align: center;\n}.bs-stepper.wizard-modern {\n background-color: transparent;\n box-shadow: none;\n}.bs-stepper.wizard-modern .bs-stepper-header {\n border: none;\n}.bs-stepper.wizard-modern .bs-stepper-content {\n background-color: #fff;\n border-radius: 0.5rem;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n}.horizontal-wizard,\n.vertical-wizard,\n.modern-horizontal-wizard,\n.modern-vertical-wizard {\n margin-bottom: 2.2rem;\n}.dark-layout .bs-stepper {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}.dark-layout .bs-stepper .bs-stepper-header {\n border-bottom: 1px solid rgba(59, 66, 83, 0.08);\n}.dark-layout .bs-stepper .bs-stepper-header .line {\n color: #b4b7bd;\n}.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-box {\n color: #babfc7;\n}.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #b4b7bd;\n}.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-subtitle {\n color: #676d7d;\n}.dark-layout .bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}.dark-layout .bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #7367f0;\n}.dark-layout .bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-label,\n.dark-layout .bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-title {\n color: #676d7d;\n}.dark-layout .bs-stepper.vertical .bs-stepper-header {\n border-right-color: #3b4253;\n}.dark-layout .bs-stepper.wizard-modern {\n background-color: transparent;\n box-shadow: none;\n}.dark-layout .bs-stepper.wizard-modern .bs-stepper-header {\n border: none;\n}.dark-layout .bs-stepper.wizard-modern .bs-stepper-content {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}html[data-textdirection=rtl] .btn-prev,\nhtml[data-textdirection=rtl] .btn-next {\n display: flex;\n}html[data-textdirection=rtl] .btn-prev i,\nhtml[data-textdirection=rtl] .btn-prev svg,\nhtml[data-textdirection=rtl] .btn-next i,\nhtml[data-textdirection=rtl] .btn-next svg {\n transform: rotate(-180deg);\n}@media (max-width: 992px) {\n .bs-stepper .bs-stepper-header {\n flex-direction: column;\n align-items: flex-start;\n }\n .bs-stepper .bs-stepper-header .step .step-trigger {\n padding: 0.5rem 0 !important;\n flex-direction: row;\n }\n .bs-stepper .bs-stepper-header .line {\n display: none;\n }\n .bs-stepper.vertical {\n flex-direction: column;\n }\n .bs-stepper.vertical .bs-stepper-header {\n align-items: flex-start;\n }\n .bs-stepper.vertical .bs-stepper-content {\n padding-top: 1.5rem;\n }\n}.bg-white {\n background-color: #ffffff !important;\n}.bg-white .card-header,\n.bg-white .card-footer {\n background-color: transparent;\n}.border-white {\n border: 1px solid #ffffff !important;\n}.border-top-white {\n border-top: 1px solid #ffffff;\n}.border-bottom-white {\n border-bottom: 1px solid #ffffff;\n}.border-left-white {\n border-left: 1px solid #ffffff;\n}.border-right-white {\n border-right: 1px solid #ffffff;\n}.bg-white.badge-glow,\n.border-white.badge-glow,\n.badge-white.badge-glow {\n box-shadow: 0px 0px 10px #ffffff;\n}.overlay-white {\n background: #ffffff; /* The Fallback */\n background: rgba(255, 255, 255, 0.6);\n}input:focus ~ .bg-white {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ffffff !important;\n}.bg-black {\n background-color: #000000 !important;\n}.bg-black .card-header,\n.bg-black .card-footer {\n background-color: transparent;\n}.border-black {\n border: 1px solid #000000 !important;\n}.border-top-black {\n border-top: 1px solid #000000;\n}.border-bottom-black {\n border-bottom: 1px solid #000000;\n}.border-left-black {\n border-left: 1px solid #000000;\n}.border-right-black {\n border-right: 1px solid #000000;\n}.bg-black.badge-glow,\n.border-black.badge-glow,\n.badge-black.badge-glow {\n box-shadow: 0px 0px 10px #000000;\n}.overlay-black {\n background: #000000; /* The Fallback */\n background: rgba(0, 0, 0, 0.6);\n}input:focus ~ .bg-black {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #000000 !important;\n}.bg-dark {\n background-color: #4b4b4b !important;\n}.bg-dark .card-header,\n.bg-dark .card-footer {\n background-color: transparent;\n}.alert-dark {\n background: rgba(75, 75, 75, 0.12) !important;\n color: #4b4b4b !important;\n}.alert-dark .alert-heading {\n box-shadow: rgba(75, 75, 75, 0.4) 0px 6px 15px -7px;\n}.alert-dark .alert-link {\n color: #3e3e3e !important;\n}.alert-dark .close {\n color: #4b4b4b !important;\n}.border-dark {\n border: 1px solid #4b4b4b !important;\n}.border-top-dark {\n border-top: 1px solid #4b4b4b;\n}.border-bottom-dark {\n border-bottom: 1px solid #4b4b4b;\n}.border-left-dark {\n border-left: 1px solid #4b4b4b;\n}.border-right-dark {\n border-right: 1px solid #4b4b4b;\n}.bg-dark.badge-glow,\n.border-dark.badge-glow,\n.badge-dark.badge-glow {\n box-shadow: 0px 0px 10px #4b4b4b;\n}.badge.badge-light-dark {\n background-color: rgba(75, 75, 75, 0.12);\n color: #4b4b4b !important;\n}.overlay-dark {\n background: #4b4b4b; /* The Fallback */\n background: rgba(75, 75, 75, 0.6);\n}.btn-dark {\n border-color: #4b4b4b !important;\n background-color: #4b4b4b !important;\n color: #fff !important;\n}.btn-dark:focus, .btn-dark:active, .btn-dark.active {\n color: #fff;\n background-color: #343434 !important;\n}.btn-dark:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #4b4b4b;\n}.btn-dark:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-dark {\n background-color: transparent;\n color: #4b4b4b;\n}.btn-flat-dark:hover {\n color: #4b4b4b;\n}.btn-flat-dark:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.12);\n}.btn-flat-dark:active, .btn-flat-dark.active, .btn-flat-dark:focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}.btn-flat-dark.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-dark {\n background-color: #4b4b4b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-dark:hover:not(.disabled):not(:disabled) {\n background-color: #626262;\n}.btn-relief-dark:active, .btn-relief-dark.active, .btn-relief-dark:focus {\n background-color: #343434;\n}.btn-relief-dark:hover {\n color: #fff;\n}.btn-relief-dark:active, .btn-relief-dark.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-dark {\n border: 1px solid #4b4b4b !important;\n background-color: transparent;\n color: #4b4b4b;\n}.btn-outline-dark:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.04);\n color: #4b4b4b;\n}.btn-outline-dark:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, .btn-outline-dark:not(:disabled):not(.disabled):focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}.btn-outline-dark.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show > .btn-outline-dark.dropdown-toggle {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}.btn-outline-dark.waves-effect .waves-ripple,\n.btn-flat-dark.waves-effect .waves-ripple {\n background: radial-gradient(rgba(75, 75, 75, 0.2) 0, rgba(75, 75, 75, 0.3) 40%, rgba(75, 75, 75, 0.4) 50%, rgba(75, 75, 75, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-dark {\n background-color: #4b4b4b;\n}.modal.modal-dark .modal-header .modal-title {\n color: #4b4b4b;\n}.modal.modal-dark .modal-header .close {\n color: #4b4b4b !important;\n}.progress-bar-dark {\n background-color: rgba(75, 75, 75, 0.12);\n}.progress-bar-dark .progress-bar {\n background-color: #4b4b4b;\n}.timeline .timeline-point-dark {\n border-color: #4b4b4b !important;\n}.timeline .timeline-point-dark i,\n.timeline .timeline-point-dark svg {\n stroke: #4b4b4b !important;\n}.timeline .timeline-point-dark.timeline-point-indicator {\n background-color: #4b4b4b !important;\n}.timeline .timeline-point-dark.timeline-point-indicator:before {\n background: rgba(75, 75, 75, 0.12) !important;\n}.divider.divider-dark .divider-text:before, .divider.divider-dark .divider-text:after {\n border-color: #4b4b4b !important;\n}input:focus ~ .bg-dark {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #4b4b4b !important;\n}.custom-control-dark .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark .custom-control-input:active ~ .custom-control-label::before {\n border-color: #4b4b4b;\n background-color: #4b4b4b;\n}.custom-control-dark.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-dark.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-dark.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-dark.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(75, 75, 75, 0.4) !important;\n}.custom-control-dark .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(75, 75, 75, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-dark .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #4b4b4b !important;\n}.custom-switch-dark .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #4b4b4b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-dark .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #4b4b4b !important;\n border-color: #4b4b4b !important;\n}.text-dark.text-darken-1 {\n color: #343434 !important;\n}.bg-dark.bg-darken-1 {\n background-color: #343434 !important;\n}.border-dark.border-darken-1 {\n border: 1px solid #343434 !important;\n}.border-top-dark.border-top-darken-1 {\n border-top: 1px solid #343434 !important;\n}.border-bottom-dark.border-bottom-darken-1 {\n border-bottom: 1px solid #343434 !important;\n}.border-left-dark.border-left-darken-1 {\n border-left: 1px solid #343434 !important;\n}.border-right-dark.border-right-darken-1 {\n border-right: 1px solid #343434 !important;\n}.overlay-dark.overlay-darken-1 {\n background: #343434; /* The Fallback */\n background: rgba(52, 52, 52, 0.6);\n}.text-dark.text-darken-2 {\n color: #1e1e1e !important;\n}.bg-dark.bg-darken-2 {\n background-color: #1e1e1e !important;\n}.border-dark.border-darken-2 {\n border: 1px solid #1e1e1e !important;\n}.border-top-dark.border-top-darken-2 {\n border-top: 1px solid #1e1e1e !important;\n}.border-bottom-dark.border-bottom-darken-2 {\n border-bottom: 1px solid #1e1e1e !important;\n}.border-left-dark.border-left-darken-2 {\n border-left: 1px solid #1e1e1e !important;\n}.border-right-dark.border-right-darken-2 {\n border-right: 1px solid #1e1e1e !important;\n}.overlay-dark.overlay-darken-2 {\n background: #1e1e1e; /* The Fallback */\n background: rgba(30, 30, 30, 0.6);\n}.text-dark.text-darken-3 {\n color: #626262 !important;\n}.bg-dark.bg-darken-3 {\n background-color: #626262 !important;\n}.border-dark.border-darken-3 {\n border: 1px solid #626262 !important;\n}.border-top-dark.border-top-darken-3 {\n border-top: 1px solid #626262 !important;\n}.border-bottom-dark.border-bottom-darken-3 {\n border-bottom: 1px solid #626262 !important;\n}.border-left-dark.border-left-darken-3 {\n border-left: 1px solid #626262 !important;\n}.border-right-dark.border-right-darken-3 {\n border-right: 1px solid #626262 !important;\n}.overlay-dark.overlay-darken-3 {\n background: #626262; /* The Fallback */\n background: rgba(98, 98, 98, 0.6);\n}.bg-light {\n background-color: #f6f6f6 !important;\n}.bg-light .card-header,\n.bg-light .card-footer {\n background-color: transparent;\n}.border-light {\n border: 1px solid #f6f6f6 !important;\n}.border-top-light {\n border-top: 1px solid #f6f6f6;\n}.border-bottom-light {\n border-bottom: 1px solid #f6f6f6;\n}.border-left-light {\n border-left: 1px solid #f6f6f6;\n}.border-right-light {\n border-right: 1px solid #f6f6f6;\n}.bg-light.badge-glow,\n.border-light.badge-glow,\n.badge-light.badge-glow {\n box-shadow: 0px 0px 10px #f6f6f6;\n}.overlay-light {\n background: #f6f6f6; /* The Fallback */\n background: rgba(246, 246, 246, 0.6);\n}input:focus ~ .bg-light {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #f6f6f6 !important;\n}.text-primary.text-lighten-5 {\n color: #dedbfb !important;\n}.bg-primary.bg-lighten-5 {\n background-color: #dedbfb !important;\n}.border-primary.border-lighten-5 {\n border: 1px solid #dedbfb !important;\n}.border-top-primary.border-top-lighten-5 {\n border-top: 1px solid #dedbfb !important;\n}.border-bottom-primary.border-bottom-lighten-5 {\n border-bottom: 1px solid #dedbfb !important;\n}.border-left-primary.border-left-lighten-5 {\n border-left: 1px solid #dedbfb !important;\n}.border-right-primary.border-right-lighten-5 {\n border-right: 1px solid #dedbfb !important;\n}.overlay-primary.overlay-lighten-5 {\n background: #dedbfb; /* The Fallback */\n background: rgba(222, 219, 251, 0.6);\n}.text-primary.text-lighten-4 {\n color: #c9c4f9 !important;\n}.bg-primary.bg-lighten-4 {\n background-color: #c9c4f9 !important;\n}.border-primary.border-lighten-4 {\n border: 1px solid #c9c4f9 !important;\n}.border-top-primary.border-top-lighten-4 {\n border-top: 1px solid #c9c4f9 !important;\n}.border-bottom-primary.border-bottom-lighten-4 {\n border-bottom: 1px solid #c9c4f9 !important;\n}.border-left-primary.border-left-lighten-4 {\n border-left: 1px solid #c9c4f9 !important;\n}.border-right-primary.border-right-lighten-4 {\n border-right: 1px solid #c9c4f9 !important;\n}.overlay-primary.overlay-lighten-4 {\n background: #c9c4f9; /* The Fallback */\n background: rgba(201, 196, 249, 0.6);\n}.text-primary.text-lighten-3 {\n color: #b3adf7 !important;\n}.bg-primary.bg-lighten-3 {\n background-color: #b3adf7 !important;\n}.border-primary.border-lighten-3 {\n border: 1px solid #b3adf7 !important;\n}.border-top-primary.border-top-lighten-3 {\n border-top: 1px solid #b3adf7 !important;\n}.border-bottom-primary.border-bottom-lighten-3 {\n border-bottom: 1px solid #b3adf7 !important;\n}.border-left-primary.border-left-lighten-3 {\n border-left: 1px solid #b3adf7 !important;\n}.border-right-primary.border-right-lighten-3 {\n border-right: 1px solid #b3adf7 !important;\n}.overlay-primary.overlay-lighten-3 {\n background: #b3adf7; /* The Fallback */\n background: rgba(179, 173, 247, 0.6);\n}.text-primary.text-lighten-2 {\n color: #9e95f5 !important;\n}.bg-primary.bg-lighten-2 {\n background-color: #9e95f5 !important;\n}.border-primary.border-lighten-2 {\n border: 1px solid #9e95f5 !important;\n}.border-top-primary.border-top-lighten-2 {\n border-top: 1px solid #9e95f5 !important;\n}.border-bottom-primary.border-bottom-lighten-2 {\n border-bottom: 1px solid #9e95f5 !important;\n}.border-left-primary.border-left-lighten-2 {\n border-left: 1px solid #9e95f5 !important;\n}.border-right-primary.border-right-lighten-2 {\n border-right: 1px solid #9e95f5 !important;\n}.overlay-primary.overlay-lighten-2 {\n background: #9e95f5; /* The Fallback */\n background: rgba(158, 149, 245, 0.6);\n}.text-primary.text-lighten-1 {\n color: #887ef2 !important;\n}.bg-primary.bg-lighten-1 {\n background-color: #887ef2 !important;\n}.border-primary.border-lighten-1 {\n border: 1px solid #887ef2 !important;\n}.border-top-primary.border-top-lighten-1 {\n border-top: 1px solid #887ef2 !important;\n}.border-bottom-primary.border-bottom-lighten-1 {\n border-bottom: 1px solid #887ef2 !important;\n}.border-left-primary.border-left-lighten-1 {\n border-left: 1px solid #887ef2 !important;\n}.border-right-primary.border-right-lighten-1 {\n border-right: 1px solid #887ef2 !important;\n}.overlay-primary.overlay-lighten-1 {\n background: #887ef2; /* The Fallback */\n background: rgba(136, 126, 242, 0.6);\n}.bg-primary {\n background-color: #7367f0 !important;\n}.bg-primary .card-header,\n.bg-primary .card-footer {\n background-color: transparent;\n}.alert-primary {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}.alert-primary .alert-heading {\n box-shadow: rgba(115, 103, 240, 0.4) 0px 6px 15px -7px;\n}.alert-primary .alert-link {\n color: #5e50ee !important;\n}.alert-primary .close {\n color: #7367f0 !important;\n}.bg-light-primary {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}.bg-light-primary.fc-h-event, .bg-light-primary.fc-v-event {\n border-color: rgba(115, 103, 240, 0.1);\n}.bg-light-primary .fc-list-event-dot,\n.bg-light-primary .fc-daygrid-event-dot {\n border-color: #7367f0 !important;\n}.bg-light-primary.fc-list-event:hover td {\n background: rgba(115, 103, 240, 0.1) !important;\n}.bg-light-primary.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}.avatar.bg-light-primary {\n color: #7367f0 !important;\n}.border-primary {\n border: 1px solid #7367f0 !important;\n}.border-top-primary {\n border-top: 1px solid #7367f0;\n}.border-bottom-primary {\n border-bottom: 1px solid #7367f0;\n}.border-left-primary {\n border-left: 1px solid #7367f0;\n}.border-right-primary {\n border-right: 1px solid #7367f0;\n}.bg-primary.badge-glow,\n.border-primary.badge-glow,\n.badge-primary.badge-glow {\n box-shadow: 0px 0px 10px #7367f0;\n}.badge.badge-light-primary {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}.overlay-primary {\n background: #7367f0; /* The Fallback */\n background: rgba(115, 103, 240, 0.6);\n}.btn-primary {\n border-color: #7367f0 !important;\n background-color: #7367f0 !important;\n color: #fff !important;\n}.btn-primary:focus, .btn-primary:active, .btn-primary.active {\n color: #fff;\n background-color: #5e50ee !important;\n}.btn-primary:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #7367f0;\n}.btn-primary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-primary {\n background-color: transparent;\n color: #7367f0;\n}.btn-flat-primary:hover {\n color: #7367f0;\n}.btn-flat-primary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.12);\n}.btn-flat-primary:active, .btn-flat-primary.active, .btn-flat-primary:focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}.btn-flat-primary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-primary {\n background-color: #7367f0;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-primary:hover:not(.disabled):not(:disabled) {\n background-color: #887ef2;\n}.btn-relief-primary:active, .btn-relief-primary.active, .btn-relief-primary:focus {\n background-color: #5e50ee;\n}.btn-relief-primary:hover {\n color: #fff;\n}.btn-relief-primary:active, .btn-relief-primary.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-primary {\n border: 1px solid #7367f0 !important;\n background-color: transparent;\n color: #7367f0;\n}.btn-outline-primary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.04);\n color: #7367f0;\n}.btn-outline-primary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}.btn-outline-primary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show > .btn-outline-primary.dropdown-toggle {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}.btn-outline-primary.waves-effect .waves-ripple,\n.btn-flat-primary.waves-effect .waves-ripple {\n background: radial-gradient(rgba(115, 103, 240, 0.2) 0, rgba(115, 103, 240, 0.3) 40%, rgba(115, 103, 240, 0.4) 50%, rgba(115, 103, 240, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-primary {\n background-color: #7367f0;\n}.modal.modal-primary .modal-header .modal-title {\n color: #7367f0;\n}.modal.modal-primary .modal-header .close {\n color: #7367f0 !important;\n}.pagination-primary .page-item.active .page-link {\n background: #7367f0 !important;\n color: #fff;\n}.pagination-primary .page-item.active .page-link:hover {\n color: #fff;\n}.pagination-primary .page-item .page-link:hover {\n color: #7367f0;\n}.pagination-primary .page-item.prev-item .page-link:hover, .pagination-primary .page-item.next-item .page-link:hover {\n background: #7367f0;\n color: #fff;\n}.pagination-primary .page-item.next-item .page-link:active:after, .pagination-primary .page-item.next-item .page-link:hover:after, .pagination-primary .page-item.next .page-link:active:after, .pagination-primary .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-primary .page-item.prev-item .page-link:active:before, .pagination-primary .page-item.prev-item .page-link:hover:before, .pagination-primary .page-item.prev .page-link:active:before, .pagination-primary .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-primary .nav-item .nav-link.active {\n color: #fff;\n background-color: #7367f0 !important;\n border-color: #7367f0;\n box-shadow: 0 4px 18px -4px rgba(115, 103, 240, 0.65);\n}.progress-bar-primary {\n background-color: rgba(115, 103, 240, 0.12);\n}.progress-bar-primary .progress-bar {\n background-color: #7367f0;\n}.timeline .timeline-point-primary {\n border-color: #7367f0 !important;\n}.timeline .timeline-point-primary i,\n.timeline .timeline-point-primary svg {\n stroke: #7367f0 !important;\n}.timeline .timeline-point-primary.timeline-point-indicator {\n background-color: #7367f0 !important;\n}.timeline .timeline-point-primary.timeline-point-indicator:before {\n background: rgba(115, 103, 240, 0.12) !important;\n}.divider.divider-primary .divider-text:before, .divider.divider-primary .divider-text:after {\n border-color: #7367f0 !important;\n}input:focus ~ .bg-primary {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #7367f0 !important;\n}.custom-control-primary .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary .custom-control-input:active ~ .custom-control-label::before {\n border-color: #7367f0;\n background-color: #7367f0;\n}.custom-control-primary.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-primary.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-primary.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-primary.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(115, 103, 240, 0.4) !important;\n}.custom-control-primary .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(115, 103, 240, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-primary .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #7367f0 !important;\n}.custom-switch-primary .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #7367f0 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-primary .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #7367f0 !important;\n border-color: #7367f0 !important;\n}.text-primary.text-darken-1 {\n color: #5e50ee !important;\n}.bg-primary.bg-darken-1 {\n background-color: #5e50ee !important;\n}.border-primary.border-darken-1 {\n border: 1px solid #5e50ee !important;\n}.border-top-primary.border-top-darken-1 {\n border-top: 1px solid #5e50ee !important;\n}.border-bottom-primary.border-bottom-darken-1 {\n border-bottom: 1px solid #5e50ee !important;\n}.border-left-primary.border-left-darken-1 {\n border-left: 1px solid #5e50ee !important;\n}.border-right-primary.border-right-darken-1 {\n border-right: 1px solid #5e50ee !important;\n}.overlay-primary.overlay-darken-1 {\n background: #5e50ee; /* The Fallback */\n background: rgba(94, 80, 238, 0.6);\n}.text-primary.text-darken-2 {\n color: #4839eb !important;\n}.bg-primary.bg-darken-2 {\n background-color: #4839eb !important;\n}.border-primary.border-darken-2 {\n border: 1px solid #4839eb !important;\n}.border-top-primary.border-top-darken-2 {\n border-top: 1px solid #4839eb !important;\n}.border-bottom-primary.border-bottom-darken-2 {\n border-bottom: 1px solid #4839eb !important;\n}.border-left-primary.border-left-darken-2 {\n border-left: 1px solid #4839eb !important;\n}.border-right-primary.border-right-darken-2 {\n border-right: 1px solid #4839eb !important;\n}.overlay-primary.overlay-darken-2 {\n background: #4839eb; /* The Fallback */\n background: rgba(72, 57, 235, 0.6);\n}.text-primary.text-darken-3 {\n color: #3321e9 !important;\n}.bg-primary.bg-darken-3 {\n background-color: #3321e9 !important;\n}.border-primary.border-darken-3 {\n border: 1px solid #3321e9 !important;\n}.border-top-primary.border-top-darken-3 {\n border-top: 1px solid #3321e9 !important;\n}.border-bottom-primary.border-bottom-darken-3 {\n border-bottom: 1px solid #3321e9 !important;\n}.border-left-primary.border-left-darken-3 {\n border-left: 1px solid #3321e9 !important;\n}.border-right-primary.border-right-darken-3 {\n border-right: 1px solid #3321e9 !important;\n}.overlay-primary.overlay-darken-3 {\n background: #3321e9; /* The Fallback */\n background: rgba(51, 33, 233, 0.6);\n}.text-primary.text-darken-4 {\n color: #2716db !important;\n}.bg-primary.bg-darken-4 {\n background-color: #2716db !important;\n}.border-primary.border-darken-4 {\n border: 1px solid #2716db !important;\n}.border-top-primary.border-top-darken-4 {\n border-top: 1px solid #2716db !important;\n}.border-bottom-primary.border-bottom-darken-4 {\n border-bottom: 1px solid #2716db !important;\n}.border-left-primary.border-left-darken-4 {\n border-left: 1px solid #2716db !important;\n}.border-right-primary.border-right-darken-4 {\n border-right: 1px solid #2716db !important;\n}.overlay-primary.overlay-darken-4 {\n background: #2716db; /* The Fallback */\n background: rgba(39, 22, 219, 0.6);\n}.text-primary.text-accent-1 {\n color: #bdfdff !important;\n}.bg-primary.bg-accent-1 {\n background-color: #bdfdff !important;\n}.border-primary.border-accent-1 {\n border: 1px solid #bdfdff !important;\n}.border-top-primary.border-top-accent-1 {\n border-top: 1px solid #bdfdff !important;\n}.border-bottom-primary.border-bottom-accent-1 {\n border-bottom: 1px solid #bdfdff !important;\n}.border-left-primary.border-left-accent-1 {\n border-left: 1px solid #bdfdff !important;\n}.border-right-primary.border-right-accent-1 {\n border-right: 1px solid #bdfdff !important;\n}.overlay-primary.overlay-accent-1 {\n background: #bdfdff; /* The Fallback */\n background: rgba(189, 253, 255, 0.6);\n}.text-primary.text-accent-2 {\n color: #8afbff !important;\n}.bg-primary.bg-accent-2 {\n background-color: #8afbff !important;\n}.border-primary.border-accent-2 {\n border: 1px solid #8afbff !important;\n}.border-top-primary.border-top-accent-2 {\n border-top: 1px solid #8afbff !important;\n}.border-bottom-primary.border-bottom-accent-2 {\n border-bottom: 1px solid #8afbff !important;\n}.border-left-primary.border-left-accent-2 {\n border-left: 1px solid #8afbff !important;\n}.border-right-primary.border-right-accent-2 {\n border-right: 1px solid #8afbff !important;\n}.overlay-primary.overlay-accent-2 {\n background: #8afbff; /* The Fallback */\n background: rgba(138, 251, 255, 0.6);\n}.text-primary.text-accent-3 {\n color: #57faff !important;\n}.bg-primary.bg-accent-3 {\n background-color: #57faff !important;\n}.border-primary.border-accent-3 {\n border: 1px solid #57faff !important;\n}.border-top-primary.border-top-accent-3 {\n border-top: 1px solid #57faff !important;\n}.border-bottom-primary.border-bottom-accent-3 {\n border-bottom: 1px solid #57faff !important;\n}.border-left-primary.border-left-accent-3 {\n border-left: 1px solid #57faff !important;\n}.border-right-primary.border-right-accent-3 {\n border-right: 1px solid #57faff !important;\n}.overlay-primary.overlay-accent-3 {\n background: #57faff; /* The Fallback */\n background: rgba(87, 250, 255, 0.6);\n}.text-primary.text-accent-4 {\n color: #3df9ff !important;\n}.bg-primary.bg-accent-4 {\n background-color: #3df9ff !important;\n}.border-primary.border-accent-4 {\n border: 1px solid #3df9ff !important;\n}.border-top-primary.border-top-accent-4 {\n border-top: 1px solid #3df9ff !important;\n}.border-bottom-primary.border-bottom-accent-4 {\n border-bottom: 1px solid #3df9ff !important;\n}.border-left-primary.border-left-accent-4 {\n border-left: 1px solid #3df9ff !important;\n}.border-right-primary.border-right-accent-4 {\n border-right: 1px solid #3df9ff !important;\n}.overlay-primary.overlay-accent-4 {\n background: #3df9ff; /* The Fallback */\n background: rgba(61, 249, 255, 0.6);\n}.text-secondary.text-lighten-5 {\n color: #c4c6c8 !important;\n}.bg-secondary.bg-lighten-5 {\n background-color: #c4c6c8 !important;\n}.border-secondary.border-lighten-5 {\n border: 1px solid #c4c6c8 !important;\n}.border-top-secondary.border-top-lighten-5 {\n border-top: 1px solid #c4c6c8 !important;\n}.border-bottom-secondary.border-bottom-lighten-5 {\n border-bottom: 1px solid #c4c6c8 !important;\n}.border-left-secondary.border-left-lighten-5 {\n border-left: 1px solid #c4c6c8 !important;\n}.border-right-secondary.border-right-lighten-5 {\n border-right: 1px solid #c4c6c8 !important;\n}.overlay-secondary.overlay-lighten-5 {\n background: #c4c6c8; /* The Fallback */\n background: rgba(196, 198, 200, 0.6);\n}.text-secondary.text-lighten-4 {\n color: #b7b9bc !important;\n}.bg-secondary.bg-lighten-4 {\n background-color: #b7b9bc !important;\n}.border-secondary.border-lighten-4 {\n border: 1px solid #b7b9bc !important;\n}.border-top-secondary.border-top-lighten-4 {\n border-top: 1px solid #b7b9bc !important;\n}.border-bottom-secondary.border-bottom-lighten-4 {\n border-bottom: 1px solid #b7b9bc !important;\n}.border-left-secondary.border-left-lighten-4 {\n border-left: 1px solid #b7b9bc !important;\n}.border-right-secondary.border-right-lighten-4 {\n border-right: 1px solid #b7b9bc !important;\n}.overlay-secondary.overlay-lighten-4 {\n background: #b7b9bc; /* The Fallback */\n background: rgba(183, 185, 188, 0.6);\n}.text-secondary.text-lighten-3 {\n color: #aaacb0 !important;\n}.bg-secondary.bg-lighten-3 {\n background-color: #aaacb0 !important;\n}.border-secondary.border-lighten-3 {\n border: 1px solid #aaacb0 !important;\n}.border-top-secondary.border-top-lighten-3 {\n border-top: 1px solid #aaacb0 !important;\n}.border-bottom-secondary.border-bottom-lighten-3 {\n border-bottom: 1px solid #aaacb0 !important;\n}.border-left-secondary.border-left-lighten-3 {\n border-left: 1px solid #aaacb0 !important;\n}.border-right-secondary.border-right-lighten-3 {\n border-right: 1px solid #aaacb0 !important;\n}.overlay-secondary.overlay-lighten-3 {\n background: #aaacb0; /* The Fallback */\n background: rgba(170, 172, 176, 0.6);\n}.text-secondary.text-lighten-2 {\n color: #9ca0a4 !important;\n}.bg-secondary.bg-lighten-2 {\n background-color: #9ca0a4 !important;\n}.border-secondary.border-lighten-2 {\n border: 1px solid #9ca0a4 !important;\n}.border-top-secondary.border-top-lighten-2 {\n border-top: 1px solid #9ca0a4 !important;\n}.border-bottom-secondary.border-bottom-lighten-2 {\n border-bottom: 1px solid #9ca0a4 !important;\n}.border-left-secondary.border-left-lighten-2 {\n border-left: 1px solid #9ca0a4 !important;\n}.border-right-secondary.border-right-lighten-2 {\n border-right: 1px solid #9ca0a4 !important;\n}.overlay-secondary.overlay-lighten-2 {\n background: #9ca0a4; /* The Fallback */\n background: rgba(156, 160, 164, 0.6);\n}.text-secondary.text-lighten-1 {\n color: #8f9397 !important;\n}.bg-secondary.bg-lighten-1 {\n background-color: #8f9397 !important;\n}.border-secondary.border-lighten-1 {\n border: 1px solid #8f9397 !important;\n}.border-top-secondary.border-top-lighten-1 {\n border-top: 1px solid #8f9397 !important;\n}.border-bottom-secondary.border-bottom-lighten-1 {\n border-bottom: 1px solid #8f9397 !important;\n}.border-left-secondary.border-left-lighten-1 {\n border-left: 1px solid #8f9397 !important;\n}.border-right-secondary.border-right-lighten-1 {\n border-right: 1px solid #8f9397 !important;\n}.overlay-secondary.overlay-lighten-1 {\n background: #8f9397; /* The Fallback */\n background: rgba(143, 147, 151, 0.6);\n}.bg-secondary {\n background-color: #82868b !important;\n}.bg-secondary .card-header,\n.bg-secondary .card-footer {\n background-color: transparent;\n}.alert-secondary {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}.alert-secondary .alert-heading {\n box-shadow: rgba(130, 134, 139, 0.4) 0px 6px 15px -7px;\n}.alert-secondary .alert-link {\n color: #75797e !important;\n}.alert-secondary .close {\n color: #82868b !important;\n}.bg-light-secondary {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}.bg-light-secondary.fc-h-event, .bg-light-secondary.fc-v-event {\n border-color: rgba(130, 134, 139, 0.1);\n}.bg-light-secondary .fc-list-event-dot,\n.bg-light-secondary .fc-daygrid-event-dot {\n border-color: #82868b !important;\n}.bg-light-secondary.fc-list-event:hover td {\n background: rgba(130, 134, 139, 0.1) !important;\n}.bg-light-secondary.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}.avatar.bg-light-secondary {\n color: #82868b !important;\n}.border-secondary {\n border: 1px solid #82868b !important;\n}.border-top-secondary {\n border-top: 1px solid #82868b;\n}.border-bottom-secondary {\n border-bottom: 1px solid #82868b;\n}.border-left-secondary {\n border-left: 1px solid #82868b;\n}.border-right-secondary {\n border-right: 1px solid #82868b;\n}.bg-secondary.badge-glow,\n.border-secondary.badge-glow,\n.badge-secondary.badge-glow {\n box-shadow: 0px 0px 10px #82868b;\n}.badge.badge-light-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n color: #82868b !important;\n}.overlay-secondary {\n background: #82868b; /* The Fallback */\n background: rgba(130, 134, 139, 0.6);\n}.btn-secondary {\n border-color: #82868b !important;\n background-color: #82868b !important;\n color: #fff !important;\n}.btn-secondary:focus, .btn-secondary:active, .btn-secondary.active {\n color: #fff;\n background-color: #75797e !important;\n}.btn-secondary:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #82868b;\n}.btn-secondary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-secondary {\n background-color: transparent;\n color: #82868b;\n}.btn-flat-secondary:hover {\n color: #82868b;\n}.btn-flat-secondary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.12);\n}.btn-flat-secondary:active, .btn-flat-secondary.active, .btn-flat-secondary:focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}.btn-flat-secondary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-secondary {\n background-color: #82868b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-secondary:hover:not(.disabled):not(:disabled) {\n background-color: #8f9397;\n}.btn-relief-secondary:active, .btn-relief-secondary.active, .btn-relief-secondary:focus {\n background-color: #75797e;\n}.btn-relief-secondary:hover {\n color: #fff;\n}.btn-relief-secondary:active, .btn-relief-secondary.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-secondary {\n border: 1px solid #82868b !important;\n background-color: transparent;\n color: #82868b;\n}.btn-outline-secondary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.04);\n color: #82868b;\n}.btn-outline-secondary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}.btn-outline-secondary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show > .btn-outline-secondary.dropdown-toggle {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}.btn-outline-secondary.waves-effect .waves-ripple,\n.btn-flat-secondary.waves-effect .waves-ripple {\n background: radial-gradient(rgba(130, 134, 139, 0.2) 0, rgba(130, 134, 139, 0.3) 40%, rgba(130, 134, 139, 0.4) 50%, rgba(130, 134, 139, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-secondary {\n background-color: #82868b;\n}.modal.modal-secondary .modal-header .modal-title {\n color: #82868b;\n}.modal.modal-secondary .modal-header .close {\n color: #82868b !important;\n}.pagination-secondary .page-item.active .page-link {\n background: #82868b !important;\n color: #fff;\n}.pagination-secondary .page-item.active .page-link:hover {\n color: #fff;\n}.pagination-secondary .page-item .page-link:hover {\n color: #82868b;\n}.pagination-secondary .page-item.prev-item .page-link:hover, .pagination-secondary .page-item.next-item .page-link:hover {\n background: #82868b;\n color: #fff;\n}.pagination-secondary .page-item.next-item .page-link:active:after, .pagination-secondary .page-item.next-item .page-link:hover:after, .pagination-secondary .page-item.next .page-link:active:after, .pagination-secondary .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-secondary .page-item.prev-item .page-link:active:before, .pagination-secondary .page-item.prev-item .page-link:hover:before, .pagination-secondary .page-item.prev .page-link:active:before, .pagination-secondary .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-secondary .nav-item .nav-link.active {\n color: #fff;\n background-color: #82868b !important;\n border-color: #82868b;\n box-shadow: 0 4px 18px -4px rgba(130, 134, 139, 0.65);\n}.progress-bar-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n}.progress-bar-secondary .progress-bar {\n background-color: #82868b;\n}.timeline .timeline-point-secondary {\n border-color: #82868b !important;\n}.timeline .timeline-point-secondary i,\n.timeline .timeline-point-secondary svg {\n stroke: #82868b !important;\n}.timeline .timeline-point-secondary.timeline-point-indicator {\n background-color: #82868b !important;\n}.timeline .timeline-point-secondary.timeline-point-indicator:before {\n background: rgba(130, 134, 139, 0.12) !important;\n}.divider.divider-secondary .divider-text:before, .divider.divider-secondary .divider-text:after {\n border-color: #82868b !important;\n}input:focus ~ .bg-secondary {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #82868b !important;\n}.custom-control-secondary .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary .custom-control-input:active ~ .custom-control-label::before {\n border-color: #82868b;\n background-color: #82868b;\n}.custom-control-secondary.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-secondary.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-secondary.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-secondary.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(130, 134, 139, 0.4) !important;\n}.custom-control-secondary .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(130, 134, 139, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-secondary .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #82868b !important;\n}.custom-switch-secondary .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #82868b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-secondary .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #82868b !important;\n border-color: #82868b !important;\n}.text-secondary.text-darken-1 {\n color: #75797e !important;\n}.bg-secondary.bg-darken-1 {\n background-color: #75797e !important;\n}.border-secondary.border-darken-1 {\n border: 1px solid #75797e !important;\n}.border-top-secondary.border-top-darken-1 {\n border-top: 1px solid #75797e !important;\n}.border-bottom-secondary.border-bottom-darken-1 {\n border-bottom: 1px solid #75797e !important;\n}.border-left-secondary.border-left-darken-1 {\n border-left: 1px solid #75797e !important;\n}.border-right-secondary.border-right-darken-1 {\n border-right: 1px solid #75797e !important;\n}.overlay-secondary.overlay-darken-1 {\n background: #75797e; /* The Fallback */\n background: rgba(117, 121, 126, 0.6);\n}.text-secondary.text-darken-2 {\n color: #696d71 !important;\n}.bg-secondary.bg-darken-2 {\n background-color: #696d71 !important;\n}.border-secondary.border-darken-2 {\n border: 1px solid #696d71 !important;\n}.border-top-secondary.border-top-darken-2 {\n border-top: 1px solid #696d71 !important;\n}.border-bottom-secondary.border-bottom-darken-2 {\n border-bottom: 1px solid #696d71 !important;\n}.border-left-secondary.border-left-darken-2 {\n border-left: 1px solid #696d71 !important;\n}.border-right-secondary.border-right-darken-2 {\n border-right: 1px solid #696d71 !important;\n}.overlay-secondary.overlay-darken-2 {\n background: #696d71; /* The Fallback */\n background: rgba(105, 109, 113, 0.6);\n}.text-secondary.text-darken-3 {\n color: #5d6064 !important;\n}.bg-secondary.bg-darken-3 {\n background-color: #5d6064 !important;\n}.border-secondary.border-darken-3 {\n border: 1px solid #5d6064 !important;\n}.border-top-secondary.border-top-darken-3 {\n border-top: 1px solid #5d6064 !important;\n}.border-bottom-secondary.border-bottom-darken-3 {\n border-bottom: 1px solid #5d6064 !important;\n}.border-left-secondary.border-left-darken-3 {\n border-left: 1px solid #5d6064 !important;\n}.border-right-secondary.border-right-darken-3 {\n border-right: 1px solid #5d6064 !important;\n}.overlay-secondary.overlay-darken-3 {\n background: #5d6064; /* The Fallback */\n background: rgba(93, 96, 100, 0.6);\n}.text-secondary.text-darken-4 {\n color: #505357 !important;\n}.bg-secondary.bg-darken-4 {\n background-color: #505357 !important;\n}.border-secondary.border-darken-4 {\n border: 1px solid #505357 !important;\n}.border-top-secondary.border-top-darken-4 {\n border-top: 1px solid #505357 !important;\n}.border-bottom-secondary.border-bottom-darken-4 {\n border-bottom: 1px solid #505357 !important;\n}.border-left-secondary.border-left-darken-4 {\n border-left: 1px solid #505357 !important;\n}.border-right-secondary.border-right-darken-4 {\n border-right: 1px solid #505357 !important;\n}.overlay-secondary.overlay-darken-4 {\n background: #505357; /* The Fallback */\n background: rgba(80, 83, 87, 0.6);\n}.text-success.text-lighten-5 {\n color: #88e7b2 !important;\n}.bg-success.bg-lighten-5 {\n background-color: #88e7b2 !important;\n}.border-success.border-lighten-5 {\n border: 1px solid #88e7b2 !important;\n}.border-top-success.border-top-lighten-5 {\n border-top: 1px solid #88e7b2 !important;\n}.border-bottom-success.border-bottom-lighten-5 {\n border-bottom: 1px solid #88e7b2 !important;\n}.border-left-success.border-left-lighten-5 {\n border-left: 1px solid #88e7b2 !important;\n}.border-right-success.border-right-lighten-5 {\n border-right: 1px solid #88e7b2 !important;\n}.overlay-success.overlay-lighten-5 {\n background: #88e7b2; /* The Fallback */\n background: rgba(136, 231, 178, 0.6);\n}.text-success.text-lighten-4 {\n color: #72e3a4 !important;\n}.bg-success.bg-lighten-4 {\n background-color: #72e3a4 !important;\n}.border-success.border-lighten-4 {\n border: 1px solid #72e3a4 !important;\n}.border-top-success.border-top-lighten-4 {\n border-top: 1px solid #72e3a4 !important;\n}.border-bottom-success.border-bottom-lighten-4 {\n border-bottom: 1px solid #72e3a4 !important;\n}.border-left-success.border-left-lighten-4 {\n border-left: 1px solid #72e3a4 !important;\n}.border-right-success.border-right-lighten-4 {\n border-right: 1px solid #72e3a4 !important;\n}.overlay-success.overlay-lighten-4 {\n background: #72e3a4; /* The Fallback */\n background: rgba(114, 227, 164, 0.6);\n}.text-success.text-lighten-3 {\n color: #5dde97 !important;\n}.bg-success.bg-lighten-3 {\n background-color: #5dde97 !important;\n}.border-success.border-lighten-3 {\n border: 1px solid #5dde97 !important;\n}.border-top-success.border-top-lighten-3 {\n border-top: 1px solid #5dde97 !important;\n}.border-bottom-success.border-bottom-lighten-3 {\n border-bottom: 1px solid #5dde97 !important;\n}.border-left-success.border-left-lighten-3 {\n border-left: 1px solid #5dde97 !important;\n}.border-right-success.border-right-lighten-3 {\n border-right: 1px solid #5dde97 !important;\n}.overlay-success.overlay-lighten-3 {\n background: #5dde97; /* The Fallback */\n background: rgba(93, 222, 151, 0.6);\n}.text-success.text-lighten-2 {\n color: #48da89 !important;\n}.bg-success.bg-lighten-2 {\n background-color: #48da89 !important;\n}.border-success.border-lighten-2 {\n border: 1px solid #48da89 !important;\n}.border-top-success.border-top-lighten-2 {\n border-top: 1px solid #48da89 !important;\n}.border-bottom-success.border-bottom-lighten-2 {\n border-bottom: 1px solid #48da89 !important;\n}.border-left-success.border-left-lighten-2 {\n border-left: 1px solid #48da89 !important;\n}.border-right-success.border-right-lighten-2 {\n border-right: 1px solid #48da89 !important;\n}.overlay-success.overlay-lighten-2 {\n background: #48da89; /* The Fallback */\n background: rgba(72, 218, 137, 0.6);\n}.text-success.text-lighten-1 {\n color: #33d67c !important;\n}.bg-success.bg-lighten-1 {\n background-color: #33d67c !important;\n}.border-success.border-lighten-1 {\n border: 1px solid #33d67c !important;\n}.border-top-success.border-top-lighten-1 {\n border-top: 1px solid #33d67c !important;\n}.border-bottom-success.border-bottom-lighten-1 {\n border-bottom: 1px solid #33d67c !important;\n}.border-left-success.border-left-lighten-1 {\n border-left: 1px solid #33d67c !important;\n}.border-right-success.border-right-lighten-1 {\n border-right: 1px solid #33d67c !important;\n}.overlay-success.overlay-lighten-1 {\n background: #33d67c; /* The Fallback */\n background: rgba(51, 214, 124, 0.6);\n}.bg-success {\n background-color: #28c76f !important;\n}.bg-success .card-header,\n.bg-success .card-footer {\n background-color: transparent;\n}.alert-success {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}.alert-success .alert-heading {\n box-shadow: rgba(40, 199, 111, 0.4) 0px 6px 15px -7px;\n}.alert-success .alert-link {\n color: #24b263 !important;\n}.alert-success .close {\n color: #28c76f !important;\n}.bg-light-success {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}.bg-light-success.fc-h-event, .bg-light-success.fc-v-event {\n border-color: rgba(40, 199, 111, 0.1);\n}.bg-light-success .fc-list-event-dot,\n.bg-light-success .fc-daygrid-event-dot {\n border-color: #28c76f !important;\n}.bg-light-success.fc-list-event:hover td {\n background: rgba(40, 199, 111, 0.1) !important;\n}.bg-light-success.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}.avatar.bg-light-success {\n color: #28c76f !important;\n}.border-success {\n border: 1px solid #28c76f !important;\n}.border-top-success {\n border-top: 1px solid #28c76f;\n}.border-bottom-success {\n border-bottom: 1px solid #28c76f;\n}.border-left-success {\n border-left: 1px solid #28c76f;\n}.border-right-success {\n border-right: 1px solid #28c76f;\n}.bg-success.badge-glow,\n.border-success.badge-glow,\n.badge-success.badge-glow {\n box-shadow: 0px 0px 10px #28c76f;\n}.badge.badge-light-success {\n background-color: rgba(40, 199, 111, 0.12);\n color: #28c76f !important;\n}.overlay-success {\n background: #28c76f; /* The Fallback */\n background: rgba(40, 199, 111, 0.6);\n}.btn-success {\n border-color: #28c76f !important;\n background-color: #28c76f !important;\n color: #fff !important;\n}.btn-success:focus, .btn-success:active, .btn-success.active {\n color: #fff;\n background-color: #24b263 !important;\n}.btn-success:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #28c76f;\n}.btn-success:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-success {\n background-color: transparent;\n color: #28c76f;\n}.btn-flat-success:hover {\n color: #28c76f;\n}.btn-flat-success:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.12);\n}.btn-flat-success:active, .btn-flat-success.active, .btn-flat-success:focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}.btn-flat-success.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-success {\n background-color: #28c76f;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-success:hover:not(.disabled):not(:disabled) {\n background-color: #33d67c;\n}.btn-relief-success:active, .btn-relief-success.active, .btn-relief-success:focus {\n background-color: #24b263;\n}.btn-relief-success:hover {\n color: #fff;\n}.btn-relief-success:active, .btn-relief-success.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-success {\n border: 1px solid #28c76f !important;\n background-color: transparent;\n color: #28c76f;\n}.btn-outline-success:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.04);\n color: #28c76f;\n}.btn-outline-success:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .btn-outline-success:not(:disabled):not(.disabled):focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}.btn-outline-success.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show > .btn-outline-success.dropdown-toggle {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}.btn-outline-success.waves-effect .waves-ripple,\n.btn-flat-success.waves-effect .waves-ripple {\n background: radial-gradient(rgba(40, 199, 111, 0.2) 0, rgba(40, 199, 111, 0.3) 40%, rgba(40, 199, 111, 0.4) 50%, rgba(40, 199, 111, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-success {\n background-color: #28c76f;\n}.modal.modal-success .modal-header .modal-title {\n color: #28c76f;\n}.modal.modal-success .modal-header .close {\n color: #28c76f !important;\n}.pagination-success .page-item.active .page-link {\n background: #28c76f !important;\n color: #fff;\n}.pagination-success .page-item.active .page-link:hover {\n color: #fff;\n}.pagination-success .page-item .page-link:hover {\n color: #28c76f;\n}.pagination-success .page-item.prev-item .page-link:hover, .pagination-success .page-item.next-item .page-link:hover {\n background: #28c76f;\n color: #fff;\n}.pagination-success .page-item.next-item .page-link:active:after, .pagination-success .page-item.next-item .page-link:hover:after, .pagination-success .page-item.next .page-link:active:after, .pagination-success .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-success .page-item.prev-item .page-link:active:before, .pagination-success .page-item.prev-item .page-link:hover:before, .pagination-success .page-item.prev .page-link:active:before, .pagination-success .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-success .nav-item .nav-link.active {\n color: #fff;\n background-color: #28c76f !important;\n border-color: #28c76f;\n box-shadow: 0 4px 18px -4px rgba(40, 199, 111, 0.65);\n}.progress-bar-success {\n background-color: rgba(40, 199, 111, 0.12);\n}.progress-bar-success .progress-bar {\n background-color: #28c76f;\n}.timeline .timeline-point-success {\n border-color: #28c76f !important;\n}.timeline .timeline-point-success i,\n.timeline .timeline-point-success svg {\n stroke: #28c76f !important;\n}.timeline .timeline-point-success.timeline-point-indicator {\n background-color: #28c76f !important;\n}.timeline .timeline-point-success.timeline-point-indicator:before {\n background: rgba(40, 199, 111, 0.12) !important;\n}.divider.divider-success .divider-text:before, .divider.divider-success .divider-text:after {\n border-color: #28c76f !important;\n}input:focus ~ .bg-success {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #28c76f !important;\n}.custom-control-success .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success .custom-control-input:active ~ .custom-control-label::before {\n border-color: #28c76f;\n background-color: #28c76f;\n}.custom-control-success.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-success.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-success.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-success.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(40, 199, 111, 0.4) !important;\n}.custom-control-success .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(40, 199, 111, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-success .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #28c76f !important;\n}.custom-switch-success .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #28c76f !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-success .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #28c76f !important;\n border-color: #28c76f !important;\n}.text-success.text-darken-1 {\n color: #24b263 !important;\n}.bg-success.bg-darken-1 {\n background-color: #24b263 !important;\n}.border-success.border-darken-1 {\n border: 1px solid #24b263 !important;\n}.border-top-success.border-top-darken-1 {\n border-top: 1px solid #24b263 !important;\n}.border-bottom-success.border-bottom-darken-1 {\n border-bottom: 1px solid #24b263 !important;\n}.border-left-success.border-left-darken-1 {\n border-left: 1px solid #24b263 !important;\n}.border-right-success.border-right-darken-1 {\n border-right: 1px solid #24b263 !important;\n}.overlay-success.overlay-darken-1 {\n background: #24b263; /* The Fallback */\n background: rgba(36, 178, 99, 0.6);\n}.text-success.text-darken-2 {\n color: #1f9d57 !important;\n}.bg-success.bg-darken-2 {\n background-color: #1f9d57 !important;\n}.border-success.border-darken-2 {\n border: 1px solid #1f9d57 !important;\n}.border-top-success.border-top-darken-2 {\n border-top: 1px solid #1f9d57 !important;\n}.border-bottom-success.border-bottom-darken-2 {\n border-bottom: 1px solid #1f9d57 !important;\n}.border-left-success.border-left-darken-2 {\n border-left: 1px solid #1f9d57 !important;\n}.border-right-success.border-right-darken-2 {\n border-right: 1px solid #1f9d57 !important;\n}.overlay-success.overlay-darken-2 {\n background: #1f9d57; /* The Fallback */\n background: rgba(31, 157, 87, 0.6);\n}.text-success.text-darken-3 {\n color: #1b874b !important;\n}.bg-success.bg-darken-3 {\n background-color: #1b874b !important;\n}.border-success.border-darken-3 {\n border: 1px solid #1b874b !important;\n}.border-top-success.border-top-darken-3 {\n border-top: 1px solid #1b874b !important;\n}.border-bottom-success.border-bottom-darken-3 {\n border-bottom: 1px solid #1b874b !important;\n}.border-left-success.border-left-darken-3 {\n border-left: 1px solid #1b874b !important;\n}.border-right-success.border-right-darken-3 {\n border-right: 1px solid #1b874b !important;\n}.overlay-success.overlay-darken-3 {\n background: #1b874b; /* The Fallback */\n background: rgba(27, 135, 75, 0.6);\n}.text-success.text-darken-4 {\n color: #177240 !important;\n}.bg-success.bg-darken-4 {\n background-color: #177240 !important;\n}.border-success.border-darken-4 {\n border: 1px solid #177240 !important;\n}.border-top-success.border-top-darken-4 {\n border-top: 1px solid #177240 !important;\n}.border-bottom-success.border-bottom-darken-4 {\n border-bottom: 1px solid #177240 !important;\n}.border-left-success.border-left-darken-4 {\n border-left: 1px solid #177240 !important;\n}.border-right-success.border-right-darken-4 {\n border-right: 1px solid #177240 !important;\n}.overlay-success.overlay-darken-4 {\n background: #177240; /* The Fallback */\n background: rgba(23, 114, 64, 0.6);\n}.text-success.text-accent-1 {\n color: #e1fff1 !important;\n}.bg-success.bg-accent-1 {\n background-color: #e1fff1 !important;\n}.border-success.border-accent-1 {\n border: 1px solid #e1fff1 !important;\n}.border-top-success.border-top-accent-1 {\n border-top: 1px solid #e1fff1 !important;\n}.border-bottom-success.border-bottom-accent-1 {\n border-bottom: 1px solid #e1fff1 !important;\n}.border-left-success.border-left-accent-1 {\n border-left: 1px solid #e1fff1 !important;\n}.border-right-success.border-right-accent-1 {\n border-right: 1px solid #e1fff1 !important;\n}.overlay-success.overlay-accent-1 {\n background: #e1fff1; /* The Fallback */\n background: rgba(225, 255, 241, 0.6);\n}.text-success.text-accent-2 {\n color: #aeffd9 !important;\n}.bg-success.bg-accent-2 {\n background-color: #aeffd9 !important;\n}.border-success.border-accent-2 {\n border: 1px solid #aeffd9 !important;\n}.border-top-success.border-top-accent-2 {\n border-top: 1px solid #aeffd9 !important;\n}.border-bottom-success.border-bottom-accent-2 {\n border-bottom: 1px solid #aeffd9 !important;\n}.border-left-success.border-left-accent-2 {\n border-left: 1px solid #aeffd9 !important;\n}.border-right-success.border-right-accent-2 {\n border-right: 1px solid #aeffd9 !important;\n}.overlay-success.overlay-accent-2 {\n background: #aeffd9; /* The Fallback */\n background: rgba(174, 255, 217, 0.6);\n}.text-success.text-accent-3 {\n color: #7bffc1 !important;\n}.bg-success.bg-accent-3 {\n background-color: #7bffc1 !important;\n}.border-success.border-accent-3 {\n border: 1px solid #7bffc1 !important;\n}.border-top-success.border-top-accent-3 {\n border-top: 1px solid #7bffc1 !important;\n}.border-bottom-success.border-bottom-accent-3 {\n border-bottom: 1px solid #7bffc1 !important;\n}.border-left-success.border-left-accent-3 {\n border-left: 1px solid #7bffc1 !important;\n}.border-right-success.border-right-accent-3 {\n border-right: 1px solid #7bffc1 !important;\n}.overlay-success.overlay-accent-3 {\n background: #7bffc1; /* The Fallback */\n background: rgba(123, 255, 193, 0.6);\n}.text-success.text-accent-4 {\n color: #62ffb5 !important;\n}.bg-success.bg-accent-4 {\n background-color: #62ffb5 !important;\n}.border-success.border-accent-4 {\n border: 1px solid #62ffb5 !important;\n}.border-top-success.border-top-accent-4 {\n border-top: 1px solid #62ffb5 !important;\n}.border-bottom-success.border-bottom-accent-4 {\n border-bottom: 1px solid #62ffb5 !important;\n}.border-left-success.border-left-accent-4 {\n border-left: 1px solid #62ffb5 !important;\n}.border-right-success.border-right-accent-4 {\n border-right: 1px solid #62ffb5 !important;\n}.overlay-success.overlay-accent-4 {\n background: #62ffb5; /* The Fallback */\n background: rgba(98, 255, 181, 0.6);\n}.text-info.text-lighten-5 {\n color: #69efff !important;\n}.bg-info.bg-lighten-5 {\n background-color: #69efff !important;\n}.border-info.border-lighten-5 {\n border: 1px solid #69efff !important;\n}.border-top-info.border-top-lighten-5 {\n border-top: 1px solid #69efff !important;\n}.border-bottom-info.border-bottom-lighten-5 {\n border-bottom: 1px solid #69efff !important;\n}.border-left-info.border-left-lighten-5 {\n border-left: 1px solid #69efff !important;\n}.border-right-info.border-right-lighten-5 {\n border-right: 1px solid #69efff !important;\n}.overlay-info.overlay-lighten-5 {\n background: #69efff; /* The Fallback */\n background: rgba(105, 239, 255, 0.6);\n}.text-info.text-lighten-4 {\n color: #4fecff !important;\n}.bg-info.bg-lighten-4 {\n background-color: #4fecff !important;\n}.border-info.border-lighten-4 {\n border: 1px solid #4fecff !important;\n}.border-top-info.border-top-lighten-4 {\n border-top: 1px solid #4fecff !important;\n}.border-bottom-info.border-bottom-lighten-4 {\n border-bottom: 1px solid #4fecff !important;\n}.border-left-info.border-left-lighten-4 {\n border-left: 1px solid #4fecff !important;\n}.border-right-info.border-right-lighten-4 {\n border-right: 1px solid #4fecff !important;\n}.overlay-info.overlay-lighten-4 {\n background: #4fecff; /* The Fallback */\n background: rgba(79, 236, 255, 0.6);\n}.text-info.text-lighten-3 {\n color: #36e9ff !important;\n}.bg-info.bg-lighten-3 {\n background-color: #36e9ff !important;\n}.border-info.border-lighten-3 {\n border: 1px solid #36e9ff !important;\n}.border-top-info.border-top-lighten-3 {\n border-top: 1px solid #36e9ff !important;\n}.border-bottom-info.border-bottom-lighten-3 {\n border-bottom: 1px solid #36e9ff !important;\n}.border-left-info.border-left-lighten-3 {\n border-left: 1px solid #36e9ff !important;\n}.border-right-info.border-right-lighten-3 {\n border-right: 1px solid #36e9ff !important;\n}.overlay-info.overlay-lighten-3 {\n background: #36e9ff; /* The Fallback */\n background: rgba(54, 233, 255, 0.6);\n}.text-info.text-lighten-2 {\n color: #1ce7ff !important;\n}.bg-info.bg-lighten-2 {\n background-color: #1ce7ff !important;\n}.border-info.border-lighten-2 {\n border: 1px solid #1ce7ff !important;\n}.border-top-info.border-top-lighten-2 {\n border-top: 1px solid #1ce7ff !important;\n}.border-bottom-info.border-bottom-lighten-2 {\n border-bottom: 1px solid #1ce7ff !important;\n}.border-left-info.border-left-lighten-2 {\n border-left: 1px solid #1ce7ff !important;\n}.border-right-info.border-right-lighten-2 {\n border-right: 1px solid #1ce7ff !important;\n}.overlay-info.overlay-lighten-2 {\n background: #1ce7ff; /* The Fallback */\n background: rgba(28, 231, 255, 0.6);\n}.text-info.text-lighten-1 {\n color: #03e4ff !important;\n}.bg-info.bg-lighten-1 {\n background-color: #03e4ff !important;\n}.border-info.border-lighten-1 {\n border: 1px solid #03e4ff !important;\n}.border-top-info.border-top-lighten-1 {\n border-top: 1px solid #03e4ff !important;\n}.border-bottom-info.border-bottom-lighten-1 {\n border-bottom: 1px solid #03e4ff !important;\n}.border-left-info.border-left-lighten-1 {\n border-left: 1px solid #03e4ff !important;\n}.border-right-info.border-right-lighten-1 {\n border-right: 1px solid #03e4ff !important;\n}.overlay-info.overlay-lighten-1 {\n background: #03e4ff; /* The Fallback */\n background: rgba(3, 228, 255, 0.6);\n}.bg-info {\n background-color: #00cfe8 !important;\n}.bg-info .card-header,\n.bg-info .card-footer {\n background-color: transparent;\n}.alert-info {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}.alert-info .alert-heading {\n box-shadow: rgba(0, 207, 232, 0.4) 0px 6px 15px -7px;\n}.alert-info .alert-link {\n color: #00b8cf !important;\n}.alert-info .close {\n color: #00cfe8 !important;\n}.bg-light-info {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}.bg-light-info.fc-h-event, .bg-light-info.fc-v-event {\n border-color: rgba(0, 207, 232, 0.1);\n}.bg-light-info .fc-list-event-dot,\n.bg-light-info .fc-daygrid-event-dot {\n border-color: #00cfe8 !important;\n}.bg-light-info.fc-list-event:hover td {\n background: rgba(0, 207, 232, 0.1) !important;\n}.bg-light-info.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}.avatar.bg-light-info {\n color: #00cfe8 !important;\n}.border-info {\n border: 1px solid #00cfe8 !important;\n}.border-top-info {\n border-top: 1px solid #00cfe8;\n}.border-bottom-info {\n border-bottom: 1px solid #00cfe8;\n}.border-left-info {\n border-left: 1px solid #00cfe8;\n}.border-right-info {\n border-right: 1px solid #00cfe8;\n}.bg-info.badge-glow,\n.border-info.badge-glow,\n.badge-info.badge-glow {\n box-shadow: 0px 0px 10px #00cfe8;\n}.badge.badge-light-info {\n background-color: rgba(0, 207, 232, 0.12);\n color: #00cfe8 !important;\n}.overlay-info {\n background: #00cfe8; /* The Fallback */\n background: rgba(0, 207, 232, 0.6);\n}.btn-info {\n border-color: #00cfe8 !important;\n background-color: #00cfe8 !important;\n color: #fff !important;\n}.btn-info:focus, .btn-info:active, .btn-info.active {\n color: #fff;\n background-color: #00b8cf !important;\n}.btn-info:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #00cfe8;\n}.btn-info:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-info {\n background-color: transparent;\n color: #00cfe8;\n}.btn-flat-info:hover {\n color: #00cfe8;\n}.btn-flat-info:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.12);\n}.btn-flat-info:active, .btn-flat-info.active, .btn-flat-info:focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}.btn-flat-info.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-info {\n background-color: #00cfe8;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-info:hover:not(.disabled):not(:disabled) {\n background-color: #03e4ff;\n}.btn-relief-info:active, .btn-relief-info.active, .btn-relief-info:focus {\n background-color: #00b8cf;\n}.btn-relief-info:hover {\n color: #fff;\n}.btn-relief-info:active, .btn-relief-info.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-info {\n border: 1px solid #00cfe8 !important;\n background-color: transparent;\n color: #00cfe8;\n}.btn-outline-info:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.04);\n color: #00cfe8;\n}.btn-outline-info:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}.btn-outline-info.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show > .btn-outline-info.dropdown-toggle {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}.btn-outline-info.waves-effect .waves-ripple,\n.btn-flat-info.waves-effect .waves-ripple {\n background: radial-gradient(rgba(0, 207, 232, 0.2) 0, rgba(0, 207, 232, 0.3) 40%, rgba(0, 207, 232, 0.4) 50%, rgba(0, 207, 232, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-info {\n background-color: #00cfe8;\n}.modal.modal-info .modal-header .modal-title {\n color: #00cfe8;\n}.modal.modal-info .modal-header .close {\n color: #00cfe8 !important;\n}.pagination-info .page-item.active .page-link {\n background: #00cfe8 !important;\n color: #fff;\n}.pagination-info .page-item.active .page-link:hover {\n color: #fff;\n}.pagination-info .page-item .page-link:hover {\n color: #00cfe8;\n}.pagination-info .page-item.prev-item .page-link:hover, .pagination-info .page-item.next-item .page-link:hover {\n background: #00cfe8;\n color: #fff;\n}.pagination-info .page-item.next-item .page-link:active:after, .pagination-info .page-item.next-item .page-link:hover:after, .pagination-info .page-item.next .page-link:active:after, .pagination-info .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-info .page-item.prev-item .page-link:active:before, .pagination-info .page-item.prev-item .page-link:hover:before, .pagination-info .page-item.prev .page-link:active:before, .pagination-info .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-info .nav-item .nav-link.active {\n color: #fff;\n background-color: #00cfe8 !important;\n border-color: #00cfe8;\n box-shadow: 0 4px 18px -4px rgba(0, 207, 232, 0.65);\n}.progress-bar-info {\n background-color: rgba(0, 207, 232, 0.12);\n}.progress-bar-info .progress-bar {\n background-color: #00cfe8;\n}.timeline .timeline-point-info {\n border-color: #00cfe8 !important;\n}.timeline .timeline-point-info i,\n.timeline .timeline-point-info svg {\n stroke: #00cfe8 !important;\n}.timeline .timeline-point-info.timeline-point-indicator {\n background-color: #00cfe8 !important;\n}.timeline .timeline-point-info.timeline-point-indicator:before {\n background: rgba(0, 207, 232, 0.12) !important;\n}.divider.divider-info .divider-text:before, .divider.divider-info .divider-text:after {\n border-color: #00cfe8 !important;\n}input:focus ~ .bg-info {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #00cfe8 !important;\n}.custom-control-info .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info .custom-control-input:active ~ .custom-control-label::before {\n border-color: #00cfe8;\n background-color: #00cfe8;\n}.custom-control-info.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-info.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-info.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-info.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(0, 207, 232, 0.4) !important;\n}.custom-control-info .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(0, 207, 232, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-info .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #00cfe8 !important;\n}.custom-switch-info .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #00cfe8 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-info .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #00cfe8 !important;\n border-color: #00cfe8 !important;\n}.text-info.text-darken-1 {\n color: #00b8cf !important;\n}.bg-info.bg-darken-1 {\n background-color: #00b8cf !important;\n}.border-info.border-darken-1 {\n border: 1px solid #00b8cf !important;\n}.border-top-info.border-top-darken-1 {\n border-top: 1px solid #00b8cf !important;\n}.border-bottom-info.border-bottom-darken-1 {\n border-bottom: 1px solid #00b8cf !important;\n}.border-left-info.border-left-darken-1 {\n border-left: 1px solid #00b8cf !important;\n}.border-right-info.border-right-darken-1 {\n border-right: 1px solid #00b8cf !important;\n}.overlay-info.overlay-darken-1 {\n background: #00b8cf; /* The Fallback */\n background: rgba(0, 184, 207, 0.6);\n}.text-info.text-darken-2 {\n color: #00a1b5 !important;\n}.bg-info.bg-darken-2 {\n background-color: #00a1b5 !important;\n}.border-info.border-darken-2 {\n border: 1px solid #00a1b5 !important;\n}.border-top-info.border-top-darken-2 {\n border-top: 1px solid #00a1b5 !important;\n}.border-bottom-info.border-bottom-darken-2 {\n border-bottom: 1px solid #00a1b5 !important;\n}.border-left-info.border-left-darken-2 {\n border-left: 1px solid #00a1b5 !important;\n}.border-right-info.border-right-darken-2 {\n border-right: 1px solid #00a1b5 !important;\n}.overlay-info.overlay-darken-2 {\n background: #00a1b5; /* The Fallback */\n background: rgba(0, 161, 181, 0.6);\n}.text-info.text-darken-3 {\n color: #008b9c !important;\n}.bg-info.bg-darken-3 {\n background-color: #008b9c !important;\n}.border-info.border-darken-3 {\n border: 1px solid #008b9c !important;\n}.border-top-info.border-top-darken-3 {\n border-top: 1px solid #008b9c !important;\n}.border-bottom-info.border-bottom-darken-3 {\n border-bottom: 1px solid #008b9c !important;\n}.border-left-info.border-left-darken-3 {\n border-left: 1px solid #008b9c !important;\n}.border-right-info.border-right-darken-3 {\n border-right: 1px solid #008b9c !important;\n}.overlay-info.overlay-darken-3 {\n background: #008b9c; /* The Fallback */\n background: rgba(0, 139, 156, 0.6);\n}.text-info.text-darken-4 {\n color: #007482 !important;\n}.bg-info.bg-darken-4 {\n background-color: #007482 !important;\n}.border-info.border-darken-4 {\n border: 1px solid #007482 !important;\n}.border-top-info.border-top-darken-4 {\n border-top: 1px solid #007482 !important;\n}.border-bottom-info.border-bottom-darken-4 {\n border-bottom: 1px solid #007482 !important;\n}.border-left-info.border-left-darken-4 {\n border-left: 1px solid #007482 !important;\n}.border-right-info.border-right-darken-4 {\n border-right: 1px solid #007482 !important;\n}.overlay-info.overlay-darken-4 {\n background: #007482; /* The Fallback */\n background: rgba(0, 116, 130, 0.6);\n}.text-info.text-accent-1 {\n color: #feffff !important;\n}.bg-info.bg-accent-1 {\n background-color: #feffff !important;\n}.border-info.border-accent-1 {\n border: 1px solid #feffff !important;\n}.border-top-info.border-top-accent-1 {\n border-top: 1px solid #feffff !important;\n}.border-bottom-info.border-bottom-accent-1 {\n border-bottom: 1px solid #feffff !important;\n}.border-left-info.border-left-accent-1 {\n border-left: 1px solid #feffff !important;\n}.border-right-info.border-right-accent-1 {\n border-right: 1px solid #feffff !important;\n}.overlay-info.overlay-accent-1 {\n background: #feffff; /* The Fallback */\n background: rgba(254, 255, 255, 0.6);\n}.text-info.text-accent-2 {\n color: #cbf5ff !important;\n}.bg-info.bg-accent-2 {\n background-color: #cbf5ff !important;\n}.border-info.border-accent-2 {\n border: 1px solid #cbf5ff !important;\n}.border-top-info.border-top-accent-2 {\n border-top: 1px solid #cbf5ff !important;\n}.border-bottom-info.border-bottom-accent-2 {\n border-bottom: 1px solid #cbf5ff !important;\n}.border-left-info.border-left-accent-2 {\n border-left: 1px solid #cbf5ff !important;\n}.border-right-info.border-right-accent-2 {\n border-right: 1px solid #cbf5ff !important;\n}.overlay-info.overlay-accent-2 {\n background: #cbf5ff; /* The Fallback */\n background: rgba(203, 245, 255, 0.6);\n}.text-info.text-accent-3 {\n color: #98ecff !important;\n}.bg-info.bg-accent-3 {\n background-color: #98ecff !important;\n}.border-info.border-accent-3 {\n border: 1px solid #98ecff !important;\n}.border-top-info.border-top-accent-3 {\n border-top: 1px solid #98ecff !important;\n}.border-bottom-info.border-bottom-accent-3 {\n border-bottom: 1px solid #98ecff !important;\n}.border-left-info.border-left-accent-3 {\n border-left: 1px solid #98ecff !important;\n}.border-right-info.border-right-accent-3 {\n border-right: 1px solid #98ecff !important;\n}.overlay-info.overlay-accent-3 {\n background: #98ecff; /* The Fallback */\n background: rgba(152, 236, 255, 0.6);\n}.text-info.text-accent-4 {\n color: #7fe7ff !important;\n}.bg-info.bg-accent-4 {\n background-color: #7fe7ff !important;\n}.border-info.border-accent-4 {\n border: 1px solid #7fe7ff !important;\n}.border-top-info.border-top-accent-4 {\n border-top: 1px solid #7fe7ff !important;\n}.border-bottom-info.border-bottom-accent-4 {\n border-bottom: 1px solid #7fe7ff !important;\n}.border-left-info.border-left-accent-4 {\n border-left: 1px solid #7fe7ff !important;\n}.border-right-info.border-right-accent-4 {\n border-right: 1px solid #7fe7ff !important;\n}.overlay-info.overlay-accent-4 {\n background: #7fe7ff; /* The Fallback */\n background: rgba(127, 231, 255, 0.6);\n}.text-warning.text-lighten-5 {\n color: #ffe0c3 !important;\n}.bg-warning.bg-lighten-5 {\n background-color: #ffe0c3 !important;\n}.border-warning.border-lighten-5 {\n border: 1px solid #ffe0c3 !important;\n}.border-top-warning.border-top-lighten-5 {\n border-top: 1px solid #ffe0c3 !important;\n}.border-bottom-warning.border-bottom-lighten-5 {\n border-bottom: 1px solid #ffe0c3 !important;\n}.border-left-warning.border-left-lighten-5 {\n border-left: 1px solid #ffe0c3 !important;\n}.border-right-warning.border-right-lighten-5 {\n border-right: 1px solid #ffe0c3 !important;\n}.overlay-warning.overlay-lighten-5 {\n background: #ffe0c3; /* The Fallback */\n background: rgba(255, 224, 195, 0.6);\n}.text-warning.text-lighten-4 {\n color: #ffd3a9 !important;\n}.bg-warning.bg-lighten-4 {\n background-color: #ffd3a9 !important;\n}.border-warning.border-lighten-4 {\n border: 1px solid #ffd3a9 !important;\n}.border-top-warning.border-top-lighten-4 {\n border-top: 1px solid #ffd3a9 !important;\n}.border-bottom-warning.border-bottom-lighten-4 {\n border-bottom: 1px solid #ffd3a9 !important;\n}.border-left-warning.border-left-lighten-4 {\n border-left: 1px solid #ffd3a9 !important;\n}.border-right-warning.border-right-lighten-4 {\n border-right: 1px solid #ffd3a9 !important;\n}.overlay-warning.overlay-lighten-4 {\n background: #ffd3a9; /* The Fallback */\n background: rgba(255, 211, 169, 0.6);\n}.text-warning.text-lighten-3 {\n color: #ffc690 !important;\n}.bg-warning.bg-lighten-3 {\n background-color: #ffc690 !important;\n}.border-warning.border-lighten-3 {\n border: 1px solid #ffc690 !important;\n}.border-top-warning.border-top-lighten-3 {\n border-top: 1px solid #ffc690 !important;\n}.border-bottom-warning.border-bottom-lighten-3 {\n border-bottom: 1px solid #ffc690 !important;\n}.border-left-warning.border-left-lighten-3 {\n border-left: 1px solid #ffc690 !important;\n}.border-right-warning.border-right-lighten-3 {\n border-right: 1px solid #ffc690 !important;\n}.overlay-warning.overlay-lighten-3 {\n background: #ffc690; /* The Fallback */\n background: rgba(255, 198, 144, 0.6);\n}.text-warning.text-lighten-2 {\n color: #ffb976 !important;\n}.bg-warning.bg-lighten-2 {\n background-color: #ffb976 !important;\n}.border-warning.border-lighten-2 {\n border: 1px solid #ffb976 !important;\n}.border-top-warning.border-top-lighten-2 {\n border-top: 1px solid #ffb976 !important;\n}.border-bottom-warning.border-bottom-lighten-2 {\n border-bottom: 1px solid #ffb976 !important;\n}.border-left-warning.border-left-lighten-2 {\n border-left: 1px solid #ffb976 !important;\n}.border-right-warning.border-right-lighten-2 {\n border-right: 1px solid #ffb976 !important;\n}.overlay-warning.overlay-lighten-2 {\n background: #ffb976; /* The Fallback */\n background: rgba(255, 185, 118, 0.6);\n}.text-warning.text-lighten-1 {\n color: #ffac5d !important;\n}.bg-warning.bg-lighten-1 {\n background-color: #ffac5d !important;\n}.border-warning.border-lighten-1 {\n border: 1px solid #ffac5d !important;\n}.border-top-warning.border-top-lighten-1 {\n border-top: 1px solid #ffac5d !important;\n}.border-bottom-warning.border-bottom-lighten-1 {\n border-bottom: 1px solid #ffac5d !important;\n}.border-left-warning.border-left-lighten-1 {\n border-left: 1px solid #ffac5d !important;\n}.border-right-warning.border-right-lighten-1 {\n border-right: 1px solid #ffac5d !important;\n}.overlay-warning.overlay-lighten-1 {\n background: #ffac5d; /* The Fallback */\n background: rgba(255, 172, 93, 0.6);\n}.bg-warning {\n background-color: #ff9f43 !important;\n}.bg-warning .card-header,\n.bg-warning .card-footer {\n background-color: transparent;\n}.alert-warning {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}.alert-warning .alert-heading {\n box-shadow: rgba(255, 159, 67, 0.4) 0px 6px 15px -7px;\n}.alert-warning .alert-link {\n color: #ff922a !important;\n}.alert-warning .close {\n color: #ff9f43 !important;\n}.bg-light-warning {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}.bg-light-warning.fc-h-event, .bg-light-warning.fc-v-event {\n border-color: rgba(255, 159, 67, 0.1);\n}.bg-light-warning .fc-list-event-dot,\n.bg-light-warning .fc-daygrid-event-dot {\n border-color: #ff9f43 !important;\n}.bg-light-warning.fc-list-event:hover td {\n background: rgba(255, 159, 67, 0.1) !important;\n}.bg-light-warning.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}.avatar.bg-light-warning {\n color: #ff9f43 !important;\n}.border-warning {\n border: 1px solid #ff9f43 !important;\n}.border-top-warning {\n border-top: 1px solid #ff9f43;\n}.border-bottom-warning {\n border-bottom: 1px solid #ff9f43;\n}.border-left-warning {\n border-left: 1px solid #ff9f43;\n}.border-right-warning {\n border-right: 1px solid #ff9f43;\n}.bg-warning.badge-glow,\n.border-warning.badge-glow,\n.badge-warning.badge-glow {\n box-shadow: 0px 0px 10px #ff9f43;\n}.badge.badge-light-warning {\n background-color: rgba(255, 159, 67, 0.12);\n color: #ff9f43 !important;\n}.overlay-warning {\n background: #ff9f43; /* The Fallback */\n background: rgba(255, 159, 67, 0.6);\n}.btn-warning {\n border-color: #ff9f43 !important;\n background-color: #ff9f43 !important;\n color: #fff !important;\n}.btn-warning:focus, .btn-warning:active, .btn-warning.active {\n color: #fff;\n background-color: #ff922a !important;\n}.btn-warning:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ff9f43;\n}.btn-warning:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-warning {\n background-color: transparent;\n color: #ff9f43;\n}.btn-flat-warning:hover {\n color: #ff9f43;\n}.btn-flat-warning:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.12);\n}.btn-flat-warning:active, .btn-flat-warning.active, .btn-flat-warning:focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}.btn-flat-warning.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-warning {\n background-color: #ff9f43;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-warning:hover:not(.disabled):not(:disabled) {\n background-color: #ffac5d;\n}.btn-relief-warning:active, .btn-relief-warning.active, .btn-relief-warning:focus {\n background-color: #ff922a;\n}.btn-relief-warning:hover {\n color: #fff;\n}.btn-relief-warning:active, .btn-relief-warning.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-warning {\n border: 1px solid #ff9f43 !important;\n background-color: transparent;\n color: #ff9f43;\n}.btn-outline-warning:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.04);\n color: #ff9f43;\n}.btn-outline-warning:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, .btn-outline-warning:not(:disabled):not(.disabled):focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}.btn-outline-warning.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show > .btn-outline-warning.dropdown-toggle {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}.btn-outline-warning.waves-effect .waves-ripple,\n.btn-flat-warning.waves-effect .waves-ripple {\n background: radial-gradient(rgba(255, 159, 67, 0.2) 0, rgba(255, 159, 67, 0.3) 40%, rgba(255, 159, 67, 0.4) 50%, rgba(255, 159, 67, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-warning {\n background-color: #ff9f43;\n}.modal.modal-warning .modal-header .modal-title {\n color: #ff9f43;\n}.modal.modal-warning .modal-header .close {\n color: #ff9f43 !important;\n}.pagination-warning .page-item.active .page-link {\n background: #ff9f43 !important;\n color: #fff;\n}.pagination-warning .page-item.active .page-link:hover {\n color: #fff;\n}.pagination-warning .page-item .page-link:hover {\n color: #ff9f43;\n}.pagination-warning .page-item.prev-item .page-link:hover, .pagination-warning .page-item.next-item .page-link:hover {\n background: #ff9f43;\n color: #fff;\n}.pagination-warning .page-item.next-item .page-link:active:after, .pagination-warning .page-item.next-item .page-link:hover:after, .pagination-warning .page-item.next .page-link:active:after, .pagination-warning .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-warning .page-item.prev-item .page-link:active:before, .pagination-warning .page-item.prev-item .page-link:hover:before, .pagination-warning .page-item.prev .page-link:active:before, .pagination-warning .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-warning .nav-item .nav-link.active {\n color: #fff;\n background-color: #ff9f43 !important;\n border-color: #ff9f43;\n box-shadow: 0 4px 18px -4px rgba(255, 159, 67, 0.65);\n}.progress-bar-warning {\n background-color: rgba(255, 159, 67, 0.12);\n}.progress-bar-warning .progress-bar {\n background-color: #ff9f43;\n}.timeline .timeline-point-warning {\n border-color: #ff9f43 !important;\n}.timeline .timeline-point-warning i,\n.timeline .timeline-point-warning svg {\n stroke: #ff9f43 !important;\n}.timeline .timeline-point-warning.timeline-point-indicator {\n background-color: #ff9f43 !important;\n}.timeline .timeline-point-warning.timeline-point-indicator:before {\n background: rgba(255, 159, 67, 0.12) !important;\n}.divider.divider-warning .divider-text:before, .divider.divider-warning .divider-text:after {\n border-color: #ff9f43 !important;\n}input:focus ~ .bg-warning {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ff9f43 !important;\n}.custom-control-warning .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning .custom-control-input:active ~ .custom-control-label::before {\n border-color: #ff9f43;\n background-color: #ff9f43;\n}.custom-control-warning.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-warning.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-warning.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-warning.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(255, 159, 67, 0.4) !important;\n}.custom-control-warning .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(255, 159, 67, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-warning .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #ff9f43 !important;\n}.custom-switch-warning .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #ff9f43 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-warning .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #ff9f43 !important;\n border-color: #ff9f43 !important;\n}.text-warning.text-darken-1 {\n color: #ff922a !important;\n}.bg-warning.bg-darken-1 {\n background-color: #ff922a !important;\n}.border-warning.border-darken-1 {\n border: 1px solid #ff922a !important;\n}.border-top-warning.border-top-darken-1 {\n border-top: 1px solid #ff922a !important;\n}.border-bottom-warning.border-bottom-darken-1 {\n border-bottom: 1px solid #ff922a !important;\n}.border-left-warning.border-left-darken-1 {\n border-left: 1px solid #ff922a !important;\n}.border-right-warning.border-right-darken-1 {\n border-right: 1px solid #ff922a !important;\n}.overlay-warning.overlay-darken-1 {\n background: #ff922a; /* The Fallback */\n background: rgba(255, 146, 42, 0.6);\n}.text-warning.text-darken-2 {\n color: #ff8510 !important;\n}.bg-warning.bg-darken-2 {\n background-color: #ff8510 !important;\n}.border-warning.border-darken-2 {\n border: 1px solid #ff8510 !important;\n}.border-top-warning.border-top-darken-2 {\n border-top: 1px solid #ff8510 !important;\n}.border-bottom-warning.border-bottom-darken-2 {\n border-bottom: 1px solid #ff8510 !important;\n}.border-left-warning.border-left-darken-2 {\n border-left: 1px solid #ff8510 !important;\n}.border-right-warning.border-right-darken-2 {\n border-right: 1px solid #ff8510 !important;\n}.overlay-warning.overlay-darken-2 {\n background: #ff8510; /* The Fallback */\n background: rgba(255, 133, 16, 0.6);\n}.text-warning.text-darken-3 {\n color: #f67800 !important;\n}.bg-warning.bg-darken-3 {\n background-color: #f67800 !important;\n}.border-warning.border-darken-3 {\n border: 1px solid #f67800 !important;\n}.border-top-warning.border-top-darken-3 {\n border-top: 1px solid #f67800 !important;\n}.border-bottom-warning.border-bottom-darken-3 {\n border-bottom: 1px solid #f67800 !important;\n}.border-left-warning.border-left-darken-3 {\n border-left: 1px solid #f67800 !important;\n}.border-right-warning.border-right-darken-3 {\n border-right: 1px solid #f67800 !important;\n}.overlay-warning.overlay-darken-3 {\n background: #f67800; /* The Fallback */\n background: rgba(246, 120, 0, 0.6);\n}.text-warning.text-darken-4 {\n color: #dc6c00 !important;\n}.bg-warning.bg-darken-4 {\n background-color: #dc6c00 !important;\n}.border-warning.border-darken-4 {\n border: 1px solid #dc6c00 !important;\n}.border-top-warning.border-top-darken-4 {\n border-top: 1px solid #dc6c00 !important;\n}.border-bottom-warning.border-bottom-darken-4 {\n border-bottom: 1px solid #dc6c00 !important;\n}.border-left-warning.border-left-darken-4 {\n border-left: 1px solid #dc6c00 !important;\n}.border-right-warning.border-right-darken-4 {\n border-right: 1px solid #dc6c00 !important;\n}.overlay-warning.overlay-darken-4 {\n background: #dc6c00; /* The Fallback */\n background: rgba(220, 108, 0, 0.6);\n}.text-warning.text-accent-1 {\n color: #fff5ef !important;\n}.bg-warning.bg-accent-1 {\n background-color: #fff5ef !important;\n}.border-warning.border-accent-1 {\n border: 1px solid #fff5ef !important;\n}.border-top-warning.border-top-accent-1 {\n border-top: 1px solid #fff5ef !important;\n}.border-bottom-warning.border-bottom-accent-1 {\n border-bottom: 1px solid #fff5ef !important;\n}.border-left-warning.border-left-accent-1 {\n border-left: 1px solid #fff5ef !important;\n}.border-right-warning.border-right-accent-1 {\n border-right: 1px solid #fff5ef !important;\n}.overlay-warning.overlay-accent-1 {\n background: #fff5ef; /* The Fallback */\n background: rgba(255, 245, 239, 0.6);\n}.text-warning.text-accent-2 {\n color: #ffe5d8 !important;\n}.bg-warning.bg-accent-2 {\n background-color: #ffe5d8 !important;\n}.border-warning.border-accent-2 {\n border: 1px solid #ffe5d8 !important;\n}.border-top-warning.border-top-accent-2 {\n border-top: 1px solid #ffe5d8 !important;\n}.border-bottom-warning.border-bottom-accent-2 {\n border-bottom: 1px solid #ffe5d8 !important;\n}.border-left-warning.border-left-accent-2 {\n border-left: 1px solid #ffe5d8 !important;\n}.border-right-warning.border-right-accent-2 {\n border-right: 1px solid #ffe5d8 !important;\n}.overlay-warning.overlay-accent-2 {\n background: #ffe5d8; /* The Fallback */\n background: rgba(255, 229, 216, 0.6);\n}.text-warning.text-accent-3 {\n color: #fff6f3 !important;\n}.bg-warning.bg-accent-3 {\n background-color: #fff6f3 !important;\n}.border-warning.border-accent-3 {\n border: 1px solid #fff6f3 !important;\n}.border-top-warning.border-top-accent-3 {\n border-top: 1px solid #fff6f3 !important;\n}.border-bottom-warning.border-bottom-accent-3 {\n border-bottom: 1px solid #fff6f3 !important;\n}.border-left-warning.border-left-accent-3 {\n border-left: 1px solid #fff6f3 !important;\n}.border-right-warning.border-right-accent-3 {\n border-right: 1px solid #fff6f3 !important;\n}.overlay-warning.overlay-accent-3 {\n background: #fff6f3; /* The Fallback */\n background: rgba(255, 246, 243, 0.6);\n}.text-warning.text-accent-4 {\n color: #ffe3da !important;\n}.bg-warning.bg-accent-4 {\n background-color: #ffe3da !important;\n}.border-warning.border-accent-4 {\n border: 1px solid #ffe3da !important;\n}.border-top-warning.border-top-accent-4 {\n border-top: 1px solid #ffe3da !important;\n}.border-bottom-warning.border-bottom-accent-4 {\n border-bottom: 1px solid #ffe3da !important;\n}.border-left-warning.border-left-accent-4 {\n border-left: 1px solid #ffe3da !important;\n}.border-right-warning.border-right-accent-4 {\n border-right: 1px solid #ffe3da !important;\n}.overlay-warning.overlay-accent-4 {\n background: #ffe3da; /* The Fallback */\n background: rgba(255, 227, 218, 0.6);\n}.text-danger.text-lighten-5 {\n color: #f8c6c6 !important;\n}.bg-danger.bg-lighten-5 {\n background-color: #f8c6c6 !important;\n}.border-danger.border-lighten-5 {\n border: 1px solid #f8c6c6 !important;\n}.border-top-danger.border-top-lighten-5 {\n border-top: 1px solid #f8c6c6 !important;\n}.border-bottom-danger.border-bottom-lighten-5 {\n border-bottom: 1px solid #f8c6c6 !important;\n}.border-left-danger.border-left-lighten-5 {\n border-left: 1px solid #f8c6c6 !important;\n}.border-right-danger.border-right-lighten-5 {\n border-right: 1px solid #f8c6c6 !important;\n}.overlay-danger.overlay-lighten-5 {\n background: #f8c6c6; /* The Fallback */\n background: rgba(248, 198, 198, 0.6);\n}.text-danger.text-lighten-4 {\n color: #f5afaf !important;\n}.bg-danger.bg-lighten-4 {\n background-color: #f5afaf !important;\n}.border-danger.border-lighten-4 {\n border: 1px solid #f5afaf !important;\n}.border-top-danger.border-top-lighten-4 {\n border-top: 1px solid #f5afaf !important;\n}.border-bottom-danger.border-bottom-lighten-4 {\n border-bottom: 1px solid #f5afaf !important;\n}.border-left-danger.border-left-lighten-4 {\n border-left: 1px solid #f5afaf !important;\n}.border-right-danger.border-right-lighten-4 {\n border-right: 1px solid #f5afaf !important;\n}.overlay-danger.overlay-lighten-4 {\n background: #f5afaf; /* The Fallback */\n background: rgba(245, 175, 175, 0.6);\n}.text-danger.text-lighten-3 {\n color: #f29899 !important;\n}.bg-danger.bg-lighten-3 {\n background-color: #f29899 !important;\n}.border-danger.border-lighten-3 {\n border: 1px solid #f29899 !important;\n}.border-top-danger.border-top-lighten-3 {\n border-top: 1px solid #f29899 !important;\n}.border-bottom-danger.border-bottom-lighten-3 {\n border-bottom: 1px solid #f29899 !important;\n}.border-left-danger.border-left-lighten-3 {\n border-left: 1px solid #f29899 !important;\n}.border-right-danger.border-right-lighten-3 {\n border-right: 1px solid #f29899 !important;\n}.overlay-danger.overlay-lighten-3 {\n background: #f29899; /* The Fallback */\n background: rgba(242, 152, 153, 0.6);\n}.text-danger.text-lighten-2 {\n color: #f08182 !important;\n}.bg-danger.bg-lighten-2 {\n background-color: #f08182 !important;\n}.border-danger.border-lighten-2 {\n border: 1px solid #f08182 !important;\n}.border-top-danger.border-top-lighten-2 {\n border-top: 1px solid #f08182 !important;\n}.border-bottom-danger.border-bottom-lighten-2 {\n border-bottom: 1px solid #f08182 !important;\n}.border-left-danger.border-left-lighten-2 {\n border-left: 1px solid #f08182 !important;\n}.border-right-danger.border-right-lighten-2 {\n border-right: 1px solid #f08182 !important;\n}.overlay-danger.overlay-lighten-2 {\n background: #f08182; /* The Fallback */\n background: rgba(240, 129, 130, 0.6);\n}.text-danger.text-lighten-1 {\n color: #ed6b6c !important;\n}.bg-danger.bg-lighten-1 {\n background-color: #ed6b6c !important;\n}.border-danger.border-lighten-1 {\n border: 1px solid #ed6b6c !important;\n}.border-top-danger.border-top-lighten-1 {\n border-top: 1px solid #ed6b6c !important;\n}.border-bottom-danger.border-bottom-lighten-1 {\n border-bottom: 1px solid #ed6b6c !important;\n}.border-left-danger.border-left-lighten-1 {\n border-left: 1px solid #ed6b6c !important;\n}.border-right-danger.border-right-lighten-1 {\n border-right: 1px solid #ed6b6c !important;\n}.overlay-danger.overlay-lighten-1 {\n background: #ed6b6c; /* The Fallback */\n background: rgba(237, 107, 108, 0.6);\n}.bg-danger {\n background-color: #ea5455 !important;\n}.bg-danger .card-header,\n.bg-danger .card-footer {\n background-color: transparent;\n}.alert-danger {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}.alert-danger .alert-heading {\n box-shadow: rgba(234, 84, 85, 0.4) 0px 6px 15px -7px;\n}.alert-danger .alert-link {\n color: #e73d3e !important;\n}.alert-danger .close {\n color: #ea5455 !important;\n}.bg-light-danger {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}.bg-light-danger.fc-h-event, .bg-light-danger.fc-v-event {\n border-color: rgba(234, 84, 85, 0.1);\n}.bg-light-danger .fc-list-event-dot,\n.bg-light-danger .fc-daygrid-event-dot {\n border-color: #ea5455 !important;\n}.bg-light-danger.fc-list-event:hover td {\n background: rgba(234, 84, 85, 0.1) !important;\n}.bg-light-danger.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}.avatar.bg-light-danger {\n color: #ea5455 !important;\n}.border-danger {\n border: 1px solid #ea5455 !important;\n}.border-top-danger {\n border-top: 1px solid #ea5455;\n}.border-bottom-danger {\n border-bottom: 1px solid #ea5455;\n}.border-left-danger {\n border-left: 1px solid #ea5455;\n}.border-right-danger {\n border-right: 1px solid #ea5455;\n}.bg-danger.badge-glow,\n.border-danger.badge-glow,\n.badge-danger.badge-glow {\n box-shadow: 0px 0px 10px #ea5455;\n}.badge.badge-light-danger {\n background-color: rgba(234, 84, 85, 0.12);\n color: #ea5455 !important;\n}.overlay-danger {\n background: #ea5455; /* The Fallback */\n background: rgba(234, 84, 85, 0.6);\n}.btn-danger {\n border-color: #ea5455 !important;\n background-color: #ea5455 !important;\n color: #fff !important;\n}.btn-danger:focus, .btn-danger:active, .btn-danger.active {\n color: #fff;\n background-color: #e73d3e !important;\n}.btn-danger:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ea5455;\n}.btn-danger:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-danger {\n background-color: transparent;\n color: #ea5455;\n}.btn-flat-danger:hover {\n color: #ea5455;\n}.btn-flat-danger:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.12);\n}.btn-flat-danger:active, .btn-flat-danger.active, .btn-flat-danger:focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}.btn-flat-danger.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-danger {\n background-color: #ea5455;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-danger:hover:not(.disabled):not(:disabled) {\n background-color: #ed6b6c;\n}.btn-relief-danger:active, .btn-relief-danger.active, .btn-relief-danger:focus {\n background-color: #e73d3e;\n}.btn-relief-danger:hover {\n color: #fff;\n}.btn-relief-danger:active, .btn-relief-danger.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-danger {\n border: 1px solid #ea5455 !important;\n background-color: transparent;\n color: #ea5455;\n}.btn-outline-danger:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.04);\n color: #ea5455;\n}.btn-outline-danger:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}.btn-outline-danger.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show > .btn-outline-danger.dropdown-toggle {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}.btn-outline-danger.waves-effect .waves-ripple,\n.btn-flat-danger.waves-effect .waves-ripple {\n background: radial-gradient(rgba(234, 84, 85, 0.2) 0, rgba(234, 84, 85, 0.3) 40%, rgba(234, 84, 85, 0.4) 50%, rgba(234, 84, 85, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-danger {\n background-color: #ea5455;\n}.modal.modal-danger .modal-header .modal-title {\n color: #ea5455;\n}.modal.modal-danger .modal-header .close {\n color: #ea5455 !important;\n}.pagination-danger .page-item.active .page-link {\n background: #ea5455 !important;\n color: #fff;\n}.pagination-danger .page-item.active .page-link:hover {\n color: #fff;\n}.pagination-danger .page-item .page-link:hover {\n color: #ea5455;\n}.pagination-danger .page-item.prev-item .page-link:hover, .pagination-danger .page-item.next-item .page-link:hover {\n background: #ea5455;\n color: #fff;\n}.pagination-danger .page-item.next-item .page-link:active:after, .pagination-danger .page-item.next-item .page-link:hover:after, .pagination-danger .page-item.next .page-link:active:after, .pagination-danger .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-danger .page-item.prev-item .page-link:active:before, .pagination-danger .page-item.prev-item .page-link:hover:before, .pagination-danger .page-item.prev .page-link:active:before, .pagination-danger .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-danger .nav-item .nav-link.active {\n color: #fff;\n background-color: #ea5455 !important;\n border-color: #ea5455;\n box-shadow: 0 4px 18px -4px rgba(234, 84, 85, 0.65);\n}.progress-bar-danger {\n background-color: rgba(234, 84, 85, 0.12);\n}.progress-bar-danger .progress-bar {\n background-color: #ea5455;\n}.timeline .timeline-point-danger {\n border-color: #ea5455 !important;\n}.timeline .timeline-point-danger i,\n.timeline .timeline-point-danger svg {\n stroke: #ea5455 !important;\n}.timeline .timeline-point-danger.timeline-point-indicator {\n background-color: #ea5455 !important;\n}.timeline .timeline-point-danger.timeline-point-indicator:before {\n background: rgba(234, 84, 85, 0.12) !important;\n}.divider.divider-danger .divider-text:before, .divider.divider-danger .divider-text:after {\n border-color: #ea5455 !important;\n}input:focus ~ .bg-danger {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ea5455 !important;\n}.custom-control-danger .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger .custom-control-input:active ~ .custom-control-label::before {\n border-color: #ea5455;\n background-color: #ea5455;\n}.custom-control-danger.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-danger.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-danger.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-danger.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(234, 84, 85, 0.4) !important;\n}.custom-control-danger .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(234, 84, 85, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-danger .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #ea5455 !important;\n}.custom-switch-danger .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #ea5455 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-danger .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #ea5455 !important;\n border-color: #ea5455 !important;\n}.text-danger.text-darken-1 {\n color: #e73d3e !important;\n}.bg-danger.bg-darken-1 {\n background-color: #e73d3e !important;\n}.border-danger.border-darken-1 {\n border: 1px solid #e73d3e !important;\n}.border-top-danger.border-top-darken-1 {\n border-top: 1px solid #e73d3e !important;\n}.border-bottom-danger.border-bottom-darken-1 {\n border-bottom: 1px solid #e73d3e !important;\n}.border-left-danger.border-left-darken-1 {\n border-left: 1px solid #e73d3e !important;\n}.border-right-danger.border-right-darken-1 {\n border-right: 1px solid #e73d3e !important;\n}.overlay-danger.overlay-darken-1 {\n background: #e73d3e; /* The Fallback */\n background: rgba(231, 61, 62, 0.6);\n}.text-danger.text-darken-2 {\n color: #e42728 !important;\n}.bg-danger.bg-darken-2 {\n background-color: #e42728 !important;\n}.border-danger.border-darken-2 {\n border: 1px solid #e42728 !important;\n}.border-top-danger.border-top-darken-2 {\n border-top: 1px solid #e42728 !important;\n}.border-bottom-danger.border-bottom-darken-2 {\n border-bottom: 1px solid #e42728 !important;\n}.border-left-danger.border-left-darken-2 {\n border-left: 1px solid #e42728 !important;\n}.border-right-danger.border-right-darken-2 {\n border-right: 1px solid #e42728 !important;\n}.overlay-danger.overlay-darken-2 {\n background: #e42728; /* The Fallback */\n background: rgba(228, 39, 40, 0.6);\n}.text-danger.text-darken-3 {\n color: #d71a1c !important;\n}.bg-danger.bg-darken-3 {\n background-color: #d71a1c !important;\n}.border-danger.border-darken-3 {\n border: 1px solid #d71a1c !important;\n}.border-top-danger.border-top-darken-3 {\n border-top: 1px solid #d71a1c !important;\n}.border-bottom-danger.border-bottom-darken-3 {\n border-bottom: 1px solid #d71a1c !important;\n}.border-left-danger.border-left-darken-3 {\n border-left: 1px solid #d71a1c !important;\n}.border-right-danger.border-right-darken-3 {\n border-right: 1px solid #d71a1c !important;\n}.overlay-danger.overlay-darken-3 {\n background: #d71a1c; /* The Fallback */\n background: rgba(215, 26, 28, 0.6);\n}.text-danger.text-darken-4 {\n color: #c01819 !important;\n}.bg-danger.bg-darken-4 {\n background-color: #c01819 !important;\n}.border-danger.border-darken-4 {\n border: 1px solid #c01819 !important;\n}.border-top-danger.border-top-darken-4 {\n border-top: 1px solid #c01819 !important;\n}.border-bottom-danger.border-bottom-darken-4 {\n border-bottom: 1px solid #c01819 !important;\n}.border-left-danger.border-left-darken-4 {\n border-left: 1px solid #c01819 !important;\n}.border-right-danger.border-right-darken-4 {\n border-right: 1px solid #c01819 !important;\n}.overlay-danger.overlay-darken-4 {\n background: #c01819; /* The Fallback */\n background: rgba(192, 24, 25, 0.6);\n}.text-danger.text-accent-1 {\n color: #ffeef1 !important;\n}.bg-danger.bg-accent-1 {\n background-color: #ffeef1 !important;\n}.border-danger.border-accent-1 {\n border: 1px solid #ffeef1 !important;\n}.border-top-danger.border-top-accent-1 {\n border-top: 1px solid #ffeef1 !important;\n}.border-bottom-danger.border-bottom-accent-1 {\n border-bottom: 1px solid #ffeef1 !important;\n}.border-left-danger.border-left-accent-1 {\n border-left: 1px solid #ffeef1 !important;\n}.border-right-danger.border-right-accent-1 {\n border-right: 1px solid #ffeef1 !important;\n}.overlay-danger.overlay-accent-1 {\n background: #ffeef1; /* The Fallback */\n background: rgba(255, 238, 241, 0.6);\n}.text-danger.text-accent-2 {\n color: #ffd6db !important;\n}.bg-danger.bg-accent-2 {\n background-color: #ffd6db !important;\n}.border-danger.border-accent-2 {\n border: 1px solid #ffd6db !important;\n}.border-top-danger.border-top-accent-2 {\n border-top: 1px solid #ffd6db !important;\n}.border-bottom-danger.border-bottom-accent-2 {\n border-bottom: 1px solid #ffd6db !important;\n}.border-left-danger.border-left-accent-2 {\n border-left: 1px solid #ffd6db !important;\n}.border-right-danger.border-right-accent-2 {\n border-right: 1px solid #ffd6db !important;\n}.overlay-danger.overlay-accent-2 {\n background: #ffd6db; /* The Fallback */\n background: rgba(255, 214, 219, 0.6);\n}.text-danger.text-accent-3 {\n color: #ffecee !important;\n}.bg-danger.bg-accent-3 {\n background-color: #ffecee !important;\n}.border-danger.border-accent-3 {\n border: 1px solid #ffecee !important;\n}.border-top-danger.border-top-accent-3 {\n border-top: 1px solid #ffecee !important;\n}.border-bottom-danger.border-bottom-accent-3 {\n border-bottom: 1px solid #ffecee !important;\n}.border-left-danger.border-left-accent-3 {\n border-left: 1px solid #ffecee !important;\n}.border-right-danger.border-right-accent-3 {\n border-right: 1px solid #ffecee !important;\n}.overlay-danger.overlay-accent-3 {\n background: #ffecee; /* The Fallback */\n background: rgba(255, 236, 238, 0.6);\n}.text-danger.text-accent-4 {\n color: #ffd3d7 !important;\n}.bg-danger.bg-accent-4 {\n background-color: #ffd3d7 !important;\n}.border-danger.border-accent-4 {\n border: 1px solid #ffd3d7 !important;\n}.border-top-danger.border-top-accent-4 {\n border-top: 1px solid #ffd3d7 !important;\n}.border-bottom-danger.border-bottom-accent-4 {\n border-bottom: 1px solid #ffd3d7 !important;\n}.border-left-danger.border-left-accent-4 {\n border-left: 1px solid #ffd3d7 !important;\n}.border-right-danger.border-right-accent-4 {\n border-right: 1px solid #ffd3d7 !important;\n}.overlay-danger.overlay-accent-4 {\n background: #ffd3d7; /* The Fallback */\n background: rgba(255, 211, 215, 0.6);\n}.bg-gradient-dark,\n.btn-gradient-dark {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #4b4b4b, #1e1e1e);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.dark-layout .bg-gradient-dark,\n.dark-layout .btn-gradient-dark {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-dark:hover, .bg-gradient-dark:active,\n.btn-gradient-dark:hover,\n.btn-gradient-dark:active {\n color: #fff;\n}.bg-gradient-dark:hover:not(.disabled):not(:disabled),\n.btn-gradient-dark:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-dark:active,\n.btn-gradient-dark:active {\n transform: translateY(0);\n}.bg-gradient-dark:active, .bg-gradient-dark:focus,\n.btn-gradient-dark:active,\n.btn-gradient-dark:focus {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-primary,\n.btn-gradient-primary {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #7367f0, #9e95f5);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-primary:hover, .bg-gradient-primary:active,\n.btn-gradient-primary:hover,\n.btn-gradient-primary:active {\n color: #fff;\n}.bg-gradient-primary:hover:not(.disabled):not(:disabled),\n.btn-gradient-primary:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-primary:active,\n.btn-gradient-primary:active {\n transform: translateY(0);\n}.bg-gradient-primary:active, .bg-gradient-primary:focus,\n.btn-gradient-primary:active,\n.btn-gradient-primary:focus {\n background-image: linear-gradient(47deg, #4839eb, #7367f0);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-secondary,\n.btn-gradient-secondary {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #82868b, #9ca0a4);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-secondary:hover, .bg-gradient-secondary:active,\n.btn-gradient-secondary:hover,\n.btn-gradient-secondary:active {\n color: #fff;\n}.bg-gradient-secondary:hover:not(.disabled):not(:disabled),\n.btn-gradient-secondary:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-secondary:active,\n.btn-gradient-secondary:active {\n transform: translateY(0);\n}.bg-gradient-secondary:active, .bg-gradient-secondary:focus,\n.btn-gradient-secondary:active,\n.btn-gradient-secondary:focus {\n background-image: linear-gradient(47deg, #696d71, #82868b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-success,\n.btn-gradient-success {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #28c76f, #48da89);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-success:hover, .bg-gradient-success:active,\n.btn-gradient-success:hover,\n.btn-gradient-success:active {\n color: #fff;\n}.bg-gradient-success:hover:not(.disabled):not(:disabled),\n.btn-gradient-success:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-success:active,\n.btn-gradient-success:active {\n transform: translateY(0);\n}.bg-gradient-success:active, .bg-gradient-success:focus,\n.btn-gradient-success:active,\n.btn-gradient-success:focus {\n background-image: linear-gradient(47deg, #1f9d57, #28c76f);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-info,\n.btn-gradient-info {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #00cfe8, #1ce7ff);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-info:hover, .bg-gradient-info:active,\n.btn-gradient-info:hover,\n.btn-gradient-info:active {\n color: #fff;\n}.bg-gradient-info:hover:not(.disabled):not(:disabled),\n.btn-gradient-info:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-info:active,\n.btn-gradient-info:active {\n transform: translateY(0);\n}.bg-gradient-info:active, .bg-gradient-info:focus,\n.btn-gradient-info:active,\n.btn-gradient-info:focus {\n background-image: linear-gradient(47deg, #00a1b5, #00cfe8);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-warning,\n.btn-gradient-warning {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ff9f43, #ffb976);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-warning:hover, .bg-gradient-warning:active,\n.btn-gradient-warning:hover,\n.btn-gradient-warning:active {\n color: #fff;\n}.bg-gradient-warning:hover:not(.disabled):not(:disabled),\n.btn-gradient-warning:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-warning:active,\n.btn-gradient-warning:active {\n transform: translateY(0);\n}.bg-gradient-warning:active, .bg-gradient-warning:focus,\n.btn-gradient-warning:active,\n.btn-gradient-warning:focus {\n background-image: linear-gradient(47deg, #ff8510, #ff9f43);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-danger,\n.btn-gradient-danger {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ea5455, #f08182);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-danger:hover, .bg-gradient-danger:active,\n.btn-gradient-danger:hover,\n.btn-gradient-danger:active {\n color: #fff;\n}.bg-gradient-danger:hover:not(.disabled):not(:disabled),\n.btn-gradient-danger:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-danger:active,\n.btn-gradient-danger:active {\n transform: translateY(0);\n}.bg-gradient-danger:active, .bg-gradient-danger:focus,\n.btn-gradient-danger:active,\n.btn-gradient-danger:focus {\n background-image: linear-gradient(47deg, #e42728, #ea5455);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.ng-select.ng-select-focused {\n outline: 0;\n box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1);\n}.ng-select.ng-select-focused .ng-select-container {\n border-color: #7367f0 !important;\n z-index: 2000 !important;\n box-shadow: none !important;\n color: #6e6b7b !important;\n min-height: 38px !important;\n}.ng-select .ng-select-container {\n color: #6e6b7b !important;\n min-height: 38px !important;\n}.ng-select.error .ng-select-container {\n border-color: #ea5455 !important;\n}.ng-select.ng-select-multiple .ng-value {\n background-color: #7367f0 !important;\n color: #fff;\n border: none !important;\n font-size: 0.8rem !important;\n border-radius: 4px !important;\n display: flex;\n align-items: center;\n}.ng-select.ng-select-multiple .ng-value .ng-value-icon.right {\n border: 0 !important;\n}.ng-select.ng-select-multiple .ng-value .ng-value-icon.left {\n border: 0 !important;\n}.ng-select.ng-select-multiple .ng-value .ng-value-icon:hover {\n background-color: transparent !important;\n}.ng-select.ng-select-multiple .ng-value .ng-value-icon.left {\n font-size: 1.1rem !important;\n}.ng-select.ng-select-multiple .ng-value .ng-value-icon.right {\n font-size: 1.1rem !important;\n}.ng-select.ng-select-multiple .ng-select-container .ng-placeholder {\n top: 8px !important;\n}.ng-select.ng-select-size-lg .ng-select-container {\n min-height: 48px;\n font-size: 1.2rem !important;\n}.ng-select.ng-select-size-lg .ng-select-container .ng-value {\n font-size: 1.2rem !important;\n padding: 7px;\n}.ng-select.ng-select-size-lg .ng-select-container .ng-value .ng-value-icon.left {\n font-size: 1.1rem !important;\n}.ng-select.ng-select-size-lg .ng-select-container .ng-value .ng-value-icon.right {\n font-size: 1.1rem !important;\n}.ng-select.ng-select-size-lg .ng-select-container .ng-clear-wrapper {\n height: 22px !important;\n}.ng-select.ng-select-size-sm .ng-select-container {\n min-height: 28px !important;\n font-size: 0.75rem;\n}.ng-select.ng-select-size-sm .ng-select-container .ng-value {\n padding: 0px;\n font-size: 0.9em !important;\n}.ng-select.ng-select-size-sm .ng-select-container .ng-value .ng-value-icon.left {\n font-size: 0.9em !important;\n}.ng-select.ng-select-size-sm .ng-select-container .ng-value .ng-value-icon.right {\n font-size: 0.9em !important;\n}.ng-select .ng-option.ng-option-selected {\n background-color: #7367f0 !important;\n color: #fff !important;\n}.ng-select .ng-option.ng-option-selected.ng-option-marked {\n background-color: #7367f0 !important;\n color: #fff !important;\n}.ng-select .ng-option.ng-option-selected .ng-option-label {\n font-weight: inherit !important;\n}.ng-select .ng-option.ng-option-marked {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}.ng-select .ng-option.ng-option-disabled {\n color: #b9b9c3 !important;\n}.ng-select .ng-arrow {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaBAMAAABbZFH9AAAAG1BMVEUAAACRkZGRkZGSkpKRkZGSkpKSkpKRkZGRkZHLso+9AAAACHRSTlMA+1JoWo0vLFQDmmkAAABlSURBVBjTY6ALSACTbBAOazOYsggAUxEdBkCSuaMVxGGX6BABUo4djQUgrmJHhwFQqkMIrJJJoqOZwaKjUQHIhkg6g6QggEWiQ7Cj0QHIgkpCpaA6wbrgkiAphKSgArJTXRhoBgB9GRPswyvBqAAAAABJRU5ErkJggg==\");\n background-size: 12px 12px, 10px 10px;\n background-repeat: no-repeat;\n height: 0.8rem !important;\n padding-right: 1.5rem;\n margin-left: 0;\n margin-top: 0;\n left: 0;\n border-style: none !important;\n}.ng-select.ng-select-opened > .ng-select-container .ng-arrow {\n top: 0px !important;\n}.ng-select .ng-clear-wrapper {\n height: 18px;\n}.dark-layout .ng-select-container {\n background-color: #283046;\n border-color: #3b4253;\n color: #676d7d;\n}.dark-layout .ng-select-container .ng-placeholder {\n color: #676d7d !important;\n}.dark-layout .ng-select.ng-select-multiple .ng-value {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}.dark-layout .ng-dropdown-header {\n background-color: #161d31;\n border-color: #3b4253;\n}.dark-layout .ng-dropdown-footer {\n background-color: #161d31;\n border-color: #3b4253;\n}.dark-layout .ng-select.ng-select-opened > .ng-select-container {\n background-color: #161d31;\n}.dark-layout .ng-option {\n background-color: #283046 !important;\n color: #b4b7bd !important;\n}.dark-layout .ng-option.ng-option-disabled {\n color: #676d7d !important;\n}.dark-layout ng-dropdown-panel {\n border-color: #3b4253 !important;\n}.dark-layout ng-dropdown-panel .ng-dropdown-panel-items {\n background-color: #161d31 !important;\n}.dark-layout ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n color: #676d7d !important;\n}\r\n/*# sourceMappingURL=install.component.scss.map */"], encapsulation: 2 }); } /***/ }), /***/ 99411: /*!****************************************************************!*\ !*** ./src/app/main/views/applications/list/list.component.ts ***! \****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ListComponent": () => (/* binding */ ListComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @core/pipes/initials.pipe */ 16516); function ListComponent_div_0_ng_template_30_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "img", 39); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { const row_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpropertyInterpolate"]("src", row_r13.avatar, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeUrl"]); } } const _c0 = function (a0, a1) { return { "bg-light-success": a0, "bg-light-danger": a1 }; }; function ListComponent_div_0_ng_template_30_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 40)(1, "div", 41); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](3, "initials"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction2"](4, _c0, row_r13.esta == "1", row_r13.esta == "0")); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](3, 2, row_r13.nombre.toUpperCase())); } } function ListComponent_div_0_ng_template_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](1, ListComponent_div_0_ng_template_30_div_1_Template, 2, 1, "div", 34); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](2, ListComponent_div_0_ng_template_30_ng_template_2_Template, 4, 7, "ng-template", null, 35, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "div", 36)(5, "span", 37); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](7, "span", 38); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](9, "date"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r13 = ctx.row; const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](3); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r13.length > 0)("ngIfElse", _r16); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate"](row_r13.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind2"](9, 4, row_r13.fecha, "dd-MM-yyyy"), ""); } } function ListComponent_div_0_ng_template_32_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div")(1, "span", 42); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r20 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate1"](" ", row_r20.rama, " "); } } function ListComponent_div_0_ng_template_34_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div")(1, "span", 42); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r21 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate1"](" ", row_r21.proyecto, " "); } } function ListComponent_div_0_ng_template_36_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div")(1, "span", 42); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r22 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate2"](" https://", row_r22.origen, "/", row_r22.proyecto, " "); } } function ListComponent_div_0_ng_template_38_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div")(1, "span", 42); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const lenguaje_r23 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate1"]("", lenguaje_r23, " "); } } function ListComponent_div_0_ng_template_40_a_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "a", 49); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "span", 50); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, " Proyecto"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { const row_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("href", "https://" + row_r24.origen + "/" + row_r24.proyecto, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeUrl"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "aperture")("size", 16); } } function ListComponent_div_0_ng_template_40_a_5_Template(rf, ctx) { if (rf & 1) { const _r33 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "a", 51); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_div_0_ng_template_40_a_5_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r33); const row_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; const ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r32.Modal(_r5, row_r24)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "span", 50); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, " Fusionar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "git-merge")("size", 16); } } function ListComponent_div_0_ng_template_40_a_6_Template(rf, ctx) { if (rf & 1) { const _r37 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "a", 51); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_div_0_ng_template_40_a_6_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r37); const row_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r35.Clonar(row_r24)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "span", 50); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, " Clonar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "download-cloud")("size", 16); } } function ListComponent_div_0_ng_template_40_a_7_Template(rf, ctx) { if (rf & 1) { const _r40 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "a", 51); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_div_0_ng_template_40_a_7_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r40); const row_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r38.Pull(row_r24)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "span", 50); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, " Actualizar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "git-pull-request")("size", 16); } } function ListComponent_div_0_ng_template_40_a_8_Template(rf, ctx) { if (rf & 1) { const _r42 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "a", 51); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_div_0_ng_template_40_a_8_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r42); const row_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r41.ModalExePlay(_r1, row_r24)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "span", 50); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, " Ver Log"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "git-commit")("size", 16); } } function ListComponent_div_0_ng_template_40_a_9_Template(rf, ctx) { if (rf & 1) { const _r45 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "a", 51); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_div_0_ng_template_40_a_9_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r45); const row_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r44.ModalExeStatus(_r3, row_r24)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "span", 50); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, " Ver Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "info")("size", 16); } } function ListComponent_div_0_ng_template_40_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 43)(1, "button", 44); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](2, "span", 45); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](4, ListComponent_div_0_ng_template_40_a_4_Template, 3, 5, "a", 47); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](5, ListComponent_div_0_ng_template_40_a_5_Template, 3, 4, "a", 48); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](6, ListComponent_div_0_ng_template_40_a_6_Template, 3, 4, "a", 48); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](7, ListComponent_div_0_ng_template_40_a_7_Template, 3, 4, "a", 48); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](8, ListComponent_div_0_ng_template_40_a_8_Template, 3, 4, "a", 48); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](9, ListComponent_div_0_ng_template_40_a_9_Template, 3, 4, "a", 48); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r24 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r24.status == "1"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r24.rama.split(",").length > 1 && row_r24.status != "0"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r24.status == "0"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r24.status == "1"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r24.status != "0"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r24.status != "0"); } } function ListComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r48 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 4)(1, "div", 5); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](2, "app-content-header", 6); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "section", 7)(4, "div", 8)(5, "div", 9)(6, "div", 10)(7, "div", 11)(8, "div", 12)(9, "label", 12); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](11, "select", 13); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function ListComponent_div_0_Template_select_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r48); const ctx_r47 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r47.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](12, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](14, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](16, "option", 16); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](18, "option", 17); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](20, "div", 18)(21, "div", 19)(22, "div", 20)(23, "label", 21)(24, "input", 22); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function ListComponent_div_0_Template_input_ngModelChange_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r48); const ctx_r49 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r49.searchValue = $event); })("keyup", function ListComponent_div_0_Template_input_keyup_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r48); const ctx_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r50.filterUpdate($event)); })("search", function ListComponent_div_0_Template_input_search_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r48); const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r51.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](25, "div", 23)(26, "fieldset", 24)(27, "ng-select", 25); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("change", function ListComponent_div_0_Template_ng_select_change_27_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r48); const ctx_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r52.filterLenguaje($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](28, "ngx-datatable", 26)(29, "ngx-datatable-column", 27); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](30, ListComponent_div_0_ng_template_30_Template, 10, 7, "ng-template", 28); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](31, "ngx-datatable-column", 29); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](32, ListComponent_div_0_ng_template_32_Template, 3, 1, "ng-template", 28); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](33, "ngx-datatable-column", 30); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](34, ListComponent_div_0_ng_template_34_Template, 3, 1, "ng-template", 28); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](35, "ngx-datatable-column", 31); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](36, ListComponent_div_0_ng_template_36_Template, 3, 2, "ng-template", 28); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](37, "ngx-datatable-column", 32); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](38, ListComponent_div_0_ng_template_38_Template, 3, 1, "ng-template", 28); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](39, "ngx-datatable-column", 33); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](40, ListComponent_div_0_ng_template_40_Template, 10, 9, "ng-template", 28); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](13); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r0.lenguaje); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("rows", ctx_r0.rowData)("rowHeight", 58)("limit", 10)("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 50); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 5)("sortable", false); } } function ListComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { const _r55 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 52)(1, "h5", 53); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Visualizar Logs"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 54); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_ng_template_1_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r55); const modal_r53 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r53.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 55); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "div", 56)(7, "div", 57)(8, "div", 9)(9, "div", 58)(10, "div", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](11, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](12, "div", 61)(13, "button", 62); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_ng_template_1_Template_button_click_13_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r55); const modal_r53 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r53.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](14, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](11); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("innerHTML", ctx_r2.xrs, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeHtml"]); } } function ListComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) { const _r59 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 52)(1, "h5", 53); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 54); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_ng_template_3_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r59); const modal_r57 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r57.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 55); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "div", 56)(7, "div", 57)(8, "div", 9)(9, "div", 58)(10, "div", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](11, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](12, "div", 61)(13, "button", 62); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_ng_template_3_Template_button_click_13_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r59); const modal_r57 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r57.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](14, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate1"]("Visualizar Estatus del proyecto: ", ctx_r4.proyecto, ""); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("innerHTML", ctx_r4.xstatus, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeHtml"]); } } const _c1 = function () { return { standalone: true }; }; function ListComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) { const _r63 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 52)(1, "h5", 53); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Fusionar ramas \u00A1Mantengamos el c\u00F3digo limpio y seguro!"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 54); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_ng_template_5_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r63); const modal_r61 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r61.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 55); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "div", 56)(7, "div", 57)(8, "div", 63); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](9, " Importante: Revisar cambios antes de fusionar ramas "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](10, "br")(11, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](12, " Antes de fusionar cualquier rama, es fundamental visualizar y validar los cambios para garantizar la estabilidad del c\u00F3digo. Recuerda: "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](13, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](14, " - Rama destino: Es la rama donde se encuentra actualmente el c\u00F3digo (ej: develop). "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](15, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](16, " - Rama a fusionar (origen): Contiene los cambios que se integrar\u00E1n (ej: feature/nueva-funcionalidad). "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](17, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](18, " - Rama main: Solo debe recibir c\u00F3digo ya probado, ya que es la rama que se publica en producci\u00F3n. "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](19, "br")(20, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](21, " Pasos recomendados: "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](22, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](23, " 1. Usa git diff origen, destino o herramientas gr\u00E1ficas (GitHub/GitLab) para revisar diferencias. "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](24, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](25, " 2. Resuelve conflictos *antes* de fusionar. "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](26, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](27, " 3. Aseg\u00FArate de que la rama main siempre refleje una versi\u00F3n estable. "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](28, "br")(29, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](30, "div", 63)(31, "div", 64)(32, "input", 65); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function ListComponent_ng_template_5_Template_input_ngModelChange_32_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r63); const ctx_r64 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r64.mensaje = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](33, "div", 66)(34, "input", 67); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function ListComponent_ng_template_5_Template_input_ngModelChange_34_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r63); const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r65.origen = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](35, "div", 66)(36, "input", 68); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function ListComponent_ng_template_5_Template_input_ngModelChange_36_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r63); const ctx_r66 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r66.destino = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](37, "div", 61)(38, "button", 69); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_ng_template_5_Template_button_click_38_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r63); const ctx_r67 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r67.Merge()); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](39, "Fusionar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](40, "button", 62); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ListComponent_ng_template_5_Template_button_click_40_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r63); const modal_r61 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r61.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](41, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](32); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r6.mensaje)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](6, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r6.origen)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](7, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r6.destino)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](8, _c1)); } } class ListComponent { taskService; apiService; msjService; modalService; utilservice; table; blockUI; sectionBlockUI; xAPI = { funcion: "", parametros: "", relacional: false, concurrencia: false, protocolo: "", ruta: "", retorna: false, migrar: false, modulo: "", valores: {}, coleccion: "", http: 0, https: 0, consumidores: 0, puertohttp: 0, puertohttps: 0, driver: "", query: "", metodo: "", tipo: "", prioridad: "", entorno: "", logs: false }; pID = { id: "", estatus: false, mensaje: "", segundos: "", contenido: "" }; msj = "Cargardo!!! por favor espere..."; // Private xrs = ''; xstatus = ''; urlEnvironment = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment; ListaAplicaciones = []; tempData = []; rowData = []; lenguaje = [{ id: 1, name: "PHP" }, { id: 0, name: "TSC" }]; fnx; status = false; // public contentHeader; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.SelectionType; origen = ''; destino = ''; mensaje = ''; proyecto = ''; constructor(taskService, apiService, msjService, modalService, utilservice) { this.taskService = taskService; this.apiService = apiService; this.msjService = msjService; this.modalService = modalService; this.utilservice = utilservice; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this.CargarListaAplicaciones(); // this.sectionBlockUI.start('Loading...'); // this.sectionBlockUI.stop(); // content header _this.contentHeader = { headerTitle: "Aplicaciones", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Aplicaciones", isLink: false }, { name: "Versiones", isLink: false }] } }; })(); } ModalExePlay(modal, data) { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this2.verLogs(data); _this2.proyecto = data.proyecto; _this2.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); })(); } ModalExeStatus(modal, data) { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this3.verEstatus(data); _this3.proyecto = data.proyecto; _this3.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); })(); } Clonar(app) { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let nameFnx = "Fnx_GitCloneAll"; let ramas = ''; app.rama.split(',').forEach(e => { ramas += `"${e}" `; }); _this4.fnx = { funcion: nameFnx, usuario: app.usuario, token: app.clave, repositorio: app.repositorio, paquete: app.nombre, punto_montaje: app.puntoMontaje, proyecto: app.proyecto, rama: ramas }; // console.log(this.fnx) yield sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().fire({ title: `Va a clonar el proyecto
${app.proyecto} `, text: "Estó puede durar varios segundos, dependiendo de su conexión a internet!", icon: "warning", showCancelButton: true, confirmButtonColor: "#3085d6", cancelButtonText: "Cancelar", cancelButtonColor: "#d33", confirmButtonText: "Si, Clonar!" }).then(result => { if (result.isConfirmed) { _this4.apiService.ExecFnx(_this4.fnx).subscribe(data => { console.log(data); _this4.pID.id = data.contenido.id; _this4.pID.estatus = true; _this4.msjService.lstpid$.emit(_this4.pID); _this4.taskService.set(data.contenido.id, nameFnx, app.proyecto).then(e => { _this4.apiService.ConsultarPidRecursivo(data.contenido.id, app.origen + "|" + app.proyecto); }).catch(e => console.log(e)); _this4.xAPI.funcion = "_SYS_U_Aplicaciones"; _this4.xAPI.parametros = `${app.identificador},1`; _this4.rowData.push(_this4.ListaAplicaciones); _this4.apiService.Ejecutar(_this4.xAPI).subscribe(datax => { _this4.ListaAplicaciones = []; _this4.CargarListaAplicaciones(); }, error => { console.log(error); }); //this.apiService.ConsultarPidRecursivo(data.contenido.id, this.fnx) }, error => { console.log(error); }); } }); })(); } verLogs(app) { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this5.xrs = _this5.msj; let nameFnx = "Fnx_GitLog"; _this5.fnx = { funcion: nameFnx, proyecto: app.proyecto }; // console.log(this.fnx) yield _this5.apiService.ExecFnx(_this5.fnx).subscribe(data => { setTimeout(() => { _this5.apiService.ExecFnxId(data.contenido.id).subscribe(data => { // console.log(data.rs) _this5.xrs = data.rs; }, error => { console.log(error); }); }, 3000); }, error => { console.log(error); }); })(); } Pull(app) { var _this6 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let ramas = ''; app.rama.split(',').forEach(e => { ramas += `"${e}" `; }); let nameFnx = "Fnx_Actualizar"; _this6.fnx = { funcion: nameFnx, proyecto: app.proyecto, ramas: ramas }; yield sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().fire({ title: `Va a actualizar el proyecto
${app.repositorio} `, text: "Estó puede durar varios segundos, dependiendo de su conexión a internet!", icon: "warning", showCancelButton: true, confirmButtonColor: "#3085d6", cancelButtonText: "Cancelar", cancelButtonColor: "#d33", confirmButtonText: "Si, Actualizar!" }).then(result => { if (result.isConfirmed) { _this6.apiService.ExecFnx(_this6.fnx).subscribe(data => { _this6.pID.id = data.contenido.id; _this6.pID.estatus = true; _this6.msjService.lstpid$.emit(_this6.pID); _this6.taskService.set(data.contenido.id, nameFnx, app.repositorio).then(e => { _this6.apiService.ConsultarPidRecursivo(data.contenido.id, app.repositorio); }).catch(e => console.log(e)); }, error => { console.log(error); }); } }); })(); } Merge() { var _this7 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { if (_this7.mensaje == '' || _this7.destino == '' || _this7.origen == '') { _this7.utilservice.AlertMini('top-end', 'error', 'Debe verificar todos los campos', 3000); return false; } let nameFnx = "Fnx_Merge"; _this7.fnx = { funcion: nameFnx, proyecto: _this7.proyecto, mensaje: _this7.mensaje, origen: _this7.origen, destino: _this7.destino }; // console.log(this.fnx) yield sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().fire({ title: `Va a fusionar el proyecto
${_this7.proyecto} `, text: "Estó puede durar varios segundos, dependiendo de su conexión a internet!", icon: "warning", showCancelButton: true, confirmButtonColor: "#3085d6", cancelButtonText: "Cancelar", cancelButtonColor: "#d33", confirmButtonText: "Si, Fusionar!" }).then(result => { if (result.isConfirmed) { _this7.modalService.dismissAll('Cerrando fusionar'); _this7.apiService.ExecFnx(_this7.fnx).subscribe(data => { _this7.pID.id = data.contenido.id; _this7.pID.estatus = true; _this7.msjService.lstpid$.emit(_this7.pID); _this7.taskService.set(data.contenido.id, nameFnx, _this7.proyecto).then(e => { _this7.apiService.ConsultarPidRecursivo(data.contenido.id, "Fusionando proyecto"); }).catch(e => console.log(e)); }, error => { console.log(error); }); } }); })(); } verEstatus(app) { var _this8 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this8.xstatus = _this8.msj; let nameFnx = "Fnx_GitStatus"; _this8.fnx = { funcion: nameFnx, proyecto: app.proyecto }; // console.log(this.fnx) yield _this8.apiService.ExecFnx(_this8.fnx).subscribe(data => { setTimeout(() => { _this8.apiService.ExecFnxId(data.contenido.id).subscribe(data => { // console.log(data.rs) _this8.xstatus = data.rs; }, error => { console.log(error); }); }, 3000); }, error => { console.log(error); }); })(); } filterUpdate(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempData.filter(function (d) { return d.nombre.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } filterLenguaje(event) { const val = event.name ? event.name : ""; // filter our data const temp = this.tempData.filter(function (d) { return d.lenguaje.indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } CargarListaAplicaciones() { var _this9 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this9.xAPI.funcion = "_SYS_LstAplicaciones"; _this9.xAPI.parametros = ""; _this9.ListaAplicaciones = []; yield _this9.apiService.Ejecutar(_this9.xAPI).subscribe(data => { data.Cuerpo.map(e => { _this9.ListaAplicaciones.push(e); }); _this9.rowData = _this9.ListaAplicaciones; _this9.tempData = _this9.rowData; }, error => { console.log(error); }); })(); } Modal(modal, app) { this.modalService.open(modal, { centered: true, size: "lg", backdrop: false, keyboard: false, windowClass: "fondo-modal" }); } static ɵfac = function ListComponent_Factory(t) { return new (t || ListComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_3__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_4__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__.WsocketsService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_6__.UtilService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdefineComponent"]({ type: ListComponent, selectors: [["app-list"]], viewQuery: function ListComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbModal])], decls: 7, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], ["ModalPlay", ""], ["ModalStatus", ""], ["ModalMerge", ""], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-10", "col-md-6", "pr-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "col-10", "col-md-6", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "form-group", "mb-0"], ["bindLabel", "name", "bindId", "id", "bindValue", "name", "placeholder", "Seleccione Status", 3, "items", "change"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "APLICACION", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "RAMA", 3, "width"], ["name", "PROYECTO", 3, "width"], ["name", "URL", 3, "width"], ["name", "Lenguaje", "prop", "lenguaje", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [4, "ngIf", "ngIfElse"], ["customAvatar", ""], [1, "cell-line-height"], [1, "font-weight-bold", "d-block", "text-nowrap", "font-medium-1"], [1, "text-muted", "font-small-2"], ["height", "32", "width", "32", "alt", "datatable-avatar", 1, "rounded-circle", "mr-1", 3, "src"], [1, "avatar", "mr-1", "ml-0", 3, "ngClass"], [1, "avatar-content"], [1, "font-weight-bold"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], [3, "data-feather"], ["ngbDropdownMenu", ""], ["target", "_blank", "ngbDropdownItem", "", 3, "href", 4, "ngIf"], ["ngbDropdownItem", "", 3, "click", 4, "ngIf"], ["target", "_blank", "ngbDropdownItem", "", 3, "href"], [3, "data-feather", "size"], ["ngbDropdownItem", "", 3, "click"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], [1, "col-md-12"], [1, "form-group"], [2, "width", "100%", "height", "400px", "overflow", "scroll", 3, "innerHTML"], [1, "modal-footer"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"], [1, "form-row"], [1, "form-group", "col-md-12"], ["type", "text", "placeholder", "Comentario de la fusion", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-6"], ["type", "text", "placeholder", "Nombre de la rama origen (develop)", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Rama de destino (main)", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success", 3, "click"]], template: function ListComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](0, ListComponent_div_0_Template, 41, 19, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](1, ListComponent_ng_template_1_Template, 15, 1, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](3, ListComponent_ng_template_3_Template, 15, 2, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](5, ListComponent_ng_template_5_Template, 42, 9, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_14__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_14__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_7__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_15__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_15__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.NgModel, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbDropdownItem, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_8__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_9__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_17__["ɵf"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_18__.DefaultClassDirective, _angular_common__WEBPACK_IMPORTED_MODULE_14__.DatePipe, _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_10__.InitialsPipe], styles: [".titulo {\n color: #2c3e50;\n border-bottom: 2px solid #3498db;\n padding-bottom: 10px;\n}\n\n.sandraccs table {\n font-family: \"Segoe UI\", Tahoma, Geneva, Verdana, sans-serif;\n margin: 10px;\n color: #333;\n font-size: 10px;\n width: 100%;\n border-collapse: collapse;\n margin-top: 20px;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n}\n\n.sandraccs th {\n font-size: 10px;\n background-color: #3498db;\n color: white;\n padding: 12px;\n text-align: left;\n}\n\n.sandraccs td {\n font-size: 10px;\n padding: 5px;\n border-bottom: 1px solid #ddd;\n}\n\n.sandraccs tr:nth-child(even) {\n background-color: #f8f9fa;\n}\n\n.sandraccs tr:hover {\n background-color: #e9f7fe;\n}\n\n.branch-info {\n background-color: #e8f4fc;\n padding: 5px;\n border-radius: 5px;\n margin-bottom: 20px;\n font-weight: bold;\n}\n\n.commit-hash {\n font-family: monospace;\n font-size: 10px;\n color: #2980b9;\n}\n\n.commit-date {\n width: 100px;\n font-size: 10px;\n color: #7f8c8d;\n}\n\n.container {\n max-width: 1000px;\n margin: 0 auto;\n background: white;\n border-radius: 10px;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n overflow: hidden;\n}\n\n.header {\n background: #2c3e50;\n color: white;\n padding: 15px 20px;\n}\n\n.section {\n padding: 15px 20px;\n border-bottom: 1px solid #eee;\n}\n\n.section-title {\n font-weight: bold;\n margin-bottom: 10px;\n color: #2c3e50;\n display: flex;\n align-items: center;\n}\n\n.file-list {\n margin-left: 20px;\n}\n\n.file-item {\n display: flex;\n align-items: center;\n padding: 5px 0;\n}\n\n.file-icon {\n margin-right: 8px;\n font-size: 1.1em;\n}\n\n.modified {\n color: #e67e22;\n}\n\n.new {\n color: #2ecc71;\n}\n\n.deleted {\n color: #e74c3c;\n}\n\n.untracked {\n color: #3498db;\n}\n\n.file-date {\n margin-left: auto;\n color: #7f8c8d;\n font-size: 0.9em;\n}\n\n.timestamp {\n text-align: right;\n padding: 10px;\n color: #7f8c8d;\n font-size: 0.9em;\n}"], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_19__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_17__.BlockUI)()], ListComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_19__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_17__.BlockUI)("section-block")], ListComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 74450: /*!****************************************************************!*\ !*** ./src/app/main/views/applications/menu/menu.component.ts ***! \****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "MenuComponent": () => (/* binding */ MenuComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ng-block-ui */ 23684); function MenuComponent_div_0_button_20_Template(rf, ctx) { if (rf & 1) { const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "button", 24); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_div_0_button_20_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r10); const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r9.procesar()); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 25); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2, " \u00A0 Consultar "); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } } function MenuComponent_div_0_div_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "br")(2, "br")(3, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } } function MenuComponent_div_0_div_26_button_33_Template(rf, ctx) { if (rf & 1) { const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "button", 24); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_div_0_div_26_button_33_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r13.GuardarMenu()); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 25); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2, " \u00A0 Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } } function MenuComponent_div_0_div_26_button_34_Template(rf, ctx) { if (rf & 1) { const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "button", 19); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_div_0_div_26_button_34_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r16); const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r15.UpdateMenu(ctx_r15.IDefinirMenu.id)); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "i", 25); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2, " \u00A0 Actualizar "); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } } const _c0 = function () { return { standalone: true }; }; function MenuComponent_div_0_div_26_Template(rf, ctx) { if (rf & 1) { const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](1, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](2, "div", 26)(3, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](4, "Nombre"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](5, "input", 27); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_26_Template_input_ngModelChange_5_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r18); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r17.IDefinirMenu.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](6, "div", 28)(7, "label", 14); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](8, "Direcci\u00F3n URL"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](9, "input", 29); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_26_Template_input_ngModelChange_9_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r18); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r19.IDefinirMenu.url = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](10, "div", 26)(11, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](12, "Icono"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](13, "input", 30); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_26_Template_input_ngModelChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r18); const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r20.IDefinirMenu.icon = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](14, "div", 26)(15, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](16, "Color"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](17, "input", 31); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_26_Template_input_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r18); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r21.IDefinirMenu.color = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](18, "div", 26)(19, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](20, "Clase Css"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](21, "input", 32); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_26_Template_input_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r18); const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r22.IDefinirMenu.clase = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](22, "div", 13)(23, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](24, "Codigo JavaScript"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](25, "input", 33); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_26_Template_input_ngModelChange_25_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r18); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r23.IDefinirMenu.js = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](26, "div", 26)(27, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](28, "Seleccionar Tipo"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](29, "ng-select", 34); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_26_Template_ng_select_ngModelChange_29_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r18); const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r24.IDefinirMenu.tipo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](30, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](31, "div", 35); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](32, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](33, MenuComponent_div_0_div_26_button_33_Template, 3, 0, "button", 18); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](34, MenuComponent_div_0_div_26_button_34_Template, 3, 0, "button", 37); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](35, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r7.IDefinirMenu.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](17, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r7.IDefinirMenu.url)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](18, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r7.IDefinirMenu.icon)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](19, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r7.IDefinirMenu.color)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](20, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r7.IDefinirMenu.clase)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](21, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r7.IDefinirMenu.js)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](22, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("items", ctx_r7.lstEstatus)("ngModel", ctx_r7.IDefinirMenu.tipo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](23, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", !ctx_r7.btnMenu); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r7.btnMenu); } } function MenuComponent_div_0_div_27_ng_template_7_ng_template_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div")(1, "span", 66); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); } if (rf & 2) { const accnomb_r31 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate1"]("", accnomb_r31, " "); } } function MenuComponent_div_0_div_27_ng_template_7_ng_template_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div")(1, "span", 66); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); } if (rf & 2) { const func_r32 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](func_r32); } } function MenuComponent_div_0_div_27_ng_template_7_ng_template_31_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div")(1, "span", 66); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); } if (rf & 2) { const endpoint_r33 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](endpoint_r33); } } function MenuComponent_div_0_div_27_ng_template_7_Template(rf, ctx) { if (rf & 1) { const _r35 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 9)(1, "div", 46)(2, "div", 47)(3, "div", 48)(4, "label", 48); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](5, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](6, "select", 49); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_27_ng_template_7_Template_select_ngModelChange_6_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r35); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r34.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](7, "option", 50); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](8, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](9, "option", 51); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](10, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](11, "option", 52); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](12, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](13, "option", 53); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](14, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](15, "button", 54); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_div_0_div_27_ng_template_7_Template_button_click_15_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r35); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵreference"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r36.ModalAddAcciones(_r1)); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](16, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](17, " Agregar Acciones"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](18, "div", 55)(19, "div", 56)(20, "fieldset", 57)(21, "label", 58)(22, "input", 59); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_27_ng_template_7_Template_input_ngModelChange_22_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r35); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r37.searchAccion = $event); })("keyup", function MenuComponent_div_0_div_27_ng_template_7_Template_input_keyup_22_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r35); const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r38.filterUpdateAcciones($event)); })("search", function MenuComponent_div_0_div_27_ng_template_7_Template_input_search_22_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r35); const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r39.filterUpdateAcciones($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](23, "div", 9)(24, "div", 60)(25, "ngx-datatable", 61)(26, "ngx-datatable-column", 62); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](27, MenuComponent_div_0_div_27_ng_template_7_ng_template_27_Template, 3, 1, "ng-template", 63); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](28, "ngx-datatable-column", 64); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](29, MenuComponent_div_0_div_27_ng_template_7_ng_template_29_Template, 3, 1, "ng-template", 63); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](30, "ngx-datatable-column", 65); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](31, MenuComponent_div_0_div_27_ng_template_7_ng_template_31_Template, 3, 1, "ng-template", 63); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const ctx_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r26.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("data-feather", "plus"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r26.searchAccion); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("rows", ctx_r26.rowDataAcc)("rowHeight", 58)("limit", 10)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("width", 300); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("width", 200); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("width", 600); } } function MenuComponent_div_0_div_27_ng_template_12_ng_template_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div")(1, "span", 66); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); } if (rf & 2) { const nomb_r43 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate1"]("", nomb_r43, " ... "); } } function MenuComponent_div_0_div_27_ng_template_12_ng_template_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div")(1, "span", 66); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); } if (rf & 2) { const des_r44 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate1"]("", des_r44.slice(0.1), " ... "); } } function MenuComponent_div_0_div_27_ng_template_12_ng_template_31_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](1, "Activo"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } } function MenuComponent_div_0_div_27_ng_template_12_ng_template_31_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](1, "Inactivo"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } } function MenuComponent_div_0_div_27_ng_template_12_ng_template_31_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](0, MenuComponent_div_0_div_27_ng_template_12_ng_template_31_div_0_Template, 2, 0, "div", 72); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](1, MenuComponent_div_0_div_27_ng_template_12_ng_template_31_div_1_Template, 2, 0, "div", 73); } if (rf & 2) { const est_r45 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", est_r45 == 1); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", est_r45 == 0); } } function MenuComponent_div_0_div_27_ng_template_12_Template(rf, ctx) { if (rf & 1) { const _r49 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 9)(1, "div", 46)(2, "div", 47)(3, "div", 48)(4, "label", 48); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](5, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](6, "select", 49); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_27_ng_template_12_Template_select_ngModelChange_6_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r49); const ctx_r48 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r48.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](7, "option", 50); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](8, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](9, "option", 51); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](10, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](11, "option", 52); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](12, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](13, "option", 53); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](14, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](15, "button", 67); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_div_0_div_27_ng_template_12_Template_button_click_15_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r49); const ctx_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r50.ModalAddSubMenu(_r3)); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](16, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](17, " Agregar Sub Menu"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](18, "div", 55)(19, "div", 56)(20, "fieldset", 57)(21, "label", 58)(22, "input", 68); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_div_27_ng_template_12_Template_input_ngModelChange_22_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r49); const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r51.searchSubMenu = $event); })("keyup", function MenuComponent_div_0_div_27_ng_template_12_Template_input_keyup_22_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r49); const ctx_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r52.filterUpdateSubMenu($event)); })("search", function MenuComponent_div_0_div_27_ng_template_12_Template_input_search_22_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r49); const ctx_r53 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r53.filterUpdateSubMenu($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](23, "div", 9)(24, "div", 60)(25, "ngx-datatable", 61)(26, "ngx-datatable-column", 69); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](27, MenuComponent_div_0_div_27_ng_template_12_ng_template_27_Template, 3, 1, "ng-template", 63); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](28, "ngx-datatable-column", 70); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](29, MenuComponent_div_0_div_27_ng_template_12_ng_template_29_Template, 3, 1, "ng-template", 63); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](30, "ngx-datatable-column", 71); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](31, MenuComponent_div_0_div_27_ng_template_12_ng_template_31_Template, 2, 2, "ng-template", 63); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r27.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("data-feather", "plus"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r27.searchSubMenu); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("rows", ctx_r27.ListarowSubMenu)("rowHeight", 58)("limit", 10)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("width", 400); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("width", 650); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("width", 200); } } function MenuComponent_div_0_div_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 38)(1, "ul", 39, 40)(3, "li", 41)(4, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](5, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](6, " Acciones"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](7, MenuComponent_div_0_div_27_ng_template_7_Template, 32, 12, "ng-template", 44); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](8, "li", 41)(9, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](10, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](11, " Sub Menu"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](12, MenuComponent_div_0_div_27_ng_template_12_Template, 32, 12, "ng-template", 44); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](13, "div", 45); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); } if (rf & 2) { const _r25 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵreference"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("data-feather", "cast"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngbNavOutlet", _r25); } } function MenuComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r55 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 3)(1, "div", 4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](2, "app-content-header", 5); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](3, "section", 6)(4, "div", 7)(5, "div", 8)(6, "div", 9)(7, "div", 10)(8, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](9, "Seleccionar Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](10, "ng-select", 12); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_Template_ng_select_ngModelChange_10_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r54 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r54.aplicacion = $event); })("ngModelChange", function MenuComponent_div_0_Template_ng_select_ngModelChange_10_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r56 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r56.selModulo($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](11, "div", 13)(12, "label", 14); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](13, "Modulo"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](14, "ng-select", 15); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_Template_ng_select_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r57.xmodulo = $event); })("ngModelChange", function MenuComponent_div_0_Template_ng_select_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r58 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r58.selectEventModulo($event)); })("input", function MenuComponent_div_0_Template_ng_select_input_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r59.onFocusedModulo($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](15, "div", 13)(16, "label", 14); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](17, "Menu"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](18, "ng-select", 16); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_div_0_Template_ng_select_ngModelChange_18_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r60.menu = $event); })("ngModelChange", function MenuComponent_div_0_Template_ng_select_ngModelChange_18_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r61 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r61.selectEventMenu($event)); })("input", function MenuComponent_div_0_Template_ng_select_input_18_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r62 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r62.onFocusedMenu($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](19, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](20, MenuComponent_div_0_button_20_Template, 3, 0, "button", 18); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](21, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](22, "button", 19); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_div_0_Template_button_click_22_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r55); const ctx_r63 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r63.Limpiar()); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelement"](23, "i", 20); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](24, " \u00A0 Limpiar "); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](25, MenuComponent_div_0_div_25_Template, 4, 0, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](26, MenuComponent_div_0_div_26_Template, 36, 24, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](27, MenuComponent_div_0_div_27_Template, 14, 3, "div", 23); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("items", ctx_r0.lstAplicaciones)("ngModel", ctx_r0.aplicacion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](17, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("items", ctx_r0.dataModulo)("name", ctx_r0.xmodulo)("addTag", true)("ngModel", ctx_r0.xmodulo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](18, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("items", ctx_r0.datamenu)("addTag", true)("ngModel", ctx_r0.menu)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](19, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", !ctx_r0.showDiv); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", !ctx_r0.showDiv); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r0.showDiv); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngIf", ctx_r0.showDiv); } } function MenuComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { const _r66 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 76)(1, "h5", 77); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](3, "button", 78); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_ng_template_1_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const modal_r64 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](modal_r64.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](4, "span", 79); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](6, "form", 80)(7, "div", 81)(8, "div", 82)(9, "div", 9)(10, "div", 83)(11, "label", 84); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](12, "Seleccione Metodo"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](13, "ng-select", 85); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_1_Template_ng_select_ngModelChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r67 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r67.IAccion.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](14, "div", 83)(15, "label", 86); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](16, "Nombre"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](17, "input", 87); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_1_Template_input_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r68 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r68.IAccion.nomb = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](18, "div", 88)(19, "label", 86); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](20, "Funci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](21, "input", 89); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_1_Template_input_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r69 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r69.IAccion.func = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](22, "div", 90)(23, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](24, "Clase"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](25, "input", 91); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_1_Template_input_ngModelChange_25_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r70 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r70.IAccion.clase = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](26, "div", 90)(27, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](28, "Icono"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](29, "input", 91); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_1_Template_input_ngModelChange_29_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r71 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r71.IAccion.icono = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](30, "div", 90)(31, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](32, "Color"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](33, "input", 91); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_1_Template_input_ngModelChange_33_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r72 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r72.IAccion.color = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](34, "div", 92)(35, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](36, "EndPoint"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](37, "input", 93); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_1_Template_input_ngModelChange_37_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r73 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r73.IAccion.endpoint = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](38, "div", 94)(39, "label", 86); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](40, "Directiva"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](41, "textarea", 95); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_1_Template_textarea_ngModelChange_41_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r74 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r74.IAccion.direc = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](42, "div", 96)(43, "button", 97); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_ng_template_1_Template_button_click_43_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const ctx_r75 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r75.GuardarAccion()); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](44); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](45, "button", 98); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_ng_template_1_Template_button_click_45_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r66); const modal_r64 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](modal_r64.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](46, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](ctx_r2.titleModal); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("items", ctx_r2.metodos)("ngModel", ctx_r2.IAccion.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](19, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r2.IAccion.nomb)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](20, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r2.IAccion.func)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](21, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r2.IAccion.clase)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](22, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r2.IAccion.icono)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](23, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r2.IAccion.color)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](24, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r2.IAccion.endpoint)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](25, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r2.IAccion.direc)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](26, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](ctx_r2.titleBtnModal); } } function MenuComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) { const _r79 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](0, "div", 76)(1, "h5", 77); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](3, "button", 78); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_ng_template_3_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r79); const modal_r77 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](modal_r77.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](4, "span", 79); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](6, "form", 80)(7, "div", 81)(8, "div", 82)(9, "div", 9)(10, "div", 99)(11, "label", 86); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](12, "Nombre"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](13, "input", 87); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_3_Template_input_ngModelChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r79); const ctx_r80 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r80.IAddSubMenu.nomb = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](14, "div", 99)(15, "label", 86); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](16, "Direcci\u00F3n URL"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](17, "input", 100); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_3_Template_input_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r79); const ctx_r81 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r81.IAddSubMenu.url = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](18, "div", 101)(19, "label", 86); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](20, "Codigo JavaScript"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](21, "input", 102); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_3_Template_input_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r79); const ctx_r82 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r82.IAddSubMenu.js = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](22, "div", 83)(23, "label", 86); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](24, "Clase Css"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](25, "input", 103); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_3_Template_input_ngModelChange_25_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r79); const ctx_r83 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r83.IAddSubMenu.clase = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](26, "div", 104)(27, "label", 84); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](28, "Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](29, "ng-select", 105); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("ngModelChange", function MenuComponent_ng_template_3_Template_ng_select_ngModelChange_29_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r79); const ctx_r84 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r84.IAddSubMenu.tipo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](30, "div", 96)(31, "button", 97); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_ng_template_3_Template_button_click_31_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r79); const ctx_r85 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](ctx_r85.GuardarSubMenu()); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](32); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementStart"](33, "button", 98); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵlistener"]("click", function MenuComponent_ng_template_3_Template_button_click_33_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵrestoreView"](_r79); const modal_r77 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵresetView"](modal_r77.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtext"](34, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](ctx_r4.titleModal); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](11); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r4.IAddSubMenu.nomb)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](13, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r4.IAddSubMenu.url)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](14, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r4.IAddSubMenu.js)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](15, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("ngModel", ctx_r4.IAddSubMenu.clase)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](16, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("items", ctx_r4.tipoMenu)("ngModel", ctx_r4.IAddSubMenu.tipo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵpureFunction0"](17, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtextInterpolate"](ctx_r4.titleBtnModal); } } class MenuComponent { apiService; utilservice; modalService; table; contentHeader; xAPI = { funcion: '', parametros: '', valores: {} }; IDefinirMenu = { nombre: '', url: '', js: '', icon: '', clase: '', color: '', tipo: 0, idmod: 0 }; IAccion = { endpoint: '', nomb: '', func: '', direc: '', color: '', clase: '', icono: '' }; IAddModulo = { nomb: '', idapp: 0 }; IAccionMenu = { menuid: 0, accionid: 0 }; IAddSubMenu = { url: '', js: '', icon: '', nomb: '', clase: '', color: '', tipo: undefined }; titleModal = ''; titleBtnModal = ''; basicSelectedOption = 10; searchAccion = ''; searchSubMenu = ''; tempDataAcciones = []; rowDataAcciones = []; countAcciones; ListarowSubMenu = []; tempDataSubMenu = []; rowDataSubMenu = []; countSubMenu; rowDataAcc = []; lista = []; estatus = undefined; aplicacion; xmodulo; menu; modulo = ''; moduloid = ''; menuid = ''; accionid; btnMenu = false; lstAplicaciones = []; dataModulo = []; showDiv = false; datamenu = []; lstEstatus = [{ id: "1", name: 'MENU' }, { id: '0', name: 'SUBMENU' }]; tipoMenu = [{ id: 1, name: 'MENU' }, { id: 0, name: 'SUBMENU' }]; metodos = [{ id: 'GET', name: 'GET' }, { id: 'POST', name: 'POST' }, { id: 'PUT', name: 'PUT' }, { id: 'DELETE', name: 'DELETE' }, { id: 'OPTIONS', name: 'OPTIONS' }]; constructor(apiService, utilservice, modalService) { this.apiService = apiService; this.utilservice = utilservice; this.modalService = modalService; } ngOnInit() { // content header this.contentHeader = { headerTitle: "Aplicaciones", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Aplicaciones", isLink: false }, { name: "Definir Menu", isLink: false }] } }; this.CargarListaAplicaciones(); } CargarListaAplicaciones() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.xAPI.funcion = "_SYS_LstAplicaciones"; _this.xAPI.parametros = ''; yield _this.apiService.Ejecutar(_this.xAPI).subscribe(data => { _this.lstAplicaciones = data.Cuerpo.map(e => { e.id = e.identificador; e.name = e.nombre + ' : ' + e.VERSION; return e; }); }, error => { console.log(error); }); })(); } selModulo(event) { this.xAPI.funcion = "LstModulos"; this.xAPI.parametros = event; this.xAPI.valores = ''; this.dataModulo = []; console.log(this.xAPI); this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.dataModulo = data.Cuerpo.map(e => { e.name = e.nomb; return e; }); }, error => { console.log(error); }); } consultarMenu(acc) { this.xAPI.funcion = "LstMenus"; this.xAPI.parametros = acc; this.datamenu = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.datamenu = data.Cuerpo.map(e => { e.name = e.nomb; return e; }); }, error => { console.log(error); }); } selectEventModulo(item) { this.moduloid = item.id; this.modulo = item.name; this.consultarMenu(item.id); } selectEventMenu(item) { // console.log(item) this.showDiv = false; this.menu = item; this.menuid = item.id; this.IDefinirMenu.nombre = item.name; } onFocusedModulo(item) { this.moduloid = ''; this.modulo = ''; this.IAddModulo.nomb = item.target.value; this.IAddModulo.idapp = this.aplicacion; } onFocusedMenu(item) { if (this.moduloid == undefined) this.guardarModulo(); } guardarModulo() { if (this.menu != '') { this.xAPI.funcion = "AgregarModulo"; this.xAPI.parametros = ''; this.xAPI.valores = JSON.stringify(this.IAddModulo); this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.dataModulo = []; if (data.tipo == 1) { this.moduloid = data.msj; this.utilservice.AlertMini('top-end', 'success', 'Modulo Registrado!', 3000); this.selModulo(this.aplicacion); } else { this.utilservice.AlertMini('top-end', 'error', 'Oops! algo salio mal!', 3000); } }, error => { console.log(error); }); } } Limpiar() { this.LimpiarMenu(); this.aplicacion = undefined; this.xmodulo = undefined; this.menu = undefined; this.showDiv = false; this.rowDataAcc = []; } procesar() { this.showDiv = true; this.listarAcciones(this.menuid); this.listarSubmenu(this.menuid); } listarAcciones(item) { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { if (item > 0) { _this2.rowDataAcc = []; _this2.xAPI.funcion = "OMenuAccion"; _this2.xAPI.parametros = item; _this2.xAPI.valores = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { var i = 0; _this2.lista = []; if (data.Cuerpo != undefined) { data.Cuerpo.map(e => { if (i == 0) { _this2.btnMenu = true; _this2.IDefinirMenu.id = e.id; _this2.IDefinirMenu.nombre = e.nomb; _this2.IDefinirMenu.url = e.url; _this2.IDefinirMenu.js = e.js; _this2.IDefinirMenu.clase = e.clase; _this2.IDefinirMenu.icon = e.icon; _this2.IDefinirMenu.color = e.color; _this2.IDefinirMenu.tipo = e.type; } if (e.endpoint != undefined) { _this2.lista.push(e); } }); _this2.rowDataAcc = _this2.lista; } }, error => { console.log(error); }); } else { _this2.utilservice.AlertMini('top-end', 'warning', 'No se encontro el menu', 3000); let mnu = _this2.IDefinirMenu.nombre; _this2.LimpiarMenu(); _this2.menu = undefined; _this2.IDefinirMenu.nombre = mnu; _this2.rowDataAcc = []; } })(); } listarSubmenu(item) { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.ListarowSubMenu = []; _this3.xAPI.funcion = "OSubMenuAccion"; _this3.xAPI.parametros = ''; _this3.xAPI.valores = ''; yield _this3.apiService.Ejecutar(_this3.xAPI).subscribe(data => { var i = 0; var lista = []; data.Cuerpo.map(e => { lista.push(e); }); _this3.ListarowSubMenu = lista; }, error => { console.log(error); }); })(); } GuardarMenu() { this.IDefinirMenu.idmod = this.xmodulo.id; this.xAPI.funcion = "AgregarMenu"; this.xAPI.parametros = ''; this.xAPI.valores = JSON.stringify(this.IDefinirMenu); console.log(this.IDefinirMenu); this.apiService.Ejecutar(this.xAPI).subscribe(data => { console.log(data); if (data.tipo == 1) { this.LimpiarMenu(); this.utilservice.AlertMini('top-end', 'success', 'Menu Registrado Exitosamente!', 3000); } else { this.utilservice.AlertMini('top-end', 'error', 'Oops! algo salio mal!', 3000); } }, error => { console.log(error); }); } UpdateMenu(item) { this.IDefinirMenu.id = item; this.IDefinirMenu.idmod = this.xmodulo.id; this.xAPI.parametros = ''; this.xAPI.valores = JSON.stringify(this.IDefinirMenu); this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.ACTUALIAZAR_MENU; console.log(this.IDefinirMenu); this.apiService.Ejecutar(this.xAPI).subscribe(data => { console.log(data); if (data.tipo == 1) { this.LimpiarMenu(); this.utilservice.AlertMini('top-end', 'success', 'Menu Actualizado Exitosamente!', 3000); this.listarAcciones(this.menuid); } else { this.utilservice.AlertMini('top-end', 'error', 'Oops! algo salio mal!', 3000); } }, error => { console.log(error); }); } LimpiarMenu() { this.estatus = undefined; this.IDefinirMenu = { nombre: '', url: '', js: '', icon: '', clase: '', color: '', tipo: undefined, idmod: 0 }; } limpiarModalAcciones() { this.IAccion = { endpoint: '', nomb: '', func: '', direc: '', color: '', clase: '', icono: '' }; } filterUpdateAcciones(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempDataAcciones.filter(function (d) { return d.nomb.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowDataAcciones = temp; this.countAcciones = this.rowDataAcciones.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } filterUpdateSubMenu(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempDataSubMenu.filter(function (d) { return d.nomb.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.ListarowSubMenu = temp; this.countSubMenu = this.ListarowSubMenu.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } ModalAddSubMenu(modal) { this.titleModal = 'Agregar Sub Menu'; this.titleBtnModal = 'Agregar Sub Menu'; this.modalService.open(modal, { centered: true, size: 'xl', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } ModalAddAcciones(modal) { this.titleModal = 'Agregar Acciones'; this.titleBtnModal = 'Agregar Accion'; this.modalService.open(modal, { centered: true, size: 'xl', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } GuardarAccion() { this.xAPI.funcion = "AgregarAccion"; this.xAPI.valores = JSON.stringify(this.IAccion); this.xAPI.parametros = ''; this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data.tipo == 1) { this.accionid = data.msj; this.MenuAccionGuardar(); this.modalService.dismissAll('Close'); this.limpiarModalAcciones(); this.utilservice.AlertMini('top-end', 'success', 'Accion Registrada Exitosamente', 3000); } else { this.utilservice.AlertMini('top-end', 'error', 'Oops! algo salio mal!', 3000); } }, error => { console.log(error); }); } MenuAccionGuardar() { this.IAccionMenu.accionid = parseInt(this.accionid); this.IAccionMenu.menuid = parseInt(this.menuid); this.xAPI.funcion = "AgregarAccionMenu"; this.xAPI.parametros = ''; this.xAPI.valores = JSON.stringify(this.IAccionMenu); this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data.tipo == 1) { this.listarAcciones(this.menuid); this.utilservice.AlertMini('top-end', 'success', 'Accion Registrada Exitosamente', 3000); } else { this.utilservice.AlertMini('top-end', 'error', 'Oops! algo salio mal!', 3000); } }, error => { console.log(error); }); } GuardarSubMenu() { this.xAPI.funcion = "AgregarSubMenu"; this.xAPI.valores = JSON.stringify(this.IAddSubMenu); this.xAPI.parametros = ''; this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data.tipo == 1) { this.modalService.dismissAll('Close'); this.listarSubmenu(this.menuid); this.LimpiarSubMenu(); this.utilservice.AlertMini('top-end', 'success', 'SubMenu Registrado Exitosamente', 3000); } else { this.utilservice.AlertMini('top-end', 'error', 'Oops! algo salio mal!', 3000); } }, error => { console.log(error); }); } LimpiarSubMenu() { this.IAddSubMenu = { url: '', js: '', icon: '', nomb: '', clase: '', color: '', tipo: undefined }; } static ɵfac = function MenuComponent_Factory(t) { return new (t || MenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_2__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_3__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbModal)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineComponent"]({ type: MenuComponent, selectors: [["app-menu"]], viewQuery: function MenuComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbModal])], decls: 5, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], ["ModalAcciones", ""], ["ModalSubMenu", ""], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "col-md-12", 2, "margin-top", "25px"], [1, "row"], [1, "form-group", "col-md-12"], ["for", "descripcion", 1, "form-label"], ["bindLabel", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Aplicaci\u00F3n", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-6"], ["for", "origen", 1, "form-label"], ["bindLabel", "name", "placeholder", "Seleccione Modulo", 3, "items", "name", "addTag", "ngModel", "ngModelOptions", "ngModelChange", "input"], ["bindLabel", "name", "placeholder", "Seleccione Menu", 3, "items", "addTag", "ngModel", "ngModelOptions", "ngModelChange", "input"], ["align", "right", 1, "col-md-12"], ["type", "button", "class", "btn btn-success", 3, "click", 4, "ngIf"], ["type", "button", 1, "btn", "btn-warning", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-trash"], [4, "ngIf"], ["class", "row", 4, "ngIf"], ["class", "container", 4, "ngIf"], ["type", "button", 1, "btn", "btn-success", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-arrow-down"], [1, "form-group", "col-md-4"], ["type", "text", "placeholder", "Ingrese Nombre", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-8"], ["type", "text", "placeholder", "Ingrese Direcci\u00F3n", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Ingrese Icono", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Ingrese Color", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Ingrese Clase Css", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Ingrese Codigo JavaScript", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Tipo", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-2", 2, "margin-top", "25px"], [1, "form-label"], ["type", "button", "class", "btn btn-warning", 3, "click", 4, "ngIf"], [1, "container"], ["ngbNav", "", 1, "nav-tabs", "justify-content-left"], ["navWithIcons", "ngbNav"], ["ngbNavItem", ""], ["ngbNavLink", ""], [3, "data-feather"], ["ngbNavContent", ""], [1, "mt-2", 3, "ngbNavOutlet"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-info", 2, "height", "38px", "margin-top", "-4px", 3, "click"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "col-10", "col-md-6", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "form-group", "mb-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "autocomplete", "off", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "col-md-12"], [1, "bootstrap", "core-bootstrap", "bordered-table", 3, "rows", "rowHeight", "limit", "headerHeight", "footerHeight", "scrollbarH"], ["name", "NOMBRE", "prop", "accnomb", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "FUNCION", "prop", "func", 3, "width"], ["name", "EndPoint", "prop", "endpoint", 3, "width"], [1, "font-weight-bold"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-warning", 2, "height", "38px", "margin-top", "-4px", 3, "click"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", "autocomplete", "off", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], ["name", "NOMBRE", "prop", "nomb", 3, "width"], ["name", "DESCRIPCI\u00D3N", "prop", "des", 3, "width"], ["name", "Status", "prop", "est", 3, "width"], ["class", "badge badge-success", 4, "ngIf"], ["class", "badge badge-danger", 4, "ngIf"], [1, "badge", "badge-success"], [1, "badge", "badge-danger"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "auth-login-form", "mt-2"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], [1, "col-md-4", "col-12", "mb-1"], ["for", "login-tipo", 1, "form-label"], ["bindLabel", "descripcion", "placeholder", "Seleccione Metodo", "bindValue", "id", "bindLabel", "name", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "login-host", 1, "form-label"], ["type", "text", "placeholder", "Nombre", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "col-md-4", "col-4", "mb-1"], ["type", "text", "placeholder", "Funci\u00F3n", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "col-md-2", "col-2", "mb-1"], ["type", "text", "placeholder", "Clase", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "col-md-6", "col-6", "mb-1"], ["type", "text", "placeholder", "EndPoint", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "col-md-12", "col-12", "mb-1"], ["type", "text", "row", "5", "placeholder", "Directiva", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "modal-footer"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success", 3, "click"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"], [1, "col-md-6", "col-12", "mb-1"], ["type", "text", "placeholder", "Direcci\u00F3n URL", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "col-md-5", "col-12", "mb-1"], ["type", "text", "placeholder", "Codigo JavaScript", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Clase Css", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "col-md-3", "col-12", "mb-1"], ["bindLabel", "descripcion", "placeholder", "Seleccione", "bindValue", "id", "bindLabel", "name", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"]], template: function MenuComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](0, MenuComponent_div_0_Template, 28, 20, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](1, MenuComponent_ng_template_1_Template, 47, 27, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplate"](3, MenuComponent_ng_template_3_Template, 35, 18, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_10__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_4__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_11__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_11__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_11__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgForm, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNavContent, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNav, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNavItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNavLink, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNavOutlet, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_12__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_5__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_6__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_13__["ɵf"]], encapsulation: 2 }); } /***/ }), /***/ 58730: /*!************************************************************************!*\ !*** ./src/app/main/views/applications/terminal/terminal.component.ts ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "TerminalComponent": () => (/* binding */ TerminalComponent) /* harmony export */ }); /* harmony import */ var xterm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! xterm */ 14793); /* harmony import */ var xterm__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(xterm__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _xterm_addon_fit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @xterm/addon-fit */ 45298); /* harmony import */ var _xterm_addon_fit__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_xterm_addon_fit__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 94650); const _c0 = ["terminalContainer"]; const _c1 = ["terminalElement"]; class TerminalComponent { terminalContainer; terminalElement; term; fitAddon = new _xterm_addon_fit__WEBPACK_IMPORTED_MODULE_1__.FitAddon(); commandBuffer = ''; ngAfterViewInit() { this.initializeTerminal(); setTimeout(() => this.fitTerminal(), 100); } ngOnDestroy() { this.term?.dispose(); } initializeTerminal() { this.term = new xterm__WEBPACK_IMPORTED_MODULE_0__.Terminal({ theme: { background: '#1E1E1E', foreground: '#E0E0E0', cursor: '#FFFFFF' }, fontSize: 14, fontFamily: '"Courier New", monospace', cursorBlink: true, convertEol: true, disableStdin: false // Asegurar que la entrada está habilitada }); this.term.loadAddon(this.fitAddon); this.term.open(this.terminalElement.nativeElement); // Mensaje de bienvenida con color this.term.writeln('\x1b[1;33mBienvenido a Sandra Server!\x1b[0m'); this.writePrompt(); // Manejo de entrada de teclado this.term.onData(data => { if (data === '\r') { // Enter this.handleCommand(); } else if (data === '\u007f') { // Backspace this.handleBackspace(); } else if (data >= ' ' && data <= '~') { // Caracteres imprimibles this.handleCharacter(data); } }); } writePrompt() { this.term.write('\x1b[1;32muser@server:~$\x1b[0m '); } handleCommand() { this.term.writeln(''); // Nueva línea if (this.commandBuffer.trim()) { this.term.writeln(`\x1b[1;36mEjecutando: ${this.commandBuffer}\x1b[0m`); } this.commandBuffer = ''; this.writePrompt(); } handleBackspace() { if (this.commandBuffer.length > 0) { this.commandBuffer = this.commandBuffer.slice(0, -1); this.term.write('\b \b'); } } handleCharacter(char) { this.commandBuffer += char; this.term.write(char); } fitTerminal() { try { if (this.terminalElement?.nativeElement && this.terminalContainer?.nativeElement) { this.fitAddon.fit(); // Forzar repintado de toda la pantalla this.term?.refresh(0, this.term.rows - 1); } } catch (e) { console.error('Error ajustando terminal:', e); } } static ɵfac = function TerminalComponent_Factory(t) { return new (t || TerminalComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: TerminalComponent, selectors: [["app-terminal"]], viewQuery: function TerminalComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵviewQuery"](_c0, 5); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵviewQuery"](_c1, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.terminalContainer = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.terminalElement = _t.first); } }, decls: 3, vars: 0, consts: [[1, "terminal-wrapper"], ["id", "terminal"], ["terminalElement", ""]], template: function TerminalComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelement"](1, "div", 1, 2); _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"](); } }, styles: [".xterm[_ngcontent-%COMP%] {\n cursor: text;\n position: relative;\n user-select: none;\n -ms-user-select: none;\n -webkit-user-select: none;\n}\n\n.xterm.focus[_ngcontent-%COMP%], .xterm[_ngcontent-%COMP%]:focus {\n outline: none;\n}\n\n.xterm[_ngcontent-%COMP%] .xterm-helpers[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n \n z-index: 5;\n}\n\n.xterm[_ngcontent-%COMP%] .xterm-helper-textarea[_ngcontent-%COMP%] {\n padding: 0;\n border: 0;\n margin: 0;\n \n position: absolute;\n opacity: 0;\n left: -9999em;\n top: 0;\n width: 0;\n height: 0;\n z-index: -5;\n \n white-space: nowrap;\n overflow: hidden;\n resize: none;\n}\n\n.xterm[_ngcontent-%COMP%] .composition-view[_ngcontent-%COMP%] {\n \n background: #000;\n color: #FFF;\n display: none;\n position: absolute;\n white-space: nowrap;\n z-index: 1;\n}\n\n.xterm[_ngcontent-%COMP%] .composition-view.active[_ngcontent-%COMP%] {\n display: block;\n}\n\n.xterm[_ngcontent-%COMP%] .xterm-viewport[_ngcontent-%COMP%] {\n \n background-color: #000;\n overflow-y: scroll;\n cursor: default;\n position: absolute;\n right: 0;\n left: 0;\n top: 0;\n bottom: 0;\n}\n\n.xterm[_ngcontent-%COMP%] .xterm-screen[_ngcontent-%COMP%] {\n position: relative;\n}\n\n.xterm[_ngcontent-%COMP%] .xterm-screen[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%] {\n position: absolute;\n left: 0;\n top: 0;\n}\n\n.xterm[_ngcontent-%COMP%] .xterm-scroll-area[_ngcontent-%COMP%] {\n visibility: hidden;\n}\n\n.xterm-char-measure-element[_ngcontent-%COMP%] {\n display: inline-block;\n visibility: hidden;\n position: absolute;\n top: 0;\n left: -9999em;\n line-height: normal;\n}\n\n.xterm.enable-mouse-events[_ngcontent-%COMP%] {\n \n cursor: default;\n}\n\n.xterm.xterm-cursor-pointer[_ngcontent-%COMP%], .xterm[_ngcontent-%COMP%] .xterm-cursor-pointer[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n\n.xterm.column-select.focus[_ngcontent-%COMP%] {\n \n cursor: crosshair;\n}\n\n.xterm[_ngcontent-%COMP%] .xterm-accessibility[_ngcontent-%COMP%], .xterm[_ngcontent-%COMP%] .xterm-message[_ngcontent-%COMP%] {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 10;\n color: transparent;\n pointer-events: none;\n}\n\n.xterm[_ngcontent-%COMP%] .live-region[_ngcontent-%COMP%] {\n position: absolute;\n left: -9999px;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n.xterm-dim[_ngcontent-%COMP%] {\n \n opacity: 1 !important;\n}\n\n.xterm-underline-1[_ngcontent-%COMP%] { text-decoration: underline; }\n\n.xterm-underline-2[_ngcontent-%COMP%] { -webkit-text-decoration: double underline; text-decoration: double underline; }\n\n.xterm-underline-3[_ngcontent-%COMP%] { -webkit-text-decoration: wavy underline; text-decoration: wavy underline; }\n\n.xterm-underline-4[_ngcontent-%COMP%] { -webkit-text-decoration: dotted underline; text-decoration: dotted underline; }\n\n.xterm-underline-5[_ngcontent-%COMP%] { -webkit-text-decoration: dashed underline; text-decoration: dashed underline; }\n\n.xterm-overline[_ngcontent-%COMP%] {\n text-decoration: overline;\n}\n\n.xterm-overline.xterm-underline-1[_ngcontent-%COMP%] { text-decoration: overline underline; }\n\n.xterm-overline.xterm-underline-2[_ngcontent-%COMP%] { -webkit-text-decoration: overline double underline; text-decoration: overline double underline; }\n\n.xterm-overline.xterm-underline-3[_ngcontent-%COMP%] { -webkit-text-decoration: overline wavy underline; text-decoration: overline wavy underline; }\n\n.xterm-overline.xterm-underline-4[_ngcontent-%COMP%] { -webkit-text-decoration: overline dotted underline; text-decoration: overline dotted underline; }\n\n.xterm-overline.xterm-underline-5[_ngcontent-%COMP%] { -webkit-text-decoration: overline dashed underline; text-decoration: overline dashed underline; }\n\n.xterm-strikethrough[_ngcontent-%COMP%] {\n text-decoration: line-through;\n}\n\n.xterm-screen[_ngcontent-%COMP%] .xterm-decoration-container[_ngcontent-%COMP%] .xterm-decoration[_ngcontent-%COMP%] {\n\tz-index: 6;\n\tposition: absolute;\n}\n\n.xterm-screen[_ngcontent-%COMP%] .xterm-decoration-container[_ngcontent-%COMP%] .xterm-decoration.xterm-decoration-top-layer[_ngcontent-%COMP%] {\n\tz-index: 7;\n}\n\n.xterm-decoration-overview-ruler[_ngcontent-%COMP%] {\n z-index: 8;\n position: absolute;\n top: 0;\n right: 0;\n pointer-events: none;\n}\n\n.xterm-decoration-top[_ngcontent-%COMP%] {\n z-index: 2;\n position: relative;\n}\n\n[_nghost-%COMP%] {\n display: block;\n height: 100%;\n width: 100%;\n}\n\n.terminal-wrapper[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n padding: 10px;\n background-color: #1E1E1E;\n box-sizing: border-box;\n}\n\n.terminal-wrapper[_ngcontent-%COMP%] #terminal[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n}\n\n.terminal-wrapper[_ngcontent-%COMP%] #terminal[_ngcontent-%COMP%] .xterm[_ngcontent-%COMP%] {\n height: 100%;\n width: 100%;\n padding: 8px;\n}\n\n.terminal-wrapper[_ngcontent-%COMP%] #terminal[_ngcontent-%COMP%] .xterm[_ngcontent-%COMP%] .xterm-viewport[_ngcontent-%COMP%] {\n background-color: #1E1E1E !important;\n width: 100% !important;\n}\n\n.terminal-wrapper[_ngcontent-%COMP%] #terminal[_ngcontent-%COMP%] .xterm[_ngcontent-%COMP%] .xterm-screen[_ngcontent-%COMP%] {\n width: 100% !important;\n}\n\n.terminal-wrapper[_ngcontent-%COMP%] #terminal[_ngcontent-%COMP%] .xterm[_ngcontent-%COMP%] .xterm-rows[_ngcontent-%COMP%] {\n color: #E0E0E0;\n font-family: \"Courier New\", monospace;\n}"] }); } /***/ }), /***/ 59325: /*!************************************************************************************!*\ !*** ./src/app/main/views/applications/text-messaging/text-messaging.component.ts ***! \************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "TextMessagingComponent": () => (/* binding */ TextMessagingComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var jwt_decode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! jwt-decode */ 21816); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = ["CapturarLote"]; function TextMessagingComponent_div_0_ng_template_8_span_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx_r9.mensajeNoDispositivos); } } function TextMessagingComponent_div_0_ng_template_8_span_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx_r10.dispositivoSeleccionado == null ? null : ctx_r10.dispositivoSeleccionado.label); } } function TextMessagingComponent_div_0_ng_template_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](0, TextMessagingComponent_div_0_ng_template_8_span_0_Template, 2, 1, "span", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, TextMessagingComponent_div_0_ng_template_8_span_1_Template, 2, 1, "span", 27); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r3.listaDispositivos.length === 0); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r3.listaDispositivos.length > 0); } } function TextMessagingComponent_div_0_ng_container_33_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](1, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "div", 34); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "div", 35); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](4, "Cargando Dispositivo y Mensajes, por favor espere..."); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementContainerEnd"](); } } function TextMessagingComponent_div_0_ng_container_34_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](1, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "div", 36); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "div", 35); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](4, "No se encontraron mensajes..."); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementContainerEnd"](); } } function TextMessagingComponent_div_0_ng_template_37_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 37); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const nombre_r11 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", nombre_r11, " "); } } function TextMessagingComponent_div_0_ng_template_39_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 37); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const numero_r12 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"](" ", numero_r12, ""); } } function TextMessagingComponent_div_0_ng_template_41_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 38)(1, "button", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "span", 22); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](3, "div", 40); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "settings"); } } const _c1 = function () { return { standalone: true }; }; function TextMessagingComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 2)(1, "div", 3)(2, "section", 4)(3, "div", 5)(4, "div", 6)(5, "div", 7)(6, "div", 8)(7, "ng-select", 9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function TextMessagingComponent_div_0_Template_ng_select_ngModelChange_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r15); const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r14.dispositivoSeleccionado = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](8, TextMessagingComponent_div_0_ng_template_8_Template, 2, 2, "ng-template", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](9, "div", 11)(10, "div", 12)(11, "label", 13); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](13, "select", 14); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function TextMessagingComponent_div_0_Template_select_ngModelChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r15); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r16.selectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](14, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](15, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](16, "option", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](17, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](18, "option", 17); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](19, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](20, "option", 18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](21, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](22, " Registros"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](23, "div", 19)(24, "div", 20)(25, "button", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function TextMessagingComponent_div_0_Template_button_click_25_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r15); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r17.ModalMensaje(_r1)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](26, " Enviar Mensaje "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](27, "span", 22); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](28, "div", 23)(29, "div", 24)(30, "label", 25); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](31, "Buscar:"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](32, "input", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function TextMessagingComponent_div_0_Template_input_ngModelChange_32_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r15); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r18.searchValue = $event); })("keyup", function TextMessagingComponent_div_0_Template_input_keyup_32_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r15); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r19.filterUpdate($event)); })("search", function TextMessagingComponent_div_0_Template_input_search_32_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r15); const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r20.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](33, TextMessagingComponent_div_0_ng_container_33_Template, 5, 0, "ng-container", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](34, TextMessagingComponent_div_0_ng_container_34_Template, 5, 0, "ng-container", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](35, "ngx-datatable", 28)(36, "ngx-datatable-column", 29); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](37, TextMessagingComponent_div_0_ng_template_37_Template, 3, 1, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](38, "ngx-datatable-column", 31); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](39, TextMessagingComponent_div_0_ng_template_39_Template, 3, 1, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](40, "ngx-datatable-column", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](41, TextMessagingComponent_div_0_ng_template_41_Template, 4, 3, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpropertyInterpolate"]("notFoundText", ctx_r0.mensajeNoDispositivos || "No se encontraron dispositivos"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r0.listaDispositivos)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](17, _c1))("ngModel", ctx_r0.dispositivoSeleccionado); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r0.selectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](14); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "message-circle"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r0.isLoading == 0); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r0.isLoading == 2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("rows", ctx_r0.rowsMensajes)("limit", ctx_r0.selectedOption)("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 50)("footerHeight", 50); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 200); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 50)("sortable", false); } } function TextMessagingComponent_ng_template_1_small_15_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, " Ingrese un n\u00FAmero telef\u00F3nico v\u00E1lido. "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function TextMessagingComponent_ng_template_1_small_21_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, " Ingrese un mensaje "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function TextMessagingComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { const _r25 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "form", 41); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngSubmit", function TextMessagingComponent_ng_template_1_Template_form_ngSubmit_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r25); const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r24.enviarMensaje()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](1, "div", 42)(2, "h5", 43); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](3, "Enviar Mensajes de Texto"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](4, "button", 44); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function TextMessagingComponent_ng_template_1_Template_button_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r25); const modal_r21 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r21.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](5, "span", 45); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](6, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "div", 46)(8, "div", 47)(9, "div", 48)(10, "div", 7)(11, "div", 49)(12, "label", 50); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](13, "N\u00FAmero Telef\u00F3nico"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](14, "input", 51); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](15, TextMessagingComponent_ng_template_1_small_15_Template, 2, 0, "small", 52); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](16, "div", 7)(17, "div", 49)(18, "label", 53); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](19, "Escribe el Mensaje"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](20, "textarea", 54); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](21, TextMessagingComponent_ng_template_1_small_21_Template, 2, 0, "small", 52); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](22, "div", 55)(23, "small")(24, "strong")(25, "font", 56); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](26, "Estimado usuario, tenga en cuenta que cada mensaje de texto enviado genera un costo y consumo. Por favor, utilice este m\u00F3dulo con precauci\u00F3n ya que se est\u00E1 utilizando un n\u00FAmero oficial."); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](27, "div", 57)(28, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](29, "Enviar Mensaje "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](30, "span", 22); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](31, "button", 59); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function TextMessagingComponent_ng_template_1_Template_button_click_31_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r25); const modal_r21 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r21.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](32, " Cerrar "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("formGroup", ctx_r2.formulario); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](15); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r2.formulario.get("phoneNumbers").invalid && ctx_r2.formulario.get("phoneNumbers").touched); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r2.formulario.get("phoneNumbers").invalid && ctx_r2.formulario.get("phoneNumbers").touched); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("disabled", ctx_r2.formulario.invalid || ctx_r2.isButtonDisabled); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "message-circle"); } } class TextMessagingComponent { fb; apiService; utilService; modalService; taskService; msjService; ws; formulario; fileUpload1; table; blockUI; sectionBlockUI; modalsectionBlockUI; modalSubirXLS; pID = { id: "", estatus: false, mensaje: "", segundos: "", contenido: "" }; xAPI = { funcion: '', parametros: '', valores: '' }; token; pidData; rsObject; resSms; showButton = true; leerSMS; sidebarToggleRef = false; rows; selectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.ColumnMode; temp = []; isLoading = 0; listaMensajesDispositivos = []; rowsMensajes = []; tempDataMensajes = []; searchValue = ''; tempData = []; listaDispositivos = []; mensajeNoDispositivos = ""; // Propiedad para almacenar el mensaje dispositivoSeleccionado = null; // Propiedad para almacenar el valor seleccionado _unsubscribeAll; isButtonDisabled = false; constructor(fb, apiService, utilService, modalService, taskService, msjService, ws) { this.fb = fb; this.apiService = apiService; this.utilService = utilService; this.modalService = modalService; this.taskService = taskService; this.msjService = msjService; this.ws = ws; this.formulario = this.fb.group({ phoneNumbers: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.pattern(/^(\+[0-9]+)(,\+[0-9]+)*$/)]], message: ['', _angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required] // Valida que el mensaje no esté vacío }); } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this.ConsultarDispositivo(); _this.token = (0,jwt_decode__WEBPACK_IMPORTED_MODULE_1__["default"])(sessionStorage.getItem('token')); })(); } ConsultarDispositivo() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.isLoading = 0; const config = { funcion: 'Fnx_ListarDispositivosMoviles', nombre: 'Listar dispositivos móviles' }; try { const data = yield _this2.apiService.ExecFnx(config).toPromise(); if (data.tipo === 1) { _this2.pID.id = data.contenido.id; _this2.pID.estatus = true; _this2.msjService.pidDevice$.emit(_this2.pID); const taskResult = yield _this2.taskService.set(data.contenido.id, config.funcion, config.nombre); _this2.pidData = yield _this2.apiService.ConsultarPidSandraSms(data.contenido.id, config.nombre); // console.log(this.pidData) // Convertir this.pidData.rs en un objeto JSON const texto = _this2.pidData.rs; // Extraer el estado (true/false) const status = texto.includes('true'); // Extraer el mensaje const dataMessage = texto.match(/✅.*/)?.[0] || ''; // console.log(dataMessage) if (status == true) { yield _this2.LeerMensaje(); // Actualizar la lista de dispositivos _this2.listaDispositivos = [{ label: dataMessage, value: data.contenido.id // El valor que se seleccionará }]; _this2.mensajeNoDispositivos = ""; // Limpiar el mensaje si hay dispositivos _this2.dispositivoSeleccionado = _this2.listaDispositivos[0]; // Seleccionar el primer dispositivo _this2.isLoading = 1; } else { _this2.isLoading = 2; _this2.listaDispositivos = []; // Limpiar la lista si no hay dispositivos _this2.mensajeNoDispositivos = "❌ No hay dispositivos conectados"; // Guardar el mensaje _this2.dispositivoSeleccionado = "❌ No hay dispositivos conectados"; // Limpiar la selección } } else { _this2.isLoading = 2; } } catch (error) { console.log(error); } })(); } ModalMensaje(modal) { this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } enviarMensaje() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { if (_this3.formulario.valid) { _this3.isButtonDisabled = true; const config = { funcion: 'Fnx_EnviarMensajeTexto', nombre: 'Enviar Mensaje de Texto', TELEFONO: _this3.formulario.value.phoneNumbers, MENSAJE: _this3.formulario.value.message }; try { const data = yield _this3.apiService.ExecFnx(config).toPromise(); if (data.tipo === 1) { _this3.pID.id = data.contenido.id; _this3.pID.estatus = true; _this3.msjService.pidDevice$.emit(_this3.pID); const taskResult = yield _this3.taskService.set(data.contenido.id, config.funcion, config.nombre); _this3.resSms = yield _this3.apiService.ConsultarPidSandraSms(data.contenido.id, config.nombre); if (typeof _this3.resSms.rs === 'string') { const rsJSON = JSON.parse(_this3.resSms.rs); // console.log(rsJSON) } if (_this3.resSms.rs.success !== false) { _this3.utilService.alertConfirmMini('success', "Mensaje enviado correctamente."); _this3.formulario.reset({ phoneNumbers: '', message: '' }); _this3.cerrarModal(); _this3.listaMensajesDispositivos = []; _this3.rowsMensajes = []; yield _this3.LeerMensaje(); } else { _this3.utilService.alertConfirmMini('warning', "Oops lo sentimos!, Error al enviar el mensaje. Verifique que haya algún dispositivo conectado."); // this.formulario.reset({ phoneNumbers: '', message: '' }); // this.cerrarModal() _this3.isButtonDisabled = false; } } else { _this3.cerrarModal(); _this3.utilService.alertConfirmMini('error', "Oops lo sentimos!, Error al enviar el mensaje. Verifique que haya algún dispositivo conectado."); _this3.formulario.reset({ phoneNumbers: '', message: '' }); _this3.isButtonDisabled = true; } } catch (error) { console.log(error); _this3.formulario.reset({ phoneNumbers: '', message: '' }); _this3.utilService.alertConfirmMini('info', 'Oops lo sentimos!, porfavor intente de nuevo.'); _this3.isButtonDisabled = true; } } })(); } LeerMensaje() { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { const config = { funcion: 'Fnx_ListarMensajesDispositivos', nombre: 'Enviar Mensaje de Texto' }; try { const data = yield _this4.apiService.ExecFnx(config).toPromise(); if (data.tipo === 1) { _this4.pID.id = data.contenido.id; _this4.pID.estatus = true; _this4.msjService.pidDevice$.emit(_this4.pID); const taskResult = yield _this4.taskService.set(data.contenido.id, config.funcion, config.nombre); _this4.leerSMS = yield _this4.apiService.ConsultarPidSandraSms(data.contenido.id, config.nombre); // console.log(this.leerSMS) if (typeof _this4.leerSMS.rs === 'string') { const rsJSON = JSON.parse(_this4.leerSMS.rs); // console.log(rsJSON) if (rsJSON.chats.length > 0) { rsJSON.chats.map(e => { _this4.listaMensajesDispositivos = rsJSON.chats; _this4.isLoading = 1; }); _this4.rowsMensajes = _this4.listaMensajesDispositivos; _this4.tempDataMensajes = _this4.rowsMensajes; console.log(_this4.rowsMensajes); } else { _this4.isLoading = 2; } } } else { _this4.cerrarModal(); _this4.utilService.alertConfirmMini('error', "Oops lo sentimos!, Error al leer los mensajes. Verifique que haya algún dispositivo conectado."); } } catch (error) { console.log(error); _this4.utilService.alertConfirmMini('info', 'Oops lo sentimos!, porfavor intente de nuevo.'); } })(); } cerrarModal() { this.modalService.dismissAll(); this.formulario.reset({ phoneNumbers: '', message: '' }); } filterUpdate(event) { // Reset ng-select on search const val = event.target.value.toLowerCase(); // Filter Our Data const temp = this.tempData.filter(function (d) { return d.nombre_empresa.toLowerCase().indexOf(val) !== -1 || !val; }); // Update The Rows this.rowsMensajes = temp; // Whenever The Filter Changes, Always Go Back To The First Page this.table.offset = 0; } static ɵfac = function TextMessagingComponent_Factory(t) { return new (t || TextMessagingComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_2__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_3__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_4__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__.WsocketsService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__.WsocketsService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineComponent"]({ type: TextMessagingComponent, selectors: [["app-text-messaging"]], viewQuery: function TextMessagingComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DatatableComponent, 5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵviewQuery"](_c0, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵloadQuery"]()) && (ctx.table = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵloadQuery"]()) && (ctx.modalSubirXLS = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModal])], decls: 3, vars: 1, consts: [["class", "card content-wrapper container-xxl p-0", 4, "blockUI"], ["ModalEnviarMensaje", ""], [1, "card", "content-wrapper", "container-xxl", "p-0"], [1, "card-body"], [1, "users-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-12", "col-12"], [1, ""], ["bindLabel", "label", "placeholder", "Seleccione Dispositivo", "required", "", "autocomplete", "off", 3, "items", "ngModelOptions", "notFoundText", "ngModel", "ngModelChange"], ["ng-label-tmp", ""], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], [1, "col-md-3", "col-12"], [1, "d-flex", "align-items-center", "m-1"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-primary", 3, "click"], [3, "data-feather"], [1, "col-md-3", "col-12", "d-flex", "justify-content-start", "justify-content-md-end"], [1, "d-flex", "align-items-center", "justify-content-end", "pr-1", "pb-1", "pb-md-0"], [1, "d-flex", "align-items-center", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "placeholder", "Nombre OPP", 1, "form-control", "ml-25", 3, "ngModel", "ngModelChange", "keyup", "search"], [4, "ngIf"], ["rowHeight", "auto", 1, "bootstrap", "core-bootstrap", 3, "rows", "limit", "columnMode", "headerHeight", "footerHeight"], ["name", "Nombre Contacto", "prop", "nombre", "width", "400"], ["ngx-datatable-cell-template", ""], ["name", "Numero Telefonico", "prop", "numero", 3, "width"], ["name", "Accion", 3, "width", "sortable"], [1, "loading-overlay"], ["role", "status", 1, "spinner-border", "text-success"], [1, "loading-message"], ["role", "status", 1, "spinner-border", "text-danger"], [1, "font-weight-bold"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], ["ngbDropdownMenu", ""], [3, "formGroup", "ngSubmit"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], [1, "row", "d-flex", "align-items-end"], [1, "form-group"], ["for", "phoneNumbers"], ["type", "text", "autocomplete", "off", "formControlName", "phoneNumbers", "placeholder", "Ingrese n\u00FAmero telef\u00F3nico", 1, "form-control"], ["class", "text-danger", 4, "ngIf"], ["for", "message"], ["formControlName", "message", "rows", "5", "placeholder", "Escribe un mensaje ...", 1, "form-control"], ["align", "center", 1, "col-12"], ["color", "red"], [1, "modal-footer"], ["type", "submit", "rippleEffect", "", 1, "btn", "btn-success", "mr-1", 3, "disabled"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"], [1, "text-danger"]], template: function TextMessagingComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](0, TextMessagingComponent_div_0_Template, 42, 18, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, TextMessagingComponent_ng_template_1_Template, 33, 5, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_12__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_10__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.RequiredValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormControlName, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownMenu, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_13__.NgSelectComponent, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_13__.NgLabelTemplateDirective, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_14__["ɵf"]], styles: ["@charset \"UTF-8\";\n.loading-overlay {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n height: 50%;\n position: absolute;\n top: 60px; /* Ajusta la posici\u00F3n debajo del encabezado */\n left: 0;\n width: 100%;\n background-color: rgba(255, 255, 255, 0.7);\n z-index: 999; /* Asegura que est\u00E9 por encima del datatable */\n}\n.spinner-border {\n width: 3rem;\n height: 3rem;\n margin: 0;\n}\n.loading-message {\n margin-top: 10px;\n}"], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_15__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_14__.BlockUI)()], TextMessagingComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_15__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_14__.BlockUI)('section-block')], TextMessagingComponent.prototype, "sectionBlockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_15__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_14__.BlockUI)('modal-section-block')], TextMessagingComponent.prototype, "modalsectionBlockUI", void 0); /***/ }), /***/ 63325: /*!***************************************************************************************************!*\ !*** ./src/app/main/views/investigation/binnacle-applications/binnacle-applications.component.ts ***! \***************************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "BinnacleApplicationsComponent": () => (/* binding */ BinnacleApplicationsComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/pipes/initials.pipe */ 16516); function BinnacleApplicationsComponent_div_0_ng_template_27_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "img", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const row_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("src", row_r9.avatar, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsanitizeUrl"]); } } function BinnacleApplicationsComponent_div_0_ng_template_27_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 33)(1, "div", 34); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](3, "initials"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](3, 1, row_r9.funcion)); } } function BinnacleApplicationsComponent_div_0_ng_template_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, BinnacleApplicationsComponent_div_0_ng_template_27_div_1_Template, 2, 1, "div", 28); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](2, BinnacleApplicationsComponent_div_0_ng_template_27_ng_template_2_Template, 4, 3, "ng-template", null, 29, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "div", 30)(5, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r9 = ctx.row; const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", row_r9.length > 0)("ngIfElse", _r12); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](row_r9.funcion); } } function BinnacleApplicationsComponent_div_0_ng_template_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 35)(2, "div", 36); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r16 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" V", row_r16.version, " "); } } function BinnacleApplicationsComponent_div_0_ng_template_31_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 35)(2, "div", 37); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { const totalRegistros_r17 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](totalRegistros_r17); } } function BinnacleApplicationsComponent_div_0_ng_template_33_Template(rf, ctx) { if (rf & 1) { const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 38)(1, "button", 39); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](2, "span", 40); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "div", 41)(4, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function BinnacleApplicationsComponent_div_0_ng_template_33_Template_a_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r20); const row_r18 = restoredCtx.row; const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r19.ModalExePlay(_r1, row_r18)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](5, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](6, " Ver Registros "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "file-text")("size", 16); } } function BinnacleApplicationsComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 3)(1, "div", 4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](2, "app-content-header", 5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "section", 6)(4, "div", 7)(5, "div", 8)(6, "div", 9)(7, "div", 10)(8, "div", 11)(9, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "select", 12); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function BinnacleApplicationsComponent_div_0_Template_select_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r22); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r21.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](12, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](14, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](16, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](18, "option", 16); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](20, "div", 17)(21, "div", 18)(22, "div", 19)(23, "label", 20)(24, "input", 21); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function BinnacleApplicationsComponent_div_0_Template_input_ngModelChange_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r22); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r23.searchValue = $event); })("keyup", function BinnacleApplicationsComponent_div_0_Template_input_keyup_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r22); const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r24.filterUpdate($event)); })("search", function BinnacleApplicationsComponent_div_0_Template_input_search_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r22); const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r25.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](25, "ngx-datatable", 22)(26, "ngx-datatable-column", 23); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](27, BinnacleApplicationsComponent_div_0_ng_template_27_Template, 7, 3, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](28, "ngx-datatable-column", 25); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](29, BinnacleApplicationsComponent_div_0_ng_template_29_Template, 4, 1, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](30, "ngx-datatable-column", 26); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](31, BinnacleApplicationsComponent_div_0_ng_template_31_Template, 4, 1, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](32, "ngx-datatable-column", 27); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](33, BinnacleApplicationsComponent_div_0_ng_template_33_Template, 7, 7, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rows", ctx_r0.rowData)("rowHeight", 58)("limit", 10)("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 300); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 5)("sortable", false); } } function BinnacleApplicationsComponent_ng_template_1_ng_template_31_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 11)(1, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r31 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](row_r31.usuario); } } function BinnacleApplicationsComponent_ng_template_1_ng_template_33_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 35)(2, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r33 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" ", row_r33.duracion, " "); } } function BinnacleApplicationsComponent_ng_template_1_ng_template_35_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 35)(2, "div", 37); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { const fecha_r34 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](fecha_r34); } } function BinnacleApplicationsComponent_ng_template_1_ng_template_37_Template(rf, ctx) { if (rf & 1) { const _r37 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 38)(1, "button", 39); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](2, "span", 40); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "div", 41)(4, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function BinnacleApplicationsComponent_ng_template_1_ng_template_37_Template_a_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r37); const row_r35 = restoredCtx.row; const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r36.ModalVerConsulta(_r3, row_r35)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](5, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](6, " Ver Consulta "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](7, "a", 53); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function BinnacleApplicationsComponent_ng_template_1_ng_template_37_Template_a_click_7_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r37); const row_r35 = restoredCtx.row; const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r38.ModalVerConsulta(_r3, row_r35)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](8, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](9, "Ver Contenido "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "file-text")("size", 16); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "package")("size", 16); } } function BinnacleApplicationsComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { const _r40 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 44)(1, "h5", 45); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Visualizar Registros"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "button", 46); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function BinnacleApplicationsComponent_ng_template_1_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r40); const modal_r26 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](modal_r26.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "span", 47); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](6, "div", 48)(7, "section", 6)(8, "div", 7)(9, "div", 8)(10, "div", 9)(11, "div", 10)(12, "div", 11)(13, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](14, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](15, "select", 12); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function BinnacleApplicationsComponent_ng_template_1_Template_select_ngModelChange_15_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r40); const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r41.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](16, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](17, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](18, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](19, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](20, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](21, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](22, "option", 16); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](23, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](24, "div", 17)(25, "div", 18)(26, "div", 19)(27, "label", 20)(28, "input", 49); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function BinnacleApplicationsComponent_ng_template_1_Template_input_ngModelChange_28_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r40); const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r42.searchRegistros = $event); })("keyup", function BinnacleApplicationsComponent_ng_template_1_Template_input_keyup_28_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r40); const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r43.filterUpdateRegister($event)); })("search", function BinnacleApplicationsComponent_ng_template_1_Template_input_search_28_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r40); const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r44.filterUpdateRegister($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](29, "ngx-datatable", 22)(30, "ngx-datatable-column", 50); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](31, BinnacleApplicationsComponent_ng_template_1_ng_template_31_Template, 3, 1, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](32, "ngx-datatable-column", 51); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](33, BinnacleApplicationsComponent_ng_template_1_ng_template_33_Template, 4, 1, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](34, "ngx-datatable-column", 52); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](35, BinnacleApplicationsComponent_ng_template_1_ng_template_35_Template, 4, 1, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](36, "ngx-datatable-column", 27); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](37, BinnacleApplicationsComponent_ng_template_1_ng_template_37_Template, 10, 11, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](15); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r2.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r2.searchRegistros); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rows", ctx_r2.rowDataRegistros)("rowHeight", 58)("limit", 10)("columnMode", ctx_r2.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r2.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 5)("sortable", false); } } const _c0 = function () { return { standalone: true }; }; function BinnacleApplicationsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) { const _r47 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 44)(1, "h5", 45); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Visualizar Consulta SQL"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "button", 46); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function BinnacleApplicationsComponent_ng_template_3_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r47); const modal_r45 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](modal_r45.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "span", 47); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](6, "div", 48)(7, "div", 54)(8, "div", 8)(9, "div", 55)(10, "div", 56)(11, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](12, "Resultado"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](13, "div", 57)(14, "textarea", 58); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function BinnacleApplicationsComponent_ng_template_3_Template_textarea_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r47); const ctx_r48 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r48.xrs = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](15, "div", 59)(16, "button", 60); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function BinnacleApplicationsComponent_ng_template_3_Template_button_click_16_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r47); const modal_r45 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](modal_r45.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](17, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r4.xrs); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](3, _c0))("ngModel", ctx_r4.xrs); } } class BinnacleApplicationsComponent { taskService; apiService; msjService; modalService; route; utilService; table; blockUI; sectionBlockUI; xAPI = { funcion: "", parametros: "", valores: {} }; msj = "Cargardo!!! por favor espere..."; xrs = ""; ListarBitacora = []; tempData = []; rowData = []; ListarBitacoraRegistros = []; tempDataRegistros = []; rowDataRegistros = []; urlID = {}; // public contentHeader; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.SelectionType; constructor(taskService, apiService, msjService, modalService, route, utilService) { this.taskService = taskService; this.apiService = apiService; this.msjService = msjService; this.modalService = modalService; this.route = route; this.utilService = utilService; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { const datoBase64 = _this.route.snapshot.paramMap.get('id'); if (datoBase64) { const datoDecodificado = atob(datoBase64); const objetoRecibido = JSON.parse(datoDecodificado); _this.urlID = objetoRecibido; console.log(objetoRecibido); // Verificar si existe antes de acceder if (objetoRecibido.aplicacion) { console.log(objetoRecibido.aplicacion); } else { _this.utilService.AlertMini('top-end', 'error', 'La propiedad aplicacion no existe en el objeto recibido.', 3000); } } _this.urlID.funciones.forEach(e => { _this.ListarBitacora.push(e); }); _this.rowData = _this.ListarBitacora; _this.tempData = _this.rowData; // content header _this.contentHeader = { headerTitle: "Investigación", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Bitacora", isLink: false }, { name: _this.urlID.aplicacion, isLink: false }] } }; })(); } ModalExePlay(modal, data) { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { data.registros.forEach(e => { _this2.ListarBitacoraRegistros.push(e); }); _this2.rowDataRegistros = _this2.ListarBitacoraRegistros; _this2.tempDataRegistros = _this2.tempDataRegistros; _this2.modalService.open(modal, { centered: true, size: 'xl', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); })(); } ModalVerConsulta(modal, data) { this.xrs = this.msj; setTimeout(() => { this.xrs = data.consulta ? data.consulta : 'No hay registros...'; }, 1000); this.modalService.open(modal, { centered: true, size: 'xl', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } filterUpdate(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempData.filter(function (d) { return d.funcion.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } filterUpdateRegister(event) { const val = event.target.value.toLowerCase(); // filter our data const temps = this.tempDataRegistros.filter(function (d) { return d.usuario.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowDataRegistros = temps; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } cerrarModal() { this.modalService.dismissAll(); } static ɵfac = function BinnacleApplicationsComponent_Factory(t) { return new (t || BinnacleApplicationsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_1__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_2__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_3__.WsocketsService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_12__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineComponent"]({ type: BinnacleApplicationsComponent, selectors: [["app-binnacle-applications"]], viewQuery: function BinnacleApplicationsComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModal])], decls: 5, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], ["ModalPlay", ""], ["ModalConsulta", ""], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-12", "col-md-12", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "d-flex", "align-items-center", "mb-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "FUNCI\u00D3N", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "VERSI\u00D3N", 3, "width"], ["name", "TOTAL REGISTROS", "prop", "totalRegistros", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [4, "ngIf", "ngIfElse"], ["customAvatar", ""], [1, "cell-line-height"], [1, "font-weight-bold", "d-block", "text-nowrap", "font-medium-1"], ["height", "32", "width", "32", "alt", "datatable-avatar", 1, "rounded-circle", "mr-1", 3, "src"], [1, "avatar", "mr-1", "ml-0", "bg-light-success"], [1, "avatar-content"], [1, "font-weight-bold"], [1, "badge", "badge-glow", "badge-success"], [1, "badge", "badge-glow", "badge-warning"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], [3, "data-feather"], ["ngbDropdownMenu", ""], ["target", "_blank", "ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], ["name", "searchRegistros", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], ["name", "USUARIO", 3, "width"], ["name", "DURACI\u00D3N", 3, "width"], ["name", "FECHA", "prop", "fecha", 3, "width"], ["ngbDropdownItem", "", 3, "click"], [1, "col-xl-12", "col-md-12", "col-12"], [1, "col-md-12"], [1, "form-group"], [2, "width", "100%", "height", "400px", "overflow", "scroll"], ["id", "xrs", 2, "font-size", "11px", "width", "100%", "height", "400px", 3, "ngModelOptions", "ngModel", "value", "ngModelChange"], [1, "modal-footer"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"]], template: function BinnacleApplicationsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](0, BinnacleApplicationsComponent_div_0_Template, 34, 16, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, BinnacleApplicationsComponent_ng_template_1_Template, 38, 15, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](3, BinnacleApplicationsComponent_ng_template_3_Template, 18, 4, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_13__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_14__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgModel, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_10__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownItem, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_15__["ɵf"], _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_8__.InitialsPipe], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_16__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_15__.BlockUI)()], BinnacleApplicationsComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_16__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_15__.BlockUI)("section-block")], BinnacleApplicationsComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 87463: /*!*************************************************************************!*\ !*** ./src/app/main/views/investigation/binnacle/binnacle.component.ts ***! \*************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "BinnacleComponent": () => (/* binding */ BinnacleComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/pipes/filter.pipe */ 69671); function BinnacleComponent_div_11_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 26)(1, "div", 27)(2, "h5", 28); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "h6", 29); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](6, "p", 30); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()(); } if (rf & 2) { const item_r8 = ctx.item; _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](item_r8.funcion); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](item_r8.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate2"](" ", item_r8.tipo, " --- ", item_r8.aplicacion, " "); } } function BinnacleComponent_div_11_Template(rf, ctx) { if (rf & 1) { const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 23)(1, "ng-select", 24); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("ngModelChange", function BinnacleComponent_div_11_Template_ng_select_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r12); const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r11.selectCustomSelected = $event); })("change", function BinnacleComponent_div_11_Template_ng_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r12); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r13.LinkRuta($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](2, BinnacleComponent_div_11_ng_template_2_Template, 8, 4, "ng-template", 25); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("items", ctx_r0.rowData)("ngModel", ctx_r0.selectCustomSelected)("searchable", true)("hideSelected", false); } } function BinnacleComponent_div_14_Template(rf, ctx) { if (rf & 1) { const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 31)(1, "a", 32); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function BinnacleComponent_div_14_Template_a_click_1_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r16); const product_r14 = restoredCtx.$implicit; const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r15.irA("/investigation/binnacle/", product_r14)); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](2, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](3, "img", 34); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "div", 27)(5, "div", 35)(6, "div", 36)(7, "h6", 37); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](9, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](10, "div", 38)(11, "div", 39); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](12); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](13, "span", 40); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("click", function BinnacleComponent_div_14_Template_span_click_13_listener($event) { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r16); const product_r14 = restoredCtx.$implicit; const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); $event.stopPropagation(); return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r17.deleteItem($event, product_r14)); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const product_r14 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind1"](9, 2, product_r14.aplicacion)); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" Total Funciones: ", product_r14.totalFunciones, " "); } } function BinnacleComponent_ng_template_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 41); } } function BinnacleComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 42); } } function BinnacleComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](0); } if (rf & 2) { const page_r18 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" ", page_r18, " "); } } function BinnacleComponent_ng_template_28_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 43); } } function BinnacleComponent_ng_template_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 44); } } class BinnacleComponent { ruta; apiService; searchType = "conexiones"; // Valor inicial del select searchText = ''; // Para el input de búsqueda normal selectCustomSelected = []; // Para el ng-select contentHeader; ListarBitacora = []; xAPI = { funcion: '', parametros: '', valores: '' }; page = 1; pageSize = 8; pageBasic = 1; developer = []; rowData = []; tempData = []; constructor(ruta, apiService) { this.ruta = ruta; this.apiService = apiService; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this.CargarBitacora(); _this.contentHeader = { headerTitle: 'Investigación', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Bitacora', isLink: false }] } }; })(); } irA(base, data) { const datoCodificado = btoa(JSON.stringify(data)); this.ruta.navigate([base + '/' + datoCodificado]); } deleteItem(event, data) { console.log(data); } CargarBitacora() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.xAPI.funcion = "_SYS_CBitacoraGrupo"; _this2.xAPI.parametros = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { if (data == null) return; yield data.map(e => { _this2.ListarBitacora.push(e); }); _this2.rowData = _this2.ListarBitacora; _this2.tempData = _this2.rowData; }); return function (_x) { return _ref.apply(this, arguments); }; }(), error => { console.log(error); }); })(); } static ɵfac = function BinnacleComponent_Factory(t) { return new (t || BinnacleComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__.ApiService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ type: BinnacleComponent, selectors: [["app-binnacle"]], hostAttrs: [1, "ecommerce-application"], decls: 30, vars: 23, consts: [[1, "content-wrapper", "container-xxl", "p-0"], [3, "contentHeader"], [1, "content-body"], ["id", "ecommerce-searchbar", 1, "ecommerce-searchbar"], [1, "row", "mt-1"], [1, "col-sm-12"], [1, "input-group", "input-group-merge"], ["type", "text", "id", "shop-search", "placeholder", "Buscar", "aria-label", "Search...", "aria-describedby", "shop-search", 1, "form-control", "search-product", 2, "height", "40px", 3, "ngModel", "ngModelChange"], [1, "input-group-append"], [1, "input-group-text", 2, "height", "40px"], ["data-feather", "search", 1, "text-muted"], ["class", "col-sm-9", 4, "ngIf"], ["id", "wishlist", 1, "grid-view", "wishlist-items"], ["class", "card ecommerce-card tarjeta", 4, "ngFor", "ngForOf"], ["id", "ecommerce-pagination"], [1, "row"], [1, "d-flex", "justify-content-center"], ["aria-label", "Pagination", 3, "collectionSize", "page", "pageSize", "maxSize", "rotate", "ellipses", "boundaryLinks", "pageChange"], ["ngbPaginationFirst", ""], ["ngbPaginationPrevious", ""], ["ngbPaginationNumber", ""], ["ngbPaginationNext", ""], ["ngbPaginationLast", ""], [1, "col-sm-9"], ["bindLabel", "funcion", "bindValue", "id", "placeholder", "Seleccione API", 2, "height", "40px", "border", "1px solid #ccc", "border-radius", "4px", 3, "items", "ngModel", "searchable", "hideSelected", "ngModelChange", "change"], ["ng-option-tmp", ""], [1, "card", 2, "margin", "10px 0"], [1, "card-body"], [1, "card-title"], [1, "card-subtitle", "mb-2", "text-muted"], [1, "card-text"], [1, "card", "ecommerce-card", "tarjeta"], [3, "click"], [1, "item-img", "text-center", "efecto-img"], ["src", "assets/images/logo/logo.png", "alt", "img-placeholder", 1, "img-fluid"], [1, "item-wrapper"], [1, "card-text", "item-description"], [1, "item-price"], [1, "item-rating", "d-flex", "justify-content-between", "align-items-center"], [1, "badge", "badge-success"], ["data-feather", "trash-2", 1, "font-weight-bolder", "text-danger", 2, "width", "18px", "height", "18px", "cursor", "pointer", 3, "click"], ["data-feather", "chevrons-left", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevron-left", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevron-right", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevrons-right", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"]], template: function BinnacleComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "app-content-header", 1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](2, "div", 2)(3, "section", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6)(7, "input", 7); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("ngModelChange", function BinnacleComponent_Template_input_ngModelChange_7_listener($event) { return ctx.searchText = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](8, "div", 8)(9, "span", 9); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](10, "i", 10); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](11, BinnacleComponent_div_11_Template, 3, 4, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](12, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](13, "section", 12); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](14, BinnacleComponent_div_14_Template, 14, 4, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](15, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](16, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](17, "br")(18, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](19, "section", 14)(20, "div", 15)(21, "div", 5)(22, "div", 16)(23, "ngb-pagination", 17); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("pageChange", function BinnacleComponent_Template_ngb_pagination_pageChange_23_listener($event) { return ctx.page = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](24, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](25, BinnacleComponent_ng_template_25_Template, 1, 0, "ng-template", 18); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](26, BinnacleComponent_ng_template_26_Template, 1, 0, "ng-template", 19); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](27, BinnacleComponent_ng_template_27_Template, 1, 1, "ng-template", 20); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](28, BinnacleComponent_ng_template_28_Template, 1, 0, "ng-template", 21); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](29, BinnacleComponent_ng_template_29_Template, 1, 0, "ng-template", 22); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()()()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("contentHeader", ctx.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngModel", ctx.searchText); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.searchType === "api"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](15, 11, _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](16, 15, ctx.ListarBitacora, ctx.searchText, "aplicacion"), (ctx.page - 1) * ctx.pageSize, ctx.page * ctx.pageSize)); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("collectionSize", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](24, 19, ctx.ListarBitacora, ctx.searchText, "nombre").length)("page", ctx.page)("pageSize", ctx.pageSize)("maxSize", 5)("rotate", true)("ellipses", false)("boundaryLinks", true); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgModel, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbPagination, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbPaginationFirst, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbPaginationLast, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbPaginationNext, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbPaginationNumber, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__.NgbPaginationPrevious, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__.NgSelectComponent, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__.NgOptionTemplateDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_3__.FeatherIconDirective, _angular_common__WEBPACK_IMPORTED_MODULE_7__.UpperCasePipe, _angular_common__WEBPACK_IMPORTED_MODULE_7__.SlicePipe, _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_4__.FilterPipe], styles: ["@charset \"UTF-8\";\n.ecommerce-application .content-body {\n position: relative;\n}\n.ecommerce-application .body-content-overlay {\n position: fixed !important;\n z-index: 12 !important;\n}\n.ecommerce-application .sidebar-shop {\n margin-top: 0.85rem;\n width: 260px;\n z-index: 998;\n}\n.ecommerce-application .sidebar-shop .filter-heading {\n margin-bottom: 1.75rem;\n}\n.ecommerce-application .sidebar-shop .filter-title {\n margin-bottom: 1rem;\n margin-top: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .price-range li:not(:last-child),\n.ecommerce-application .sidebar-shop .categories-list li:not(:last-child) {\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .brand-list li {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip {\n opacity: 0;\n transform: translate(-50%, -15%);\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip:before {\n content: \"$ \";\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle:active .noUi-tooltip {\n opacity: 1;\n}\n.ecommerce-application .sidebar-shop .ratings-list {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list:last-child {\n margin-bottom: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul {\n margin-bottom: 0;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item svg,\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item i {\n width: 1.25rem;\n height: 1.25rem;\n font-size: 1.25rem;\n}\n.ecommerce-application .filled-star {\n fill: #ff9f43;\n stroke: #ff9f43;\n color: #ff9f43;\n}\n.ecommerce-application .unfilled-star {\n stroke: #babfc7;\n color: #babfc7;\n}\n.ecommerce-application .ecommerce-header-items {\n display: flex;\n justify-content: space-between;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler {\n padding-left: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:active, .ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:focus {\n outline: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon {\n height: auto;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon i,\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon svg {\n color: #6e6b7b;\n height: 1.5rem;\n width: 1.5rem;\n font-size: 1.5rem;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n font-weight: 500;\n color: #5e5873;\n}\n.ecommerce-application .ecommerce-searchbar .input-group {\n box-shadow: 0 2px 8px 0 rgba(34, 41, 47, 0.14);\n border-radius: 0.3rem;\n}\n.ecommerce-application .search-product,\n.ecommerce-application .input-group-text {\n height: 48px;\n border: none;\n font-size: 0.95rem;\n padding-left: 1.25rem;\n}\n.ecommerce-application .search-product::placeholder,\n.ecommerce-application .input-group-text::placeholder {\n font-size: 0.95rem;\n}\n.ecommerce-application .ecommerce-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 4px 25px 0 rgba(34, 41, 47, 0.25);\n}\n.ecommerce-application .ecommerce-card .item-rating ul {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-rating svg,\n.ecommerce-application .ecommerce-card .item-rating i {\n height: 1.143rem;\n width: 1.143rem;\n font-size: 1.143rem;\n}\n.ecommerce-application .ecommerce-card .item-name {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-name a {\n font-weight: 600;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .ecommerce-card .item-description {\n font-size: 0.875rem;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist span,\n.ecommerce-application .ecommerce-card .btn-cart span {\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i,\n.ecommerce-application .ecommerce-card .btn-wishlist svg,\n.ecommerce-application .ecommerce-card .btn-cart i,\n.ecommerce-application .ecommerce-card .btn-cart svg {\n margin-right: 0.25rem;\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i.text-danger,\n.ecommerce-application .ecommerce-card .btn-wishlist svg.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart i.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart svg.text-danger {\n fill: #ea5455;\n}\n.ecommerce-application .grid-view:not(.wishlist-items),\n.ecommerce-application .list-view:not(.wishlist-items) {\n margin-top: 2rem;\n}\n.ecommerce-application .grid-view {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n column-gap: 2rem;\n}\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n}\n.ecommerce-application .grid-view .ecommerce-card {\n overflow: hidden;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-img {\n padding-top: 0.5rem;\n min-height: 15.85rem;\n display: flex;\n align-items: center;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n.ecommerce-application .grid-view .ecommerce-card .shipping,\n.ecommerce-application .grid-view .ecommerce-card .item-company,\n.ecommerce-application .grid-view .ecommerce-card .item-options .item-price {\n display: none;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options {\n display: flex;\n flex-wrap: wrap;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-cart,\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-wishlist {\n flex-grow: 1;\n border-radius: 0;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-name {\n margin-top: 0.75rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-description {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 0.2rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-price {\n font-weight: 600;\n}\n.ecommerce-application .grid-view .ecommerce-card .card-body {\n padding: 1rem;\n}\n.ecommerce-application .list-view {\n display: grid;\n grid-template-columns: 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card {\n overflow: hidden;\n display: grid;\n grid-template-columns: 1fr 2fr 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card .item-img {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 50px;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body {\n padding: 1.5rem 1rem;\n border-right: 1px solid #ebe9f1;\n display: flex;\n flex-direction: column;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-wrapper {\n order: 2;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-name {\n order: 1;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-description {\n order: 3;\n display: -webkit-box;\n -webkit-line-clamp: 5;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-price {\n display: none;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-rating {\n margin-bottom: 0.3rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company {\n display: inline-flex;\n font-weight: 400;\n margin: 0.3rem 0 0.5rem;\n font-size: 0.875rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company .company-name {\n font-weight: 600;\n margin-left: 0.25rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options {\n padding: 1rem;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper {\n position: relative;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper .item-cost .item-price {\n color: #7367f0;\n margin-bottom: 0;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .shipping {\n margin-top: 0.75rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-wishlist,\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-cart {\n margin-top: 1rem;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header,\n.ecommerce-application .checkout-tab-steps .bs-stepper-content {\n padding: 0;\n margin: 0;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-img img {\n width: 100px;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-name {\n order: 0 !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-company,\n.ecommerce-application .checkout-items .ecommerce-card .item-rating {\n margin-bottom: 0.4rem !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-quantity {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .checkout-items .ecommerce-card .delivery-date {\n margin-top: 1.2rem;\n margin-bottom: 0.25rem;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-options .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ecommerce-application .checkout-options .coupons:focus-within {\n box-shadow: none;\n}\n.ecommerce-application .checkout-options .coupons input {\n border: none;\n padding-left: 0;\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons input::placeholder {\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons .input-group-append {\n margin: 0;\n}\n.ecommerce-application .checkout-options .coupons .input-group-text {\n height: auto;\n font-weight: 600;\n padding: inherit;\n}\n.ecommerce-application .checkout-options .price-details .price-title {\n font-weight: 600;\n margin-bottom: 0.75rem;\n margin-top: 1.5rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail .detail-title.detail-total {\n font-weight: 600;\n}\n.ecommerce-application .payment-type .gift-card {\n cursor: pointer;\n}\n.ecommerce-application .checkout-tab-steps {\n background-color: transparent !important;\n box-shadow: none !important;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header {\n border: none;\n}\n@media (min-width: 992px) {\n .ecommerce-application .ecommerce-header-items .shop-sidebar-toggler {\n display: none;\n }\n .ecommerce-application .product-checkout.list-view {\n grid-template-columns: 2fr 1fr;\n column-gap: 2rem;\n }\n}\n@media (max-width: 1199.98px) {\n .ecommerce-application .ecommerce-header-items .btn-group {\n align-items: center;\n }\n .ecommerce-application .ecommerce-header-items .btn-group .btn-icon {\n padding: 0.6rem 0.736rem;\n }\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr;\n }\n .ecommerce-application .body-content-overlay {\n position: fixed;\n opacity: 0;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n .ecommerce-application .body-content-overlay.show {\n opacity: 1;\n }\n .ecommerce-application.horizontal-layout .body-content-overlay {\n z-index: 998 !important;\n }\n .ecommerce-application.horizontal-layout .sidebar-shop {\n z-index: 999 !important;\n }\n}\n@media (max-width: 991.98px) {\n .ecommerce-application .sidebar-left .sidebar .card {\n border-radius: 0;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop {\n transform: translateX(-112%);\n transition: all 0.25s ease;\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n overflow-y: scroll;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop.show {\n transition: all 0.25s ease;\n transform: translateX(0);\n }\n .ecommerce-application .grid-view {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n display: none;\n }\n}\n@media (max-width: 767.98px) {\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card {\n grid-template-columns: 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card .item-img {\n padding-top: 2rem;\n padding-bottom: 2rem;\n }\n .ecommerce-application .list-view .ecommerce-card .card-body {\n border: none;\n }\n}\n@media (max-width: 575.98px) {\n .ecommerce-application .grid-view,\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr;\n }\n}\n/* Asegurar que el grid-view sea responsivo */\n.grid-view.wishlist-items {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Ajusta el ancho m\u00EDnimo de las tarjetas */\n gap: 15px; /* Espacio entre tarjetas */\n padding: 0 15px; /* Padding lateral para evitar que toquen los bordes */\n width: 100%;\n margin: 0 auto;\n}\n.efecto-img img {\n max-width: 120px; /* Tama\u00F1o m\u00E1ximo deseado */\n max-height: 120px; /* Altura m\u00E1xima deseada */\n width: auto;\n height: auto;\n object-fit: contain; /* Mantiene la proporci\u00F3n de la imagen */\n}\n/* Tarjeta responsiva */\n.tarjeta {\n width: 100%; /* Ocupa todo el ancho del grid cell */\n height: auto; /* Altura autom\u00E1tica para que se ajuste al contenido */\n min-height: 300px; /* Altura m\u00EDnima */\n margin: 0; /* Elimina el margen ya que usamos gap en el grid */\n transition: transform 0.3s ease; /* Efecto hover opcional */\n}\n.tarjeta:hover {\n transform: translateY(-5px); /* Efecto hover opcional */\n box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Efecto hover opcional */\n}\n/* Ajustes para pantallas m\u00E1s peque\u00F1as */\n@media (max-width: 768px) {\n .grid-view.wishlist-items {\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Tarjetas m\u00E1s estrechas en m\u00F3viles */\n }\n}\n@media (max-width: 576px) {\n .grid-view.wishlist-items {\n grid-template-columns: 1fr; /* Una columna en pantallas muy peque\u00F1as */\n }\n}\n.content-body {\n overflow-x: hidden; /* Previene desbordamiento horizontal */\n width: 100%;\n}\n.efecto-img {\n justify-content: center;\n align-items: center;\n max-width: 100%;\n /* Adjust based on your design */\n text-align: center;\n margin: 0 auto;\n /* Center the container horizontally */\n}\n.efecto-img img {\n max-width: 100%;\n /* Image will not exceed container width */\n height: auto;\n /* Maintains aspect ratio */\n}\n/* search-bar.component.css */\n.ecommerce-searchbar {\n padding: 10px;\n background-color: #f8f9fa;\n border-radius: 5px;\n}\n/* Asegurar que el select, input y ng-select tengan el mismo estilo */\nselect.form-control,\ninput.form-control,\nng-select.form-control {\n height: 40px;\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 8px;\n font-size: 14px; /* Asegurar que el texto tenga el mismo tama\u00F1o */\n}\n/* Ajustar el \u00EDcono de b\u00FAsqueda */\n.input-group-text {\n height: 40px;\n background-color: #fff;\n border-left: none;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n/* Estilos espec\u00EDficos para ng-select */\nng-select.form-control .ng-select-container {\n height: 40px;\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 8px;\n}\n/* Asegurar que no haya superposici\u00F3n */\n.col-sm-4, .col-sm-8 {\n padding-right: 5px;\n padding-left: 5px;\n}\n.trash-icon {\n position: absolute;\n top: 10px;\n right: 10px;\n z-index: 1;\n}"], encapsulation: 2 }); } /***/ }), /***/ 77828: /*!***************************************************************************!*\ !*** ./src/app/main/views/investigation/cache-log/cache-log.component.ts ***! \***************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CacheLogComponent": () => (/* binding */ CacheLogComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); class CacheLogComponent { constructor() {} ngOnInit() {} static ɵfac = function CacheLogComponent_Factory(t) { return new (t || CacheLogComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CacheLogComponent, selectors: [["app-cache-log"]], decls: 2, vars: 0, template: function CacheLogComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "No Disponible"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } }); } /***/ }), /***/ 65584: /*!******************************************************************!*\ !*** ./src/app/main/views/investigation/investigation.module.ts ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "InvestigationModule": () => (/* binding */ InvestigationModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @services/seguridad/auth-guard.guard */ 76732); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.module */ 50619); /* harmony import */ var _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-card/core-card.module */ 4651); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var ng2_flatpickr__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ng2-flatpickr */ 89793); /* harmony import */ var _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/directives/directives */ 35455); /* harmony import */ var _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/pipes/pipes.module */ 30021); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _logs_logs_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./logs/logs.component */ 59935); /* harmony import */ var _binnacle_binnacle_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./binnacle/binnacle.component */ 87463); /* harmony import */ var _system_log_system_log_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./system-log/system-log.component */ 55092); /* harmony import */ var _query_log_query_log_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./query-log/query-log.component */ 69416); /* harmony import */ var _cache_log_cache_log_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./cache-log/cache-log.component */ 77828); /* harmony import */ var _binnacle_applications_binnacle_applications_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./binnacle-applications/binnacle-applications.component */ 63325); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/core */ 94650); const routes = [{ path: 'investigation/logs', component: _logs_logs_component__WEBPACK_IMPORTED_MODULE_7__.LogsComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'investigation/binnacle', component: _binnacle_binnacle_component__WEBPACK_IMPORTED_MODULE_8__.BinnacleComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'investigation/binnacle/:id', component: _binnacle_applications_binnacle_applications_component__WEBPACK_IMPORTED_MODULE_12__.BinnacleApplicationsComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }]; class InvestigationModule { static ɵfac = function InvestigationModule_Factory(t) { return new (t || InvestigationModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵdefineNgModule"]({ type: InvestigationModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_14__.RouterModule.forChild(routes), _angular_common__WEBPACK_IMPORTED_MODULE_15__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_17__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_17__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_18__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_19__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_20__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_21__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_22__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_13__["ɵɵsetNgModuleScope"](InvestigationModule, { declarations: [_logs_logs_component__WEBPACK_IMPORTED_MODULE_7__.LogsComponent, _binnacle_binnacle_component__WEBPACK_IMPORTED_MODULE_8__.BinnacleComponent, _system_log_system_log_component__WEBPACK_IMPORTED_MODULE_9__.SystemLogComponent, _query_log_query_log_component__WEBPACK_IMPORTED_MODULE_10__.QueryLogComponent, _cache_log_cache_log_component__WEBPACK_IMPORTED_MODULE_11__.CacheLogComponent, _binnacle_applications_binnacle_applications_component__WEBPACK_IMPORTED_MODULE_12__.BinnacleApplicationsComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_14__.RouterModule, _angular_common__WEBPACK_IMPORTED_MODULE_15__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_17__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_17__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_18__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_19__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_20__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_21__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_22__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); })(); /***/ }), /***/ 59935: /*!*****************************************************************!*\ !*** ./src/app/main/views/investigation/logs/logs.component.ts ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "LogsComponent": () => (/* binding */ LogsComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _system_log_system_log_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../system-log/system-log.component */ 55092); /* harmony import */ var _query_log_query_log_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../query-log/query-log.component */ 69416); /* harmony import */ var _cache_log_cache_log_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cache-log/cache-log.component */ 77828); function LogsComponent_div_0_app_query_log_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "app-query-log", 13); } if (rf & 2) { const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("rawLogs", ctx_r1.queryLogs); } } function LogsComponent_div_0_app_system_log_15_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "app-system-log", 13); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("rawLogs", ctx_r2.systemLogs); } } function LogsComponent_div_0_app_cache_log_16_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "app-cache-log", 13); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("rawLogs", ctx_r3.systemLogs); } } function LogsComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 1)(1, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](2, "app-content-header", 3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](3, "section", 4)(4, "div", 5)(5, "div", 6)(6, "div", 7)(7, "div", 8)(8, "fieldset", 9)(9, "ng-select", 10); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("change", function LogsComponent_div_0_Template_ng_select_change_9_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r5); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r4.onLogTypeChange($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](10, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](11, "div", 5)(12, "div", 6)(13, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](14, LogsComponent_div_0_app_query_log_14_Template, 1, 1, "app-query-log", 12); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](15, LogsComponent_div_0_app_system_log_15_Template, 1, 1, "app-system-log", 12); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](16, LogsComponent_div_0_app_cache_log_16_Template, 1, 1, "app-cache-log", 12); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("items", ctx_r0.lstLogs); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r0.selectedLogType === 3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r0.selectedLogType === 1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx_r0.selectedLogType === 2); } } class LogsComponent { blockUI; sectionBlockUI; contentHeader; // @ViewChild('dataUsers') dataUsers: any ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__.SelectionType; basicSelectedOption = 10; selectedLogType = null; constructor() {} lstLogs = [{ id: 1, name: "Log Sistema" }, { id: 2, name: "Log Cache" }, { id: 3, name: "Log Query" }]; ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.contentHeader = { headerTitle: "Investigación", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Investigación", isLink: false }, { name: "Logs", isLink: false }] } }; })(); } onLogTypeChange(selectedId) { this.selectedLogType = selectedId.id; } static ɵfac = function LogsComponent_Factory(t) { return new (t || LogsComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ type: LogsComponent, selectors: [["app-logs"]], decls: 1, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "col-md-12", 2, "margin-top", "25px"], [1, "row", "justify-content-center"], [1, "col-md-12", "col-12"], [1, "form-group", "mb-0"], ["bindLabel", "name", "bindId", "id", "bindValue", "name", "placeholder", "Seleccione Log", 3, "items", "change"], [1, "log-viewer-container"], [3, "rawLogs", 4, "ngIf"], [3, "rawLogs"]], template: function LogsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](0, LogsComponent_div_0_Template, 17, 5, "div", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_1__.ContentHeaderComponent, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_8__.NgSelectComponent, ng_block_ui__WEBPACK_IMPORTED_MODULE_9__["ɵf"], _system_log_system_log_component__WEBPACK_IMPORTED_MODULE_2__.SystemLogComponent, _query_log_query_log_component__WEBPACK_IMPORTED_MODULE_3__.QueryLogComponent, _cache_log_cache_log_component__WEBPACK_IMPORTED_MODULE_4__.CacheLogComponent], styles: ["/* logs.component.css */\n.logs-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n padding: 20px;\n gap: 20px;\n}\n.log-selector {\n width: 300px;\n}\n.log-viewer-container {\n flex: 1;\n min-height: 0; /* Para que el contenedor no se expanda indefinidamente */\n}"], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_10__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_9__.BlockUI)()], LogsComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_10__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_9__.BlockUI)('section-block')], LogsComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 69416: /*!***************************************************************************!*\ !*** ./src/app/main/views/investigation/query-log/query-log.component.ts ***! \***************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "QueryLogComponent": () => (/* binding */ QueryLogComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); function QueryLogComponent_option_17_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { const type_r3 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("value", type_r3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](type_r3); } } function QueryLogComponent_div_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3, "Leyendo Consultas del Sistema, por favor espere..."); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); } } function QueryLogComponent_div_19_div_1_div_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 31)(1, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](2, "Error:"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { const log_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"]().$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", log_r6.error, " "); } } function QueryLogComponent_div_19_div_1_Template(rf, ctx) { if (rf & 1) { const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 21)(1, "div", 22)(2, "span", 23); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "span", 24); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "span", 25); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](8, QueryLogComponent_div_19_div_1_div_8_Template, 4, 1, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](9, "div", 27)(10, "div", 28)(11, "pre"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](12); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](13, "button", 29); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function QueryLogComponent_div_19_div_1_Template_button_click_13_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵrestoreView"](_r10); const log_r6 = restoredCtx.$implicit; const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵresetView"](ctx_r9.toggleQuery(log_r6)); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](14); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](15, "i", 30); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()(); } if (rf & 2) { const log_r6 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"](log_r6.type.toLowerCase()); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](log_r6.type); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](log_r6.date); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate2"]("", log_r6.file, ":", log_r6.line, ""); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", log_r6.error); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("expanded", log_r6.showFullQuery); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](log_r6.showFullQuery ? log_r6.query : log_r6.shortQuery); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", log_r6.showFullQuery ? "Ocultar SQL" : "Mostrar SQL completo", " "); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"](log_r6.showFullQuery ? "icon-chevron-up" : "icon-chevron-down"); } } function QueryLogComponent_div_19_div_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1, " No se encontraron registros de consultas que coincidan con sus criterios. "); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } } function QueryLogComponent_div_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, QueryLogComponent_div_19_div_1_Template, 16, 13, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](2, QueryLogComponent_div_19_div_2_Template, 2, 0, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx_r2.filteredLogs.slice().reverse()); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx_r2.filteredLogs.length === 0 && !ctx_r2.isLoading); } } class QueryLogComponent { apiService; rawLogs = ''; parsedLogs = []; filteredLogs = []; logTypes = []; selectedType = 'ALL'; searchText = ''; isLoading = false; constructor(apiService) { this.apiService = apiService; } ngOnChanges() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this.verLogs(); })(); } verLogs() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.isLoading = true; let nameFnx = "Fnx_QueryLog"; let fnx = { funcion: nameFnx }; yield _this2.apiService.ExecFnx(fnx).subscribe( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { setTimeout(() => { _this2.apiService.ExecFnxId(data.contenido.id).subscribe(data => { _this2.rawLogs = data.rs; _this2.parseLogs(); _this2.filterLogs(); // Esto mantiene todos los registros filtrados _this2.isLoading = false; }, error => { console.log(error); _this2.isLoading = false; }); }, 3000); }); return function (_x) { return _ref.apply(this, arguments); }; }(), error => { console.log(error); _this2.isLoading = false; }); })(); } parseLogs() { if (!this.rawLogs) return; const logLines = this.rawLogs.split('\n'); this.parsedLogs = []; let currentQuery = {}; let collectingQuery = false; logLines.forEach(line => { if (!line.trim()) return; const logStartMatch = line.match(/^(WARNING|ERROR|ALERT|INFO):\s(\d{4}\/\d{2}\/\d{2}\s\d{2}:\d{2}:\d{2})\s([^:]+):(\d+):/); if (logStartMatch) { if (currentQuery.type) { this.processQuery(currentQuery); this.parsedLogs.push(currentQuery); } currentQuery = { type: logStartMatch[1], date: logStartMatch[2], file: logStartMatch[3], line: logStartMatch[4], timestamp: new Date(logStartMatch[2].replace(/\//g, '-')), showFullQuery: false }; const messageStart = logStartMatch[0].length; currentQuery.query = line.substring(messageStart).trim(); collectingQuery = true; } else if (collectingQuery) { if (currentQuery.query) { currentQuery.query += '\n' + line.trim(); } } }); if (currentQuery.type) { this.processQuery(currentQuery); this.parsedLogs.push(currentQuery); } this.logTypes = ['ALL', ...new Set(this.parsedLogs.map(log => log.type))]; this.parsedLogs.sort((a, b) => (b.timestamp?.getTime() || 0) - (a.timestamp?.getTime() || 0)); } processQuery(log) { if (!log.query) return; // Extraer error si existe const errorMatch = log.query.match(/(Error \d+: .+)/); if (errorMatch) { log.error = errorMatch[1]; log.query = log.query.replace(errorMatch[1], '').trim(); } // Crear versión corta if (log.query.includes('Core.Select:')) { const coreIndex = log.query.indexOf('Core.Select:'); const firstNewLine = log.query.indexOf('\n', coreIndex); if (firstNewLine > -1) { log.shortQuery = log.query.substring(0, firstNewLine) + '\n...'; } else { log.shortQuery = log.query.substring(0, coreIndex + 20) + '...'; } // Formatear el query completo con separadores log.query = log.query.replace('Core.Select:', 'Core.Select:\n-------------------------------------------------------------\n'); } else { log.shortQuery = log.query.length > 100 ? log.query.substring(0, 100) + '...' : log.query; } } toggleQuery(log) { log.showFullQuery = !log.showFullQuery; } filterLogs() { this.filteredLogs = this.parsedLogs.filter(log => { const matchesType = this.selectedType === 'ALL' || log.type === this.selectedType; const matchesSearch = this.searchText === '' || log.query && log.query.toLowerCase().includes(this.searchText.toLowerCase()) || log.error && log.error.toLowerCase().includes(this.searchText.toLowerCase()) || log.file && log.file.toLowerCase().includes(this.searchText.toLowerCase()) || log.date && log.date.toLowerCase().includes(this.searchText.toLowerCase()); return matchesType && matchesSearch; }); } onTypeChange(type) { this.selectedType = type; this.filterLogs(); } onSearchChange(searchText) { this.searchText = searchText; this.filterLogs(); } static ɵfac = function QueryLogComponent_Factory(t) { return new (t || QueryLogComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__.ApiService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: QueryLogComponent, selectors: [["app-query-log"]], inputs: { rawLogs: "rawLogs" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵNgOnChangesFeature"]], decls: 20, vars: 11, consts: [[1, "log-container"], [1, "log-header"], [1, "log-controls"], [1, "refresh-btn", 3, "disabled", "click"], [1, "refresh-icon"], ["data-feather", "refresh-ccw"], [1, "search-box"], ["type", "text", "placeholder", "Buscar Consultas...", 3, "ngModel", "disabled", "ngModelChange"], [1, "search-icon"], ["data-feather", "search"], [1, "type-filter"], [3, "ngModel", "disabled", "ngModelChange", "change"], [3, "value", 4, "ngFor", "ngForOf"], ["class", "loading-message", 4, "ngIf"], ["class", "log-list", 4, "ngIf"], [3, "value"], [1, "loading-message"], [1, "spinner"], [1, "log-list"], ["class", "log-entry", 3, "class", 4, "ngFor", "ngForOf"], ["class", "no-logs", 4, "ngIf"], [1, "log-entry"], [1, "log-header-line"], [1, "log-type"], [1, "log-date"], [1, "log-file"], ["class", "log-error", 4, "ngIf"], [1, "sql-container"], [1, "sql-content"], [1, "toggle-sql-btn", 3, "click"], [1, "icon"], [1, "log-error"], [1, "no-logs"]], template: function QueryLogComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "h2"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3, "Registros de consultas"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "div", 2)(5, "button", 3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function QueryLogComponent_Template_button_click_5_listener() { return ctx.verLogs(); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "i", 4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](7, "i", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](9, "div", 6)(10, "input", 7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("ngModelChange", function QueryLogComponent_Template_input_ngModelChange_10_listener($event) { return ctx.searchText = $event; })("ngModelChange", function QueryLogComponent_Template_input_ngModelChange_10_listener($event) { return ctx.onSearchChange($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](11, "i", 8); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](12, "i", 9); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](13, "div", 10)(14, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](15, "Filtrar:"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](16, "select", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("ngModelChange", function QueryLogComponent_Template_select_ngModelChange_16_listener($event) { return ctx.selectedType = $event; })("change", function QueryLogComponent_Template_select_change_16_listener() { return ctx.onTypeChange(ctx.selectedType); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](17, QueryLogComponent_option_17_Template, 2, 2, "option", 12); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](18, QueryLogComponent_div_18_Template, 4, 0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](19, QueryLogComponent_div_19_Template, 3, 2, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("disabled", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("spin", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", ctx.isLoading ? "Refrescando..." : "Refrescar Registros", " "); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngModel", ctx.searchText)("disabled", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngModel", ctx.selectedType)("disabled", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx.logTypes); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", !ctx.isLoading); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgModel, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_2__.FeatherIconDirective], styles: ["@charset \"UTF-8\";\n.log-container[_ngcontent-%COMP%] {\n font-family: \"Roboto Mono\", monospace, sans-serif;\n max-width: 1200px;\n margin: 0 auto;\n padding: 20px;\n background-color: #f8f9fa;\n border-radius: 8px;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n border: 1px solid #e0e0e0;\n}\n.log-header[_ngcontent-%COMP%] {\n margin-bottom: 20px;\n}\n.log-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin: 0 0 15px 0;\n color: #2c3e50;\n}\n.log-controls[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: 15px;\n align-items: center;\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 15px;\n background-color: #3498db;\n color: white;\n border: none;\n border-radius: 20px;\n font-size: 14px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%]:hover:not([disabled]) {\n background-color: #2980b9;\n transform: translateY(-1px);\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[disabled][_ngcontent-%COMP%] {\n background-color: #bdc3c7;\n cursor: not-allowed;\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%] .refresh-icon.spin[_ngcontent-%COMP%] {\n animation: spin 1s linear infinite;\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] {\n flex-grow: 1;\n position: relative;\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%] {\n width: 100%;\n padding: 10px 15px 10px 35px;\n border: 1px solid #ddd;\n border-radius: 20px;\n font-size: 14px;\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus {\n outline: none;\n border-color: #3498db;\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%] {\n position: absolute;\n left: 12px;\n top: 50%;\n transform: translateY(-50%);\n color: #7f8c8d;\n}\n.log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n}\n.log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] select[_ngcontent-%COMP%] {\n padding: 8px 12px;\n border: 1px solid #ddd;\n border-radius: 6px;\n font-size: 14px;\n}\n.loading-message[_ngcontent-%COMP%] {\n text-align: center;\n padding: 30px;\n}\n.loading-message[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%] {\n width: 40px;\n height: 40px;\n border: 4px solid rgba(52, 152, 219, 0.2);\n border-top-color: #3498db;\n border-radius: 50%;\n margin: 0 auto 15px;\n animation: spin 1s linear infinite;\n}\n.loading-message[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n color: #3498db;\n margin: 0;\n}\n.log-list[_ngcontent-%COMP%] {\n max-height: 600px;\n overflow-y: auto;\n padding-right: 5px;\n}\n.log-list[_ngcontent-%COMP%]::-webkit-scrollbar {\n width: 8px;\n}\n.log-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb {\n background: #bdc3c7;\n border-radius: 4px;\n}\n.log-entry[_ngcontent-%COMP%] {\n background-color: white;\n border-radius: 8px;\n padding: 15px;\n margin-bottom: 15px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);\n border-left: 4px solid;\n}\n.log-entry.error[_ngcontent-%COMP%], .log-entry.alert[_ngcontent-%COMP%] {\n border-left-color: #e74c3c;\n}\n.log-entry.warning[_ngcontent-%COMP%] {\n border-left-color: #f39c12;\n}\n.log-entry.info[_ngcontent-%COMP%] {\n border-left-color: #3498db;\n}\n.log-entry.debug[_ngcontent-%COMP%] {\n border-left-color: #2ecc71;\n}\n.log-header-line[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: 10px;\n margin-bottom: 10px;\n}\n.log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n font-weight: bold;\n padding: 4px 8px;\n border-radius: 4px;\n font-size: 12px;\n}\n.error[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%], .alert[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(231, 76, 60, 0.1);\n color: #e74c3c;\n}\n.warning[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(243, 156, 18, 0.1);\n color: #f39c12;\n}\n.info[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(52, 152, 219, 0.1);\n color: #3498db;\n}\n.debug[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(46, 204, 113, 0.1);\n color: #2ecc71;\n}\n.log-header-line[_ngcontent-%COMP%] .log-date[_ngcontent-%COMP%] {\n color: #7f8c8d;\n font-size: 13px;\n}\n.log-header-line[_ngcontent-%COMP%] .log-file[_ngcontent-%COMP%] {\n color: #3498db;\n font-size: 13px;\n font-family: \"Roboto Mono\", monospace;\n}\n.log-error[_ngcontent-%COMP%] {\n color: #e74c3c;\n background-color: rgba(231, 76, 60, 0.1);\n padding: 10px;\n border-radius: 6px;\n margin-bottom: 12px;\n font-size: 14px;\n}\n.log-error[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 600;\n}\n.sql-container[_ngcontent-%COMP%] {\n margin-top: 10px;\n border-radius: 6px;\n overflow: hidden;\n background-color: #2d3748;\n}\n.sql-container[_ngcontent-%COMP%] .sql-content[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n color: #e2e8f0;\n padding: 12px;\n margin: 0;\n font-family: \"Roboto Mono\", monospace;\n white-space: pre-wrap;\n word-break: break-word;\n}\n.sql-container[_ngcontent-%COMP%] .toggle-sql-btn[_ngcontent-%COMP%] {\n width: 100%;\n padding: 8px;\n background-color: rgba(74, 85, 104, 0.7);\n color: #e2e8f0;\n border: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n}\n.sql-container[_ngcontent-%COMP%] .toggle-sql-btn[_ngcontent-%COMP%]:hover {\n background-color: rgba(74, 85, 104, 0.9);\n}\n.sql-container[_ngcontent-%COMP%] .toggle-sql-btn[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] {\n margin-left: 6px;\n}\n.sql-container[_ngcontent-%COMP%] .toggle-sql-btn[_ngcontent-%COMP%] .icon.icon-chevron-down[_ngcontent-%COMP%]:before {\n content: \"\u25BC\";\n}\n.sql-container[_ngcontent-%COMP%] .toggle-sql-btn[_ngcontent-%COMP%] .icon.icon-chevron-up[_ngcontent-%COMP%]:before {\n content: \"\u25B2\";\n}\n.no-logs[_ngcontent-%COMP%] {\n text-align: center;\n padding: 30px;\n color: #7f8c8d;\n font-style: italic;\n background-color: white;\n border-radius: 8px;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@media (max-width: 768px) {\n .log-controls[_ngcontent-%COMP%] {\n flex-direction: column;\n }\n .log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%], .log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] {\n width: 100%;\n }\n .log-header-line[_ngcontent-%COMP%] {\n flex-direction: column;\n align-items: flex-start;\n }\n}"] }); } /***/ }), /***/ 55092: /*!*****************************************************************************!*\ !*** ./src/app/main/views/investigation/system-log/system-log.component.ts ***! \*****************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "SystemLogComponent": () => (/* binding */ SystemLogComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); function SystemLogComponent_option_17_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { const type_r3 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("value", type_r3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](type_r3); } } function SystemLogComponent_div_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](1, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](2, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3, "Leyendo Registros del Sistema, por favor espere..."); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); } } function SystemLogComponent_div_19_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 21)(1, "div", 22)(2, "span", 23); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "span", 24); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "span", 25); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](8, "div", 26); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](9); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); } if (rf & 2) { const log_r6 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassMap"](log_r6.type.toLowerCase()); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](log_r6.type); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](log_r6.date); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](log_r6.file); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate"](log_r6.message); } } function SystemLogComponent_div_19_div_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 27); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](1, " No se encontraron registros que coincidan con tus criterios. "); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } } function SystemLogComponent_div_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](1, SystemLogComponent_div_19_div_1_Template, 10, 6, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](2, SystemLogComponent_div_19_div_2_Template, 2, 0, "div", 20); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx_r2.filteredLogs); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx_r2.filteredLogs.length === 0 && !ctx_r2.isLoading); } } class SystemLogComponent { apiService; rawLogs = ''; parsedLogs = []; filteredLogs = []; logTypes = []; selectedType = 'ALL'; searchText = ''; isLoading = false; // Nueva propiedad para controlar el estado de carga constructor(apiService) { this.apiService = apiService; } ngOnChanges() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this.verLogs(); })(); } verLogs() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.isLoading = true; // Activar estado de carga let nameFnx = "Fnx_SystemLog"; let fnx = { funcion: nameFnx }; yield _this2.apiService.ExecFnx(fnx).subscribe( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { setTimeout(() => { _this2.apiService.ExecFnxId(data.contenido.id).subscribe(data => { _this2.rawLogs = data.rs; _this2.parseLogs(); _this2.filterLogs(); _this2.isLoading = false; // Desactivar estado de carga }, error => { console.log(error); _this2.isLoading = false; // Desactivar estado de carga en caso de error }); }, 3000); }); return function (_x) { return _ref.apply(this, arguments); }; }(), error => { console.log(error); _this2.isLoading = false; // Desactivar estado de carga en caso de error }); })(); } parseLogs() { if (!this.rawLogs) return; const logLines = this.rawLogs.split('\n'); this.parsedLogs = []; logLines.forEach(line => { if (!line.trim()) return; // Formato esperado: ALERT: 2025/03/28 08:20:58 conexion.go:44: pq: role "postgres" does not exist const parts = line.split(':').map(part => part.trim()); if (parts.length >= 5) { const type = parts[0]; const dateTime = parts[1].split(' '); const date = dateTime[0]; const time = dateTime[1]; const file = parts[2] + ':' + parts[3]; const message = parts.slice(4).join(':').trim(); const logEntry = { type: type, date: `${date} ${time}`, file: file, message: message, timestamp: new Date(`${date} ${time}`) }; this.parsedLogs.push(logEntry); } }); // Extraer tipos únicos de logs this.logTypes = ['ALL', ...new Set(this.parsedLogs.map(log => log.type))]; // Ordenar por fecha (más reciente primero) this.parsedLogs.sort((a, b) => (b.timestamp?.getTime() || 0) - (a.timestamp?.getTime() || 0)); } filterLogs() { this.filteredLogs = this.parsedLogs.filter(log => { const matchesType = this.selectedType === 'ALL' || log.type === this.selectedType; const matchesSearch = this.searchText === '' || log.message.toLowerCase().includes(this.searchText.toLowerCase()) || log.file.toLowerCase().includes(this.searchText.toLowerCase()) || log.date.toLowerCase().includes(this.searchText.toLowerCase()); return matchesType && matchesSearch; }); } onTypeChange(type) { this.selectedType = type; this.filterLogs(); } onSearchChange(searchText) { this.searchText = searchText; this.filterLogs(); } static ɵfac = function SystemLogComponent_Factory(t) { return new (t || SystemLogComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__.ApiService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineComponent"]({ type: SystemLogComponent, selectors: [["app-system-log"]], inputs: { rawLogs: "rawLogs" }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵNgOnChangesFeature"]], decls: 20, vars: 11, consts: [[1, "log-container"], [1, "log-header"], [1, "log-controls"], [1, "refresh-btn", 3, "disabled", "click"], [1, "refresh-icon"], ["data-feather", "refresh-ccw"], [1, "search-box"], ["type", "text", "placeholder", "Buscar Logs...", 3, "ngModel", "disabled", "ngModelChange"], [1, "search-icon"], ["data-feather", "search"], [1, "type-filter"], [3, "ngModel", "disabled", "ngModelChange", "change"], [3, "value", 4, "ngFor", "ngForOf"], ["class", "loading-message", 4, "ngIf"], ["class", "log-list", 4, "ngIf"], [3, "value"], [1, "loading-message"], [1, "spinner"], [1, "log-list"], ["class", "log-entry", 3, "class", 4, "ngFor", "ngForOf"], ["class", "no-logs", 4, "ngIf"], [1, "log-entry"], [1, "log-header-line"], [1, "log-type"], [1, "log-date"], [1, "log-file"], [1, "log-message"], [1, "no-logs"]], template: function SystemLogComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "h2"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](3, "Registros del sistema"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](4, "div", 2)(5, "button", 3); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("click", function SystemLogComponent_Template_button_click_5_listener() { return ctx.verLogs(); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](6, "i", 4); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](7, "i", 5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](9, "div", 6)(10, "input", 7); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("ngModelChange", function SystemLogComponent_Template_input_ngModelChange_10_listener($event) { return ctx.searchText = $event; })("ngModelChange", function SystemLogComponent_Template_input_ngModelChange_10_listener($event) { return ctx.onSearchChange($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](11, "i", 8); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelement"](12, "i", 9); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](13, "div", 10)(14, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtext"](15, "Filtrar:"); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementStart"](16, "select", 11); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵlistener"]("ngModelChange", function SystemLogComponent_Template_select_ngModelChange_16_listener($event) { return ctx.selectedType = $event; })("change", function SystemLogComponent_Template_select_change_16_listener() { return ctx.onTypeChange(ctx.selectedType); }); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](17, SystemLogComponent_option_17_Template, 2, 2, "option", 12); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](18, SystemLogComponent_div_18_Template, 4, 0, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtemplate"](19, SystemLogComponent_div_19_Template, 3, 2, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("disabled", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵclassProp"]("spin", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵtextInterpolate1"](" ", ctx.isLoading ? "Refrescando..." : "Refrescar Registros", " "); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngModel", ctx.searchText)("disabled", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngModel", ctx.selectedType)("disabled", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngForOf", ctx.logTypes); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", ctx.isLoading); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵproperty"]("ngIf", !ctx.isLoading); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgModel, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_2__.FeatherIconDirective], styles: ["@charset \"UTF-8\";\n\n.log-container[_ngcontent-%COMP%] {\n font-family: \"Roboto Mono\", monospace, sans-serif;\n max-width: 1200px;\n margin: 0 auto;\n padding: 20px;\n background-color: #f8f9fa;\n border-radius: 8px;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n border: 1px solid #e0e0e0;\n}\n.log-header-line[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: nowrap; \n align-items: center;\n gap: 15px;\n margin-bottom: 10px;\n padding-bottom: 10px;\n border-bottom: 1px dashed #eee;\n overflow-x: auto; \n white-space: nowrap; \n}\n.log-header-line[_ngcontent-%COMP%]::-webkit-scrollbar {\n height: 4px;\n}\n.log-header-line[_ngcontent-%COMP%]::-webkit-scrollbar-track {\n background: #f1f1f1;\n}\n.log-header-line[_ngcontent-%COMP%]::-webkit-scrollbar-thumb {\n background: #bdc3c7;\n border-radius: 2px;\n}\n.log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n font-weight: bold;\n padding: 4px 10px;\n border-radius: 4px;\n font-size: 12px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n flex-shrink: 0; \n}\n.log-header-line[_ngcontent-%COMP%] .log-date[_ngcontent-%COMP%] {\n color: #7f8c8d;\n font-size: 13px;\n display: flex;\n align-items: center;\n flex-shrink: 0;\n}\n.log-header-line[_ngcontent-%COMP%] .log-date[_ngcontent-%COMP%]:before {\n content: \"\uD83D\uDD52\";\n margin-right: 5px;\n}\n.log-header-line[_ngcontent-%COMP%] .log-file[_ngcontent-%COMP%] {\n color: #3498db;\n font-size: 13px;\n font-family: \"Roboto Mono\", monospace;\n background-color: rgba(52, 152, 219, 0.1);\n padding: 3px 8px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n flex-shrink: 0;\n}\n.log-header-line[_ngcontent-%COMP%] .log-file[_ngcontent-%COMP%]:before {\n content: \"\uD83D\uDCC4\";\n margin-right: 5px;\n}\n\n.log-entry.alert[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%], .log-entry.error[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(231, 76, 60, 0.1);\n color: #e74c3c;\n}\n.log-entry.warning[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(243, 156, 18, 0.1);\n color: #f39c12;\n}\n.log-entry.info[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(52, 152, 219, 0.1);\n color: #3498db;\n}\n.log-entry.debug[_ngcontent-%COMP%] .log-header-line[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(46, 204, 113, 0.1);\n color: #2ecc71;\n}\n.log-controls[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: 15px;\n align-items: center;\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 15px;\n background-color: #3498db;\n color: white;\n border: none;\n border-radius: 20px;\n font-size: 14px;\n cursor: pointer;\n transition: all 0.3s;\n box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%]:hover:not([disabled]) {\n background-color: #2980b9;\n transform: translateY(-1px);\n box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%]:active:not([disabled]) {\n transform: translateY(0);\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[disabled][_ngcontent-%COMP%] {\n background-color: #bdc3c7;\n cursor: not-allowed;\n opacity: 0.7;\n box-shadow: none;\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%] .refresh-icon[_ngcontent-%COMP%] {\n transition: transform 0.3s;\n}\n.log-controls[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%] .refresh-icon.spin[_ngcontent-%COMP%] {\n animation: spin 1s linear infinite;\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] {\n position: relative;\n flex-grow: 1;\n min-width: 200px;\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%] {\n width: 100%;\n padding: 10px 40px 10px 15px;\n border: 1px solid #ddd;\n border-radius: 20px;\n font-size: 14px;\n transition: all 0.3s;\n background-color: white;\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus {\n outline: none;\n border-color: #3498db;\n box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] input[disabled][_ngcontent-%COMP%] {\n background-color: #f5f5f5;\n cursor: not-allowed;\n}\n.log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%] {\n position: absolute;\n right: 15px;\n top: 50%;\n transform: translateY(-50%);\n color: #7f8c8d;\n font-size: 16px;\n}\n.log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 10px;\n}\n.log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n font-size: 14px;\n color: #7f8c8d;\n font-weight: 500;\n}\n.log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] select[_ngcontent-%COMP%] {\n padding: 8px 12px;\n border: 1px solid #ddd;\n border-radius: 6px;\n background-color: white;\n font-size: 14px;\n cursor: pointer;\n transition: all 0.2s;\n min-width: 120px;\n}\n.log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus {\n outline: none;\n border-color: #3498db;\n box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);\n}\n.log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] select[disabled][_ngcontent-%COMP%] {\n background-color: #f5f5f5;\n cursor: not-allowed;\n}\n.loading-message[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 40px;\n background-color: rgba(255, 255, 255, 0.8);\n border-radius: 8px;\n margin: 20px 0;\n}\n.loading-message[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%] {\n width: 50px;\n height: 50px;\n border: 4px solid rgba(52, 152, 219, 0.2);\n border-radius: 50%;\n border-top-color: #3498db;\n animation: spin 1s ease-in-out infinite;\n margin-bottom: 15px;\n}\n.loading-message[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n color: #3498db;\n font-size: 16px;\n font-weight: 500;\n text-align: center;\n}\n.log-list[_ngcontent-%COMP%] {\n max-height: 600px;\n overflow-y: auto;\n padding-right: 5px;\n}\n.log-list[_ngcontent-%COMP%]::-webkit-scrollbar {\n width: 8px;\n}\n.log-list[_ngcontent-%COMP%]::-webkit-scrollbar-track {\n background: #f1f1f1;\n border-radius: 4px;\n}\n.log-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb {\n background: #bdc3c7;\n border-radius: 4px;\n}\n.log-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover {\n background: #95a5a6;\n}\n.log-entry[_ngcontent-%COMP%] {\n padding: 15px;\n margin-bottom: 15px;\n border-radius: 8px;\n background-color: white;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);\n transition: all 0.2s;\n border-left: 4px solid;\n \n \n \n \n}\n.log-entry[_ngcontent-%COMP%]:hover {\n transform: translateY(-2px);\n box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);\n}\n.log-entry[_ngcontent-%COMP%] .log-header[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 10px 20px;\n margin-bottom: 10px;\n padding-bottom: 10px;\n border-bottom: 1px dashed #eee;\n}\n.log-entry[_ngcontent-%COMP%] .log-header[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n font-weight: bold;\n padding: 4px 10px;\n border-radius: 4px;\n font-size: 12px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n}\n.log-entry[_ngcontent-%COMP%] .log-header[_ngcontent-%COMP%] .log-date[_ngcontent-%COMP%] {\n color: #7f8c8d;\n font-size: 13px;\n display: flex;\n align-items: center;\n}\n.log-entry[_ngcontent-%COMP%] .log-header[_ngcontent-%COMP%] .log-date[_ngcontent-%COMP%]:before {\n content: \"\uD83D\uDD52\";\n margin-right: 5px;\n}\n.log-entry[_ngcontent-%COMP%] .log-header[_ngcontent-%COMP%] .log-file[_ngcontent-%COMP%] {\n color: #3498db;\n font-size: 13px;\n font-family: \"Roboto Mono\", monospace;\n background-color: rgba(52, 152, 219, 0.1);\n padding: 3px 8px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n}\n.log-entry[_ngcontent-%COMP%] .log-header[_ngcontent-%COMP%] .log-file[_ngcontent-%COMP%]:before {\n content: \"\uD83D\uDCC4\";\n margin-right: 5px;\n}\n.log-entry[_ngcontent-%COMP%] .log-message[_ngcontent-%COMP%] {\n color: #2c3e50;\n font-size: 14px;\n line-height: 1.6;\n white-space: pre-wrap;\n word-break: break-word;\n background-color: #f8fafc;\n padding: 12px;\n border-radius: 6px;\n border-left: 3px solid #3498db;\n}\n.log-entry.alert[_ngcontent-%COMP%], .log-entry.error[_ngcontent-%COMP%] {\n border-left-color: #e74c3c;\n}\n.log-entry.alert[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%], .log-entry.error[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(231, 76, 60, 0.1);\n color: #e74c3c;\n}\n.log-entry.alert[_ngcontent-%COMP%] .log-message[_ngcontent-%COMP%], .log-entry.error[_ngcontent-%COMP%] .log-message[_ngcontent-%COMP%] {\n border-left-color: #e74c3c;\n background-color: rgba(231, 76, 60, 0.05);\n}\n.log-entry.warning[_ngcontent-%COMP%] {\n border-left-color: #f39c12;\n}\n.log-entry.warning[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(243, 156, 18, 0.1);\n color: #f39c12;\n}\n.log-entry.warning[_ngcontent-%COMP%] .log-message[_ngcontent-%COMP%] {\n border-left-color: #f39c12;\n background-color: rgba(243, 156, 18, 0.05);\n}\n.log-entry.info[_ngcontent-%COMP%] {\n border-left-color: #3498db;\n}\n.log-entry.info[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(52, 152, 219, 0.1);\n color: #3498db;\n}\n.log-entry.info[_ngcontent-%COMP%] .log-message[_ngcontent-%COMP%] {\n border-left-color: #3498db;\n}\n.log-entry.debug[_ngcontent-%COMP%] {\n border-left-color: #2ecc71;\n}\n.log-entry.debug[_ngcontent-%COMP%] .log-type[_ngcontent-%COMP%] {\n background-color: rgba(46, 204, 113, 0.1);\n color: #2ecc71;\n}\n.log-entry.debug[_ngcontent-%COMP%] .log-message[_ngcontent-%COMP%] {\n border-left-color: #2ecc71;\n background-color: rgba(46, 204, 113, 0.05);\n}\n.no-logs[_ngcontent-%COMP%] {\n text-align: center;\n padding: 30px;\n color: #7f8c8d;\n font-style: italic;\n background-color: white;\n border-radius: 8px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 10px;\n}\n.no-logs[_ngcontent-%COMP%]:before {\n content: \"\uD83D\uDD0D\";\n font-size: 24px;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@media (max-width: 768px) {\n .log-controls[_ngcontent-%COMP%] {\n flex-direction: column;\n align-items: stretch;\n }\n .log-controls[_ngcontent-%COMP%] .search-box[_ngcontent-%COMP%], .log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] {\n width: 100%;\n }\n .log-controls[_ngcontent-%COMP%] .type-filter[_ngcontent-%COMP%] {\n justify-content: space-between;\n }\n .log-entry[_ngcontent-%COMP%] .log-header[_ngcontent-%COMP%] {\n flex-direction: column;\n align-items: flex-start;\n gap: 8px;\n }\n .log-container[_ngcontent-%COMP%] {\n padding: 15px;\n }\n}"] }); } /***/ }), /***/ 71259: /*!********************************************************************************!*\ !*** ./src/app/main/views/networks/communications/communications.component.ts ***! \********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "CommunicationsComponent": () => (/* binding */ CommunicationsComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _services_networks_comunications_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/networks/comunications.service */ 73542); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); // import { BlockUI, NgBlockUI } from 'ng-block-ui'; function CommunicationsComponent_div_0_ng_template_37_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const host_r16 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", host_r16, " "); } } function CommunicationsComponent_div_0_ng_template_39_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const mac_r17 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", mac_r17, " "); } } function CommunicationsComponent_div_0_ng_template_41_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const tipo_r18 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", tipo_r18, " "); } } function CommunicationsComponent_div_0_ng_template_43_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const id_r19 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", id_r19.toUpperCase(), " "); } } function CommunicationsComponent_div_0_ng_template_45_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const descripcion_r20 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", descripcion_r20.toUpperCase(), " "); } } function CommunicationsComponent_div_0_ng_template_47_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Activo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_div_0_ng_template_47_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 43); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Inactivo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_div_0_ng_template_47_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](0, CommunicationsComponent_div_0_ng_template_47_div_0_Template, 2, 0, "div", 40); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_div_0_ng_template_47_div_1_Template, 2, 0, "div", 41); } if (rf & 2) { const estatus_r21 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", estatus_r21 === true); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", estatus_r21 === false); } } function CommunicationsComponent_div_0_ng_template_49_Template(rf, ctx) { if (rf & 1) { const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 44)(1, "button", 45); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "span", 20); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "div", 46)(4, "a", 47); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_div_0_ng_template_49_Template_a_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r26); const row_r24 = restoredCtx.row; const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r25.ModalEdit(_r3, row_r24)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](5, "span", 48); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](6, " Editar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "a", 47); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_div_0_ng_template_49_Template_a_click_7_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r26); const row_r24 = restoredCtx.row; const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r27.ModalEscaneo(_r5, row_r24)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](8, "span", 48); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](9, "Escaneo Nmap"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "edit")("size", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "shuffle")("size", 16); } } function CommunicationsComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r29 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 5)(1, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "app-content-header", 7); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "section", 8)(4, "div", 9)(5, "div", 10)(6, "div", 11)(7, "div", 12)(8, "div", 13)(9, "label", 13); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](11, "select", 14); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function CommunicationsComponent_div_0_Template_select_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r28.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](12, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](14, "option", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](16, "option", 17); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](18, "option", 18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](20, "button", 19); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_div_0_Template_button_click_20_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r30.ModalAdd(_r1)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](21, "span", 20); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](22, " Agregar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](23, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](24, "button", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_div_0_Template_button_click_24_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](8); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r31.ModalAdd(_r7)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](25, "span", 20); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](26, " Escaneo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](27, "div", 22)(28, "div", 23)(29, "div", 24)(30, "label", 25)(31, "input", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function CommunicationsComponent_div_0_Template_input_ngModelChange_31_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r32.searchValue = $event); })("keyup", function CommunicationsComponent_div_0_Template_input_keyup_31_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r33.filterUpdate($event)); })("search", function CommunicationsComponent_div_0_Template_input_search_31_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r34.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](32, "div", 27)(33, "fieldset", 28)(34, "ng-select", 29); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function CommunicationsComponent_div_0_Template_ng_select_ngModelChange_34_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r35.sDispositivo = $event); })("change", function CommunicationsComponent_div_0_Template_ng_select_change_34_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r36.filterDispositivo($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](35, "ngx-datatable", 30)(36, "ngx-datatable-column", 31); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](37, CommunicationsComponent_div_0_ng_template_37_Template, 3, 1, "ng-template", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](38, "ngx-datatable-column", 33); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](39, CommunicationsComponent_div_0_ng_template_39_Template, 3, 1, "ng-template", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](40, "ngx-datatable-column", 34); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](41, CommunicationsComponent_div_0_ng_template_41_Template, 3, 1, "ng-template", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](42, "ngx-datatable-column", 35); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](43, CommunicationsComponent_div_0_ng_template_43_Template, 3, 1, "ng-template", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](44, "ngx-datatable-column", 36); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](45, CommunicationsComponent_div_0_ng_template_45_Template, 3, 1, "ng-template", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](46, "ngx-datatable-column", 37); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](47, CommunicationsComponent_div_0_ng_template_47_Template, 2, 2, "ng-template", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](48, "ngx-datatable-column", 38); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](49, CommunicationsComponent_div_0_ng_template_49_Template, 10, 11, "ng-template", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "plus"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "refresh-cw"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r0.dispositivos)("ngModel", ctx_r0.sDispositivo); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("rows", ctx_r0.rowData)("rowHeight", 58)("limit", 10)("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 5)("sortable", false); } } function CommunicationsComponent_ng_template_1_div_14_Template(rf, ctx) { if (rf & 1) { const _r45 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_1_div_14_Template_div_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r45); const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r44.ScanRedMac()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Escanear"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_1_div_15_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 43); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Buscando"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_1_div_17_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Direcci\u00F3n Host/IP es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_1_div_17_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_1_div_17_div_1_Template, 2, 0, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r40.f.host.errors.required); } } function CommunicationsComponent_ng_template_1_div_22_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "MAC Address es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_1_div_22_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_1_div_22_div_1_Template, 2, 0, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r41.f.mac.errors.required); } } function CommunicationsComponent_ng_template_1_div_27_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Descripci\u00F3n es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_1_div_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_1_div_27_div_1_Template, 2, 0, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r42.f.descripcion.errors.required); } } function CommunicationsComponent_ng_template_1_div_32_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Identificador es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_1_div_32_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_1_div_32_div_1_Template, 2, 0, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r43.f.id.errors.required); } } const _c0 = function (a0) { return { "is-invalid": a0 }; }; function CommunicationsComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { const _r51 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 49)(1, "h5", 50); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Agregar Dispositivo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "button", 51); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_1_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r51); const modal_r37 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r37.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](4, "span", 52); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "form", 53); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngSubmit", function CommunicationsComponent_ng_template_1_Template_form_ngSubmit_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r51); const ctx_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r52.GuardarDispositivo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "div", 54)(8, "div", 55)(9, "div", 10)(10, "div", 56)(11, "label", 57); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Direcci\u00F3n Host/IP"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](13, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](14, CommunicationsComponent_ng_template_1_div_14_Template, 2, 0, "div", 58); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](15, CommunicationsComponent_ng_template_1_div_15_Template, 2, 0, "div", 41); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](16, "input", 59); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](17, CommunicationsComponent_ng_template_1_div_17_Template, 2, 1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](18, "div", 56)(19, "label", 61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](20, "MAC Address"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](21, "input", 62); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](22, CommunicationsComponent_ng_template_1_div_22_Template, 2, 1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](23, "div", 56)(24, "label", 63); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](25, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](26, "input", 64); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](27, CommunicationsComponent_ng_template_1_div_27_Template, 2, 1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](28, "div", 56)(29, "label", 65); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](30, "Identificador"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](31, "input", 66); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](32, CommunicationsComponent_ng_template_1_div_32_Template, 2, 1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](33, "div", 56)(34, "label", 67); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](35, "Seleccione Dispositivo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](36, "ng-select", 68); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](37, "div", 56)(38, "label", 69); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](39, "Seleccione Dispositivo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](40, "ng-select", 70); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](41, "div", 71)(42, "button", 72); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](43, "Guardar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](44, "button", 73); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_1_Template_button_click_44_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r51); const modal_r37 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r37.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](45, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("formGroup", ctx_r2.loginForm); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r2.btnShowScan); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", !ctx_r2.btnShowScan); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction1"](13, _c0, ctx_r2.submitted && ctx_r2.f.host.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.host.errors); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction1"](15, _c0, ctx_r2.submitted && ctx_r2.f.mac.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.mac.errors); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction1"](17, _c0, ctx_r2.submitted && ctx_r2.f.descripcion.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.descripcion.errors); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction1"](19, _c0, ctx_r2.submitted && ctx_r2.f.id.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.id.errors); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r2.dispositivos); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r2.status); } } function CommunicationsComponent_ng_template_3_div_14_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Direcci\u00F3n Host/IP es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_3_div_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_3_div_14_div_1_Template, 2, 0, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r55 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r55.f.host.errors.required); } } function CommunicationsComponent_ng_template_3_div_19_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "MAC Address es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_3_div_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_3_div_19_div_1_Template, 2, 0, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r56 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r56.f.mac.errors.required); } } function CommunicationsComponent_ng_template_3_div_24_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Descripci\u00F3n es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_3_div_24_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_3_div_24_div_1_Template, 2, 0, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r57.f.descripcion.errors.required); } } function CommunicationsComponent_ng_template_3_div_29_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Identificador es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_3_div_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_3_div_29_div_1_Template, 2, 0, "div", 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r58 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r58.f.id.errors.required); } } function CommunicationsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) { const _r64 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 49)(1, "h5", 50); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Editar Dispositivo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "button", 51); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_3_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r64); const modal_r54 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r54.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](4, "span", 52); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "form", 53); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngSubmit", function CommunicationsComponent_ng_template_3_Template_form_ngSubmit_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r64); const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r65.EditarDispositivo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "div", 54)(8, "div", 55)(9, "div", 10)(10, "div", 56)(11, "label", 57); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Direcci\u00F3n Host/IP"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](13, "input", 59); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](14, CommunicationsComponent_ng_template_3_div_14_Template, 2, 1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](15, "div", 56)(16, "label", 61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](17, "MAC Address"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](18, "input", 62); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](19, CommunicationsComponent_ng_template_3_div_19_Template, 2, 1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](20, "div", 56)(21, "label", 63); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](22, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](23, "input", 64); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](24, CommunicationsComponent_ng_template_3_div_24_Template, 2, 1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](25, "div", 56)(26, "label", 65); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](27, "Identificador"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](28, "input", 77); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](29, CommunicationsComponent_ng_template_3_div_29_Template, 2, 1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](30, "div", 56)(31, "label", 67); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](32, "Seleccione Dispositivo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](33, "ng-select", 68); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](34, "div", 56)(35, "label", 69); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](36, "Seleccione Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](37, "ng-select", 78); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](38, "div", 71)(39, "button", 72); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](40, "Actualizar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](41, "button", 73); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_3_Template_button_click_41_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r64); const modal_r54 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r54.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](42, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("formGroup", ctx_r4.loginForm); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction1"](12, _c0, ctx_r4.submitted && ctx_r4.f.host.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r4.submitted && ctx_r4.f.host.errors); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction1"](14, _c0, ctx_r4.submitted && ctx_r4.f.mac.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r4.submitted && ctx_r4.f.mac.errors); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction1"](16, _c0, ctx_r4.submitted && ctx_r4.f.descripcion.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r4.submitted && ctx_r4.f.descripcion.errors); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("readOnly", true)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction1"](18, _c0, ctx_r4.submitted && ctx_r4.f.id.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r4.submitted && ctx_r4.f.id.errors); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r4.dispositivos); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r4.status); } } function CommunicationsComponent_ng_template_5_button_5_Template(rf, ctx) { if (rf & 1) { const _r73 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 51); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_5_button_5_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r73); const modal_r67 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]().$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r67.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](1, "span", 52); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } } function CommunicationsComponent_ng_template_5_button_16_Template(rf, ctx) { if (rf & 1) { const _r75 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 86); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_5_button_16_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r75); const ctx_r74 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r74.Nmap()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Escanear"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function CommunicationsComponent_ng_template_5_button_17_Template(rf, ctx) { if (rf & 1) { const _r78 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 73); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_5_button_17_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r78); const modal_r67 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"]().$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r67.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } const _c1 = function () { return { standalone: true }; }; function CommunicationsComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) { const _r80 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 49)(1, "h5", 50); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Escaneando: "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](5, CommunicationsComponent_ng_template_5_button_5_Template, 3, 0, "button", 79); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "div", 54)(7, "div", 55)(8, "div", 10)(9, "div", 80)(10, "div", 81)(11, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Resultado"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](13, "div", 82)(14, "textarea", 83); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function CommunicationsComponent_ng_template_5_Template_textarea_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r80); const ctx_r79 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r79.xrs = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](15, "div", 71); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](16, CommunicationsComponent_ng_template_5_button_16_Template, 2, 0, "button", 84); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](17, CommunicationsComponent_ng_template_5_button_17_Template, 2, 0, "button", 85); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx_r6.titleModal); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r6.btnShow); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpropertyInterpolate"]("value", ctx_r6.xrs); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("disabled", true)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](8, _c1))("ngModel", ctx_r6.xrs); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r6.btnShow); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r6.btnShow); } } function CommunicationsComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) { const _r83 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 49)(1, "h5", 50); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Escaneando de Redes"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "button", 51); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_7_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r83); const modal_r81 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r81.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](4, "span", 52); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "div", 54)(7, "div", 55)(8, "div", 10)(9, "div", 80)(10, "div", 81)(11, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Resultado"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](13, "div", 82)(14, "textarea", 87); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function CommunicationsComponent_ng_template_7_Template_textarea_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r83); const ctx_r84 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r84.xrs = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](15, "div", 71)(16, "button", 86); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_7_Template_button_click_16_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r83); const ctx_r85 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r85.ScanRed()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](17, "Escanear"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](18, "button", 73); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function CommunicationsComponent_ng_template_7_Template_button_click_18_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r83); const modal_r81 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r81.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](19, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](14); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpropertyInterpolate"]("value", ctx_r8.xrs); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c1))("ngModel", ctx_r8.xrs); } } class CommunicationsComponent { msjService; comunicacionesService; apiService; modalService; config; _formBuilder; utilservice; table; blockUI; sectionBlockUI; xAPI = { funcion: '', parametros: '', relacional: false, concurrencia: false, protocolo: '', ruta: '', retorna: false, migrar: false, modulo: '', valores: {}, coleccion: '', http: 0, https: 0, consumidores: 0, puertohttp: 0, puertohttps: 0, driver: '', query: '', metodo: '', tipo: '', prioridad: '', entorno: '', logs: false }; searchValue = ''; // Private count; titleModal; fnx; ListaComunicaciones = []; tempData = []; rowData = []; sDispositivo; hostIP; dispositivos = [{ id: 'SRV', descripcion: 'SERVIDORES' }, { id: 'ROU', descripcion: 'ROUTERS' }, { id: 'SWI', descripcion: 'SWITCHES' }, { id: 'IMP', descripcion: 'IMPRESORAS' }, { id: 'LHU', descripcion: 'LECTOR BIOMETRICO' }, { id: 'DVR', descripcion: 'DVR - CAMARAS' }, { id: 'CIP', descripcion: 'CAMARAS IP' }]; status = [{ id: true, name: 'ACTIVO' }, { id: false, name: 'INACTIVO' }]; btnShow = false; btnShowScan = true; // public mac; data; xrs = ''; host = ''; submitted = false; loginForm; contentHeader; selected = []; kitchenSinkRows; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.SelectionType; constructor(msjService, comunicacionesService, apiService, modalService, config, _formBuilder, utilservice) { this.msjService = msjService; this.comunicacionesService = comunicacionesService; this.apiService = apiService; this.modalService = modalService; this.config = config; this._formBuilder = _formBuilder; this.utilservice = utilservice; } // convenience getter for easy access to form fields get f() { return this.loginForm.controls; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { // this.blockUI.start('Loading...'); // Start blocking // setTimeout(() => { // this.blockUI.stop(); // Stop blocking // }, 2000); yield _this.CargarLista(); _this.loginForm = _this._formBuilder.group({ host: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], mac: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], descripcion: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], id: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], tipo: [undefined], estatus: [undefined] }); _this.msjService.lstpid$.subscribe(e => { _this.xrs = e.rs; _this.btnShow = true; }); // content header _this.contentHeader = { headerTitle: 'Comunicaciones', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Redes', isLink: false }, { name: 'Comunicaciones', isLink: false }] } }; })(); } filterUpdate(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempData.filter(function (d) { return d.descripcion.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; this.count = this.rowData.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } filterDispositivo(event) { const val = event ? event : ''; // filter our data const temp = this.tempData.filter(function (d) { return d.tipo.indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; this.count = this.rowData.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } LimpiarForm() { this.loginForm = this._formBuilder.group({ host: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], mac: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], descripcion: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], id: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], tipo: [undefined], estatus: [undefined] }); } CargarLista() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.xAPI.funcion = "_SYS_LstComunicaciones"; _this2.xAPI.parametros = ''; _this2.ListaComunicaciones = []; _this2.count = 0; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { _this2.ListaComunicaciones.push(data); _this2.rowData = data; _this2.count = _this2.rowData.length; _this2.tempData = _this2.rowData; }, error => { console.log(error); }); })(); } ModalEdit(modal, data) { this.loginForm = this._formBuilder.group({ host: [data.host, [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], mac: [data.mac, [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], descripcion: [data.descripcion, [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], id: [data.id, [_angular_forms__WEBPACK_IMPORTED_MODULE_10__.Validators.required]], tipo: [data.tipo], estatus: [data.estatus] }); this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } ModalEscaneo(modal, data) { this.hostIP = data.host; this.titleModal = `IP: ${data.host} - ${data.descripcion}`; this.btnShow = true; this.data = data; this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } Nmap() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xrs = 'Escaneando red, por favor Espere...'; _this3.btnShow = false; _this3.fnx = { 'funcion': 'Fnx_NMap', 'ip': _this3.hostIP }; try { // Esperamos a que se complete la ejecución const data = yield _this3.apiService.ExecFnx(_this3.fnx).toPromise(); _this3.utilservice.AlertMini('top-end', 'success', 'Realizando Escaneo Nmap', 3000); // Esperamos a que se complete la consulta del PID const resultadoScan = yield _this3.apiService.ConsultarPidScan(data.contenido.id, _this3.fnx); // Aquí puedes procesar el resultado del scan // console.log('Resultado del escaneo:', resultadoScan); _this3.xrs = resultadoScan.rs || 'No se encontraron resultados'; _this3.btnShow = true; // Restablecer el botón cuando termine (éxito o error) } catch (error) { _this3.xrs = 'Error al escanear la red'; _this3.btnShow = true; // Restablecer el botón en caso de error _this3.utilservice.AlertMini('top-end', 'error', 'Error al generar Nmap', 3000); // console.error('Error en Nmap:', error); } finally { _this3.btnShow = true; // Restablecer el botón cuando termine (éxito o error) } })(); } ScanRed() { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this4.xrs = 'Escaneando red, por favor Espere...'; _this4.btnShow = false; _this4.fnx = { 'funcion': 'Fnx_ScanRed' }; try { // Convertimos el Observable a Promesa usando firstValueFrom (RxJS 7+) const data = yield _this4.apiService.ExecFnx(_this4.fnx).toPromise(); _this4.utilservice.AlertMini('top-end', 'success', 'Realizando Escaneo de Red', 3000); // Esperamos el resultado del escaneo const scanResult = yield _this4.apiService.ConsultarPidScan(data.contenido.id, _this4.fnx); // Actualizamos la UI con el resultado _this4.xrs = scanResult.rs || 'Escaneo completado'; // console.log(scanResult); } catch (error) { console.error('Error en ScanRed:', error); _this4.utilservice.AlertMini('top-end', 'error', 'Error al generar Escaneo de Red', 3000); } finally { _this4.btnShow = true; // Siempre restauramos el botón } })(); } ScanRedMac() { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this5.btnShowScan = false; _this5.fnx = { 'funcion': 'Fnx_NMapAuto', 'ip': _this5.loginForm.value.host }; try { const data = yield _this5.apiService.ExecFnx(_this5.fnx).toPromise(); _this5.utilservice.AlertMini('top-end', 'success', 'Realizando Escaneo Nmap', 3000); const resultadoScan = yield _this5.apiService.ConsultarPidScan(data.contenido.id, _this5.fnx); // console.log('Resultado completo:', resultadoScan); // Para depuración // Verifica si resultadoScan.rs existe y es un string if (resultadoScan?.rs) { const parsedData = JSON.parse(resultadoScan.rs); // console.log('Datos parseados:', parsedData); // Para depuración if (parsedData.active_connection) { _this5.loginForm.patchValue({ host: parsedData.active_connection.ip, mac: parsedData.active_connection.mac }); // console.log('Formulario actualizado:', this.loginForm.value); } else { throw new Error('El formato de active_connection no es válido'); } } else { throw new Error('No se encontraron datos en resultadoScan.rs'); } _this5.btnShowScan = true; } catch (error) { _this5.btnShowScan = false; _this5.utilservice.AlertMini('top-end', 'error', 'Error al generar Nmap', 3000); console.error('Error completo:', error); if (error instanceof Error) { console.error('Mensaje de error:', error.message); console.error('Stack trace:', error.stack); } } })(); } ModalAdd(modal) { this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } GuardarDispositivo() { this.submitted = true; if (this.loginForm.invalid) { return; } else { var obj = { "coleccion": "sys-conection", "objeto": this.loginForm.value, "donde": `{\"id\":\"${this.loginForm.value.id}\"}`, "driver": "MGDBA", "upsert": true }; this.rowData.push(this.ListaComunicaciones); this.apiService.ExecColeccion(obj).subscribe(data => { this.ListaComunicaciones = []; this.CargarLista(); this.modalService.dismissAll('Close'); this.utilservice.AlertMini('top-end', 'success', `Tu (Comunicacion) ha sido registrada codigo: ${data.UpsertedID}`, 3000); this.LimpiarForm(); }, error => { this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); // console.log(error) }); } } EditarDispositivo() { this.submitted = true; if (this.loginForm.invalid) { return; } else { var obj = { "coleccion": "sys-conection", "objeto": this.loginForm.value, "donde": `{\"id\":\"${this.loginForm.value.id}\"}`, "driver": "MGDBA", "upsert": true }; this.rowData.push(this.ListaComunicaciones); this.apiService.ExecColeccion(obj).subscribe(data => { this.ListaComunicaciones = []; this.CargarLista(); this.modalService.dismissAll('Close'); this.utilservice.AlertMini('top-end', 'success', `Tu (Comunicacion) ha sido actualizada`, 3000); this.LimpiarForm(); }, error => { this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); // console.log(error) }); } } static ɵfac = function CommunicationsComponent_Factory(t) { return new (t || CommunicationsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_1__.WsocketsService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_networks_comunications_service__WEBPACK_IMPORTED_MODULE_2__.ComunicationsService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_12__.NgSelectConfig), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_10__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineComponent"]({ type: CommunicationsComponent, selectors: [["app-communications"]], viewQuery: function CommunicationsComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbModal])], decls: 9, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], ["ModalAddDevice", ""], ["ModalEditDevice", ""], ["ModalEscaneoNmap", ""], ["ModalScanF", ""], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], ["type", "button", "title", "Agregar", "rippleEffect", "", 1, "btn", "btn-icon", "btn-info", 2, "height", "38px", "margin-top", "-4px", 3, "click"], [3, "data-feather"], ["type", "button", "title", "Scaneo IP", "rippleEffect", "", 1, "btn", "btn-icon", "btn-warning", 2, "height", "38px", "margin-top", "-4px", 3, "click"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-10", "col-md-6", "pr-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "col-10", "col-md-6", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "form-group", "mb-0"], ["bindLabel", "descripcion", "placeholder", "Seleccione Dispositivo", 3, "items", "ngModel", "ngModelChange", "change"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "HOST", "prop", "host", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "MAC", "prop", "mac", 3, "width"], ["name", "TIPO", "prop", "tipo", 3, "width"], ["name", "IDENTIFICADOR", "prop", "id", 3, "width"], ["name", "DESCRIPCI\u00D3N", "prop", "descripcion", 3, "width"], ["name", "Status", "prop", "estatus", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [1, "font-weight-bold"], ["class", "badge badge-success", 4, "ngIf"], ["class", "badge badge-danger", 4, "ngIf"], [1, "badge", "badge-success"], [1, "badge", "badge-danger"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], ["ngbDropdownMenu", ""], ["ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "auth-login-form", "mt-2", 3, "formGroup", "ngSubmit"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], [1, "col-md-4", "col-12", "mb-1"], ["for", "login-host", 1, "form-label"], ["class", "badge badge-warning", 3, "click", 4, "ngIf"], ["type", "text", "formControlName", "host", "placeholder", "Direcci\u00F3n Host/IP", "aria-describedby", "login-host", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["class", "invalid-feedback", 4, "ngIf"], ["for", "login-mac", 1, "form-label"], ["type", "text", "formControlName", "mac", "placeholder", "MAC Address", "aria-describedby", "login-mac", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["for", "login-descripcion", 1, "form-label"], ["type", "text", "formControlName", "descripcion", "placeholder", "Descripci\u00F3n", "aria-describedby", "login-descripcion", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["for", "login-id", 1, "form-label"], ["type", "text", "formControlName", "id", "placeholder", "Identificador", "aria-describedby", "login-id", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["for", "login-tipo", 1, "form-label"], ["bindLabel", "descripcion", "formControlName", "tipo", "placeholder", "Seleccione Dispositivo", "bindValue", "id", 3, "items"], ["for", "login-estatus", 1, "form-label"], ["formControlName", "estatus", "bindLabel", "name", "placeholder", "Seleccione Dispositivo", "bindValue", "id", 3, "items"], [1, "modal-footer"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"], [1, "badge", "badge-warning", 3, "click"], [1, "invalid-feedback"], [4, "ngIf"], ["type", "text", "formControlName", "id", "placeholder", "Identificador", "aria-describedby", "login-id", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "readOnly", "ngClass"], ["formControlName", "estatus", "bindLabel", "name", "placeholder", "Seleccione Estatus", "bindValue", "id", 3, "items"], ["type", "button", "class", "close", "aria-label", "Close", 3, "click", 4, "ngIf"], [1, "col-md-12"], [1, "form-group"], [2, "width", "100%", "height", "400px", "overflow", "scroll"], ["id", "xrs", 2, "font-size", "11px", "width", "100%", "height", "400px", 3, "disabled", "ngModelOptions", "ngModel", "value", "ngModelChange"], ["class", "btn btn-success", "tabindex", "4", "rippleEffect", "", 3, "click", 4, "ngIf"], ["type", "button", "class", "btn btn-danger", "rippleEffect", "", 3, "click", 4, "ngIf"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success", 3, "click"], ["id", "xrs", 2, "font-size", "11px", "width", "100%", "height", "400px", 3, "ngModelOptions", "ngModel", "value", "ngModelChange"]], template: function CommunicationsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](0, CommunicationsComponent_div_0_Template, 50, 23, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, CommunicationsComponent_ng_template_1_Template, 46, 21, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](3, CommunicationsComponent_ng_template_3_Template, 43, 20, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](5, CommunicationsComponent_ng_template_5_Template, 18, 9, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](7, CommunicationsComponent_ng_template_7_Template, 20, 4, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_13__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_13__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_10__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormControlName, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__.NgbDropdownItem, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_12__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_14__["ɵf"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_15__.DefaultClassDirective], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_16__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_14__.BlockUI)()], CommunicationsComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_16__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_14__.BlockUI)('section-block')], CommunicationsComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 23429: /*!**************************************************************************!*\ !*** ./src/app/main/views/networks/connections/connections.component.ts ***! \**************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ConnectionsComponent": () => (/* binding */ ConnectionsComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_networks_comunications_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/networks/comunications.service */ 73542); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_networks_connections_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/networks/connections.service */ 65784); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @core/pipes/initials.pipe */ 16516); function ConnectionsComponent_div_0_ng_template_33_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](1, "img", 42); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const row_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpropertyInterpolate"]("src", row_r14.avatar, _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵsanitizeUrl"]); } } const _c0 = function (a0, a1) { return { "bg-light-success": a0, "bg-light-danger": a1 }; }; function ConnectionsComponent_div_0_ng_template_33_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 43)(1, "div", 44); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipe"](3, "initials"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction2"](4, _c0, row_r14.estatus == true, row_r14.estatus == false)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpipeBind1"](3, 2, row_r14.driver.toUpperCase())); } } function ConnectionsComponent_div_0_ng_template_33_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_div_0_ng_template_33_div_1_Template, 2, 1, "div", 37); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](2, ConnectionsComponent_div_0_ng_template_33_ng_template_2_Template, 4, 7, "ng-template", null, 38, _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](4, "div", 39)(5, "span", 40); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](7, "span", 41); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r14 = ctx.row; const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵreference"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", row_r14.length > 0)("ngIfElse", _r17); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](row_r14.driver.toUpperCase()); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate1"](" @", row_r14.basedatos, ""); } } function ConnectionsComponent_div_0_ng_template_35_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div")(1, "span", 45); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const basedatos_r21 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate1"]("", basedatos_r21.toUpperCase(), " "); } } function ConnectionsComponent_div_0_ng_template_37_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div")(1, "span", 45); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const descripcion_r22 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate1"]("", descripcion_r22.slice(0, 25).toUpperCase(), " ... "); } } function ConnectionsComponent_div_0_ng_template_39_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div")(1, "span", 45); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const host_r23 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate1"]("", host_r23, " "); } } function ConnectionsComponent_div_0_ng_template_41_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div")(1, "span", 45)(2, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); } if (rf & 2) { const puerto_r24 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](puerto_r24); } } function ConnectionsComponent_div_0_ng_template_43_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 49); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Activo"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_div_0_ng_template_43_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 50); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Inactivo"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_div_0_ng_template_43_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](0, ConnectionsComponent_div_0_ng_template_43_div_0_Template, 2, 0, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_div_0_ng_template_43_div_1_Template, 2, 0, "div", 48); } if (rf & 2) { const estatus_r25 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", estatus_r25 === true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", estatus_r25 === false); } } function ConnectionsComponent_div_0_ng_template_45_Template(rf, ctx) { if (rf & 1) { const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 51)(1, "button", 52); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](2, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "div", 53)(4, "a", 54); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_div_0_ng_template_45_Template_a_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r30); const row_r28 = restoredCtx.row; const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r29.ModalEdit(_r3, row_r28)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](5, "span", 55); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](6, " Editar"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("data-feather", "edit")("size", 16); } } function ConnectionsComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 4)(1, "div", 5); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](2, "app-content-header", 6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "section", 7)(4, "div", 8)(5, "div", 9)(6, "div", 10)(7, "div", 11)(8, "div", 12)(9, "label", 12); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](11, "select", 13); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function ConnectionsComponent_div_0_Template_select_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r32); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r31.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](12, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](14, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](16, "option", 16); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](18, "option", 17); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](20, "button", 18); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_div_0_Template_button_click_20_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r32); const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵreference"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r33.ModalAdd(_r1)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](21, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](22, " Agregar"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](23, "div", 20)(24, "div", 21)(25, "div", 22)(26, "label", 23)(27, "input", 24); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function ConnectionsComponent_div_0_Template_input_ngModelChange_27_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r32); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r34.searchValue = $event); })("keyup", function ConnectionsComponent_div_0_Template_input_keyup_27_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r32); const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r35.filterUpdate($event)); })("search", function ConnectionsComponent_div_0_Template_input_search_27_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r32); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r36.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](28, "div", 25)(29, "fieldset", 26)(30, "ng-select", 27); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("change", function ConnectionsComponent_div_0_Template_ng_select_change_30_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r32); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r37.filterDriver($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](31, "ngx-datatable", 28)(32, "ngx-datatable-column", 29); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](33, ConnectionsComponent_div_0_ng_template_33_Template, 9, 4, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](34, "ngx-datatable-column", 31); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](35, ConnectionsComponent_div_0_ng_template_35_Template, 3, 1, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](36, "ngx-datatable-column", 32); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](37, ConnectionsComponent_div_0_ng_template_37_Template, 3, 1, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](38, "ngx-datatable-column", 33); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](39, ConnectionsComponent_div_0_ng_template_39_Template, 3, 1, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](40, "ngx-datatable-column", 34); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](41, ConnectionsComponent_div_0_ng_template_41_Template, 4, 1, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](42, "ngx-datatable-column", 35); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](43, ConnectionsComponent_div_0_ng_template_43_Template, 2, 2, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](44, "ngx-datatable-column", 36); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](45, ConnectionsComponent_div_0_ng_template_45_Template, 7, 7, "ng-template", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("data-feather", "plus"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.drivers); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("rows", ctx_r0.rowData)("rowHeight", 58)("limit", 10)("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("width", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("width", 5); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("width", 20)("sortable", false); } } function ConnectionsComponent_ng_template_1_div_18_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Base de Datos es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_1_div_18_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_1_div_18_div_4_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r47 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r47.f.basedatos.errors.required); } } const _c1 = function (a0) { return { "is-invalid": a0 }; }; function ConnectionsComponent_ng_template_1_div_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 63)(1, "label", 85); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "input", 86); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, ConnectionsComponent_ng_template_1_div_18_div_4_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](ctx_r39.lbd); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](3, _c1, ctx_r39.submitted && ctx_r39.f.basedatos.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r39.submitted && ctx_r39.f.basedatos.errors); } } function ConnectionsComponent_ng_template_1_div_19_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Puerto es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_1_div_19_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_1_div_19_div_4_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r49 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r49.f.puerto.errors.required); } } function ConnectionsComponent_ng_template_1_div_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 63)(1, "label", 89); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Puerto"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "input", 90); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, ConnectionsComponent_ng_template_1_div_19_div_4_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](2, _c1, ctx_r40.submitted && ctx_r40.f.puerto.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r40.submitted && ctx_r40.f.puerto.errors); } } function ConnectionsComponent_ng_template_1_div_20_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Usuario es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_1_div_20_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_1_div_20_div_4_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r51.f.usuario.errors.required); } } function ConnectionsComponent_ng_template_1_div_20_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 63)(1, "label", 91); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "input", 92); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, ConnectionsComponent_ng_template_1_div_20_div_4_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](2, _c1, ctx_r41.submitted && ctx_r41.f.usuario.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r41.submitted && ctx_r41.f.usuario.errors); } } function ConnectionsComponent_ng_template_1_div_21_div_7_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Clave es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_1_div_21_div_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_1_div_21_div_7_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r53 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r53.f.clave.errors.required); } } function ConnectionsComponent_ng_template_1_div_21_Template(rf, ctx) { if (rf & 1) { const _r56 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 63)(1, "label", 93); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Clave"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](3, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](4, "div", 94); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_1_div_21_Template_div_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r56); const ctx_r55 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r55.EvaluarConexion()); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](5, "Escanear"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](6, "input", 95); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](7, ConnectionsComponent_ng_template_1_div_21_div_7_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](2, _c1, ctx_r42.submitted && ctx_r42.f.clave.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r42.submitted && ctx_r42.f.clave.errors); } } function ConnectionsComponent_ng_template_1_div_22_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 75)(1, "label", 96); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Protocolo"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "ng-select", 97); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r43.protocolo); } } function ConnectionsComponent_ng_template_1_div_23_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Descripci\u00F3n es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_1_div_23_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_1_div_23_div_4_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r57.f.url.errors.required); } } function ConnectionsComponent_ng_template_1_div_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 98)(1, "label", 99); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "URL Para establecer puente de conexi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "input", 100); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, ConnectionsComponent_ng_template_1_div_23_div_4_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](2, _c1, ctx_r44.submitted && ctx_r44.f.url.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r44.submitted && ctx_r44.f.url.errors); } } function ConnectionsComponent_ng_template_1_div_28_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Descripci\u00F3n es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_1_div_28_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_1_div_28_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r45 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r45.f.descripcion.errors.required); } } function ConnectionsComponent_ng_template_1_div_33_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Identificador es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_1_div_33_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_1_div_33_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r46 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r46.f.id.errors.required); } } const _c2 = function () { return { standalone: true }; }; function ConnectionsComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { const _r62 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Agregar Conexi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_1_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r62); const modal_r38 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](modal_r38.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](6, "form", 60); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngSubmit", function ConnectionsComponent_ng_template_1_Template_form_ngSubmit_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r62); const ctx_r63 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r63.GuardarConexion()); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](7, "div", 61)(8, "div", 62)(9, "div", 9)(10, "div", 63)(11, "label", 64); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](12, "Hostname"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](13, "ng-select", 65); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](14, "div", 63)(15, "label", 66); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](16, "Driver de Conexi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](17, "ng-select", 67); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function ConnectionsComponent_ng_template_1_Template_ng_select_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r62); const ctx_r64 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r64.driver = $event); })("ngModelChange", function ConnectionsComponent_ng_template_1_Template_ng_select_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r62); const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r65.CambiarVisibilidadDriver($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](18, ConnectionsComponent_ng_template_1_div_18_Template, 5, 5, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](19, ConnectionsComponent_ng_template_1_div_19_Template, 5, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](20, ConnectionsComponent_ng_template_1_div_20_Template, 5, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](21, ConnectionsComponent_ng_template_1_div_21_Template, 8, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](22, ConnectionsComponent_ng_template_1_div_22_Template, 4, 1, "div", 69); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](23, ConnectionsComponent_ng_template_1_div_23_Template, 5, 4, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](24, "div", 71)(25, "label", 72); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](26, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](27, "input", 73); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](28, ConnectionsComponent_ng_template_1_div_28_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](29, "div", 75)(30, "label", 76); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](31, "Identificador"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](32, "input", 77); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](33, ConnectionsComponent_ng_template_1_div_33_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](34, "div", 75)(35, "label", 78); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](36, "Seleccione Status"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](37, "ng-select", 79); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](38, "div", 75)(39, "label", 80); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](40, "Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](41, "ng-select", 81); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](42, "div", 82)(43, "button", 83); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](44, "Guardar"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](45, "button", 84); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_1_Template_button_click_45_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r62); const modal_r38 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](modal_r38.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](46, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("formGroup", ctx_r2.loginForm); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r2.hosts); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r2.drivers)("ngModel", ctx_r2.driver)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](17, _c2)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.showBaseDatos == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.showBaseDatos == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.showBaseDatos == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.showBaseDatos == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.showPuente == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.showPuente == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](18, _c1, ctx_r2.submitted && ctx_r2.f.descripcion.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.descripcion.errors); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](20, _c1, ctx_r2.submitted && ctx_r2.f.id.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.id.errors); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r2.status); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r2.ListaAplicaciones); } } function ConnectionsComponent_ng_template_3_div_18_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Base de Datos es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_3_div_18_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_3_div_18_div_4_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r75 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r75.f.basedatos.errors.required); } } function ConnectionsComponent_ng_template_3_div_18_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 63)(1, "label", 85); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "input", 86); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, ConnectionsComponent_ng_template_3_div_18_div_4_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r68 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](ctx_r68.lbd); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](3, _c1, ctx_r68.submitted && ctx_r68.f.basedatos.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r68.submitted && ctx_r68.f.basedatos.errors); } } function ConnectionsComponent_ng_template_3_div_19_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Puerto es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_3_div_19_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_3_div_19_div_4_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r77 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r77.f.puerto.errors.required); } } function ConnectionsComponent_ng_template_3_div_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 63)(1, "label", 89); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Puerto"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "input", 90); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, ConnectionsComponent_ng_template_3_div_19_div_4_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r69 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](2, _c1, ctx_r69.submitted && ctx_r69.f.puerto.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r69.submitted && ctx_r69.f.puerto.errors); } } function ConnectionsComponent_ng_template_3_div_20_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Usuario es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_3_div_20_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_3_div_20_div_4_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r79 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r79.f.usuario.errors.required); } } function ConnectionsComponent_ng_template_3_div_20_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 63)(1, "label", 91); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "input", 92); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, ConnectionsComponent_ng_template_3_div_20_div_4_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r70 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](2, _c1, ctx_r70.submitted && ctx_r70.f.usuario.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r70.submitted && ctx_r70.f.usuario.errors); } } function ConnectionsComponent_ng_template_3_div_21_div_7_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Clave es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_3_div_21_div_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_3_div_21_div_7_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r81 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r81.f.clave.errors.required); } } function ConnectionsComponent_ng_template_3_div_21_Template(rf, ctx) { if (rf & 1) { const _r84 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 63)(1, "label", 93); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Clave"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](3, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](4, "div", 94); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_3_div_21_Template_div_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r84); const ctx_r83 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r83.EvaluarConexion()); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](5, "Probar Conexi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](6, "input", 95); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](7, ConnectionsComponent_ng_template_3_div_21_div_7_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r71 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](2, _c1, ctx_r71.submitted && ctx_r71.f.clave.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r71.submitted && ctx_r71.f.clave.errors); } } function ConnectionsComponent_ng_template_3_div_22_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 75)(1, "label", 96); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Protocolo"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "ng-select", 97); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r72 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r72.protocolo); } } function ConnectionsComponent_ng_template_3_div_23_div_4_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Descripci\u00F3n es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_3_div_23_div_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_3_div_23_div_4_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r85 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r85.f.url.errors.required); } } function ConnectionsComponent_ng_template_3_div_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 98)(1, "label", 99); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "URL Para establecer puente de conexi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "input", 100); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, ConnectionsComponent_ng_template_3_div_23_div_4_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r73 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](2, _c1, ctx_r73.submitted && ctx_r73.f.url.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r73.submitted && ctx_r73.f.url.errors); } } function ConnectionsComponent_ng_template_3_div_28_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](1, "Descripci\u00F3n es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } } function ConnectionsComponent_ng_template_3_div_28_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 87); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_3_div_28_div_1_Template, 2, 0, "div", 88); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r74 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r74.f.descripcion.errors.required); } } function ConnectionsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) { const _r89 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Editar Dispositivo"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_3_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r89); const modal_r67 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](modal_r67.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](6, "form", 60); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngSubmit", function ConnectionsComponent_ng_template_3_Template_form_ngSubmit_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r89); const ctx_r90 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r90.EditarDispositivo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](7, "div", 61)(8, "div", 62)(9, "div", 9)(10, "div", 63)(11, "label", 64); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](12, "Hosname"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](13, "ng-select", 65); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](14, "div", 63)(15, "label", 66); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](16, "Driver de Conexi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](17, "ng-select", 67); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function ConnectionsComponent_ng_template_3_Template_ng_select_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r89); const ctx_r91 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r91.driver = $event); })("ngModelChange", function ConnectionsComponent_ng_template_3_Template_ng_select_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r89); const ctx_r92 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r92.CambiarVisibilidadDriver($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](18, ConnectionsComponent_ng_template_3_div_18_Template, 5, 5, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](19, ConnectionsComponent_ng_template_3_div_19_Template, 5, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](20, ConnectionsComponent_ng_template_3_div_20_Template, 5, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](21, ConnectionsComponent_ng_template_3_div_21_Template, 8, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](22, ConnectionsComponent_ng_template_3_div_22_Template, 4, 1, "div", 69); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](23, ConnectionsComponent_ng_template_3_div_23_Template, 5, 4, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](24, "div", 71)(25, "label", 72); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](26, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](27, "input", 73); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](28, ConnectionsComponent_ng_template_3_div_28_Template, 2, 1, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](29, "div", 75)(30, "label", 76); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](31, "Identificador"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](32, "input", 101); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](33, "div", 75)(34, "label", 78); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](35, "Seleccione Status"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](36, "ng-select", 79); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](37, "div", 75)(38, "label", 80); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](39, "Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](40, "ng-select", 81); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](41, "div", 82)(42, "button", 83); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](43, "Actualizar"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](44, "button", 84); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_3_Template_button_click_44_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r89); const modal_r67 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](modal_r67.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](45, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("formGroup", ctx_r4.loginForm); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r4.hosts); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r4.drivers)("ngModel", ctx_r4.driver)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](16, _c2)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r4.showBaseDatos == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r4.showBaseDatos == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r4.showBaseDatos == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r4.showBaseDatos == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r4.showPuente == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r4.showPuente == true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction1"](17, _c1, ctx_r4.submitted && ctx_r4.f.descripcion.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r4.submitted && ctx_r4.f.descripcion.errors); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("readOnly", true); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r4.status); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r4.ListaAplicaciones); } } function ConnectionsComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) { const _r96 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Escaneando: nmap -sT"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_5_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r96); const modal_r94 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](modal_r94.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](6, "div", 61)(7, "div", 62)(8, "div", 9)(9, "div", 102)(10, "div", 103)(11, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](12, "Resultado"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](13, "div", 104)(14, "textarea", 105); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function ConnectionsComponent_ng_template_5_Template_textarea_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r96); const ctx_r97 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r97.xrs = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](15, "div", 82)(16, "button", 106); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_5_Template_button_click_16_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r96); const ctx_r98 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r98.ScanRed()); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](17, "Escanear"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](18, "button", 84); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function ConnectionsComponent_ng_template_5_Template_button_click_18_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r96); const modal_r94 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](modal_r94.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](19, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](14); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpropertyInterpolate"]("value", ctx_r6.xrs); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](3, _c2))("ngModel", ctx_r6.xrs); } } class ConnectionsComponent { comunicacionesService; apiService; modalService; conexionesService; ws; config; _formBuilder; utilservice; table; blockUI; sectionBlockUI; xAPI = { funcion: '', parametros: '', relacional: false, concurrencia: false, protocolo: '', ruta: '', retorna: false, migrar: false, modulo: '', valores: {}, coleccion: '', http: 0, https: 0, consumidores: 0, puertohttp: 0, puertohttps: 0, driver: '', query: '', metodo: '', tipo: '', prioridad: '', entorno: '', logs: false }; // Private lbd = 'Base de Datos'; count; isReload = false; showBaseDatos = false; showPuente = false; _unsubscribeAll; ListaConexiones = []; tempData = []; rowData = []; driver = undefined; drivers = []; hosts = []; status = [{ id: true, name: 'ACTIVO' }, { id: false, name: 'INACTIVO' }]; protocolo = [{ id: 1, name: 'HTTP' }, { id: 2, name: 'HTTPS' }]; // public mac; data; xrs = ''; host = ''; submitted = false; loginForm; contentHeader; selected = []; kitchenSinkRows; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.SelectionType; ListaAplicaciones; constructor(comunicacionesService, apiService, modalService, conexionesService, ws, config, _formBuilder, utilservice) { this.comunicacionesService = comunicacionesService; this.apiService = apiService; this.modalService = modalService; this.conexionesService = conexionesService; this.ws = ws; this.config = config; this._formBuilder = _formBuilder; this.utilservice = utilservice; } // convenience getter for easy access to form fields get f() { return this.loginForm.controls; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this.CargarDrivers(); yield _this.ListarHostname(); yield _this.CargarListaConexiones(); yield _this.CargarListaAplicaciones(); _this.loginForm = _this._formBuilder.group({ id: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], usuario: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], basedatos: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], url: [''], estatus: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], driver: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], clave: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], protocolo: [''], host: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], aplicacion: [''], puerto: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], descripcion: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]] }); // this.sectionBlockUI.start('Loading...'); // this.sectionBlockUI.stop(); // content header _this.contentHeader = { headerTitle: 'Conexiones', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Redes', isLink: false }, { name: 'Conexiones', isLink: false }] } }; })(); } filterUpdate(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempData.filter(function (d) { return d.descripcion.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; this.count = this.rowData.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } filterDriver(event) { const val = event ? event.id.toLowerCase() : ''; // filter our data const temp = this.tempData.filter(function (d) { return d.driver.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; this.count = this.rowData.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } CargarDrivers() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this2.comunicacionesService.ListarDrivers().subscribe(data => { _this2.drivers = data; }, error => { console.error(error); }); })(); } LimpiarForm() { this.loginForm = this._formBuilder.group({ usuario: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], identificador: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], basedatos: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], url: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], estatus: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], driver: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], clave: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], host: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], puerto: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], descripcion: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]] }); } CargarListaConexiones() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xAPI.funcion = "LESBDrivers"; _this3.xAPI.parametros = ''; _this3.ListaConexiones = []; _this3.count = 0; yield _this3.apiService.Ejecutar(_this3.xAPI).subscribe(data => { // data.map(e => { // this.ListaConexiones.push(e); // }); _this3.rowData = data; _this3.tempData = _this3.rowData; _this3.count = _this3.rowData.length; }, error => { console.log(error); }); })(); } ListarHostname() { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this4.comunicacionesService.Listar().subscribe(data => { _this4.hosts = data; }, error => { console.log(error); }); })(); } CambiarVisibilidadDriver() { if (this.driver == "puenteurl") { this.showBaseDatos = false; this.showPuente = true; } else { this.showBaseDatos = true; this.showPuente = false; } if (this.driver === 'oracle19c') { this.lbd = "Oracle_SID"; } else { this.lbd = "Base de Datos"; } if (this.driver == null) { this.showBaseDatos = false; this.showPuente = false; } } ModalEdit(modal, data) { this.driver = data.driver; this.loginForm = this._formBuilder.group({ id: [data.id, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], usuario: [data.usuario, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], basedatos: [data.basedatos, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], url: [data.url], estatus: [data.estatus, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], driver: [data.driver, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], clave: [data.clave, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], protocolo: [data.protocolo], host: [data.host, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], puerto: [data.puerto, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], descripcion: [data.descripcion, [_angular_forms__WEBPACK_IMPORTED_MODULE_12__.Validators.required]], aplicacion: [data.aplicacion] }); this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } ModalEscaneo(modal, data) { this.data = data; this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } EvaluarConexion() { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { if (_this5.loginForm.value.basedatos == undefined || _this5.loginForm.value.clave == undefined || _this5.loginForm.value.basedatos === "" || _this5.loginForm.value.clave === "") { _this5.utilservice.AlertMini('top-end', 'warning', 'Debe introducir los datos para establecer la conexión', 3000); return false; } yield _this5.conexionesService.EvaluarConexion(_this5.loginForm.value, 'evaluarconexion').subscribe(data => { _this5.utilservice.AlertMini('top-end', 'success', data.msj, 3000); }, errot => { _this5.utilservice.AlertMini('top-end', 'error', 'Error al momento de realizar la conexión, verifique e intente nuevamente', 3000); }); })(); } ModalAdd(modal) { this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } GuardarConexion() { this.submitted = true; if (this.loginForm.invalid) { return; } else { var obj = { "coleccion": "sys-drivers", "objeto": this.loginForm.value, "donde": `{\"id\":\"${this.loginForm.value.id}\"}`, "driver": "MGDBA", "upsert": true }; this.rowData.push(this.ListaConexiones); this.apiService.ExecColeccion(obj).subscribe(data => { this.ListaConexiones = []; this.CargarListaConexiones(); this.modalService.dismissAll('Close'); this.utilservice.AlertMini('top-end', 'success', `Tu (Conexión) ha sido registrada codigo: ${data.UpsertedID}`, 3000); this.LimpiarForm(); }, error => { this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); }); } } EditarDispositivo() { this.submitted = true; if (this.loginForm.invalid) { return; } else { var obj = { "coleccion": "sys-drivers", "objeto": this.loginForm.value, "donde": `{\"id\":\"${this.loginForm.value.id}\"}`, "driver": "MGDBA", "upsert": true }; this.rowData.push(this.ListaConexiones); this.apiService.ExecColeccion(obj).subscribe(data => { this.ListaConexiones = []; this.CargarListaConexiones(); this.modalService.dismissAll('Close'); this.utilservice.AlertMini('top-end', 'success', `Tu (Conexión) ha sido actualizada`, 3000); this.LimpiarForm(); }, error => { this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); // console.log(error) }); } } CargarListaAplicaciones() { var _this6 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this6.xAPI.funcion = "_SYS_LstAplicaciones"; _this6.xAPI.parametros = ''; _this6.xAPI.valores = ''; yield _this6.apiService.Ejecutar(_this6.xAPI).subscribe(data => { console.log(data); _this6.ListaAplicaciones = data.Cuerpo.map(e => { e.name = e.nombre + ' : ' + e.VERSION; return e; }); }, error => { console.log(error); }); })(); } static ɵfac = function ConnectionsComponent_Factory(t) { return new (t || ConnectionsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_networks_comunications_service__WEBPACK_IMPORTED_MODULE_1__.ComunicationsService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_2__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_networks_connections_service__WEBPACK_IMPORTED_MODULE_3__.ConexionesService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_4__.WsocketsService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__.NgSelectConfig), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_12__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_5__.UtilService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdefineComponent"]({ type: ConnectionsComponent, selectors: [["app-connections"]], viewQuery: function ConnectionsComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbModal])], decls: 7, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], ["ModalAddDevice", ""], ["ModalEditDevice", ""], ["ModalEscaneoNmap", ""], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-info", 2, "height", "38px", "margin-top", "-4px", 3, "click"], [3, "data-feather"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-10", "col-md-6", "pr-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "col-10", "col-md-6", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "form-group", "mb-0"], ["bindLabel", "nombre", "bindValue", "id", "placeholder", "Seleccione Driver", 3, "items", "change"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "DRIVER", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "BASE DE DATOS", "prop", "basedatos", 3, "width"], ["name", "DESCRIPCI\u00D3N", "prop", "descripcion", 3, "width"], ["name", "HOST", "prop", "host", 3, "width"], ["name", "PUERTO", "prop", "puerto", 3, "width"], ["name", "Status", "prop", "estatus", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [4, "ngIf", "ngIfElse"], ["customAvatar", ""], [1, "cell-line-height"], [1, "font-weight-bold", "d-block", "text-nowrap", "font-medium-1"], [1, "text-muted", "font-small-2"], ["height", "32", "width", "32", "alt", "datatable-avatar", 1, "rounded-circle", "mr-1", 3, "src"], [1, "avatar", "mr-1", "ml-0", 3, "ngClass"], [1, "avatar-content"], [1, "font-weight-bold"], [1, "badge", "badge-warning"], ["class", "badge badge-success", 4, "ngIf"], ["class", "badge badge-danger", 4, "ngIf"], [1, "badge", "badge-success"], [1, "badge", "badge-danger"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], ["ngbDropdownMenu", ""], ["ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "auth-login-form", "mt-2", 3, "formGroup", "ngSubmit"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], [1, "col-md-6", "col-12", "mb-1"], ["for", "login-host", 1, "form-label"], ["formControlName", "host", "bindLabel", "descripcion", "bindLabel", "descripcion", "placeholder", "Seleccione Hostname", "bindValue", "host", 3, "items"], ["for", "login-driver", 1, "form-label"], ["formControlName", "driver", "bindLabel", "nombre", "placeholder", "Seleccione Driver", "bindValue", "id", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["class", "col-md-6 col-12 mb-1", 4, "ngIf"], ["class", "col-md-4 col-12 mb-1", 4, "ngIf"], ["class", "col-md-8 col-12 mb-1", 4, "ngIf"], [1, "col-md-12", "col-12", "mb-1"], ["for", "login-descripcion", 1, "form-label"], ["type", "text", "formControlName", "descripcion", "placeholder", "Descripci\u00F3n", "aria-describedby", "login-descripcion", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["class", "invalid-feedback", 4, "ngIf"], [1, "col-md-4", "col-12", "mb-1"], ["for", "login-id", 1, "form-label"], ["type", "text", "formControlName", "id", "placeholder", "Identificador", "aria-describedby", "login-id", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["for", "login-estatus", 1, "form-label"], ["formControlName", "estatus", "bindLabel", "name", "placeholder", "Seleccione Status", "bindValue", "id", 3, "items"], ["for", "login-aplicacion", 1, "form-label"], ["formControlName", "aplicacion", "aria-describedby", "login-aplicacion", "tabindex", "1", "autofocus", "", "bindLabel", "name", "bindId", "id", "bindValue", "nombre", "placeholder", "Seleccione Aplicaci\u00F3n", 1, "", 3, "items"], [1, "modal-footer"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"], ["for", "login-basedatos", 1, "form-label"], ["type", "text", "formControlName", "basedatos", "placeholder", "Base de Datos", "aria-describedby", "login-basedatos", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], [1, "invalid-feedback"], [4, "ngIf"], ["for", "login-puerto", 1, "form-label"], ["type", "text", "formControlName", "puerto", "placeholder", "Puerto", "aria-describedby", "login-puerto", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["for", "login-usuario", 1, "form-label"], ["type", "text", "formControlName", "usuario", "placeholder", "Usuario", "aria-describedby", "login-usuario", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["for", "login-clave", 1, "form-label"], [1, "badge", "badge-info", 3, "click"], ["type", "text", "formControlName", "clave", "placeholder", "Clave", "aria-describedby", "login-clave", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["for", "login-protocolo", "formControlName", "protocolo", 1, "form-label"], ["bindLabel", "name", "placeholder", "Seleccione Hostname", "bindValue", "name", 3, "items"], [1, "col-md-8", "col-12", "mb-1"], ["for", "login-url", 1, "form-label"], ["type", "text", "formControlName", "url", "placeholder", "URL Para establecer puente de conexi\u00F3n", "aria-describedby", "login-url", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["type", "text", "formControlName", "id", "placeholder", "Identificador", "aria-describedby", "login-id", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "readOnly"], [1, "col-md-12"], [1, "form-group"], [2, "width", "100%", "height", "400px", "overflow", "scroll"], ["id", "xrs", 2, "font-size", "11px", "width", "100%", "height", "400px", 3, "ngModelOptions", "ngModel", "value", "ngModelChange"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success", 3, "click"]], template: function ConnectionsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](0, ConnectionsComponent_div_0_Template, 46, 21, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](1, ConnectionsComponent_ng_template_1_Template, 47, 22, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](3, ConnectionsComponent_ng_template_3_Template, 46, 19, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](5, ConnectionsComponent_ng_template_5_Template, 20, 4, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_15__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_15__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_6__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_12__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_12__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_12__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.FormControlName, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbDropdownItem, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_7__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_8__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_16__["ɵf"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_17__.DefaultClassDirective, _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_9__.InitialsPipe], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_18__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_16__.BlockUI)()], ConnectionsComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_18__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_16__.BlockUI)('section-block')], ConnectionsComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 15945: /*!********************************************************!*\ !*** ./src/app/main/views/networks/networks.module.ts ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "NetworksModule": () => (/* binding */ NetworksModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @services/seguridad/auth-guard.guard */ 76732); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.module */ 50619); /* harmony import */ var _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-card/core-card.module */ 4651); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var ng2_flatpickr__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ng2-flatpickr */ 89793); /* harmony import */ var _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/directives/directives */ 35455); /* harmony import */ var _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/pipes/pipes.module */ 30021); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _communications_communications_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./communications/communications.component */ 71259); /* harmony import */ var _connections_connections_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./connections/connections.component */ 23429); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 94650); const routes = [{ path: 'networks/communications', component: _communications_communications_component__WEBPACK_IMPORTED_MODULE_7__.CommunicationsComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'networks/connections', component: _connections_connections_component__WEBPACK_IMPORTED_MODULE_8__.ConnectionsComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }]; class NetworksModule { static ɵfac = function NetworksModule_Factory(t) { return new (t || NetworksModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineNgModule"]({ type: NetworksModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_10__.RouterModule.forChild(routes), _angular_common__WEBPACK_IMPORTED_MODULE_11__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_14__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_15__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_17__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_18__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsetNgModuleScope"](NetworksModule, { declarations: [_communications_communications_component__WEBPACK_IMPORTED_MODULE_7__.CommunicationsComponent, _connections_connections_component__WEBPACK_IMPORTED_MODULE_8__.ConnectionsComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_10__.RouterModule, _angular_common__WEBPACK_IMPORTED_MODULE_11__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_14__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_15__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_17__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_18__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); })(); /***/ }), /***/ 56130: /*!******************************************************!*\ !*** ./src/app/main/views/options/options.module.ts ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "OptionsModule": () => (/* binding */ OptionsModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @services/seguridad/auth-guard.guard */ 76732); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.module */ 50619); /* harmony import */ var _update_update_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./update/update.component */ 78325); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); const routes = [{ path: 'options/update', component: _update_update_component__WEBPACK_IMPORTED_MODULE_3__.UpdateComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }]; class OptionsModule { static ɵfac = function OptionsModule_Factory(t) { return new (t || OptionsModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: OptionsModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule.forChild(routes), _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__.TranslateModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](OptionsModule, { declarations: [_update_update_component__WEBPACK_IMPORTED_MODULE_3__.UpdateComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_5__.RouterModule, _angular_common__WEBPACK_IMPORTED_MODULE_6__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__.TranslateModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); })(); /***/ }), /***/ 78325: /*!***************************************************************!*\ !*** ./src/app/main/views/options/update/update.component.ts ***! \***************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "UpdateComponent": () => (/* binding */ UpdateComponent) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); function UpdateComponent_div_64_Template(rf, ctx) { if (rf & 1) { const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 38)(1, "button", 39); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function UpdateComponent_div_64_Template_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r3); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r2.startUpdate()); }); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "svg", 40); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "path", 41); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, " Iniciar Actualizaci\u00F3n "); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); } } function UpdateComponent_div_65_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 42)(1, "div", 43); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "svg", 44); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "path", 45); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5, "Actualizaci\u00F3n en progreso..."); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](7, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "div", 48)(9, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](12); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](13, "div", 49); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "svg", 23); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](15, "path", 50); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](17, "No cierre esta ventana ni apague su equipo durante el proceso"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstyleProp"]("width", ctx_r1.progressValue, "%"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("Progreso: ", ctx_r1.progressValue, "%"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("Tiempo restante: ", ctx_r1.estimatedTime, " minutos"); } } class UpdateComponent { constructor() {} contentHeader; isUpdating = false; progressValue = 0; estimatedTime = 15; ngOnInit() { this.contentHeader = { headerTitle: 'Opciones de Actualización', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Opciones', isLink: false }, { name: 'Actualizar Sistema', isLink: false }] } }; } startUpdate() { this.isUpdating = true; this.progressValue = 0; this.estimatedTime = 15; const interval = setInterval(() => { this.progressValue += 1; this.estimatedTime = Math.max(0, Math.floor((100 - this.progressValue) * 15 / 100)); if (this.progressValue >= 100) { clearInterval(interval); setTimeout(() => { this.isUpdating = false; // Aquí podrías agregar lógica para cuando termine la actualización }, 1000); } }, 300); } static ɵfac = function UpdateComponent_Factory(t) { return new (t || UpdateComponent)(); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: UpdateComponent, selectors: [["app-update"]], decls: 76, vars: 3, consts: [[1, "content-wrapper", "container-xxl", "p-0", 2, "width", "100%", "margin", "0", "padding", "0"], [1, "content-body", 2, "width", "100%", "margin", "0", "padding", "0"], [3, "contentHeader"], [1, "invoice-list-wrapper", 2, "width", "100%", "margin", "0", "padding", "0"], [1, "card", "p-0", 2, "width", "100%", "margin", "0", "padding", "0"], [1, "update-card"], [1, "update-illustration"], ["viewBox", "0 0 500 400", 1, "system-illustration"], ["fill", "#e3f2fd", "d", "M100,350 L400,350 L400,150 L100,150 Z"], ["fill", "#bbdefb", "d", "M120,330 L380,330 L380,170 L120,170 Z"], ["cx", "250", "cy", "250", "r", "40", "fill", "#64b5f6"], ["fill", "#2196f3", "d", "M230,230 L270,230 L270,270 L230,270 Z"], ["fill", "#1976d2", "d", "M150,200 L350,200 L350,180 L150,180 Z"], ["fill", "#0d47a1", "d", "M150,300 L350,300 L350,280 L150,280 Z"], ["fill", "#42a5f5", "d", "M200,100 L300,100 L300,80 L200,80 Z"], [1, "update-message"], ["viewBox", "0 0 24 24", 1, "icon", "groups-icon"], ["fill", "currentColor", "d", "M12,5.5A3.5,3.5 0 0,1 15.5,9A3.5,3.5 0 0,1 12,12.5A3.5,3.5 0 0,1 8.5,9A3.5,3.5 0 0,1 12,5.5M5,8C5.56,8 6.08,8.15 6.53,8.42C6.38,9.85 6.8,11.27 7.66,12.38C7.16,13.34 6.16,14 5,14A3,3 0 0,1 2,11A3,3 0 0,1 5,8M19,8A3,3 0 0,1 22,11A3,3 0 0,1 19,14C17.84,14 16.84,13.34 16.34,12.38C17.2,11.27 17.62,9.85 17.47,8.42C17.92,8.15 18.44,8 19,8M5.5,18.25C5.5,16.18 8.41,14.5 12,14.5C15.59,14.5 18.5,16.18 18.5,18.25V20H5.5V18.25M0,20V18.5C0,17.11 1.89,15.94 4.45,15.6C3.86,16.28 3.5,17.22 3.5,18.25V20H0M20.5,20V18.25C20.5,17.22 20.14,16.28 19.55,15.6C22.11,15.94 24,17.11 24,18.5V20H20.5Z"], [1, "message-content"], ["viewBox", "0 0 24 24", 1, "icon", "update-icon"], ["fill", "currentColor", "d", "M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z"], [1, "update-details"], [1, "detail-item"], ["viewBox", "0 0 24 24", 1, "icon"], ["fill", "currentColor", "d", "M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.33L16.25,15.54L11,13V7H12.5Z"], ["fill", "currentColor", "d", "M15,3H9V1H15V3M19,13H21V11H19V13M19,21V19H21V21H19M19,9H21V7H19V9M15,19H17V17H15V19M19,17H21V15H19V17M13,21H11V19H13V21M7,5H17A2,2 0 0,1 19,7V17A2,2 0 0,1 17,19H7A2,2 0 0,1 5,17V7A2,2 0 0,1 7,5M7,15H9V13H7V15M7,11H9V9H7V11M7,7H9V5H7V7M11,15H13V13H11V15M11,11H13V9H11V11M11,7H13V5H11V7M17,15H19V13H17V15M17,11H19V9H17V11M17,7H19V5H17V7M9,21H7V19H9V21M13,5H11V3H13V5M5,15H3V13H5V15M5,11H3V9H5V11M5,7H3V5H5V7M5,19H3V17H5V19M5,23H3V21H5V23M11,17H13V15H11V17Z"], ["fill", "currentColor", "d", "M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"], ["viewBox", "0 0 24 24", 1, "icon", "info-icon"], ["fill", "currentColor", "d", "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"], [1, "recommendations"], ["viewBox", "0 0 24 24", 1, "bullet-icon"], ["fill", "currentColor", "d", "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"], ["class", "update-action", 4, "ngIf"], ["class", "progress-container", 4, "ngIf"], [1, "update-footer"], [1, "signature"], [1, "contact-support"], ["fill", "currentColor", "d", "M12,3C7.46,3 3.34,4.78 0.29,7.67C0.11,7.85 0,8.1 0,8.38C0,8.66 0.11,8.91 0.29,9.09L2.77,11.57C2.95,11.75 3.2,11.86 3.5,11.86C3.75,11.86 4,11.75 4.18,11.58C4.97,10.84 5.87,10.22 6.84,9.73C7.17,9.57 7.4,9.23 7.4,8.83V5.73C8.85,5.25 10.39,5 12,5C13.59,5 15.14,5.25 16.59,5.72V8.82C16.59,9.21 16.82,9.56 17.15,9.72C18.13,10.21 19,10.84 19.82,11.57C20,11.75 20.25,11.85 20.5,11.85C20.8,11.85 21.05,11.74 21.23,11.56L23.71,9.08C23.89,8.9 24,8.65 24,8.37C24,8.09 23.88,7.85 23.7,7.67C20.65,4.78 16.53,3 12,3M9,7V10C9,10 3,15 3,18V22H21V18C21,15 15,10 15,10V7H13V9H11V7H9M12,12A4,4 0 0,1 16,16A4,4 0 0,1 12,20A4,4 0 0,1 8,16A4,4 0 0,1 12,12Z"], [1, "update-action"], [1, "update-button", 3, "click"], ["viewBox", "0 0 24 24", 1, "button-icon"], ["fill", "currentColor", "d", "M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"], [1, "progress-container"], [1, "progress-info"], ["viewBox", "0 0 24 24", 1, "icon", "spin-icon"], ["fill", "currentColor", "d", "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z"], [1, "progress-bar"], [1, "progress-fill"], [1, "progress-stats"], [1, "update-tips"], ["fill", "currentColor", "d", "M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M11,17H13V11H11V17M12,9A1,1 0 0,1 13,10A1,1 0 0,1 12,11A1,1 0 0,1 11,10A1,1 0 0,1 12,9Z"]], template: function UpdateComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0)(1, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "app-content-header", 2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "section", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "svg", 7); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](8, "path", 8)(9, "path", 9)(10, "circle", 10)(11, "path", 11)(12, "path", 12)(13, "path", 13)(14, "path", 14); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](15, "div", 15)(16, "h2"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](17, "svg", 16); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](18, "path", 17); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](19, " Estimado Usuario, "); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](20, "div", 18)(21, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](22, "svg", 19); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](23, "path", 20); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](24, " Estamos implementando mejoras significativas en nuestra plataforma para ofrecerle un servicio m\u00E1s r\u00E1pido, seguro y con nuevas funcionalidades. "); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](25, "div", 21)(26, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](27, "svg", 23); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](28, "path", 24); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](29, "span")(30, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](31, "Horario:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](32, " 11:00 AM - 11:15 AM"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](33, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](34, "svg", 23); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](35, "path", 25); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](36, "span")(37, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](38, "Duraci\u00F3n estimada:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](39, " 15 minutos"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](40, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](41, "svg", 23); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](42, "path", 26); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](43, "span")(44, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](45, "Nota:"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](46, " Todos los servicios estar\u00E1n temporalmente inaccesibles"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](47, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](48, "svg", 27); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](49, "path", 28); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](50, " Hemos programado esta actualizaci\u00F3n en un horario de bajo impacto operativo. Para minimizar inconvenientes, recomendamos: "); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](51, "ul", 29)(52, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](53, "svg", 30); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](54, "path", 31); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](55, " Guardar todo su trabajo antes del proceso "); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](56, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](57, "svg", 30); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](58, "path", 31); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](59, " Evitar realizar transacciones cr\u00EDticas durante este per\u00EDodo "); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](60, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](61, "svg", 30); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](62, "path", 31); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](63, " Cerrar sesi\u00F3n de todos los sistemas antes de la actualizaci\u00F3n "); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](64, UpdateComponent_div_64_Template, 5, 0, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](65, UpdateComponent_div_65_Template, 18, 4, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](66, "div", 34)(67, "p", 35); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](68, "Atentamente,"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](69, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](70, "El Equipo de Tecnolog\u00EDa"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](71, "div", 36); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceSVG"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](72, "svg", 23); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](73, "path", 37); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnamespaceHTML"](); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](74, "span"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](75, "Para consultas: soporte@code-epic.com | Tel: +58 412 260-2101"); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()()()()()()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("contentHeader", ctx.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](62); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.isUpdating); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.isUpdating); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_0__.ContentHeaderComponent], styles: [".content-body[_ngcontent-%COMP%] {\n padding: 0 !important;\n margin: 0 !important;\n width: 100%;\n}\n\n.card.p-0[_ngcontent-%COMP%] {\n width: 100%;\n margin: 0;\n padding: 0;\n}\n\n.update-card[_ngcontent-%COMP%] {\n width: 100%;\n max-width: 100%;\n margin: 0;\n border-radius: 0; \n}\n\n.content-wrapper[_ngcontent-%COMP%] {\n width: 100%;\n margin: 0;\n padding: 0;\n}\n\nsection.invoice-list-wrapper[_ngcontent-%COMP%] {\n width: 100%;\n margin: 0;\n padding: 0;\n}\n\nhtml[_ngcontent-%COMP%], body[_ngcontent-%COMP%] {\n overflow-x: hidden;\n width: 100%;\n}\n\n.update-header[_ngcontent-%COMP%] {\n background-color: #2c3e50;\n color: white;\n padding: 1rem 2rem;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n}\n\n.header-content[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 1rem;\n}\n\n.header-icon[_ngcontent-%COMP%] {\n width: 2.5rem;\n height: 2.5rem;\n fill: #42a5f5;\n}\n\n.breadcrumb[_ngcontent-%COMP%] {\n font-size: 0.85rem;\n opacity: 0.8;\n margin-top: 0.5rem;\n color: #bbdefb;\n}\n\n.update-main-content[_ngcontent-%COMP%] {\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 2rem;\n overflow-y: auto;\n background-color: #e3f2fd;\n}\n\n.update-card[_ngcontent-%COMP%] {\n background-color: white;\n border-radius: 10px;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);\n width: 100%;\n max-width: 100%;\n display: flex;\n overflow: hidden;\n min-height: 600px;\n}\n\n.update-illustration[_ngcontent-%COMP%] {\n flex: 1;\n background-color: #f0f7ff;\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 2rem;\n}\n\n.system-illustration[_ngcontent-%COMP%] {\n width: 100%;\n max-width: 400px;\n}\n\n.update-message[_ngcontent-%COMP%] {\n flex: 1.5;\n padding: 2.5rem;\n position: relative;\n}\n\n.update-message[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n color: #2c3e50;\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin-bottom: 1.5rem;\n font-size: 1.8rem;\n}\n\n.icon[_ngcontent-%COMP%] {\n width: 1.5rem;\n height: 1.5rem;\n fill: #2c3e50;\n margin-right: 0.5rem;\n}\n\n.groups-icon[_ngcontent-%COMP%] {\n fill: #1976d2;\n}\n\n.update-icon[_ngcontent-%COMP%] {\n fill: #388e3c;\n}\n\n.info-icon[_ngcontent-%COMP%] {\n fill: #0288d1;\n}\n\n.message-content[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.update-details[_ngcontent-%COMP%] {\n background-color: #f8f9fa;\n border-left: 4px solid #3498db;\n padding: 1rem;\n margin: 1.5rem 0;\n border-radius: 0 4px 4px 0;\n}\n\n.detail-item[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0.5rem 0;\n}\n\n.detail-item[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] {\n fill: #5c6bc0;\n}\n\n.recommendations[_ngcontent-%COMP%] {\n list-style: none;\n padding-left: 0;\n margin: 1.5rem 0;\n}\n\n.recommendations[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n margin: 0.8rem 0;\n display: flex;\n align-items: center;\n}\n\n.bullet-icon[_ngcontent-%COMP%] {\n width: 1.2rem;\n height: 1.2rem;\n fill: #388e3c;\n margin-right: 0.8rem;\n}\n\n.update-action[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n margin: 2rem 0;\n}\n\n.update-button[_ngcontent-%COMP%] {\n padding: 0.8rem 2.5rem;\n font-size: 1.1rem;\n display: flex;\n align-items: center;\n gap: 0.8rem;\n background-color: #1976d2;\n color: white;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n\n.update-button[_ngcontent-%COMP%]:hover {\n background-color: #1565c0;\n}\n\n.button-icon[_ngcontent-%COMP%] {\n width: 1.2rem;\n height: 1.2rem;\n fill: white;\n}\n\n.progress-container[_ngcontent-%COMP%] {\n margin: 2rem 0;\n}\n\n.progress-info[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin-bottom: 0.5rem;\n color: #1976d2;\n font-weight: 500;\n}\n\n.spin-icon[_ngcontent-%COMP%] {\n animation: spin 1s linear infinite;\n}\n\n@keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n.progress-bar[_ngcontent-%COMP%] {\n width: 100%;\n height: 8px;\n background-color: #e0e0e0;\n border-radius: 4px;\n overflow: hidden;\n}\n\n.progress-fill[_ngcontent-%COMP%] {\n height: 100%;\n background-color: #1976d2;\n transition: width 0.3s ease;\n}\n\n.progress-stats[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n margin-top: 0.5rem;\n font-size: 0.9rem;\n color: #7f8c8d;\n}\n\n.update-tips[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin-top: 1rem;\n padding: 0.8rem;\n background-color: #fff8e1;\n border-radius: 4px;\n color: #ff8f00;\n}\n\n.update-tips[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] {\n fill: #ff8f00;\n}\n\n.update-footer[_ngcontent-%COMP%] {\n margin-top: 2rem;\n border-top: 1px solid #eee;\n padding-top: 1.5rem;\n}\n\n.signature[_ngcontent-%COMP%] {\n font-style: italic;\n margin-bottom: 1rem;\n color: #555;\n}\n\n.contact-support[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n font-size: 0.9rem;\n color: #7f8c8d;\n}\n\n.contact-support[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] {\n fill: #7f8c8d;\n}\n\n\n\n@media (max-width: 768px) {\n .update-card[_ngcontent-%COMP%] {\n flex-direction: column;\n width: 95%;\n }\n .update-illustration[_ngcontent-%COMP%] {\n padding: 1rem;\n }\n .update-message[_ngcontent-%COMP%] {\n padding: 1.5rem;\n }\n}"] }); } /***/ }), /***/ 99075: /*!******************************************************************!*\ !*** ./src/app/main/views/security/profile/profile.component.ts ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ProfileComponent": () => (/* binding */ ProfileComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = ["tableRowDetails"]; function ProfileComponent_div_0_ng_template_13_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const aplicacion_r9 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", aplicacion_r9, " "); } } function ProfileComponent_div_0_ng_template_13_ng_template_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const perfil_r10 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", perfil_r10, " "); } } function ProfileComponent_div_0_ng_template_13_ng_template_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const descripcion_r11 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", descripcion_r11, " "); } } function ProfileComponent_div_0_ng_template_13_ng_template_9_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Inactivo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function ProfileComponent_div_0_ng_template_13_ng_template_9_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Activo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function ProfileComponent_div_0_ng_template_13_ng_template_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](0, ProfileComponent_div_0_ng_template_13_ng_template_9_div_0_Template, 2, 0, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, ProfileComponent_div_0_ng_template_13_ng_template_9_div_1_Template, 2, 0, "div", 23); } if (rf & 2) { const estatus_r12 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", estatus_r12 == 0); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", estatus_r12 == 1); } } function ProfileComponent_div_0_ng_template_13_ng_template_11_Template(rf, ctx) { if (rf & 1) { const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 26)(1, "button", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "div", 28)(4, "a", 29); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ProfileComponent_div_0_ng_template_13_ng_template_11_Template_a_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r17); const row_r15 = restoredCtx.row; const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r16.editarRol(row_r15)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](5, "span", 30); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](6, " Editar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "a", 29); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ProfileComponent_div_0_ng_template_13_ng_template_11_Template_a_click_7_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r17); const row_r15 = restoredCtx.row; const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r18.eliminarRol(row_r15)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](8, "span", 30); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](9, " Eliminar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "edit")("size", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "trash")("size", 16); } } function ProfileComponent_div_0_ng_template_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 6)(1, "ngx-datatable", 14)(2, "ngx-datatable-column", 15); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](3, ProfileComponent_div_0_ng_template_13_ng_template_3_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](4, "ngx-datatable-column", 17); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](5, ProfileComponent_div_0_ng_template_13_ng_template_5_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "ngx-datatable-column", 18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](7, ProfileComponent_div_0_ng_template_13_ng_template_7_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](8, "ngx-datatable-column", 19); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](9, ProfileComponent_div_0_ng_template_13_ng_template_9_Template, 2, 2, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](10, "ngx-datatable-column", 20); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](11, ProfileComponent_div_0_ng_template_13_ng_template_11_Template, 10, 11, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("rows", ctx_r2.lstPerfil)("rowHeight", 58)("limit", 10)("columnMode", ctx_r2.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r2.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 20); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 5)("sortable", false); } } const _c1 = function () { return { standalone: true }; }; function ProfileComponent_div_0_ng_template_18_div_2_Template(rf, ctx) { if (rf & 1) { const _r29 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 52)(1, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Seleccionar Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 53); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ProfileComponent_div_0_ng_template_18_div_2_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r28.Perfil.aplicacion = $event); })("ngModelChange", function ProfileComponent_div_0_ng_template_18_div_2_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r29); const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r30.selRol($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r19.lstAplicaciones)("ngModel", ctx_r19.Perfil.aplicacion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c1)); } } function ProfileComponent_div_0_ng_template_18_div_3_Template(rf, ctx) { if (rf & 1) { const _r32 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 52)(1, "label", 54); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Aplicacion"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "input", 55); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ProfileComponent_div_0_ng_template_18_div_3_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r32); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r31.xaplicacion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r20.xaplicacion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](2, _c1)); } } function ProfileComponent_div_0_ng_template_18_div_4_Template(rf, ctx) { if (rf & 1) { const _r34 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 56)(1, "label", 54); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Rol"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "input", 57); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ProfileComponent_div_0_ng_template_18_div_4_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r34); const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r33.xrol = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r21.xrol)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](2, _c1)); } } function ProfileComponent_div_0_ng_template_18_div_5_Template(rf, ctx) { if (rf & 1) { const _r36 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 56)(1, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Seleccionar Rol"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 58); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ProfileComponent_div_0_ng_template_18_div_5_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r36); const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r35.rol = $event); })("ngModelChange", function ProfileComponent_div_0_ng_template_18_div_5_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r36); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r37.selRolDetalle($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r22.dataRol)("ngModel", ctx_r22.rol)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c1)); } } function ProfileComponent_div_0_ng_template_18_ng_template_18_Template(rf, ctx) { if (rf & 1) { const _r42 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 59)(1, "input", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("change", function ProfileComponent_div_0_ng_template_18_ng_template_18_Template_input_change_1_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r42); const allRowsSelected_r39 = restoredCtx.allRowsSelected; const selectFn_r40 = restoredCtx.selectFn; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](selectFn_r40(!allRowsSelected_r39)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "label", 61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const allRowsSelected_r39 = ctx.allRowsSelected; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("checked", allRowsSelected_r39); } } function ProfileComponent_div_0_ng_template_18_ng_template_19_Template(rf, ctx) { if (rf & 1) { const _r48 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 59)(1, "input", 62); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("change", function ProfileComponent_div_0_ng_template_18_ng_template_19_Template_input_change_1_listener($event) { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r48); const onCheckboxChangeFn_r46 = restoredCtx.onCheckboxChangeFn; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](onCheckboxChangeFn_r46($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "label", 63); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const rowIndex_r43 = ctx.rowIndex; const isSelected_r45 = ctx.isSelected; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpropertyInterpolate1"]("id", "rowChkbxRef", rowIndex_r43, ""); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("checked", isSelected_r45); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpropertyInterpolate1"]("for", "rowChkbxRef", rowIndex_r43, ""); } } function ProfileComponent_div_0_ng_template_18_ng_template_21_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const modulo_r49 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", modulo_r49, " "); } } function ProfileComponent_div_0_ng_template_18_ng_template_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const menu_r51 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", menu_r51, " "); } } function ProfileComponent_div_0_ng_template_18_ng_template_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const accion_r53 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"]("", accion_r53, " "); } } function ProfileComponent_div_0_ng_template_18_Template(rf, ctx) { if (rf & 1) { const _r56 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 31)(1, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](2, ProfileComponent_div_0_ng_template_18_div_2_Template, 4, 4, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](3, ProfileComponent_div_0_ng_template_18_div_3_Template, 4, 3, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](4, ProfileComponent_div_0_ng_template_18_div_4_Template, 4, 3, "div", 34); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](5, ProfileComponent_div_0_ng_template_18_div_5_Template, 4, 4, "div", 34); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "div", 35)(7, "label", 36); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](8, "Nombre del Perfil"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](9, "input", 37); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ProfileComponent_div_0_ng_template_18_Template_input_ngModelChange_9_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r56); const ctx_r55 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r55.Perfil.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](10, "div", 38)(11, "label", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Descripcion del Perfil"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](13, "input", 40); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ProfileComponent_div_0_ng_template_18_Template_input_ngModelChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r56); const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r57.Perfil.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](14, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](15, "div", 6)(16, "ngx-datatable", 41); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("select", function ProfileComponent_div_0_ng_template_18_Template_ngx_datatable_select_16_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r56); const ctx_r58 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r58.onSelect($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](17, "ngx-datatable-column", 42); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](18, ProfileComponent_div_0_ng_template_18_ng_template_18_Template, 3, 1, "ng-template", 43); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](19, ProfileComponent_div_0_ng_template_18_ng_template_19_Template, 3, 3, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](20, "ngx-datatable-column", 44); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](21, ProfileComponent_div_0_ng_template_18_ng_template_21_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](22, "ngx-datatable-column", 45); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](23, ProfileComponent_div_0_ng_template_18_ng_template_23_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](24, "ngx-datatable-column", 46); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](25, ProfileComponent_div_0_ng_template_18_ng_template_25_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](26, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](27, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](28, "button", 48); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ProfileComponent_div_0_ng_template_18_Template_button_click_28_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r56); const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r59.guardarPerfil()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](29, "i", 49); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](30, "\u00A0Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](31, " \u00A0\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](32, "button", 50); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ProfileComponent_div_0_ng_template_18_Template_button_click_32_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r56); const ctx_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r60.Limpiar()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](33, "i", 51); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](34, "\u00A0Limpiar "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](35, "br")(36, "br"); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r3.blApp); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", !ctx_r3.blApp); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", !ctx_r3.blApp); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx_r3.blApp); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r3.Perfil.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](25, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r3.Perfil.descripcion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](26, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("rows", ctx_r3.dataRolDetalles)("rowHeight", 58)("limit", 10)("columnMode", ctx_r3.ColumnMode.force)("selectionType", ctx_r3.SelectionType.checkbox)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r3.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 50)("sortable", false)("canAutoResize", false)("draggable", false)("resizeable", false); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 200); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 200); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("width", 100); } } function ProfileComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r62 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 1)(1, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "app-content-header", 3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "section", 4)(4, "div", 5)(5, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](6, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](7, "ul", 7, 8); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("activeIdChange", function ProfileComponent_div_0_Template_ul_activeIdChange_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r62); const ctx_r61 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r61.active = $event); })("click", function ProfileComponent_div_0_Template_ul_click_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r62); const ctx_r63 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r63.selTab($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](9, "li", 9)(10, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](11, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Listado de Perfiles"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](13, ProfileComponent_div_0_ng_template_13_Template, 12, 14, "ng-template", 12); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](14, "li", 9)(15, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](16, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](17); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](18, ProfileComponent_div_0_ng_template_18_Template, 37, 27, "ng-template", 12); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](19, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](8); const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("activeId", ctx_r0.active); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngbNavItem", 1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "git-merge"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngbNavItem", 2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "git-merge"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx_r0.registrar); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngbNavOutlet", _r1); } } class ProfileComponent { apiService; utilservice; table; blockUI; sectionBlockUI; contentHeader; xAPI = { funcion: "", parametros: "", valores: {} }; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.SelectionType; basicSelectedOption = 10; Perfil = { nombre: "", descripcion: "", estatus: 1, aplicacion: 0 }; showDiv = false; lstAplicaciones = []; lstRol = []; dataRolDetalles = []; dataRol = []; datamenu = []; rowData = []; temprowData = []; countSubMenu; rowDataAcc = []; lista = []; estatus = undefined; aplicacion; xmodulo; menu; modulo = ''; moduloid = ''; menuid = ''; accionid; btnMenu = false; xnombre = ''; xdescripcion = ''; xaccion = ''; rol = undefined; registrar = "Registrar nuevo perfil"; tableRowDetails; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.ColumnMode; chkBoxSelected = []; lstPerfil = []; SelectOn = []; blApp = true; xaplicacion = ''; xrol = ''; active = 1; constructor(apiService, utilservice) { this.apiService = apiService; this.utilservice = utilservice; } ngOnInit() { this.contentHeader = { headerTitle: "Seguridad", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Seguridad", isLink: false }, { name: "Definir Rol", isLink: false }] } }; this.CargarListaAplicaciones(); this.listarPerfiles(); } CargarListaAplicaciones() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_APLICACIONES; _this.xAPI.parametros = ''; yield _this.apiService.Ejecutar(_this.xAPI).subscribe(data => { _this.lstAplicaciones = data.Cuerpo.map(e => { e.id = e.identificador; e.name = e.nombre + " : " + e.VERSION; return e; }); }, error => { console.log(error); }); })(); } listarPerfiles() { this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_PERFILES; this.xAPI.parametros = ''; this.xAPI.valores = ''; this.lstPerfil = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.lstPerfil = data.Cuerpo; }, error => { console.log(error); }); } selTab(e) { if (this.active == 2) { this.blApp = true; this.dataRolDetalles = []; this.Perfil.descripcion = ''; this.Perfil.nombre = ''; } else { this.registrar = "Registrar nuevo perfil"; } } onSelect({ selected }) { this.SelectOn = selected; } selRol(event) { this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_ROLES; this.xAPI.parametros = event; this.xAPI.valores = ''; this.dataRol = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { // console.log(data) this.dataRol = data.Cuerpo.map(e => { e.id = e.idrol; e.name = e.rol; return e; }); }, error => { console.log(error); }); } selRolDetalle(event) { console.log(event); this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_ROLES_DETALLES; this.xAPI.parametros = event; this.xAPI.valores = ''; this.dataRolDetalles = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.dataRolDetalles = data.Cuerpo.map(e => { e.name = e.nomb; return e; }); }, error => { console.log(error); }); } consultarMenu(acc) { this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_MENUS; this.xAPI.parametros = acc; this.datamenu = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.datamenu = data.Cuerpo.map(e => { e.name = e.nomb; return e; }); }, error => { console.log(error); }); } selectEventModulo(item) { this.consultarMenu(this.xmodulo[0].split("|")[0]); } iniciarLista() { if (this.SelectOn.length == 0) { this.lista = this.dataRolDetalles.map(e => { e.estatus = 0; return e; }); } else { this.lista = this.dataRolDetalles.map(e => { let estatus = this.SelectOn.find(el => { return el.xaccion == e.xaccion && el.xmenu == e.xmenu; }); e.estatus = estatus != undefined ? 1 : 0; return e; }); } } guardarPerfil() { this.iniciarLista(); if (this.Perfil.nombre == "" || this.lista.length == 0 || this.Perfil.aplicacion == undefined) { this.utilservice.AlertMini("top-end", "error", "Debe verificar los campos", 3000); return false; } this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.INSERTAR_PERFIL; this.xAPI.parametros = ''; this.xAPI.valores = JSON.stringify(this.Perfil); // console.log(this.xAPI) this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.insertBach(data.msj, 0); }, error => { console.error("Data: ", error); }); } insertBach(idperfil, posicion) { let data = { aplicacion: this.Perfil.aplicacion, perfil: idperfil, rol: this.rol, modulo: parseInt(this.lista[posicion].xmodulo), menu: parseInt(this.lista[posicion].xmenu), accion: parseInt(this.lista[posicion].xaccion), estatus: parseInt(this.lista[posicion].estatus) }; console.log(posicion, this.lista.length, data); this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.INSERTAR_PERFIL_DETALLE; this.xAPI.parametros = ''; this.xAPI.valores = JSON.stringify(data); this.apiService.Ejecutar(this.xAPI).subscribe(data => { console.log(posicion, this.lista.length); if (this.lista.length - 1 < posicion) { this.utilservice.AlertMini("top-end", "success", "Finalizo con éxito", 3000); this.dataRolDetalles = []; this.Perfil.nombre = ''; this.Perfil.descripcion = ''; this.listarPerfiles(); } else { posicion++; this.insertBach(idperfil, posicion); } }, error => { console.error("Data: ", error); }); } listarAcciones() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.rowDataAcc = []; _this2.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_MENU_ACCIONES; _this2.xAPI.parametros = _this2.menu[0].split("|")[0]; _this2.xAPI.valores = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { _this2.rowDataAcc = data.Cuerpo; }, error => { console.log(error); }); })(); } LimpiarMenu() { this.estatus = undefined; } editarRol(row) { this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_PERFIL_MENUS; this.xAPI.parametros = row.id; this.xAPI.valores = ''; this.dataRolDetalles = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { console.log(data); let idAPP = ''; this.registrar = "Editar Perfil"; this.dataRolDetalles = data.Cuerpo.map(e => { this.Perfil.descripcion = e.observacion; this.Perfil.nombre = e.rol; this.xaplicacion = e.app; this.xrol = e.rol; idAPP = e.idapp; e.idmod = e.idmod; e.modulo = e.modulo; e.idmenu = e.idmenu; e.menu = e.menu; e.accid = e.accid; e.accion = e.accion; return e; }); this.lista = this.dataRolDetalles; this.blApp = false; this.Perfil.aplicacion = this.lstAplicaciones.find(item => item.id == idAPP).name; this.active = 2; }, error => { console.log(error); }); } eliminarRol(row) { sweetalert2__WEBPACK_IMPORTED_MODULE_2___default().fire({ title: "Alerta", text: "¿Está seguro que desea eliminar perfil?", icon: "question", showCancelButton: true, confirmButtonColor: "#3085d6", cancelButtonColor: "#C81D11", confirmButtonText: "Si, Aceptar", cancelButtonText: "Cancelar" }).then(result => { if (result.isConfirmed) { this.ok(row.id); } }); } ok(id) { this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.ELIMINAR_PERFIL; this.xAPI.parametros = id; this.xAPI.valores = ''; this.dataRolDetalles = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.listarPerfiles(); this.active = 1; }, err => {}); } static ɵfac = function ProfileComponent_Factory(t) { return new (t || ProfileComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineComponent"]({ type: ProfileComponent, selectors: [["app-profile"]], viewQuery: function ProfileComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DatatableComponent, 5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵviewQuery"](_c0, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵloadQuery"]()) && (ctx.table = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵloadQuery"]()) && (ctx.tableRowDetails = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbModal])], decls: 1, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "col-md-12"], ["ngbNav", "", 1, "nav-tabs", "justify-content-center", 3, "activeId", "activeIdChange", "click"], ["navWithIcons", "ngbNav"], [3, "ngbNavItem"], ["ngbNavLink", ""], [3, "data-feather"], ["ngbNavContent", ""], [1, "mt-2", 3, "ngbNavOutlet"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "APLICACION", "prop", "aplicacion", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "PERFIL", "prop", "perfil", 3, "width"], ["name", "DESCRIPCION", "prop", "descripcion", 3, "width"], ["name", "ESTATUS", "prop", "estatus", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [1, "font-weight-bold"], ["class", "badge badge-danger", 4, "ngIf"], ["class", "badge badge-success", 4, "ngIf"], [1, "badge", "badge-danger"], [1, "badge", "badge-success"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], ["ngbDropdownMenu", ""], ["ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"], [1, "col-md-12", 2, "margin-top", "25px"], [1, "row"], ["class", "form-group col-md-12", 4, "ngIf"], ["class", "form-group col-md-5", 4, "ngIf"], [1, "form-group", "col-md-3"], ["for", "descripcion", 1, "form-label"], ["type", "text", "placeholder", "Ingrese Nombre del Perfil", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-4"], ["for", "origen", 1, "form-label"], ["type", "text", "placeholder", "Breve descripcion del Perfil", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "selectionType", "headerHeight", "footerHeight", "scrollbarH", "select"], [3, "width", "sortable", "canAutoResize", "draggable", "resizeable"], ["ngx-datatable-header-template", ""], ["name", "MODULO", 3, "width"], ["name", "MENU", 3, "width"], ["name", "ACCION", 3, "width"], ["align", "right", 1, "col-md-12"], ["type", "button", 1, "btn", "btn-success", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-save"], ["type", "button", 1, "btn", "btn-warning", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-trash"], [1, "form-group", "col-md-12"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Aplicaci\u00F3n", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-label"], ["type", "text", "placeholder", "Aplicacion", "disabled", "disabled", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-5"], ["type", "text", "placeholder", "Rol", "disabled", "disabled", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Rol", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], [1, "custom-control", "custom-checkbox"], ["type", "checkbox", "id", "headerChkbxRef", 1, "custom-control-input", 3, "checked", "change"], ["for", "headerChkbxRef", 1, "custom-control-label"], ["type", "checkbox", 1, "custom-control-input", 3, "checked", "id", "change"], [1, "custom-control-label", 3, "for"]], template: function ProfileComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](0, ProfileComponent_div_0_Template, 20, 8, "div", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_11__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.NgModel, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnHeaderDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_9__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbDropdownItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavContent, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNav, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavLink, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavOutlet, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_13__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_14__["ɵf"]], styles: ["input {\n font-size: 14px;\n}"], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_15__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_14__.BlockUI)()], ProfileComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_15__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_14__.BlockUI)("section-block")], ProfileComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 45301: /*!************************************************************!*\ !*** ./src/app/main/views/security/role/role.component.ts ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "RoleComponent": () => (/* binding */ RoleComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); const _c0 = ["tableRowDetails"]; function RoleComponent_div_0_ng_template_13_ng_template_3_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const app_r9 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"]("", app_r9, " "); } } function RoleComponent_div_0_ng_template_13_ng_template_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const rol_r10 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"]("", rol_r10, " "); } } function RoleComponent_div_0_ng_template_13_ng_template_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div")(1, "span", 21); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const observacion_r11 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"]("", observacion_r11, " "); } } function RoleComponent_div_0_ng_template_13_ng_template_9_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1, "Activo"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } } function RoleComponent_div_0_ng_template_13_ng_template_9_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 25); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1, "Inactivo"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } } function RoleComponent_div_0_ng_template_13_ng_template_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, RoleComponent_div_0_ng_template_13_ng_template_9_div_0_Template, 2, 0, "div", 22); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, RoleComponent_div_0_ng_template_13_ng_template_9_div_1_Template, 2, 0, "div", 23); } if (rf & 2) { const estatus_r12 = ctx.value; const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", estatus_r12 == 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx_r7.estatusx == 0); } } function RoleComponent_div_0_ng_template_13_ng_template_11_Template(rf, ctx) { if (rf & 1) { const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 26)(1, "button", 27); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](2, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](3, "div", 28)(4, "a", 29); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function RoleComponent_div_0_ng_template_13_ng_template_11_Template_a_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r17); const row_r15 = restoredCtx.row; const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r16.editarRol(row_r15)); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](5, "span", 30); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](6, " Editar"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](7, "a", 29); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function RoleComponent_div_0_ng_template_13_ng_template_11_Template_a_click_7_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r17); const row_r15 = restoredCtx.row; const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r18.eliminarRol(row_r15)); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](8, "span", 30); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](9, " Eliminar"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("data-feather", "edit")("size", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("data-feather", "trash")("size", 16); } } function RoleComponent_div_0_ng_template_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 6)(1, "ngx-datatable", 14)(2, "ngx-datatable-column", 15); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](3, RoleComponent_div_0_ng_template_13_ng_template_3_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](4, "ngx-datatable-column", 17); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](5, RoleComponent_div_0_ng_template_13_ng_template_5_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](6, "ngx-datatable-column", 18); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](7, RoleComponent_div_0_ng_template_13_ng_template_7_Template, 3, 1, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](8, "ngx-datatable-column", 19); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](9, RoleComponent_div_0_ng_template_13_ng_template_9_Template, 2, 2, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](10, "ngx-datatable-column", 20); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](11, RoleComponent_div_0_ng_template_13_ng_template_11_Template, 10, 11, "ng-template", 16); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("rows", ctx_r2.lstRoles)("rowHeight", 58)("limit", 10)("columnMode", ctx_r2.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r2.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 20); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 5); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 5)("sortable", false); } } const _c1 = function () { return { standalone: true }; }; function RoleComponent_div_0_ng_template_18_div_2_Template(rf, ctx) { if (rf & 1) { const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 55)(1, "label", 56); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2, "Seleccionar Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](3, "ng-select", 57); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("ngModelChange", function RoleComponent_div_0_ng_template_18_div_2_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r26); const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r25.aplicacion = $event); })("ngModelChange", function RoleComponent_div_0_ng_template_18_div_2_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r26); const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r27.selModulo($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("items", ctx_r19.lstAplicaciones)("ngModel", ctx_r19.aplicacion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](3, _c1)); } } function RoleComponent_div_0_ng_template_18_div_3_Template(rf, ctx) { if (rf & 1) { const _r29 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 55)(1, "label", 35); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2, "Aplicacion"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](3, "input", 58); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("ngModelChange", function RoleComponent_div_0_ng_template_18_div_3_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r29); const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r28.xaplicacion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngModel", ctx_r20.xaplicacion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](2, _c1)); } } function RoleComponent_div_0_ng_template_18_option_16_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "option", 59); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const e_r30 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpropertyInterpolate"]("value", e_r30.id + "|" + e_r30.name); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", e_r30.name, ""); } } function RoleComponent_div_0_ng_template_18_option_21_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "option", 59); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const e_r31 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpropertyInterpolate"]("value", e_r31.id + "|" + e_r31.name); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", e_r31.name, ""); } } function RoleComponent_div_0_ng_template_18_option_26_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "option", 59); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const e_r32 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpropertyInterpolate"]("value", e_r32.accid + "|" + e_r32.accnomb); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"]("", e_r32.accnomb, " "); } } function RoleComponent_div_0_ng_template_18_tr_49_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "tr")(1, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](3, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](5, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const e_r33 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](e_r33.modulo); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](e_r33.menu); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](e_r33.accion); } } function RoleComponent_div_0_ng_template_18_Template(rf, ctx) { if (rf & 1) { const _r35 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 31)(1, "div", 32); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, RoleComponent_div_0_ng_template_18_div_2_Template, 4, 4, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](3, RoleComponent_div_0_ng_template_18_div_3_Template, 4, 3, "div", 33); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](4, "div", 34)(5, "label", 35); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](6, "Nombre del Rol"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](7, "input", 36); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("ngModelChange", function RoleComponent_div_0_ng_template_18_Template_input_ngModelChange_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r34.Rol.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](8, "div", 37)(9, "label", 38); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](10, "Descripcion del Rol"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](11, "input", 39); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("ngModelChange", function RoleComponent_div_0_ng_template_18_Template_input_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r36.Rol.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](12, "div", 34)(13, "label", 38); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](14, "Modulo"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](15, "select", 40); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("dblclick", function RoleComponent_div_0_ng_template_18_Template_select_dblclick_15_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r37.selectEventModulo($event)); })("ngModelChange", function RoleComponent_div_0_ng_template_18_Template_select_ngModelChange_15_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r38.xmodulo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](16, RoleComponent_div_0_ng_template_18_option_16_Template, 2, 2, "option", 41); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](17, "div", 34)(18, "label", 38); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](19, "Menu"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](20, "select", 40); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("dblclick", function RoleComponent_div_0_ng_template_18_Template_select_dblclick_20_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r39.listarAcciones()); })("ngModelChange", function RoleComponent_div_0_ng_template_18_Template_select_ngModelChange_20_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r40.menu = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](21, RoleComponent_div_0_ng_template_18_option_21_Template, 2, 2, "option", 41); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](22, "div", 34)(23, "label", 38); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](24, "Acciones"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](25, "select", 40); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("dblclick", function RoleComponent_div_0_ng_template_18_Template_select_dblclick_25_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r41.addElement(ctx_r41.xaccion)); })("ngModelChange", function RoleComponent_div_0_ng_template_18_Template_select_ngModelChange_25_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r42.xaccion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](26, RoleComponent_div_0_ng_template_18_option_26_Template, 2, 2, "option", 41); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](27, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](28, "div", 43)(29, "button", 44); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function RoleComponent_div_0_ng_template_18_Template_button_click_29_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r43.addMenuList()); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](30, "i", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](31, "\u00A0Agregar Menu "); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](32, "div", 46)(33, "button", 47); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function RoleComponent_div_0_ng_template_18_Template_button_click_33_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r44.addMenuList()); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](34, "i", 45); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](35, "\u00A0Agregar Acciones "); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](36, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](37, "div", 6)(38, "table", 48)(39, "thead")(40, "tr")(41, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](42, "MODULO"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](43, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](44, "MENU"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](45, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](46, "ACCIONES"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](47, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](48, "tbody"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](49, RoleComponent_div_0_ng_template_18_tr_49_Template, 7, 3, "tr", 49); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](50, "tfoot"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](51, "div", 50); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](52, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](53, "button", 51); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function RoleComponent_div_0_ng_template_18_Template_button_click_53_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r45 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r45.guardarRol()); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](54, "i", 52); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](55, "\u00A0Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](56, " \u00A0\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](57, "button", 53); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function RoleComponent_div_0_ng_template_18_Template_button_click_57_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r35); const ctx_r46 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r46.Limpiar()); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](58, "i", 54); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](59, "\u00A0Limpiar "); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](60, "br")(61, "br"); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx_r3.blApp); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", !ctx_r3.blApp); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngModel", ctx_r3.Rol.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](17, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngModel", ctx_r3.Rol.descripcion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](18, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngModel", ctx_r3.xmodulo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](19, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r3.dataModulo); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngModel", ctx_r3.menu)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](20, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r3.datamenu); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngModel", ctx_r3.xaccion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction0"](21, _c1)); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r3.rowDataAcc); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("disabled", !ctx_r3.acciones); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](16); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx_r3.rowData); } } function RoleComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r48 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 1)(1, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](2, "app-content-header", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](3, "section", 4)(4, "div", 5)(5, "div", 6); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](6, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](7, "ul", 7, 8); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("activeIdChange", function RoleComponent_div_0_Template_ul_activeIdChange_7_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r48); const ctx_r47 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r47.active = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](9, "li", 9)(10, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](11, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](12, "Listado de Rol's"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](13, RoleComponent_div_0_ng_template_13_Template, 12, 14, "ng-template", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](14, "li", 9)(15, "a", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](16, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](17); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](18, RoleComponent_div_0_ng_template_18_Template, 62, 22, "ng-template", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](19, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](8); const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("activeId", ctx_r0.active); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngbNavItem", 1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("data-feather", "git-merge"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngbNavItem", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("data-feather", "git-merge"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](ctx_r0.registrar); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngbNavOutlet", _r1); } } class RoleComponent { apiService; utilservice; modalService; table; blockUI; sectionBlockUI; contentHeader; xAPI = { funcion: '', parametros: '', valores: {} }; titleModal = ''; titleBtnModal = ''; basicSelectedOption = 10; searchAccion = ''; searchSubMenu = ''; rowData = []; lstRoles = []; temprowData = []; countSubMenu; rowDataAcc = []; lista = []; cantidadRol = 0; estatus = undefined; aplicacion; xaplicacion = ''; xmodulo; menu; modulo = ''; moduloid = ''; menuid = ''; accionid; Rol = { nombre: '', descripcion: '', estatus: 1 }; btnMenu = false; xnombre = ''; xdescripcion = ''; registrar = 'Registrar nuevo rol'; lstAplicaciones = []; dataModulo = []; showDiv = false; datamenu = []; xaccion = ""; tableRowDetails; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.ColumnMode; chkBoxSelected = []; active = 1; blApp = true; constructor(apiService, utilservice, modalService) { this.apiService = apiService; this.utilservice = utilservice; this.modalService = modalService; } ngOnInit() { this.contentHeader = { headerTitle: "Seguridad", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Seguridad", isLink: false }, { name: "Definir Rol", isLink: false }] } }; this.CargarListaAplicaciones(); this.listarRoles(); } CargarListaAplicaciones() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.xAPI.funcion = "_SYS_LstAplicaciones"; _this.xAPI.parametros = ''; yield _this.apiService.Ejecutar(_this.xAPI).subscribe(data => { _this.lstAplicaciones = data.Cuerpo.map(e => { e.id = e.identificador; e.name = e.nombre + ' : ' + e.VERSION; return e; }); }, error => { console.log(error); }); })(); } selModulo(event) { // console.log(event) this.xAPI.funcion = "LstModulos"; this.xAPI.parametros = event; this.xAPI.valores = ''; this.dataModulo = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.dataModulo = data.Cuerpo.map(e => { e.name = e.nomb; return e; }); }, error => { console.log(error); }); } consultarMenu(acc) { this.xAPI.funcion = "LstMenus"; this.xAPI.parametros = acc; this.datamenu = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.datamenu = data.Cuerpo.map(e => { e.name = e.nomb; return e; }); }, error => { console.log(error); }); } selectEventModulo(item) { this.consultarMenu(this.xmodulo[0].split('|')[0]); } addMenuList() { this.datamenu.forEach(e => { let dt = { "idmod": this.xmodulo[0].split('|')[0], "modulo": this.xmodulo[0].split('|')[1], "idmenu": e.id, "menu": e.nomb, "accid": '', "accion": '' }; this.lista.push(dt); this.rowData = this.lista; this.temprowData = this.rowData; }); this.datamenu = []; } listarAcciones() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { // console.log(this.menu[0]) _this2.rowDataAcc = []; _this2.xAPI.funcion = "OMenuAccion"; _this2.xAPI.parametros = _this2.menu[0].split('|')[0]; _this2.xAPI.valores = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { console.log(data); if (data.Cuerpo.length > 0) { _this2.rowDataAcc = data.Cuerpo; } else { let e = { "idmod": _this2.xmodulo[0].split('|')[0], "modulo": _this2.xmodulo[0].split('|')[1], "idmenu": _this2.menu[0].split('|')[0], "menu": _this2.menu[0].split('|')[1], "accid": '', "accion": '' }; _this2.lista.push(e); _this2.rowData = _this2.lista; _this2.temprowData = _this2.rowData; } }, error => { console.log(error); }); })(); } listarRoles() { this.xAPI.funcion = '_SYS_CRoles'; this.xAPI.parametros = ''; this.xAPI.valores = ''; this.lstRoles = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.lstRoles = data.Cuerpo; }, error => { console.log(error); }); } LimpiarMenu() { this.estatus = undefined; } addElement(item) { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let e = { "idmod": _this3.xmodulo[0].split('|')[0], "modulo": _this3.xmodulo[0].split('|')[1], "idmenu": _this3.menu[0].split('|')[0], "menu": _this3.menu[0].split('|')[1], "accid": _this3.xaccion[0].split('|')[0], "accion": _this3.xaccion[0].split('|')[1] }; _this3.lista.push(e); _this3.rowData = _this3.lista; _this3.temprowData = _this3.rowData; let valor = item[0].split("|")[0]; _this3.rowDataAcc = _this3.rowDataAcc.filter(element => { return element.accid !== valor; }); })(); } guardarRol() { if (this.Rol.nombre == "" || this.lista.length == 0 || this.aplicacion == undefined) { this.utilservice.AlertMini('top-end', 'error', 'Debe verificar los campos', 3000); return false; } this.xAPI.funcion = '_SYS_IRolDefinicion'; this.xAPI.parametros = ''; this.xAPI.valores = JSON.stringify(this.Rol); // console.log(this.xAPI) this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.insertBach(data.msj, 0); }, error => {}); } insertBach(idrol, posicion) { let data = { "aplicacion": parseInt(this.aplicacion), "rol": idrol, "modulo": parseInt(this.lista[posicion].idmod), "menu": parseInt(this.lista[posicion].idmenu), "accion": parseInt(this.lista[posicion].accid), "estatus": 1 }; this.xAPI.funcion = '_SYS_IRolDetalles'; this.xAPI.parametros = ''; this.xAPI.valores = JSON.stringify(data); // console.log(this.xAPI) this.apiService.Ejecutar(this.xAPI).subscribe(data => { // console.log(data) // console.log(posicion, this.lista.length) posicion++; if (posicion > this.lista.length - 1) { this.utilservice.AlertMini('top-end', 'success', 'Finalizo con éxito', 3000); this.lista = []; this.rowData = []; this.aplicacion = undefined; this.Rol.descripcion = ''; this.Rol.nombre = ''; this.xmodulo = ''; this.dataModulo = []; this.menu = ''; this.datamenu = []; this.xaccion = ''; this.rowDataAcc = []; } else { this.insertBach(idrol, posicion); } }, error => { console.error('Data: ', error); }); } editarRol(row) { console.log(row); this.xAPI.funcion = '_SYS_CRolEditar'; this.xAPI.parametros = row.idrol; this.xAPI.valores = ''; this.rowData = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { let idAPP = ""; this.registrar = 'Editar rol'; this.rowData = data.Cuerpo.map(e => { this.Rol.descripcion = e.observacion; this.Rol.nombre = e.rol; idAPP = e.idapp; e.idmod = e.idmod; e.modulo = e.modulo; e.idmenu = e.idmenu; e.menu = e.menu; e.accid = e.accid; e.accion = e.accion; return e; }); this.lista = this.rowData; this.blApp = false; this.aplicacion = this.lstAplicaciones.find(item => item.id == idAPP); this.xaplicacion = this.aplicacion.name; this.selModulo(this.aplicacion.id); this.active = 2; }, error => { console.log(error); }); } eliminarRol() {} static ɵfac = function RoleComponent_Factory(t) { return new (t || RoleComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_2__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbModal)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: RoleComponent, selectors: [["app-role"]], viewQuery: function RoleComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.DatatableComponent, 5); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵviewQuery"](_c0, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.table = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.tableRowDetails = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbModal])], decls: 1, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "col-md-12"], ["ngbNav", "", 1, "nav-tabs", "justify-content-center", 3, "activeId", "activeIdChange"], ["navWithIcons", "ngbNav"], [3, "ngbNavItem"], ["ngbNavLink", ""], [3, "data-feather"], ["ngbNavContent", ""], [1, "mt-2", 3, "ngbNavOutlet"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "APLICACION", "prop", "app", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "ROL", "prop", "rol", 3, "width"], ["name", "DESCRIPCION", "prop", "observacion", 3, "width"], ["name", "ESTATUS", "prop", "estatus", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [1, "font-weight-bold"], ["class", "badge badge-success", 4, "ngIf"], ["class", "badge badge-danger", 4, "ngIf"], [1, "badge", "badge-success"], [1, "badge", "badge-danger"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], ["ngbDropdownMenu", ""], ["ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"], [1, "col-md-12", 2, "margin-top", "25px"], [1, "row"], ["class", "form-group col-md-12", 4, "ngIf"], [1, "form-group", "col-md-4"], [1, "form-label"], ["type", "text", "placeholder", "Ingrese Nombre del Rol", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-8"], ["for", "origen", 1, "form-label"], ["type", "text", "placeholder", "Breve descripcion del Rol", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["multiple", "", 1, "form-control", 2, "height", "150px", 3, "ngModel", "ngModelOptions", "dblclick", "ngModelChange"], [3, "value", 4, "ngFor", "ngForOf"], [1, "col-md-4"], ["align", "right", 1, "form-group", "col-md-4"], ["type", "button", 1, "btn", "btn-primary", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-arrow-down"], ["align", "right", 1, "col-md-4"], ["type", "button", 1, "btn", "btn-primary", 3, "disabled", "click"], [1, "table"], [4, "ngFor", "ngForOf"], ["align", "right", 1, "col-md-12"], ["type", "button", 1, "btn", "btn-success", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-save"], ["type", "button", 1, "btn", "btn-warning", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-trash"], [1, "form-group", "col-md-12"], ["for", "descripcion", 1, "form-label"], ["bindLabel", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Aplicaci\u00F3n", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Aplicacion", "disabled", "disabled", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], [3, "value"]], template: function RoleComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, RoleComponent_div_0_Template, 20, 8, "div", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_9__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_3__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_10__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.SelectMultipleControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgModel, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbDropdownItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNavContent, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNav, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNavItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNavLink, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbNavOutlet, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_4__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_5__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_12__["ɵf"]], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_13__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_12__.BlockUI)()], RoleComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_13__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_12__.BlockUI)('section-block')], RoleComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 18912: /*!********************************************************!*\ !*** ./src/app/main/views/security/security.module.ts ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "SecurityModule": () => (/* binding */ SecurityModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @services/seguridad/auth-guard.guard */ 76732); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.module */ 50619); /* harmony import */ var _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-card/core-card.module */ 4651); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var ng2_flatpickr__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ng2-flatpickr */ 89793); /* harmony import */ var _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/directives/directives */ 35455); /* harmony import */ var _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/pipes/pipes.module */ 30021); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _role_role_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./role/role.component */ 45301); /* harmony import */ var _profile_profile_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./profile/profile.component */ 99075); /* harmony import */ var _user_user_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./user/user.component */ 82990); /* harmony import */ var _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @ctrl/ngx-codemirror */ 1103); /* harmony import */ var _user_list_user_list_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./user-list/user-list.component */ 63581); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/core */ 94650); const routes = [{ path: 'security/role', component: _role_role_component__WEBPACK_IMPORTED_MODULE_7__.RoleComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'security/profile', component: _profile_profile_component__WEBPACK_IMPORTED_MODULE_8__.ProfileComponent, // canActivate: [AuthGuard,AuthGuardGuard], canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'security/user', component: _user_user_component__WEBPACK_IMPORTED_MODULE_9__.UserComponent, // canActivate: [AuthGuard,AuthGuardGuard], canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'security/user-list', component: _user_list_user_list_component__WEBPACK_IMPORTED_MODULE_10__.UserListComponent, // canActivate: [AuthGuard,AuthGuardGuard], canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }]; class SecurityModule { static ɵfac = function SecurityModule_Factory(t) { return new (t || SecurityModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdefineNgModule"]({ type: SecurityModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_12__.RouterModule.forChild(routes), _angular_common__WEBPACK_IMPORTED_MODULE_13__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_16__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_17__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_18__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_19__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_20__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_21__.CodemirrorModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__.TranslateModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsetNgModuleScope"](SecurityModule, { declarations: [_role_role_component__WEBPACK_IMPORTED_MODULE_7__.RoleComponent, _profile_profile_component__WEBPACK_IMPORTED_MODULE_8__.ProfileComponent, _user_user_component__WEBPACK_IMPORTED_MODULE_9__.UserComponent, _user_list_user_list_component__WEBPACK_IMPORTED_MODULE_10__.UserListComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_12__.RouterModule, _angular_common__WEBPACK_IMPORTED_MODULE_13__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_16__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_17__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_18__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_19__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_20__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_21__.CodemirrorModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__.TranslateModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule] }); })(); /***/ }), /***/ 63581: /*!**********************************************************************!*\ !*** ./src/app/main/views/security/user-list/user-list.component.ts ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "UserListComponent": () => (/* binding */ UserListComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/pipes/initials.pipe */ 16516); function UserListComponent_div_0_ng_template_29_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "img", 33); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); } if (rf & 2) { const row_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpropertyInterpolate"]("src", row_r5.avatar, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsanitizeUrl"]); } } const _c0 = function (a0, a1) { return { "bg-light-success": a0, "bg-light-danger": a1 }; }; function UserListComponent_div_0_ng_template_29_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 34)(1, "div", 35); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](3, "initials"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpureFunction2"](4, _c0, row_r5.esta == "1", row_r5.esta == "0")); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind1"](3, 2, row_r5.nombre.toUpperCase())); } } function UserListComponent_div_0_ng_template_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, UserListComponent_div_0_ng_template_29_div_1_Template, 2, 1, "div", 28); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](2, UserListComponent_div_0_ng_template_29_ng_template_2_Template, 4, 7, "ng-template", null, 29, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](4, "div", 30)(5, "span", 31); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](7, "span", 32); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r5 = ctx.row; const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵreference"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", row_r5.length > 0)("ngIfElse", _r8); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](row_r5.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate2"](" ", row_r5.login, " | ", row_r5.cargo, ""); } } function UserListComponent_div_0_ng_template_31_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div")(1, "span", 36); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r12 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"](" ", row_r12.correo, " "); } } function UserListComponent_div_0_ng_template_33_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div")(1, "span", 36); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r13 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate1"]("", row_r13.sistema, " "); } } function UserListComponent_div_0_ng_template_35_Template(rf, ctx) { if (rf & 1) { const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 37)(1, "button", 38); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](2, "span", 39); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](3, "div", 40)(4, "a", 41); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("click", function UserListComponent_div_0_ng_template_35_Template_a_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r16); const row_r14 = restoredCtx.row; const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r15.EliminarUser(row_r14)); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](5, "span", 42); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](6, "Eliminar"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("data-feather", "trash")("size", 16); } } function UserListComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 1)(1, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](2, "app-content-header", 3); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](3, "section", 4)(4, "div", 5)(5, "div", 6)(6, "div", 7)(7, "div", 8)(8, "div", 9)(9, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](11, "select", 10); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("ngModelChange", function UserListComponent_div_0_Template_select_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r18); const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r17.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](12, "option", 11); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](14, "option", 12); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](16, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](18, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](20, "div", 15)(21, "div", 16)(22, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](23, "label", 18); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](24, "div", 19)(25, "fieldset", 20)(26, "input", 21); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("ngModelChange", function UserListComponent_div_0_Template_input_ngModelChange_26_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r18); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r19.searchValue = $event); })("keyup", function UserListComponent_div_0_Template_input_keyup_26_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r18); const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r20.filterUpdate($event)); })("search", function UserListComponent_div_0_Template_input_search_26_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r18); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r21.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](27, "ngx-datatable", 22)(28, "ngx-datatable-column", 23); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](29, UserListComponent_div_0_ng_template_29_Template, 9, 5, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](30, "ngx-datatable-column", 25); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](31, UserListComponent_div_0_ng_template_31_Template, 3, 1, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](32, "ngx-datatable-column", 26); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](33, UserListComponent_div_0_ng_template_33_Template, 3, 1, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](34, "ngx-datatable-column", 27); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](35, UserListComponent_div_0_ng_template_35_Template, 7, 7, "ng-template", 24); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngModel", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](15); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("rows", ctx_r0.rowData)("rowHeight", 58)("limit", 10)("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("width", 5)("sortable", false); } } class UserListComponent { apiService; table; blockUI; sectionBlockUI; xAPI = { funcion: '', parametros: '', relacional: false, concurrencia: false, protocolo: '', ruta: '', retorna: false, migrar: false, modulo: '', valores: {}, coleccion: '', http: 0, https: 0, consumidores: 0, puertohttp: 0, puertohttps: 0, driver: '', query: '', metodo: '', tipo: '', prioridad: '', entorno: '', logs: false }; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.SelectionType; contentHeader; count = 0; tempData = []; rowData = []; constructor(apiService) { this.apiService = apiService; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this.listarUsuarios(); _this.contentHeader = { headerTitle: "Aplicaciones", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Seguridad", isLink: false }, { name: "Lista de Usuarios", isLink: false }] } }; })(); } listarUsuarios() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.xAPI.funcion = "_SYS_LstUsuarios"; _this2.xAPI.parametros = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { _this2.rowData = data; _this2.tempData = _this2.rowData; _this2.count = _this2.rowData.length; }, error => { console.log(error); }); })(); } filterUpdate(event) { const val = event.target.value ? event.target.value.toLowerCase() : ''; // filter our data const temp = this.tempData.filter(function (d) { return d.login.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; this.count = this.rowData.length; // Whenever the filter changes, always go back to the first page if (this.table) { this.table.offset = 0; } } EliminarUser(event) { console.log(event); } static ɵfac = function UserListComponent_Factory(t) { return new (t || UserListComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__.ApiService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: UserListComponent, selectors: [["app-user-list"]], viewQuery: function UserListComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbModal])], decls: 1, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-10", "col-md-6", "pr-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], [1, "col-10", "col-md-6", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "form-group", "mb-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "Usuario", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "Correo", 3, "width"], ["name", "Sistema", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [4, "ngIf", "ngIfElse"], ["customAvatar", ""], [1, "cell-line-height"], [1, "font-weight-bold", "d-block", "text-nowrap", "font-medium-1"], [1, "text-muted", "font-small-2"], ["height", "32", "width", "32", "alt", "datatable-avatar", 1, "rounded-circle", "mr-1", 3, "src"], [1, "avatar", "mr-1", "ml-0", 3, "ngClass"], [1, "avatar-content"], [1, "font-weight-bold"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], [3, "data-feather"], ["ngbDropdownMenu", ""], ["ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"]], template: function UserListComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](0, UserListComponent_div_0_Template, 36, 16, "div", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_9__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_10__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_10__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_10__.NgModel, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_7__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__.NgbDropdownItem, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_3__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_4__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_11__["ɵf"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_12__.DefaultClassDirective, _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_5__.InitialsPipe], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_13__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_11__.BlockUI)()], UserListComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_13__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_11__.BlockUI)('section-block')], UserListComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 82990: /*!************************************************************!*\ !*** ./src/app/main/views/security/user/user.component.ts ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "UserComponent": () => (/* binding */ UserComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _services_seguridad_user_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/seguridad/user.service */ 41106); /* harmony import */ var _services_util_sha256__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @services/util/sha256 */ 11225); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); function UserComponent_div_0_div_11_Template(rf, ctx) { if (rf & 1) { const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 14)(1, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Resaldo en cuenta"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "ng-select", 45); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_div_11_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r8); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r7.iUser.respaldo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r1.respaldo)("ngModel", ctx_r1.iUser.respaldo); } } function UserComponent_div_0_div_12_input_3_Template(rf, ctx) { if (rf & 1) { const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "input", 48); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_div_12_input_3_Template_input_ngModelChange_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r12); const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r11.iUser.endpoint = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r9.iUser.endpoint); } } const _c0 = function () { return { standalone: true }; }; function UserComponent_div_0_div_12_ng_select_4_Template(rf, ctx) { if (rf & 1) { const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "ng-select", 49); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_div_12_ng_select_4_Template_ng_select_ngModelChange_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r13.iUser.endpoint = $event); })("ngModelChange", function UserComponent_div_0_div_12_ng_select_4_Template_ng_select_ngModelChange_0_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r14); const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r15.selEndPoint($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r10.lstEndPoint)("ngModel", ctx_r10.iUser.endpoint)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](3, _c0)); } } function UserComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 16)(1, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "End Point"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](3, UserComponent_div_0_div_12_input_3_Template, 1, 1, "input", 46); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](4, UserComponent_div_0_div_12_ng_select_4_Template, 1, 4, "ng-select", 47); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r2.bEndPoint); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", !ctx_r2.bEndPoint); } } function UserComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) { const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 8)(1, "label", 50); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Login"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "input", 51); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_div_13_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r17); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r16.iUser.login = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r3.iUser.login); } } function UserComponent_div_0_div_14_Template(rf, ctx) { if (rf & 1) { const _r19 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 8)(1, "label", 52); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Clave"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "input", 53); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_div_14_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r19); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r18.iUser.clave = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r4.iUser.clave); } } function UserComponent_div_0_div_15_Template(rf, ctx) { if (rf & 1) { const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 8)(1, "label", 54); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Encriptamiento"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "ng-select", 55); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_div_15_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r21); const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r20.iUser.encriptamiento = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r5.formato)("ngModel", ctx_r5.iUser.encriptamiento); } } function UserComponent_div_0_tr_97_td_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "td")(1, "div", 57); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Inactivo"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } } function UserComponent_div_0_tr_97_td_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "td")(1, "div", 58); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2, "Activo"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } } function UserComponent_div_0_tr_97_td_9_Template(rf, ctx) { if (rf & 1) { const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "td")(1, "button", 59); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function UserComponent_div_0_tr_97_td_9_Template_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r30); const i_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"]().index; const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r28.quitarElemento(i_r23)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](2, "span", 60); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("data-feather", "trash"); } } function UserComponent_div_0_tr_97_td_10_Template(rf, ctx) { if (rf & 1) { const _r33 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "td")(1, "div", 61)(2, "button", 62); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](3, "span", 60); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](4, "div", 63)(5, "a", 64); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function UserComponent_div_0_tr_97_td_10_Template_a_click_5_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r33); const e_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"]().$implicit; const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r31.verPerfil(e_r22.idapp)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](6, "span", 65); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](7, " Listar "); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](8, "a", 64); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function UserComponent_div_0_tr_97_td_10_Template_a_click_8_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r33); const e_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"]().$implicit; const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r34.eliminarPerfil(e_r22.idapp)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](9, "span", 65); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](10, "Eliminar"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("data-feather", "edit")("size", 16); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("data-feather", "shuffle")("size", 16); } } function UserComponent_div_0_tr_97_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "tr")(1, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](5, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](7, UserComponent_div_0_tr_97_td_7_Template, 3, 0, "td", 56); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](8, UserComponent_div_0_tr_97_td_8_Template, 3, 0, "td", 56); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](9, UserComponent_div_0_tr_97_td_9_Template, 3, 3, "td", 56); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](10, UserComponent_div_0_tr_97_td_10_Template, 11, 11, "td", 56); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); } if (rf & 2) { const e_r22 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](e_r22.aplicacion); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](e_r22.perfil); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtextInterpolate"](e_r22.traza); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", e_r22.estatus == 0); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", e_r22.estatus == 1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", e_r22.id == null); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", e_r22.id != null); } } function UserComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r37 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](0, "div", 1)(1, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](2, "app-content-header", 3); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](3, "section", 4)(4, "div", 5)(5, "div", 6)(6, "div", 7)(7, "div", 8)(8, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](9, "Tipo de acceso"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](10, "ng-select", 10); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_10_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r36.iUser.tipoacceso = $event); })("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_10_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r38.selTipoAcceso($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](11, UserComponent_div_0_div_11_Template, 4, 2, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](12, UserComponent_div_0_div_12_Template, 5, 2, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](13, UserComponent_div_0_div_13_Template, 4, 1, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](14, UserComponent_div_0_div_14_Template, 4, 1, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](15, UserComponent_div_0_div_15_Template, 4, 2, "div", 13); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](16, "div", 7)(17, "div", 14)(18, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](19, "C\u00E9dula"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](20, "input", 15); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_input_ngModelChange_20_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r39.iUser.cedula = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](21, "div", 16)(22, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](23, "Nombre de usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](24, "input", 17); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_input_ngModelChange_24_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r40.iUser.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](25, "div", 16)(26, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](27, "Descripcion / Cargo"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](28, "input", 18); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_input_ngModelChange_28_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r41.iUser.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](29, "div", 14)(30, "label", 19); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](31, "Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](32, "ng-select", 20); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_32_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r42.iUser.estatus = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](33, "div", 7)(34, "div", 14)(35, "label", 21); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](36, "Vigencia de:"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](37, "ng-select", 22); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_37_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r43.iUser.vigencia = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](38, "div", 16)(39, "label", 23); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](40, "Correo del usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](41, "input", 24); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_input_ngModelChange_41_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r44.iUser.correo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](42, "div", 25)(43, "label", 23); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](44, "Descripcion general"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](45, "input", 26); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_input_ngModelChange_45_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r45 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r45.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](46, "div", 7)(47, "div", 14)(48, "label", 21); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](49, "Duraci\u00F3n de sesi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](50, "ng-select", 27); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_50_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r46 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r46.iUser.duraciontexto = $event); })("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_50_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r47 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r47.selDuracion($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](51, "div", 14)(52, "label", 28); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](53, "Tiempo sesi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](54, "input", 29); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_input_ngModelChange_54_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r48 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r48.iUser.duraciontiempo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](55, "div", 16)(56, "label", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](57, "Oficina"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](58, "ng-select", 31); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_58_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r49 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r49.xoficina = $event); })("input", function UserComponent_div_0_Template_ng_select_input_58_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r50.onFocusedOficina($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](59, "div", 16)(60, "label", 30); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](61, "Regional"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](62, "ng-select", 32); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_62_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r51.xregional = $event); })("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_62_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r52.selectEventRegional($event)); })("input", function UserComponent_div_0_Template_ng_select_input_62_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r53 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r53.onFocusedRegional($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](63, "div", 8)(64, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](65, "Seleccionar Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](66, "ng-select", 33); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_66_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r54 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r54.xaplicacion = $event); })("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_66_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r55 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r55.selPerfil($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](67, "div", 16)(68, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](69, "Seleccionar Perfil"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](70, "ng-select", 34); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_70_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r56 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r56.xperfil = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](71, "div", 8)(72, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](73, "Nivel de traza"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](74, "ng-select", 35); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("ngModelChange", function UserComponent_div_0_Template_ng_select_ngModelChange_74_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r57.xtraza = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](75, "div", 36); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](76, "label", 23); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](77, "button", 37); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function UserComponent_div_0_Template_button_click_77_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r58 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r58.agregarAplicacion()); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](78, "i", 38); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](79, "\u00A0Asociar "); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](80, "data", 7)(81, "div", 39)(82, "table", 40)(83, "thead")(84, "tr")(85, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](86, "APLICACION"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](87, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](88, "PERFIL"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](89, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](90, "TRAZA"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](91, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](92, "ESTATUS"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](93, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](94, "ACCION"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](95, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](96, "tbody"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](97, UserComponent_div_0_tr_97_Template, 11, 7, "tr", 41); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](98, "tfoot"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](99, "br")(100, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](101, "data", 7); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](102, "div", 42); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](103, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](104, "br")(105, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementStart"](106, "div", 43)(107, "button", 44); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵlistener"]("click", function UserComponent_div_0_Template_button_click_107_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵrestoreView"](_r37); const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵresetView"](ctx_r59.agregarUsuario()); }); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](108, " Registrar "); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtext"](109, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelement"](110, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.tipoacceso)("ngModel", ctx_r0.iUser.tipoacceso)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](45, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r0.ldap); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r0.ldap); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r0.property || ctx_r0.ldap); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r0.property); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngIf", ctx_r0.property); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r0.iUser.cedula)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](46, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r0.iUser.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](47, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r0.iUser.descripcion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](48, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.estatus)("ngModel", ctx_r0.iUser.estatus); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.sesion)("ngModel", ctx_r0.iUser.vigencia); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r0.iUser.correo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](49, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r0.descripcion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](50, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.duracion)("ngModel", ctx_r0.iUser.duraciontexto); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngModel", ctx_r0.iUser.duraciontiempo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](51, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.dataOficina)("ngModel", ctx_r0.xoficina)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](52, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.dataRegional)("addTag", true)("ngModel", ctx_r0.xregional)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](53, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.lstAplicacion)("ngModel", ctx_r0.xaplicacion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](54, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.lstPerfil)("ngModel", ctx_r0.xperfil)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](55, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("items", ctx_r0.traza)("ngModel", ctx_r0.xtraza)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵpureFunction0"](56, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](23); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("ngForOf", ctx_r0.dataUsers); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("disabled", ctx_r0.dataUsers.length == 0 ? "disabled" : ""); } } class UserComponent { apiService; utilservice; userService; sha256; table; blockUI; sectionBlockUI; contentHeader; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.SelectionType; basicSelectedOption = 10; xAPI = { funcion: '', parametros: '', valores: {} }; Perfil = { descripcion: '', traza: '' }; usuario = { cedula: '', nombre: '', login: '', correo: '', clave: '', sucursal: '', direccion: '', cargo: '', telefono: '', sistema: '', token: '', estatus: 1, Perfil: this.Perfil, Aplicacion: [], firmadigital: undefined, endpoint: '' }; iUser = { cedula: '', tipoacceso: 0, respaldo: 0, endpoint: '', login: '', clave: '', encriptamiento: '', nombre: '', descripcion: '', estatus: 1, vigencia: 180, correo: '', observaciones: '', duraciontexto: 1, duraciontiempo: 5, oficina: '', regional: '' }; tipoacceso = [{ id: 0, name: 'SELECCIONAR' }, { id: 1, name: 'LOCAL' }, { id: 3, name: 'DIRECTORIO ACTIVO' }]; respaldo = [{ id: 1, name: 'SI' }, { id: 0, name: 'NO' }]; estatus = [{ id: 1, name: 'ACTIVO' }, { id: 0, name: 'INACTIVO' }]; formato = [{ id: '1', name: 'SHA256' }, { id: '2', name: 'MD5' }]; duracion = [{ id: 1, name: 'Segundos' }, { id: 60, name: 'Minutos' }, { id: 3600, name: 'Horas' }]; sesion = [{ id: 30, name: '30 días' }, { id: 60, name: '60 días' }, { id: 90, name: '90 días' }, { id: 180, name: '180 días' }]; traza = [{ id: '1|BAJA', name: 'BAJA' }, { id: '2|MEDIA', name: 'MEDIA' }, { id: '3|ALTA', name: 'ALTA' } //CONEXION - PETIONES ACCIONES I,U,R,D / SELECT CAPTURAR ]; dataOficina = [{ id: 'TODAS', name: 'TODAS' }]; dataRegional = [{ id: 'TODAS', name: 'TODAS' }]; Rol = { descripcion: '', Menu: [] }; Menu = { url: '', js: '', icono: '', descripcion: '', nombre: '', accion: '', clase: '', color: '', Privilegios: [], SubMenu: [] }; Aplicacion = { id: '', nombre: '', url: '', comentario: '', version: '', autor: '', Rol: { descripcion: '', Menu: [] } }; ldap = false; activedirectory = false; property = false; tiempoduracion = '0'; descripcion; lstAplicacion = []; Privilegios = { metodo: '', descripcion: '', accion: '', directivas: '', endpoint: '', funcion: '' }; lstPerfil = []; lstEndPoint = []; dataUsers = []; lstUsersApp = []; temprowData = []; xaplicacion = ''; xperfil = ''; xtraza = '1|BAJA'; xoficina = 'TODAS'; xregional = 'TODAS'; bEndPoint = false; constructor(apiService, utilservice, userService, sha256) { this.apiService = apiService; this.utilservice = utilservice; this.userService = userService; this.sha256 = sha256; this.userService.iniciarObjeto(); this.CargarListaEndPoint(); } ngOnInit() { this.contentHeader = { headerTitle: 'Aplicaciones', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Seguridad', isLink: false }, { name: 'Definir Usuario', isLink: false }] } }; this.CargarListaAplicaciones(); this.CargarGrupo(); } selDuracion(e) { console.log(e); if (e == 3) { this.tiempoduracion = '0'; } } selTipoAcceso(e) { switch (e) { case 1: this.property = true; this.ldap = false; break; case 2: this.property = false; this.ldap = true; break; case 3: this.property = false; this.ldap = true; break; default: this.property = false; this.ldap = false; this.activedirectory = false; break; } } CargarGrupo() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.xAPI.funcion = '_SYS_CBitacoraGrupo'; _this.xAPI.parametros = ''; yield _this.apiService.Ejecutar(_this.xAPI).subscribe(data => { console.log(data); }, error => { console.log(error); }); })(); } CargarListaEndPoint() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.lstEndPoint = []; _this2.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_ENDPOINT; _this2.xAPI.parametros = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { if (data != undefined && data != null) { let ends = data[0].usuariosValidos; ends.forEach(e => { _this2.lstEndPoint.push({ name: e.endpoint, id: e.endpoint }); }); _this2.lstEndPoint.push({ name: "Crear Nuevo", id: "CN" }); } else { _this2.bEndPoint = true; _this2.iUser.endpoint = ''; } }, error => { console.log(error); }); })(); } selEndPoint(e) { if (this.iUser.endpoint == 'CN') { this.bEndPoint = true; this.iUser.endpoint = ''; } } CargarListaAplicaciones() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_APLICACIONES; _this3.xAPI.parametros = ''; yield _this3.apiService.Ejecutar(_this3.xAPI).subscribe(data => { _this3.lstAplicacion = data.Cuerpo.map(e => { e.id = e.identificador + '|' + e.nombre; e.name = e.nombre + ' : ' + e.VERSION; return e; }); }, error => { console.log(error); }); })(); } selPerfil(e) { // console.log(this.iUser) try { let codPerfil = e.split('|')[0].toString(); //this.obtenerAplicacion(e) // this.obetnerModulos(codPerfil, e) this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_PERFIL_APP; this.xAPI.parametros = codPerfil; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.lstPerfil = data.Cuerpo.map(e => { e.id = `${e.id}|${e.perfil}|${e.llave}`; e.name = e.perfil; return e; }); // console.log(this.lstPerfil) }, error => { console.log(error); }); } catch (error) { console.error('Errores varios: ', error); } } //OBTENER LA LISTA DE LOS MENU Y ACCIONES DESDE EL PERFIL obetnerModulos(apps) { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this4.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.functions.LISTAR_MENU_APP; _this4.xAPI.parametros = `${apps.idapp},${apps.idper}`; _this4.xAPI.valores = ''; console.log(_this4.xAPI); yield _this4.apiService.Ejecutar(_this4.xAPI).subscribe(data => { let lstMenu = []; console.log('menu: ', data); data.Cuerpo.forEach(e => { if (e.menu_acciones != undefined) { let menu = JSON.parse(e.menu_acciones); if (menu.acciones != undefined) { let lstPriv = []; menu.acciones.forEach(obj => { if (obj.accion != null) { let Privilegios = { accion: obj.accion, directivas: obj.directiva, funcion: obj.funcion, endpoint: obj.endpoint, clase: obj.clase, icono: obj.icono, color: obj.color, nombre: obj.nombre }; lstPriv.push(Privilegios); } }); let Menu = { url: menu.url, icono: menu.icono, color: menu.color, nombre: menu.nombre, js: menu.js, clase: menu.clase, SubMenu: [], Privilegios: lstPriv }; lstMenu.push(Menu); } } }); _this4.obtenerAplicacion(apps, lstMenu); console.log(lstMenu); // return lstMenu }, error => { console.log(error); }); })(); } obtenerAplicacion(apps, Menu) { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let lstApp = []; // let lstrol: any = [] let rol = { descripcion: _this5.xperfil.split('|')[2], Menu: Menu }; // lstrol.push(rol) let xapps = { autor: apps.creador, id: 'ID-001', nombre: apps.nombre, version: apps.version, url: apps.repositorio, comentario: 'Generado por sistema', Rol: rol }; _this5.Aplicacion = xapps; lstApp.push(_this5.Aplicacion); _this5.usuario.Perfil.descripcion = apps.perfil; _this5.usuario.Perfil.traza = apps.traza; _this5.usuario.cedula = _this5.iUser.cedula; _this5.usuario.login = _this5.iUser.login; _this5.usuario.nombre = _this5.iUser.nombre; _this5.usuario.correo = _this5.iUser.correo; _this5.usuario.cargo = _this5.iUser.descripcion; _this5.usuario.endpoint = _this5.iUser.endpoint; _this5.usuario.sucursal = _this5.xoficina; _this5.usuario.direccion = _this5.xregional; // this.usuario.clave = await this.utilservice.generateSHA256Hash( // this.iUser.clave // ) console.log('Entrando en clave', _this5.iUser.clave); if (_this5.iUser.clave != '') { yield _this5.sha256.hash(_this5.iUser.clave).then(hash => { console.log(hash); _this5.usuario.clave = hash; }); } console.log(_this5.iUser, 'Imprimiendo Usuario'); let firma = { vigencia: _this5.iUser.vigencia, duracion: _this5.iUser.duraciontiempo * _this5.iUser.duraciontexto, direccionmac: '', direccionip: '', tiempo: new Date().toISOString(), nivel: parseInt(apps.idtra) }; _this5.usuario.firmadigital = firma; _this5.usuario.sistema = apps.aplicacion; //this.xaplicacion.split('|')[1].toString() _this5.usuario.Aplicacion = lstApp; console.log(_this5.usuario); })(); } agregarAplicacion() { var _this6 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let app = {}; if (_this6.xaplicacion == '' || _this6.xperfil == '' || _this6.xtraza == undefined) { _this6.utilservice.AlertMini('top-end', 'error', 'Debe verificar los campos', 3000); return false; } _this6.lstAplicacion.forEach(e => { if (e.id == _this6.xaplicacion) { app = { id: e.id, iduser: 0, idapp: _this6.xaplicacion.split('|')[0], aplicacion: _this6.xaplicacion.split('|')[1], idper: _this6.xperfil.split('|')[0], perfil: _this6.xperfil.split('|')[1], idtra: _this6.xtraza.split('|')[0], traza: _this6.xtraza.split('|')[1], estatus: 1, repositorio: e.repositorio, version: e.VERSION, creador: e.creador, autor: e.name, comentario: e.observacion }; } }); _this6.lstUsersApp.push(app); // console.log(this.lstUsersApp) _this6.dataUsers = _this6.lstUsersApp; })(); } quitarElemento(i) { console.log(i); } verPerfil() {} eliminarPerfil() {} agregarUsuario() { var _this7 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield _this7.lstUsersApp.forEach( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (e) { yield _this7.obetnerModulos(e); }); return function (_x) { return _ref.apply(this, arguments); }; }()); sweetalert2__WEBPACK_IMPORTED_MODULE_2___default().fire({ title: 'Alerta', text: '¿Está seguro que desea guardar usuario?', icon: 'question', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#C81D11', confirmButtonText: 'Si, Aceptar', cancelButtonText: 'Cancelar' }).then(result => { if (result.isConfirmed) { _this7.ok(); } }); })(); } ok() { let fnx = { coleccion: 'usuario', objeto: this.usuario, donde: `{"cedula":"${this.usuario.cedula}"}`, driver: 'MGDBA', upsert: true }; // console.log(fnx) this.apiService.ExecColeccion(fnx).subscribe(data => { console.log(data); this.lstPerfil = []; this.xaplicacion = ''; this.xperfil = ''; this.utilservice.AlertMini('top-end', 'success', `Tu (Comunicacion) ha sido registrada codigo: ${data.UpsertedID}`, 3000); this.limpiar(); }, error => { this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); // console.log(error) }); } cancelar() {} limpiar() { this.iUser = { cedula: '', tipoacceso: 0, respaldo: 0, endpoint: '', login: '', clave: '', encriptamiento: '', nombre: '', descripcion: '', estatus: 1, vigencia: 180, correo: '', observaciones: '', duraciontexto: 1, duraciontiempo: 5, oficina: '', regional: '' }; this.xoficina = ''; this.xregional = ''; this.dataUsers = []; } static ɵfac = function UserComponent_Factory(t) { return new (t || UserComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_seguridad_user_service__WEBPACK_IMPORTED_MODULE_5__.UserService), _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdirectiveInject"](_services_util_sha256__WEBPACK_IMPORTED_MODULE_6__.Sha256Service)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵdefineComponent"]({ type: UserComponent, selectors: [["app-user"]], viewQuery: function UserComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_12__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_12__.NgbModal])], decls: 1, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "col-md-12", 2, "margin-top", "25px"], [1, "row"], [1, "form-group", "col-md-3"], ["for", "descripcion", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione acceso", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["class", "form-group col-md-2", 4, "ngIf"], ["class", "form-group col-md-4", 4, "ngIf"], ["class", "form-group col-md-3", 4, "ngIf"], [1, "form-group", "col-md-2"], ["type", "text", "placeholder", "C\u00E9dula", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-4"], ["type", "text", "placeholder", "Nombre del usuario", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Descripcion del usuario", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["for", "estatus", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Estatus", 3, "items", "ngModel", "ngModelChange"], ["for", "tipoduracion", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Vigencia en", 3, "items", "ngModel", "ngModelChange"], [1, "form-label"], ["type", "text", "placeholder", "Correo del usuario", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-6"], ["type", "text", "placeholder", "Descripcion general", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Tipo Duraci\u00F3n", 3, "items", "ngModel", "ngModelChange"], ["for", "tiempoduracion", 1, "form-label"], ["type", "number", "placeholder", "Tiempo", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["for", "origen", 1, "form-label"], ["bindId", "id", "bindLabel", "name", "placeholder", "Oficina", 3, "items", "ngModel", "ngModelOptions", "ngModelChange", "input"], ["bindLabel", "name", "placeholder", "Regional", 3, "items", "addTag", "ngModel", "ngModelOptions", "ngModelChange", "input"], ["bindLabel", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "Aplicaci\u00F3n", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["bindLabel", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "Perfil", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Nivel de traza", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-2", "d-flex", "align-items-end"], ["type", "button", 1, "btn", "btn-primary", 2, "width", "100%", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-arrow-down"], [1, "col-md-12"], [1, "table", "bootstrap", "core-bootstrap"], [4, "ngFor", "ngForOf"], [1, "form-group", "col-md-8"], ["align", "right", 1, "col-md-12"], ["type", "button", 1, "btn", "btn-success", 3, "disabled", "click"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Respaldo en cuenta", 3, "items", "ngModel", "ngModelChange"], ["type", "text", "placeholder", "End Point", "class", "form-control", 3, "ngModel", "ngModelChange", 4, "ngIf"], ["bindLabel", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "EndPoint", 3, "items", "ngModel", "ngModelOptions", "ngModelChange", 4, "ngIf"], ["type", "text", "placeholder", "End Point", 1, "form-control", 3, "ngModel", "ngModelChange"], ["bindLabel", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "EndPoint", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "login", 1, "form-label"], ["type", "text", "placeholder", "Login", 1, "form-control", 3, "ngModel", "ngModelChange"], ["for", "Clave", 1, "form-label"], ["type", "password", "placeholder", "Clave", 1, "form-control", 3, "ngModel", "ngModelChange"], ["for", "encriptamiento", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Encriptamiento", 3, "items", "ngModel", "ngModelChange"], [4, "ngIf"], [1, "badge", "badge-danger"], [1, "badge", "badge-success"], ["type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow", 3, "click"], [3, "data-feather"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], ["ngbDropdownMenu", ""], ["ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"]], template: function UserComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵtemplate"](0, UserComponent_div_0_Template, 111, 57, "div", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_10__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_13__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_13__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_7__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NumberValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgModel, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_12__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_12__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_12__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_12__.NgbDropdownItem, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_15__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_8__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_9__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_16__["ɵf"]], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_17__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_16__.BlockUI)()], UserComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_17__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_16__.BlockUI)('section-block')], UserComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 12095: /*!************************************************************************!*\ !*** ./src/app/main/views/task/task-monitor/task-monitor.component.ts ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "TaskMonitorComponent": () => (/* binding */ TaskMonitorComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/forms */ 24006); // import { BlockUI, NgBlockUI } from 'ng-block-ui'; function TaskMonitorComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div")(1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()(); } if (rf & 2) { const pid_r5 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"]("", pid_r5, " "); } } function TaskMonitorComponent_ng_template_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div")(1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()(); } if (rf & 2) { const programa_r6 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"]("", programa_r6, " "); } } function TaskMonitorComponent_ng_template_31_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div")(1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()(); } if (rf & 2) { const argumento_r7 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"]("", argumento_r7, " "); } } function TaskMonitorComponent_ng_template_33_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div")(1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()(); } if (rf & 2) { const tiempo_r8 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtextInterpolate1"]("", tiempo_r8, " "); } } function TaskMonitorComponent_ng_template_35_div_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1, "En Proceso"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } } function TaskMonitorComponent_ng_template_35_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 30); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](1, "Finalizado"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); } } function TaskMonitorComponent_ng_template_35_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](0, TaskMonitorComponent_ng_template_35_div_0_Template, 2, 0, "div", 27); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](1, TaskMonitorComponent_ng_template_35_div_1_Template, 2, 0, "div", 28); } if (rf & 2) { const estatus_r9 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", estatus_r9); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngIf", !estatus_r9); } } class TaskMonitorComponent { taskService; msjService; table; blockUI; sectionBlockUI; searchValue = ''; contentHeader; count; ListaComunicaciones = []; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_5__.ColumnMode; tempData = []; rowData = []; constructor(taskService, msjService) { this.taskService = taskService; this.msjService = msjService; } ngOnInit() { // content header this.contentHeader = { headerTitle: 'Tareas', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Tareas', isLink: false }, { name: 'Monitor de Tareas', isLink: false }] } }; this.initProcess(); this.escucharPID(); } escucharPID() { this.msjService.lstpid$.subscribe(pid => { console.log(pid); if (!pid.estatus) { this.buscarElemento(pid.id); } }); } initProcess() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let lstApp = []; yield _this.taskService.keys().then( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (lst) { let cnt = lst.length; for (let i = 0; i < cnt; i++) { const e = lst[i]; _this.taskService.get(e).then(data => { lstApp.push({ pid: data.id.substring(0, 6), programa: data.funcion, argumento: data.nombre, usuario: data.usuario, tiempo: data.fin == undefined ? '' : data.fin.toUTCString().substring(0, 16), estatus: data.estatus }); if (i == cnt - 1) _this.insertCommitDB(lstApp); }); } }); return function (_x) { return _ref.apply(this, arguments); }; }()); })(); } buscarElemento(pid) { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.rowData = (yield _this2.rowData).map(e => { if (e.pid == pid.substring(0, 6)) { e.tiempo = new Date().toUTCString().substring(0, 16); e.estatus = false; } return e; }); _this2.tempData = _this2.rowData; })(); } filterUpdate(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempData.filter(function (d) { return d.descripcion.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; this.count = this.rowData.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } insertCommitDB(lst) { this.rowData = lst; this.tempData = this.rowData; } static ɵfac = function TaskMonitorComponent_Factory(t) { return new (t || TaskMonitorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_1__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_2__.WsocketsService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({ type: TaskMonitorComponent, selectors: [["app-task-monitor"]], viewQuery: function TaskMonitorComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_5__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__.NgbModal])], decls: 36, vars: 16, consts: [[1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-12", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "PID", "prop", "pid", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "Programa", "prop", "programa", 3, "width"], ["name", "Argumento", "prop", "argumento", 3, "width"], ["name", "Tiempo", "prop", "tiempo", 3, "width"], ["name", "Estatus", "prop", "estatus", 3, "width"], [1, "font-weight-bold"], ["class", "badge badge-success", 4, "ngIf"], ["class", "badge badge-danger", 4, "ngIf"], [1, "badge", "badge-success"], [1, "badge", "badge-danger"]], template: function TaskMonitorComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](0, "div", 0)(1, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](2, "app-content-header", 2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](3, "section", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6)(7, "div", 7)(8, "div", 8)(9, "label", 8); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](11, "select", 9); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("ngModelChange", function TaskMonitorComponent_Template_select_ngModelChange_11_listener($event) { return ctx.basicSelectedOption = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](12, "option", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](14, "option", 11); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](16, "option", 12); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](18, "option", 13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](20, "div", 14)(21, "div", 15)(22, "div", 16)(23, "label", 17)(24, "input", 18); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵlistener"]("ngModelChange", function TaskMonitorComponent_Template_input_ngModelChange_24_listener($event) { return ctx.searchValue = $event; })("keyup", function TaskMonitorComponent_Template_input_keyup_24_listener($event) { return ctx.filterUpdate($event); })("search", function TaskMonitorComponent_Template_input_search_24_listener($event) { return ctx.filterUpdate($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](25, "ngx-datatable", 19)(26, "ngx-datatable-column", 20); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](27, TaskMonitorComponent_ng_template_27_Template, 3, 1, "ng-template", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](28, "ngx-datatable-column", 22); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](29, TaskMonitorComponent_ng_template_29_Template, 3, 1, "ng-template", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](30, "ngx-datatable-column", 23); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](31, TaskMonitorComponent_ng_template_31_Template, 3, 1, "ng-template", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](32, "ngx-datatable-column", 24); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](33, TaskMonitorComponent_ng_template_33_Template, 3, 1, "ng-template", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementStart"](34, "ngx-datatable-column", 25); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵtemplate"](35, TaskMonitorComponent_ng_template_35_Template, 2, 2, "ng-template", 21); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("contentHeader", ctx.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngModel", ctx.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](13); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("ngModel", ctx.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("rows", ctx.rowData)("rowHeight", 58)("limit", 10)("columnMode", ctx.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("width", 100); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵproperty"]("width", 10); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_3__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_8__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_8__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_8__.NgModel, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_5__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_5__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_5__.DataTableColumnCellDirective], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_9__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_10__.BlockUI)()], TaskMonitorComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_9__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_10__.BlockUI)('section-block')], TaskMonitorComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 82771: /*!************************************************!*\ !*** ./src/app/main/views/task/task.module.ts ***! \************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "TaskModule": () => (/* binding */ TaskModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! app/layout/components/content-header/content-header.module */ 50619); /* harmony import */ var _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @core/components/core-card/core-card.module */ 4651); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var ng2_flatpickr__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ng2-flatpickr */ 89793); /* harmony import */ var _core_directives_directives__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/directives/directives */ 35455); /* harmony import */ var _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/pipes/pipes.module */ 30021); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _task_monitor_task_monitor_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./task-monitor/task-monitor.component */ 12095); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 94650); const routes = [{ path: 'task/task-monitor', component: _task_monitor_task_monitor_component__WEBPACK_IMPORTED_MODULE_6__.TaskMonitorComponent // canActivate: [AuthGuardGuard], }]; class TaskModule { static ɵfac = function TaskModule_Factory(t) { return new (t || TaskModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({ type: TaskModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule.forChild(routes), _angular_common__WEBPACK_IMPORTED_MODULE_9__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_1__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_2__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_15__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_3__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_16__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_4__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_5__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](TaskModule, { declarations: [_task_monitor_task_monitor_component__WEBPACK_IMPORTED_MODULE_6__.TaskMonitorComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterModule, _angular_common__WEBPACK_IMPORTED_MODULE_9__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_1__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_2__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_13__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_15__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_3__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_16__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_4__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_5__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_0__.CoreCommonModule] }); })(); /***/ }), /***/ 26175: /*!**********************************************************************!*\ !*** ./src/app/main/views/tools/api/api-collection/api.component.ts ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ApiComponent": () => (/* binding */ ApiComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _services_pdf_pdf_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/pdf/pdf.service */ 2416); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @core/pipes/initials.pipe */ 16516); const _c0 = ["tableRowDetails"]; const _c1 = function (a0, a1) { return { "badge-light-success": a0, "badge-light-danger": a1 }; }; const _c2 = function (a0, a1, a2) { return { "badge-light-info": a0, "badge-light-warning": a1, "badge-light-success": a2 }; }; function ApiComponent_div_0_ng_template_46_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 42)(1, "div", 43)(2, "table", 44)(3, "thead", 45)(4, "tr")(5, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](6, "Hash"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](7, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](8, "Funcionalidad"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](9, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](10, "Tipo"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](11, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](12, "Waf"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](13, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](14, "Concurrencia"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](15, "tbody")(16, "tr")(17, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](18); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](19, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](20); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](21, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](22); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](23, "td")(24, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](25); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](26, "td")(27, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](28); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](29, "thead", 45)(30, "tr")(31, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](32, "Retorno"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](33, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](34, "Prioridad"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](35, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](36, "Consumidores"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](37, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](38, "Cache"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](39, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](40, "Log"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](41, "tbody")(42, "tr")(43, "td")(44, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](45); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](46, "td")(47, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](48); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](49, "td")(50, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](51); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](52, "td")(53, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](54); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](55, "td")(56, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](57); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](58, "tr", 48)(59, "td", 49); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](60); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](61, "div", 50); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](62, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](63, "code", 51); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](64); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](65, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r15 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](18); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate"](row_r15.id); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate"](row_r15.funcionalidad); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"]("", row_r15.tipo, " "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction2"](18, _c1, row_r15.accion == true, row_r15.accion == false)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r15.accion == true ? "Si" : row_r15.accion == false ? "No" : "No", " "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction2"](21, _c1, row_r15.concurrencia == true, row_r15.concurrencia == false)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r15.concurrencia == true ? "Si" : row_r15.concurrencia == false ? "No" : "No", " "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](16); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction2"](24, _c1, row_r15.retorna == true, row_r15.retorna == false)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r15.retorna == true ? "Si" : row_r15.retorna == false ? "No" : "No", " "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction3"](27, _c2, row_r15.prioridad == "0", row_r15.prioridad == "1", row_r15.prioridad == "2")); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r15.prioridad == "0" ? "Baja" : row_r15.prioridad == "1" ? "Mediana" : row_r15.prioridad == "2" ? "Alta" : "No", " "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate"](row_r15.consumidores); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction2"](31, _c1, row_r15.cache == 1, row_r15.cache == 0)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r15.cache == 1 ? "Si" : row_r15.cache == 0 ? "No" : "No", " "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction2"](34, _c1, row_r15.logs == true, row_r15.logs == false)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r15.logs == true ? "Activo" : row_r15.logs == false ? "Inactivo" : "Inactivo", " "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r15.descripcion ? row_r15.descripcion : "Sin Descripci\u00F3n", " "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r15.query, " "); } } function ApiComponent_div_0_ng_template_48_Template(rf, ctx) { if (rf & 1) { const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "a", 52); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_div_0_ng_template_48_Template_a_click_0_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r20); const row_r17 = restoredCtx.row; const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r19.rowDetailsToggleExpand(row_r17)); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); } if (rf & 2) { const expanded_r18 = ctx.expanded; _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵclassProp"]("datatable-icon-right", !expanded_r18)("datatable-icon-down", expanded_r18); } } function ApiComponent_div_0_ng_template_50_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](1, "img", 58); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); } if (rf & 2) { const row_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpropertyInterpolate"]("src", row_r21.avatar, _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵsanitizeUrl"]); } } const _c3 = function (a0, a1) { return { "bg-light-success": a0, "bg-light-danger": a1 }; }; function ApiComponent_div_0_ng_template_50_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 59)(1, "div", 60); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpipe"](3, "initials"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction2"](4, _c3, row_r21.estatus == true, row_r21.estatus == false)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpipeBind1"](3, 2, row_r21.funcion.toUpperCase())); } } const _c4 = function (a0, a1, a2) { return { "badge-light-success": a0, "badge-light-info": a1, "badge-light-warning": a2 }; }; function ApiComponent_div_0_ng_template_50_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](1, ApiComponent_div_0_ng_template_50_div_1_Template, 2, 1, "div", 53); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](2, ApiComponent_div_0_ng_template_50_ng_template_2_Template, 4, 7, "ng-template", null, 54, _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](4, "div", 55)(5, "span", 56)(6, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](8, "span", 57)(9, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](10); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpipe"](11, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const row_r21 = ctx.row; const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵreference"](3); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngIf", row_r21.length > 0)("ngIfElse", _r24); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate"](row_r21.funcion); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction3"](7, _c4, row_r21.entorno == "calidad", row_r21.entorno == "desarrollo", row_r21.entorno == "produccion")); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpipeBind1"](11, 5, row_r21.entorno), " "); } } function ApiComponent_div_0_ng_template_52_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](0); } if (rf & 2) { const row_r28 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", row_r28.descripcion.slice(0, 60), "... "); } } function ApiComponent_div_0_ng_template_55_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 61); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); } if (rf & 2) { const row_r29 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate"](row_r29.version); } } function ApiComponent_div_0_ng_template_57_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); } if (rf & 2) { const estatus_r30 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction2"](2, _c1, estatus_r30 == true, estatus_r30 == false)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtextInterpolate1"](" ", estatus_r30 == true ? "Activo" : estatus_r30 == false ? "Inactivo" : "Inactivo", " "); } } function ApiComponent_div_0_ng_template_59_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 62)(1, "button", 63); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](2, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r31 = ctx.row; const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("routerLink", "/tools/applications/api-details/" + row_r31.funcion + "/" + ctx_r14.urlControl); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("data-feather", "play"); } } function ApiComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r33 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 4)(1, "div", 5); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](2, "app-content-header", 6); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](3, "section", 7)(4, "div", 8)(5, "div", 9)(6, "div", 10)(7, "div", 11)(8, "div", 12)(9, "label", 12); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](11, "select", 13); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("ngModelChange", function ApiComponent_div_0_Template_select_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r32.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](12, "option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](14, "option", 15); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](16, "option", 16); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](18, "option", 17); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](20, "button", 18); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](21, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](22, " Agregar"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](23, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](24, "button", 20); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_div_0_Template_button_click_24_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r34 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵreference"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r34.ModalExportarArchivo(_r5)); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](25, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](26, " Exportar"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](27, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](28, "button", 21); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_div_0_Template_button_click_28_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r35.ModalSubirArchivo(_r3)); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](29, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](30, " Importar"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](31, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](32, "button", 22); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_div_0_Template_button_click_32_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r36.ListadoApis()); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](33, "span", 19); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](34, " Generar PDF"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](35, "div", 23)(36, "div", 24)(37, "div", 25)(38, "label", 26)(39, "input", 27); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("ngModelChange", function ApiComponent_div_0_Template_input_ngModelChange_39_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r37.searchValue = $event); })("keyup", function ApiComponent_div_0_Template_input_keyup_39_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r38.filterUpdate($event)); })("search", function ApiComponent_div_0_Template_input_search_39_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r39.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](40, "div", 28)(41, "fieldset", 29)(42, "ng-select", 30); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("ngModelChange", function ApiComponent_div_0_Template_ng_select_ngModelChange_42_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r40.sDispositivo = $event); })("change", function ApiComponent_div_0_Template_ng_select_change_42_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r33); const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r41.filterStatus($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](43, "ngx-datatable", 31, 32)(45, "ngx-datatable-row-detail", 33); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](46, ApiComponent_div_0_ng_template_46_Template, 66, 37, "ng-template", 34); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](47, "ngx-datatable-column", 35); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](48, ApiComponent_div_0_ng_template_48_Template, 1, 4, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](49, "ngx-datatable-column", 37); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](50, ApiComponent_div_0_ng_template_50_Template, 12, 11, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](51, "ngx-datatable-column", 38); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](52, ApiComponent_div_0_ng_template_52_Template, 1, 1, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](53, " > "); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](54, "ngx-datatable-column", 39); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](55, ApiComponent_div_0_ng_template_55_Template, 2, 1, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](56, "ngx-datatable-column", 40); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](57, ApiComponent_div_0_ng_template_57_Template, 2, 5, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](58, "ngx-datatable-column", 41); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](59, ApiComponent_div_0_ng_template_59_Template, 3, 4, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngModel", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("routerLink", "/tools/applications/register-api/Registrar/" + ctx_r0.urlControl); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("data-feather", "plus"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("data-feather", "database"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("data-feather", "database"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("data-feather", "file"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("items", ctx_r0.status)("ngModel", ctx_r0.sDispositivo); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("rowHeight", 58)("limit", 10)("rows", ctx_r0.rowData)("scrollbarH", true); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("rowHeight", 350); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("width", 50)("resizeable", false)("sortable", false)("draggable", false)("canAutoResize", false); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("width", 280); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("width", 350); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("width", 5); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("width", 5); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("width", 5)("sortable", false); } } function ApiComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { const _r44 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 64)(1, "h5", 65); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](2, "Editar Api"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](3, "button", 66); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_ng_template_1_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r44); const modal_r42 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](modal_r42.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](4, "span", 67); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](6, "form", 68)(7, "div", 69)(8, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](9, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](10, "div", 71)(11, "button", 72); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](12, "Actualizar"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](13, "button", 73); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_ng_template_1_Template_button_click_13_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r44); const modal_r42 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](modal_r42.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](14, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); } } const _c5 = function () { return { standalone: true }; }; function ApiComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) { const _r48 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 64)(1, "h5", 65); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](2, "Credenciales: Subir Archivo"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](3, "button", 66); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_ng_template_3_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r48); const modal_r46 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](modal_r46.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](4, "span", 67); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](6, "div", 69)(7, "div", 70)(8, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](9, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](10, "div", 75)(11, "form", 76); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](12, "input", 77); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](13, "div", 9)(14, "div", 78)(15, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](16, "Nombre de Usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](17, "input", 79); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("ngModelChange", function ApiComponent_ng_template_3_Template_input_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r48); const ctx_r49 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r49.IExportAPI.usuario = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](18, "div", 78)(19, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](20, "Constrase\u00F1a"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](21, "input", 80); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("ngModelChange", function ApiComponent_ng_template_3_Template_input_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r48); const ctx_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r50.IExportAPI.clave = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](22, "div", 78)(23, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](24, "Cargar Archivo .zip"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](25, "div", 81)(26, "input", 82); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("change", function ApiComponent_ng_template_3_Template_input_change_26_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r48); const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r51.fileSelected($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](27, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](28, "div", 71)(29, "button", 83); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_ng_template_3_Template_button_click_29_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r48); const ctx_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r52.SubirArchivo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](30, "Subir Archivo"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](31, "button", 73); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_ng_template_3_Template_button_click_31_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r48); const modal_r46 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](modal_r46.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](32, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](12); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpropertyInterpolate"]("value", ctx_r4.hashcontrol); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngModel", ctx_r4.IExportAPI.usuario)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction0"](5, _c5)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngModel", ctx_r4.IExportAPI.clave)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction0"](6, _c5)); } } function ApiComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) { const _r56 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](0, "div", 64)(1, "h5", 65); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](2, "Credenciales: Exportar APIS"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](3, "button", 66); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_ng_template_5_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r56); const modal_r54 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](modal_r54.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](4, "span", 67); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](6, "div", 69)(7, "div", 70)(8, "div", 74); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](9, "div", 75); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](10, "div", 75)(11, "form", 84)(12, "div", 9)(13, "div", 78)(14, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](15, "Nombre de Usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](16, "input", 79); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("ngModelChange", function ApiComponent_ng_template_5_Template_input_ngModelChange_16_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r56); const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r57.IExportAPI.usuario = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](17, "div", 78)(18, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](19, "Constrase\u00F1a"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](20, "input", 80); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("ngModelChange", function ApiComponent_ng_template_5_Template_input_ngModelChange_20_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r56); const ctx_r58 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r58.IExportAPI.clave = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelement"](21, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](22, "div", 71)(23, "button", 83); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_ng_template_5_Template_button_click_23_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r56); const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](ctx_r59.ExportApi()); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](24, "Exportar APIS"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementStart"](25, "button", 73); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵlistener"]("click", function ApiComponent_ng_template_5_Template_button_click_25_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵrestoreView"](_r56); const modal_r54 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵresetView"](modal_r54.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtext"](26, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](16); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngModel", ctx_r6.IExportAPI.usuario)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction0"](4, _c5)); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("ngModel", ctx_r6.IExportAPI.clave)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵpureFunction0"](5, _c5)); } } class ApiComponent { rutaActiva; apiService; modalService; _formBuilder; utilservice; pdf; taskService; msjService; table; tableRowDetails; blockUI; sectionBlockUI; codeMirrorOptions = { theme: 'idea', mode: 'text/x-idn', lineNumbers: true, lineWrapping: true, foldGutter: true, gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter', 'CodeMirror-lint-markers'], autoCloseBrackets: true, matchBrackets: true, lint: true, indentUnit: 2, tabSize: 2, indentWithTabs: true }; fnx; xAPI = { funcion: '', parametros: '', relacional: false, concurrencia: false, protocolo: '', ruta: '', retorna: false, migrar: false, modulo: '', valores: {}, coleccion: '', http: 0, https: 0, consumidores: 0, puertohttp: 0, puertohttps: 0, driver: '', query: '', metodo: '', tipo: '', prioridad: '', entorno: '', logs: false }; xRestore = { nombre: '', ruta: '', pass: '', basedatos: '', coleccion: '', funcion: '', user: '', file_name: '' }; searchValue = ''; developer; quality; production; // Private count; ListaApis = []; tempData = []; rowData = []; sDispositivo; driver = []; status = [{ id: true, name: 'ACTIVO' }, { id: false, name: 'INACTIVO' }]; IExportAPI = { usuario: '', clave: '' }; archivos = []; rutaURL; // public mac; data; xrs = ''; host = ''; submitted = false; loginForm; contentHeader; selected = []; kitchenSinkRows; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__.SelectionType; driversAPP; xentorno; resultado; xresultado; xparametro = ''; valores = ''; llave; hashcontrol; urlControl = ''; pID = { id: "", estatus: false, mensaje: "", segundos: "", contenido: "" }; constructor(rutaActiva, apiService, modalService, _formBuilder, utilservice, pdf, taskService, msjService) { this.rutaActiva = rutaActiva; this.apiService = apiService; this.modalService = modalService; this._formBuilder = _formBuilder; this.utilservice = utilservice; this.pdf = pdf; this.taskService = taskService; this.msjService = msjService; } // convenience getter for easy access to form fields get f() { return this.loginForm.controls; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.llave = _this.utilservice.GenerarUnicId(); _this.hashcontrol = btoa("XING" + _this.llave); _this.urlControl = _this.rutaActiva.snapshot.params.id; let id = atob(_this.urlControl).split('|'); _this.driversAPP = id[0]; let url = id[1]; yield _this.ListarApis(_this.driversAPP); _this.loginForm = _this._formBuilder.group({ host: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_14__.Validators.required]], mac: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_14__.Validators.required]], descripcion: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_14__.Validators.required]], id: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_14__.Validators.required]], tipo: [undefined], estatus: [undefined] }); // content header _this.contentHeader = { headerTitle: 'Herramientas', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Aplicaciones', isLink: true, link: '/tools/applications' }, { name: 'Api', isLink: true, link: '/tools/applications/' + url }, { name: 'Detalle', isLink: false }] } }; })(); } ListarApis(t) { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { if (t == "") return; _this2.developer = []; _this2.xAPI.funcion = '_SYS_R_ListarApis'; _this2.xAPI.parametros = t; _this2.xAPI.valores = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { // console.log(data) if (data == null) return; yield data.map(e => { e.descripcion = e.descripcion == undefined ? '' : e.descripcion; _this2.developer.push(e); }); _this2.rowData = _this2.developer; _this2.count = _this2.rowData.length; _this2.tempData = _this2.rowData; }); return function (_x) { return _ref.apply(this, arguments); }; }(), error => { console.error(error); }); })(); } ExportApi() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let nameFnx = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.EXPORTAR_API; _this3.fnx = { 'funcion': nameFnx, 'basedatos': 'code-epic', 'user': _this3.IExportAPI.usuario, 'pass': _this3.IExportAPI.clave, 'driver': _this3.driversAPP, 'file_name': environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.colecciones.API_CORE_NAME }; yield sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().fire({ title: `Va a descargar la coleccion de API `, text: "Estó puede durar varios segundos, dependiendo de su conexión a internet!", icon: "warning", showCancelButton: true, confirmButtonColor: "#3085d6", cancelButtonText: "Cancelar", cancelButtonColor: "#d33", confirmButtonText: "Si, Descargar!" }).then(result => { if (result.isConfirmed) { _this3.apiService.ExecFnx(_this3.fnx).subscribe(data => { _this3.pID.id = data.contenido.id; _this3.pID.estatus = true; _this3.msjService.lstpid$.emit(_this3.pID); _this3.modalService.dismissAll(); _this3.taskService.set(data.contenido.id, nameFnx, 'Descargando api').then(e => { _this3.apiService.ConsultarPidRecursivo(data.contenido.id, 'Descargando api'); }).catch(e => console.log(e)); }, error => { console.log(error); }); } }); })(); } ListadoApis() { this.pdf.ListadoDeApis(this.rowData); } // async ImportApi() { // const { value: file } = await Swal.fire({ // title: 'Sube el documento', // input: 'file', // inputAttributes: { // 'accept': 'application/zip', // 'aria-label': 'Upload your profile picture' // } // }) // if (file) { // const reader = new FileReader() // reader.onload = (e) => { // // Swal.fire({ // // title: 'Your uploaded picture', // // imageUrl: e.target.result, // // imageAlt: 'The uploaded picture' // // }) // } // reader.readAsDataURL(file) // } // } rowDetailsToggleExpand(row) { this.tableRowDetails.rowDetail.toggleExpandRow(row); } filterUpdate(event) { const val = event.target.value.toLowerCase(); // filter our data const temp = this.tempData.filter(function (d) { return d.funcion.toLowerCase().indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; this.count = this.rowData.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } filterStatus(event) { const val = event.id; // filter our data const temp = this.tempData.filter(function (d) { return d.estatus.indexOf(val) !== -1 || !val; }); // update the rows this.rowData = temp; this.count = this.rowData.length; // Whenever the filter changes, always go back to the first page this.table.offset = 0; } LimpiarForm() { this.loginForm = this._formBuilder.group({ host: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_14__.Validators.required]], mac: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_14__.Validators.required]], descripcion: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_14__.Validators.required]], id: ['', [_angular_forms__WEBPACK_IMPORTED_MODULE_14__.Validators.required]], tipo: [undefined], estatus: [undefined] }); } CargarLista() { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this4.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.LISTAR_COMUNICACIONES; _this4.xAPI.parametros = ''; _this4.ListaApis = []; _this4.count = 0; yield _this4.apiService.Ejecutar(_this4.xAPI).subscribe(data => { _this4.ListaApis.push(data); _this4.rowData = data; _this4.count = _this4.rowData.length; _this4.tempData = _this4.rowData; }, error => { console.log(error); }); })(); } ModalEditApi(modal, data) { this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } ModalEscaneo(modal, data) { this.data = data; this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } fileSelected(e) { this.archivos.push(e.target.files[0]); } SubirArchivo(e) { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { console.log(document.getElementById('identificador')); var frm = new FormData(document.forms.namedItem("forma")); try { yield _this5.apiService.EnviarArchivos(frm).subscribe(data => { _this5.ValoresMasivos(); }); } catch (error) { console.error(error); } })(); } ValoresMasivos() { let cargaMasiva = { codigo: this.llave, ruta: this.hashcontrol, nombre: this.archivos[0].name, funcion: "SetPath", inicio: this.utilservice.FechaActual(0), fin: this.utilservice.FechaActual(0), tipo: 'ZIP', sistema: 'CORE', contenido: 'Importar API', cantidad: 0, estatus: 0, usuario: environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.Hash }; this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.INSERT_FILE_PATH; this.xAPI.parametros = ""; this.xAPI.valores = JSON.stringify(cargaMasiva); this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data.tipo == 1) { this.ObtenerNombreArchivo(); document.forms.namedItem("forma").reset(); this.modalService.dismissAll('Close'); this.utilservice.AlertMini('top-end', 'success', 'Archivo Subido Exitosamente', 3000); } else { this.utilservice.AlertMini('top-end', 'error', 'El archivo no pudo ser subido, por favor verifica e intente de nuevo', 3000); } }, errot => { console.log(errot); this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); }); } ObtenerNombreArchivo() { this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.OBTENER_NOMBRE_ARCHIVO; this.xAPI.parametros = this.llave; this.xAPI.valores = ""; this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data.Cuerpo.length > 0) { this.xRestore.nombre = data.Cuerpo[0].nomb; this.xRestore.ruta = data.Cuerpo[0].ruta; this.xRestore.pass = this.IExportAPI.clave; this.xRestore.user = this.IExportAPI.usuario; this.xRestore.file_name = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.colecciones.API_CORE_NAME; this.xRestore.basedatos = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.driver.DATA_BASE; this.xRestore.coleccion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.colecciones.API_CORE_NAME; this.ejecutarFuncion(); } }, errot => { console.log(errot); this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); }); } ejecutarFuncion() { let nameFnx = 'Restaurar API'; this.xRestore.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.RESTAURAR_API; this.apiService.ExecFnx(this.xRestore).subscribe(data => { // console.log(data); this.pID.id = data.contenido.id; this.pID.estatus = true; this.msjService.lstpid$.emit(this.pID); this.modalService.dismissAll(); this.taskService.set(data.contenido.id, nameFnx, 'Restaurando api').then(e => { this.apiService.ConsultarPidRecursivo(data.contenido.id, 'Restaurando api'); }).catch(e => console.log(e)); }, error => { console.log(error); }); // this.apiService.ExecFnx(this.xRestore).subscribe( // data => { // this.ListarApis(this.driversAPP) // this.utilservice.AlertMini('top-end', 'success', 'Se han importado las APIS de la Base de datos XXXXX y la Coleccion XXXX', 3000) // }, // error => { // console.log(error) // } // ) } ModalApi(modal) { this.modalService.open(modal, { centered: true, size: 'xl', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } ModalExportarArchivo(modal) { this.modalService.open(modal, { centered: true, size: 'sm', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } ModalSubirArchivo(modal) { this.modalService.open(modal, { centered: true, size: 'lg', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } ModalPromover(data) { console.log(data); } ModalEliminar(data) { console.log(data); } ModalModificar(modal) { console.log(modal); } GuardarDispositivo() { this.submitted = true; if (this.loginForm.invalid) { return; } else { var obj = { "coleccion": "sys-conection", "objeto": this.loginForm.value, "donde": `{\"id\":\"${this.loginForm.value.id}\"}`, "driver": "MGDBA", "upsert": true }; this.rowData.push(this.ListaApis); this.apiService.ExecColeccion(obj).subscribe(data => { this.ListaApis = []; this.CargarLista(); this.modalService.dismissAll('Close'); this.utilservice.AlertMini('top-end', 'success', `Tu (Comunicacion) ha sido registrada codigo: ${data.UpsertedID}`, 3000); this.LimpiarForm(); }, error => { this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); // console.log(error) }); } } EditarDispositivo() { this.submitted = true; if (this.loginForm.invalid) { return; } else { var obj = { "coleccion": "sys-conection", "objeto": this.loginForm.value, "donde": `{\"id\":\"${this.loginForm.value.id}\"}`, "driver": "MGDBA", "upsert": true }; this.rowData.push(this.ListaApis); this.apiService.ExecColeccion(obj).subscribe(data => { this.ListaApis = []; this.CargarLista(); this.modalService.dismissAll('Close'); this.utilservice.AlertMini('top-end', 'success', `Tu (Comunicacion) ha sido actualizada`, 3000); this.LimpiarForm(); }, error => { this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); // console.log(error) }); } } static ɵfac = function ApiComponent_Factory(t) { return new (t || ApiComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_15__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_16__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_14__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdirectiveInject"](_services_pdf_pdf_service__WEBPACK_IMPORTED_MODULE_5__.PdfService), _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_6__.TaskService), _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_7__.WsocketsService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵdefineComponent"]({ type: ApiComponent, selectors: [["app-api"]], viewQuery: function ApiComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__.DatatableComponent, 5); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵviewQuery"](_c0, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵloadQuery"]()) && (ctx.table = _t.first); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵloadQuery"]()) && (ctx.tableRowDetails = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_16__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_16__.NgbModal])], decls: 7, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], ["ModalEditApis", ""], ["ModalSubir", ""], ["ModalExportar", ""], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-info", 2, "height", "38px", "margin-top", "-4px", 3, "routerLink"], [3, "data-feather"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-primary", 2, "height", "38px", "margin-top", "-4px", 3, "click"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-warning", 2, "height", "38px", "margin-top", "-4px", 3, "click"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-dark", 2, "height", "38px", "margin-top", "-4px", 3, "click"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-10", "col-md-6", "pr-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "col-10", "col-md-6", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "form-group", "mb-0"], ["bindLabel", "name", "bindId", "id", "bindValue", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Status", 3, "items", "ngModel", "ngModelChange", "change"], [1, "bootstrap", "core-bootstrap", 3, "columnMode", "headerHeight", "footerHeight", "rowHeight", "limit", "rows", "scrollbarH"], ["tableRowDetails", ""], [3, "rowHeight"], ["ngx-datatable-row-detail-template", ""], [3, "width", "resizeable", "sortable", "draggable", "canAutoResize"], ["ngx-datatable-cell-template", ""], ["name", "Funcion", 3, "width"], ["name", "Descripcion", "prop", "descripcion", 3, "width"], ["name", "Version", 3, "width"], ["name", "Status", "prop", "estatus", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [1, "ml-75", "pl-4", "pt-50"], [1, "col-md-11"], [1, "table", "table-striped", "border", "datatable"], [1, "thead"], [1, "badge", "badge-pill", 3, "ngClass"], [1, "badge", "badge-pill", "badge-light-warning"], [1, "align-middle", "code-container"], ["colspan", "5"], [1, "code-container"], [2, "background-color", "transparent"], ["href", "javascript:void(0)", "title", "Expand/Collapse Row", 3, "click"], [4, "ngIf", "ngIfElse"], ["customAvatar", ""], [1, "cell-line-height"], [1, "font-weight-bold", "d-block"], [1, "text-muted", "font-small-2"], ["height", "32", "width", "32", "alt", "datatable-avatar", 1, "rounded-circle", "mr-1", 3, "src"], [1, "avatar", "mr-1", "ml-0", 3, "ngClass"], [1, "avatar-content"], [1, "badge", "badge-pill", "badge-light-info"], ["ngbDropdown", "", "container", "body"], ["type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow", 3, "routerLink"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "auth-login-form", "mt-2"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], [1, "modal-footer"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"], [1, "form-row"], [1, "form-group", "col-md-12"], ["method", "post", "enctype", "multipart/form-data", "id", "forma", "name", "forma"], ["type", "hidden", "name", "identificador", 3, "value"], [1, "col-md-12"], ["type", "text", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "password", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "input_container"], ["id", "fileUpload", "type", "file", "name", "archivos", "accept", ".zip, .gz", 3, "change"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success", 3, "click"], ["method", "post", "id", "frmExport", "name", "frmExport"]], template: function ApiComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](0, ApiComponent_div_0_Template, 60, 29, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](1, ApiComponent_ng_template_1_Template, 15, 0, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](3, ApiComponent_ng_template_3_Template, 33, 7, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplate"](5, ApiComponent_ng_template_5_Template, 27, 6, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_12__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_15__.RouterLink, _angular_common__WEBPACK_IMPORTED_MODULE_17__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_17__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_8__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_14__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_14__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_14__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_14__.NgForm, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__.DatatableRowDetailDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__.DatatableRowDetailTemplateDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_13__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_16__.NgbDropdown, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_18__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_9__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_10__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_19__["ɵf"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_20__.DefaultClassDirective, _angular_common__WEBPACK_IMPORTED_MODULE_17__.UpperCasePipe, _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_11__.InitialsPipe], styles: ["@charset \"UTF-8\";\n.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;touch-action:none;user-select:none;box-sizing:border-box}\n.noUi-target{position:relative}\n.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}\n.noUi-connects{overflow:hidden;z-index:0}\n.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}\n.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}\n.noUi-vertical .noUi-origin{top:-100%;width:0}\n.noUi-horizontal .noUi-origin{height:0}\n.noUi-handle{backface-visibility:hidden;position:absolute}\n.noUi-touch-area{height:100%;width:100%}\n.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{transition:transform .3s}\n.noUi-state-drag *{cursor:inherit!important}\n.noUi-horizontal{height:18px}\n.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}\n.noUi-vertical{width:18px}\n.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}\n.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}\n.noUi-target{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}\n.noUi-connects{border-radius:3px}\n.noUi-connect{background:#3FB8AF}\n.noUi-draggable{cursor:ew-resize}\n.noUi-vertical .noUi-draggable{cursor:ns-resize}\n.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}\n.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}\n.noUi-handle:after,.noUi-handle:before{content:\"\";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}\n.noUi-handle:after{left:17px}\n.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}\n.noUi-vertical .noUi-handle:after{top:17px}\n[disabled] .noUi-connect{background:#B8B8B8}\n[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}\n.noUi-pips,.noUi-pips *{box-sizing:border-box}\n.noUi-pips{position:absolute;color:#999}\n.noUi-value{position:absolute;white-space:nowrap;text-align:center}\n.noUi-value-sub{color:#ccc;font-size:10px}\n.noUi-marker{position:absolute;background:#CCC}\n.noUi-marker-sub{background:#AAA}\n.noUi-marker-large{background:#AAA}\n.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}\n.noUi-value-horizontal{transform:translate(-50%,50%)}\n.noUi-rtl .noUi-value-horizontal{transform:translate(50%,50%)}\n.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}\n.noUi-marker-horizontal.noUi-marker-sub{height:10px}\n.noUi-marker-horizontal.noUi-marker-large{height:15px}\n.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}\n.noUi-value-vertical{transform:translate(0,-50%);padding-left:25px}\n.noUi-rtl .noUi-value-vertical{transform:translate(0,50%)}\n.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}\n.noUi-marker-vertical.noUi-marker-sub{width:10px}\n.noUi-marker-vertical.noUi-marker-large{width:15px}\n.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}\n.noUi-horizontal .noUi-tooltip{transform:translate(-50%,0);left:50%;bottom:120%}\n.noUi-vertical .noUi-tooltip{transform:translate(0,-50%);top:50%;right:120%}\n.noUi-horizontal .noUi-origin>.noUi-tooltip{transform:translate(50%,0);left:auto;bottom:10px}\n.noUi-vertical .noUi-origin>.noUi-tooltip{transform:translate(0,-18px);top:auto;right:28px}\n/*!\r\n * bsStepper v1.7.0 (https://github.com/Johann-S/bs-stepper)\r\n * Copyright 2018 - 2019 Johann-S \r\n * Licensed under MIT (https://github.com/Johann-S/bs-stepper/blob/master/LICENSE)\r\n */\n.bs-stepper .step-trigger{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;padding:20px;font-size:1rem;font-weight:700;line-height:1.5;color:#6c757d;text-align:center;text-decoration:none;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:transparent;border:none;border-radius:.25rem;transition:background-color .15s ease-out,color .15s ease-out}\n.bs-stepper .step-trigger:not(:disabled):not(.disabled){cursor:pointer}\n.bs-stepper .step-trigger.disabled,.bs-stepper .step-trigger:disabled{pointer-events:none;opacity:.65}\n.bs-stepper .step-trigger:focus{color:#007bff;outline:0}\n.bs-stepper .step-trigger:hover{text-decoration:none;background-color:rgba(0,0,0,.06)}\n@media (max-width:520px){.bs-stepper .step-trigger{flex-direction:column;padding:10px}}\n.bs-stepper-label{display:inline-block;margin:.25rem}\n.bs-stepper-header{display:flex;align-items:center}\n@media (max-width:520px){.bs-stepper-header{margin:0 -10px;text-align:center}}\n.bs-stepper .line,.bs-stepper-line{flex:1 0 32px;min-width:1px;min-height:1px;margin:auto;background-color:rgba(0,0,0,.12)}\n@media (max-width:400px){.bs-stepper .line,.bs-stepper-line{flex-basis:20px}}\n.bs-stepper-circle{display:inline-flex;align-content:center;justify-content:center;width:2em;height:2em;padding:.5em 0;margin:.25rem;line-height:1em;color:#fff;background-color:#6c757d;border-radius:1em}\n.active .bs-stepper-circle{background-color:#007bff}\n.bs-stepper-content{padding:0 20px 20px}\n@media (max-width:520px){.bs-stepper-content{padding:0}}\n.bs-stepper.vertical{display:flex}\n.bs-stepper.vertical .bs-stepper-header{flex-direction:column;align-items:stretch;margin:0}\n.bs-stepper.vertical .bs-stepper-pane,.bs-stepper.vertical .content{display:block}\n.bs-stepper.vertical .bs-stepper-pane:not(.fade),.bs-stepper.vertical .content:not(.fade){display:block;visibility:hidden}\n.bs-stepper .content:not(.fade),.bs-stepper-pane:not(.fade){display:none}\n.bs-stepper .content.fade,.bs-stepper-pane.fade{visibility:hidden;transition-duration:.3s;transition-property:opacity}\n.bs-stepper .content.fade.active,.bs-stepper-pane.fade.active{visibility:visible;opacity:1}\n.bs-stepper .content.active:not(.fade),.bs-stepper-pane.active:not(.fade){display:block;visibility:visible}\n.bs-stepper .content.dstepper-block,.bs-stepper-pane.dstepper-block{display:block}\n.bs-stepper:not(.vertical) .bs-stepper-pane.dstepper-none,.bs-stepper:not(.vertical) .content.dstepper-none{display:none}\n.vertical .bs-stepper-pane.fade.dstepper-none,.vertical .content.fade.dstepper-none{visibility:hidden}\n.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}\n.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}\n.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent #999;border-width:0 5px 5px}\n.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}\n.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}\n.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}\n.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}\n.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}\n.ng-select.ng-select-focused:not(.ng-select-opened)>.ng-select-container{border-color:#007eff;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 0 3px rgba(0,126,255,0.1)}\n.ng-select.ng-select-disabled>.ng-select-container{background-color:#f9f9f9}\n.ng-select .ng-has-value .ng-placeholder{display:none}\n.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:4px;border:1px solid #ccc;min-height:36px;align-items:center}\n.ng-select .ng-select-container:hover{box-shadow:0 1px 0 rgba(0,0,0,0.06)}\n.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}\n[dir=\"rtl\"] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}\n.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:#999}\n.ng-select.ng-select-single .ng-select-container{height:36px}\n.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}\n[dir=\"rtl\"] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}\n.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:#f9f9f9;border:1px solid #e6e6e6}\n.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:#333;background-color:#ebf5ff;border-radius:2px;margin-right:5px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:#f9f9f9}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;padding:1px 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:#d1e8ff}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid #b8dbff}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:#000}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}\n.ng-select .ng-clear-wrapper{color:#999}\n.ng-select .ng-clear-wrapper:hover .ng-clear{color:#D0021B}\n.ng-select .ng-spinner-zone{padding:5px 5px 0 0}\n[dir=\"rtl\"] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}\n.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}\n[dir=\"rtl\"] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}\n.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:#666}\n.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}\n.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px 0 rgba(0,0,0,0.06);left:0}\n.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}\n.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}\n.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-top-color:#e6e6e6;margin-top:-1px}\n.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}\n.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}\n.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid #ccc;padding:5px 7px}\n.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;padding:5px 7px}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:rgba(0,0,0,0.54);cursor:pointer}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:#f5faff}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:rgba(0,0,0,0.54);background-color:#ebf5ff;font-weight:600}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:rgba(0,0,0,0.87);padding:8px 10px}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:#333;background-color:#ebf5ff}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:#f5faff;color:#333}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}\n[dir=\"rtl\"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}\n[dir=\"rtl\"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}\n[dir=\"rtl\"] .ng-dropdown-panel{direction:rtl;text-align:right}\n.ecommerce-application .content-body {\n position: relative;\n}\n.ecommerce-application .body-content-overlay {\n position: fixed !important;\n z-index: 12 !important;\n}\n.ecommerce-application .sidebar-shop {\n margin-top: 0.85rem;\n width: 260px;\n z-index: 998;\n}\n.ecommerce-application .sidebar-shop .filter-heading {\n margin-bottom: 1.75rem;\n}\n.ecommerce-application .sidebar-shop .filter-title {\n margin-bottom: 1rem;\n margin-top: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .price-range li:not(:last-child),\n.ecommerce-application .sidebar-shop .categories-list li:not(:last-child) {\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .brand-list li {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip {\n opacity: 0;\n transform: translate(-50%, -15%);\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip:before {\n content: \"$ \";\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle:active .noUi-tooltip {\n opacity: 1;\n}\n.ecommerce-application .sidebar-shop .ratings-list {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list:last-child {\n margin-bottom: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul {\n margin-bottom: 0;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item svg,\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item i {\n width: 1.25rem;\n height: 1.25rem;\n font-size: 1.25rem;\n}\n.ecommerce-application .filled-star {\n fill: #ff9f43;\n stroke: #ff9f43;\n color: #ff9f43;\n}\n.ecommerce-application .unfilled-star {\n stroke: #babfc7;\n color: #babfc7;\n}\n.ecommerce-application .ecommerce-header-items {\n display: flex;\n justify-content: space-between;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler {\n padding-left: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:active, .ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:focus {\n outline: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon {\n height: auto;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon i,\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon svg {\n color: #6e6b7b;\n height: 1.5rem;\n width: 1.5rem;\n font-size: 1.5rem;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n font-weight: 500;\n color: #5e5873;\n}\n.ecommerce-application .ecommerce-searchbar .input-group {\n box-shadow: 0 2px 8px 0 rgba(34, 41, 47, 0.14);\n border-radius: 0.3rem;\n}\n.ecommerce-application .search-product,\n.ecommerce-application .input-group-text {\n height: 48px;\n border: none;\n font-size: 0.95rem;\n padding-left: 1.25rem;\n}\n.ecommerce-application .search-product::placeholder,\n.ecommerce-application .input-group-text::placeholder {\n font-size: 0.95rem;\n}\n.ecommerce-application .ecommerce-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 4px 25px 0 rgba(34, 41, 47, 0.25);\n}\n.ecommerce-application .ecommerce-card .item-rating ul {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-rating svg,\n.ecommerce-application .ecommerce-card .item-rating i {\n height: 1.143rem;\n width: 1.143rem;\n font-size: 1.143rem;\n}\n.ecommerce-application .ecommerce-card .item-name {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-name a {\n font-weight: 600;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .ecommerce-card .item-description {\n font-size: 0.875rem;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist span,\n.ecommerce-application .ecommerce-card .btn-cart span {\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i,\n.ecommerce-application .ecommerce-card .btn-wishlist svg,\n.ecommerce-application .ecommerce-card .btn-cart i,\n.ecommerce-application .ecommerce-card .btn-cart svg {\n margin-right: 0.25rem;\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i.text-danger,\n.ecommerce-application .ecommerce-card .btn-wishlist svg.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart i.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart svg.text-danger {\n fill: #ea5455;\n}\n.ecommerce-application .grid-view:not(.wishlist-items),\n.ecommerce-application .list-view:not(.wishlist-items) {\n margin-top: 2rem;\n}\n.ecommerce-application .grid-view {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n column-gap: 2rem;\n}\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n}\n.ecommerce-application .grid-view .ecommerce-card {\n overflow: hidden;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-img {\n padding-top: 0.5rem;\n min-height: 15.85rem;\n display: flex;\n align-items: center;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n.ecommerce-application .grid-view .ecommerce-card .shipping,\n.ecommerce-application .grid-view .ecommerce-card .item-company,\n.ecommerce-application .grid-view .ecommerce-card .item-options .item-price {\n display: none;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options {\n display: flex;\n flex-wrap: wrap;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-cart,\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-wishlist {\n flex-grow: 1;\n border-radius: 0;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-name {\n margin-top: 0.75rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-description {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 0.2rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-price {\n font-weight: 600;\n}\n.ecommerce-application .grid-view .ecommerce-card .card-body {\n padding: 1rem;\n}\n.ecommerce-application .list-view {\n display: grid;\n grid-template-columns: 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card {\n overflow: hidden;\n display: grid;\n grid-template-columns: 1fr 2fr 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card .item-img {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 50px;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body {\n padding: 1.5rem 1rem;\n border-right: 1px solid #ebe9f1;\n display: flex;\n flex-direction: column;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-wrapper {\n order: 2;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-name {\n order: 1;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-description {\n order: 3;\n display: -webkit-box;\n -webkit-line-clamp: 5;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-price {\n display: none;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-rating {\n margin-bottom: 0.3rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company {\n display: inline-flex;\n font-weight: 400;\n margin: 0.3rem 0 0.5rem;\n font-size: 0.875rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company .company-name {\n font-weight: 600;\n margin-left: 0.25rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options {\n padding: 1rem;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper {\n position: relative;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper .item-cost .item-price {\n color: #7367f0;\n margin-bottom: 0;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .shipping {\n margin-top: 0.75rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-wishlist,\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-cart {\n margin-top: 1rem;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header,\n.ecommerce-application .checkout-tab-steps .bs-stepper-content {\n padding: 0;\n margin: 0;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-img img {\n width: 100px;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-name {\n order: 0 !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-company,\n.ecommerce-application .checkout-items .ecommerce-card .item-rating {\n margin-bottom: 0.4rem !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-quantity {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .checkout-items .ecommerce-card .delivery-date {\n margin-top: 1.2rem;\n margin-bottom: 0.25rem;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-options .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ecommerce-application .checkout-options .coupons:focus-within {\n box-shadow: none;\n}\n.ecommerce-application .checkout-options .coupons input {\n border: none;\n padding-left: 0;\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons input::placeholder {\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons .input-group-append {\n margin: 0;\n}\n.ecommerce-application .checkout-options .coupons .input-group-text {\n height: auto;\n font-weight: 600;\n padding: inherit;\n}\n.ecommerce-application .checkout-options .price-details .price-title {\n font-weight: 600;\n margin-bottom: 0.75rem;\n margin-top: 1.5rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail .detail-title.detail-total {\n font-weight: 600;\n}\n.ecommerce-application .payment-type .gift-card {\n cursor: pointer;\n}\n.ecommerce-application .checkout-tab-steps {\n background-color: transparent !important;\n box-shadow: none !important;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header {\n border: none;\n}\n@media (min-width: 992px) {\n .ecommerce-application .ecommerce-header-items .shop-sidebar-toggler {\n display: none;\n }\n .ecommerce-application .product-checkout.list-view {\n grid-template-columns: 2fr 1fr;\n column-gap: 2rem;\n }\n}\n@media (max-width: 1199.98px) {\n .ecommerce-application .ecommerce-header-items .btn-group {\n align-items: center;\n }\n .ecommerce-application .ecommerce-header-items .btn-group .btn-icon {\n padding: 0.6rem 0.736rem;\n }\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr;\n }\n .ecommerce-application .body-content-overlay {\n position: fixed;\n opacity: 0;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n .ecommerce-application .body-content-overlay.show {\n opacity: 1;\n }\n .ecommerce-application.horizontal-layout .body-content-overlay {\n z-index: 998 !important;\n }\n .ecommerce-application.horizontal-layout .sidebar-shop {\n z-index: 999 !important;\n }\n}\n@media (max-width: 991.98px) {\n .ecommerce-application .sidebar-left .sidebar .card {\n border-radius: 0;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop {\n transform: translateX(-112%);\n transition: all 0.25s ease;\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n overflow-y: scroll;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop.show {\n transition: all 0.25s ease;\n transform: translateX(0);\n }\n .ecommerce-application .grid-view {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n display: none;\n }\n}\n@media (max-width: 767.98px) {\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card {\n grid-template-columns: 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card .item-img {\n padding-top: 2rem;\n padding-bottom: 2rem;\n }\n .ecommerce-application .list-view .ecommerce-card .card-body {\n border: none;\n }\n}\n@media (max-width: 575.98px) {\n .ecommerce-application .grid-view,\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr;\n }\n}\n.noUi-target {\n background-color: rgba(115, 103, 240, 0.12);\n border-width: 0;\n box-shadow: none;\n border-radius: 1rem;\n}\n.noUi-target.noUi-connect {\n box-shadow: none;\n}\n.noUi-horizontal {\n height: 6px;\n}\n.noUi-horizontal .noUi-handle {\n width: 1rem;\n height: 1rem;\n cursor: pointer;\n right: -0.5rem;\n top: -4px;\n}\n.noUi-horizontal .noUi-tooltip {\n bottom: 135% !important;\n}\n.noUi-pips {\n color: #b9b9c3;\n}\n.noUi-marker {\n background: #ebe9f1;\n}\n.noUi-value {\n font-size: 0.857rem;\n}\n.noUi-marker-horizontal.noUi-marker,\n.noUi-marker-horizontal.noUi-marker-large {\n height: 8px;\n}\n.noUi-handle {\n box-shadow: none;\n border: none;\n border-radius: 50%;\n background: #fff;\n border: 2px solid #7367f0;\n}\n.noUi-handle:after, .noUi-handle:before {\n display: none;\n}\n.noUi-connect {\n background: #7367f0;\n box-shadow: none;\n}\n.noUi-tooltip {\n transform: translate(-10%, -50%);\n font-size: 0.857rem;\n border: none;\n color: #6e6b7b;\n background-color: #f8f8f8;\n padding: 0.1718rem 0.35rem;\n font-weight: 500;\n}\n.noUi-vertical {\n display: inline-block;\n width: 6px;\n}\n.noUi-vertical .noUi-origin {\n right: auto;\n}\n.noUi-vertical .noUi-handle {\n width: 1rem;\n height: 1rem;\n top: -0.375rem;\n left: -0.3rem;\n}\n.noUi-vertical .noUi-tooltip {\n right: 135% !important;\n}\n.hover_val {\n font: 400 12px Arial;\n color: #6e6b7b;\n display: block;\n margin: 15px 0;\n}\n.noUi-handle:focus {\n outline: 0;\n}\n_:-ms-lang(x),\n.slider-select {\n flex: 0 0 10%;\n max-width: 10%;\n}\n.dark-layout .noUi-handle {\n background-color: #283046;\n}\n.dark-layout .noUi-tooltip {\n background-color: #161d31;\n color: #b4b7bd;\n}\n.dark-layout .noUi-pips,\n.dark-layout .noUi-value {\n color: #b4b7bd;\n}\n.dark-layout .noUi-marker {\n background: #3b4253;\n}\n[data-textdirection=rtl] .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {\n right: auto;\n}\n[data-textdirection=rtl] .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {\n left: -3px;\n}\n.slider-white {\n background-color: rgba(255, 255, 255, 0.12);\n}\n.slider-white .noUi-connect {\n background: #ffffff !important;\n}\n.slider-white.noUi-connect {\n background: #ffffff !important;\n}\n.slider-white .noUi-handle {\n border-color: #ffffff !important;\n}\n.slider-black {\n background-color: rgba(0, 0, 0, 0.12);\n}\n.slider-black .noUi-connect {\n background: #000000 !important;\n}\n.slider-black.noUi-connect {\n background: #000000 !important;\n}\n.slider-black .noUi-handle {\n border-color: #000000 !important;\n}\n.slider-dark {\n background-color: rgba(75, 75, 75, 0.12);\n}\n.slider-dark .noUi-connect {\n background: #4b4b4b !important;\n}\n.slider-dark.noUi-connect {\n background: #4b4b4b !important;\n}\n.slider-dark .noUi-handle {\n border-color: #4b4b4b !important;\n}\n.slider-light {\n background-color: rgba(246, 246, 246, 0.12);\n}\n.slider-light .noUi-connect {\n background: #f6f6f6 !important;\n}\n.slider-light.noUi-connect {\n background: #f6f6f6 !important;\n}\n.slider-light .noUi-handle {\n border-color: #f6f6f6 !important;\n}\n.slider-primary {\n background-color: rgba(115, 103, 240, 0.12);\n}\n.slider-primary .noUi-connect {\n background: #7367f0 !important;\n}\n.slider-primary.noUi-connect {\n background: #7367f0 !important;\n}\n.slider-primary .noUi-handle {\n border-color: #7367f0 !important;\n}\n.slider-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n}\n.slider-secondary .noUi-connect {\n background: #82868b !important;\n}\n.slider-secondary.noUi-connect {\n background: #82868b !important;\n}\n.slider-secondary .noUi-handle {\n border-color: #82868b !important;\n}\n.slider-success {\n background-color: rgba(40, 199, 111, 0.12);\n}\n.slider-success .noUi-connect {\n background: #28c76f !important;\n}\n.slider-success.noUi-connect {\n background: #28c76f !important;\n}\n.slider-success .noUi-handle {\n border-color: #28c76f !important;\n}\n.slider-info {\n background-color: rgba(0, 207, 232, 0.12);\n}\n.slider-info .noUi-connect {\n background: #00cfe8 !important;\n}\n.slider-info.noUi-connect {\n background: #00cfe8 !important;\n}\n.slider-info .noUi-handle {\n border-color: #00cfe8 !important;\n}\n.slider-warning {\n background-color: rgba(255, 159, 67, 0.12);\n}\n.slider-warning .noUi-connect {\n background: #ff9f43 !important;\n}\n.slider-warning.noUi-connect {\n background: #ff9f43 !important;\n}\n.slider-warning .noUi-handle {\n border-color: #ff9f43 !important;\n}\n.slider-danger {\n background-color: rgba(234, 84, 85, 0.12);\n}\n.slider-danger .noUi-connect {\n background: #ea5455 !important;\n}\n.slider-danger.noUi-connect {\n background: #ea5455 !important;\n}\n.slider-danger .noUi-handle {\n border-color: #ea5455 !important;\n}\n.noUi-vertical {\n height: 200px;\n display: inline-block !important;\n}\n.bs-stepper {\n background-color: #fff;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n border-radius: 0.5rem;\n}\n.bs-stepper .bs-stepper-header {\n padding: 1.5rem 1.5rem;\n flex-wrap: wrap;\n border-bottom: 1px solid rgba(34, 41, 47, 0.08);\n margin: 0;\n}\n.bs-stepper .bs-stepper-header .line {\n flex: 0;\n min-width: auto;\n min-height: auto;\n background-color: transparent;\n margin: 0;\n padding: 0 1.75rem;\n color: #6e6b7b;\n font-size: 1.5rem;\n}\n.bs-stepper .bs-stepper-header .step {\n margin-bottom: 0.25rem;\n margin-top: 0.25rem;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger {\n padding: 0;\n flex-wrap: nowrap;\n font-weight: normal;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-box {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 38px;\n height: 38px;\n padding: 0.5em 0;\n font-weight: 500;\n color: #babfc7;\n background-color: rgba(186, 191, 199, 0.12);\n border-radius: 0.35rem;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label {\n text-align: left;\n margin: 0;\n margin-top: 0.5rem;\n margin-left: 1rem;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-title {\n display: inherit;\n color: #6e6b7b;\n font-weight: 600;\n line-height: 1rem;\n margin-bottom: 0rem;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-subtitle {\n font-weight: 400;\n font-size: 0.85rem;\n color: #b9b9c3;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger:hover {\n background-color: transparent;\n}\n.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}\n.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #7367f0;\n}\n.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-box {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}\n.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #b9b9c3;\n}\n.bs-stepper .bs-stepper-header .step.crossed + .line {\n color: #7367f0;\n}\n.bs-stepper .bs-stepper-content {\n padding: 1.5rem 1.5rem;\n}\n.bs-stepper .bs-stepper-content .content {\n margin-left: 0;\n}\n.bs-stepper .bs-stepper-content .content .content-header {\n margin-bottom: 1rem;\n}\n.bs-stepper.vertical .bs-stepper-header {\n border-right: 1px solid #ebe9f1;\n border-bottom: none;\n}\n.bs-stepper.vertical .bs-stepper-header .step .step-trigger {\n padding: 1rem 0;\n}\n.bs-stepper.vertical .bs-stepper-header .line {\n display: none;\n}\n.bs-stepper.vertical .bs-stepper-content {\n width: 100%;\n padding-top: 2.5rem;\n}\n.bs-stepper.vertical .bs-stepper-content .content:not(.active) {\n display: none;\n}\n.bs-stepper.vertical.wizard-icons .step {\n text-align: center;\n}\n.bs-stepper.wizard-modern {\n background-color: transparent;\n box-shadow: none;\n}\n.bs-stepper.wizard-modern .bs-stepper-header {\n border: none;\n}\n.bs-stepper.wizard-modern .bs-stepper-content {\n background-color: #fff;\n border-radius: 0.5rem;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n}\n.horizontal-wizard,\n.vertical-wizard,\n.modern-horizontal-wizard,\n.modern-vertical-wizard {\n margin-bottom: 2.2rem;\n}\n.dark-layout .bs-stepper {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}\n.dark-layout .bs-stepper .bs-stepper-header {\n border-bottom: 1px solid rgba(59, 66, 83, 0.08);\n}\n.dark-layout .bs-stepper .bs-stepper-header .line {\n color: #b4b7bd;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-box {\n color: #babfc7;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #b4b7bd;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-subtitle {\n color: #676d7d;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}\n.dark-layout .bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #7367f0;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-label,\n.dark-layout .bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-title {\n color: #676d7d;\n}\n.dark-layout .bs-stepper.vertical .bs-stepper-header {\n border-right-color: #3b4253;\n}\n.dark-layout .bs-stepper.wizard-modern {\n background-color: transparent;\n box-shadow: none;\n}\n.dark-layout .bs-stepper.wizard-modern .bs-stepper-header {\n border: none;\n}\n.dark-layout .bs-stepper.wizard-modern .bs-stepper-content {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}\nhtml[data-textdirection=rtl] .btn-prev,\nhtml[data-textdirection=rtl] .btn-next {\n display: flex;\n}\nhtml[data-textdirection=rtl] .btn-prev i,\nhtml[data-textdirection=rtl] .btn-prev svg,\nhtml[data-textdirection=rtl] .btn-next i,\nhtml[data-textdirection=rtl] .btn-next svg {\n transform: rotate(-180deg);\n}\n@media (max-width: 992px) {\n .bs-stepper .bs-stepper-header {\n flex-direction: column;\n align-items: flex-start;\n }\n .bs-stepper .bs-stepper-header .step .step-trigger {\n padding: 0.5rem 0 !important;\n flex-direction: row;\n }\n .bs-stepper .bs-stepper-header .line {\n display: none;\n }\n .bs-stepper.vertical {\n flex-direction: column;\n }\n .bs-stepper.vertical .bs-stepper-header {\n align-items: flex-start;\n }\n .bs-stepper.vertical .bs-stepper-content {\n padding-top: 1.5rem;\n }\n}\n.bg-white {\n background-color: #ffffff !important;\n}\n.bg-white .card-header,\n.bg-white .card-footer {\n background-color: transparent;\n}\n.border-white {\n border: 1px solid #ffffff !important;\n}\n.border-top-white {\n border-top: 1px solid #ffffff;\n}\n.border-bottom-white {\n border-bottom: 1px solid #ffffff;\n}\n.border-left-white {\n border-left: 1px solid #ffffff;\n}\n.border-right-white {\n border-right: 1px solid #ffffff;\n}\n.bg-white.badge-glow,\n.border-white.badge-glow,\n.badge-white.badge-glow {\n box-shadow: 0px 0px 10px #ffffff;\n}\n.overlay-white {\n background: #ffffff; /* The Fallback */\n background: rgba(255, 255, 255, 0.6);\n}\ninput:focus ~ .bg-white {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ffffff !important;\n}\n.bg-black {\n background-color: #000000 !important;\n}\n.bg-black .card-header,\n.bg-black .card-footer {\n background-color: transparent;\n}\n.border-black {\n border: 1px solid #000000 !important;\n}\n.border-top-black {\n border-top: 1px solid #000000;\n}\n.border-bottom-black {\n border-bottom: 1px solid #000000;\n}\n.border-left-black {\n border-left: 1px solid #000000;\n}\n.border-right-black {\n border-right: 1px solid #000000;\n}\n.bg-black.badge-glow,\n.border-black.badge-glow,\n.badge-black.badge-glow {\n box-shadow: 0px 0px 10px #000000;\n}\n.overlay-black {\n background: #000000; /* The Fallback */\n background: rgba(0, 0, 0, 0.6);\n}\ninput:focus ~ .bg-black {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #000000 !important;\n}\n.bg-dark {\n background-color: #4b4b4b !important;\n}\n.bg-dark .card-header,\n.bg-dark .card-footer {\n background-color: transparent;\n}\n.alert-dark {\n background: rgba(75, 75, 75, 0.12) !important;\n color: #4b4b4b !important;\n}\n.alert-dark .alert-heading {\n box-shadow: rgba(75, 75, 75, 0.4) 0px 6px 15px -7px;\n}\n.alert-dark .alert-link {\n color: #3e3e3e !important;\n}\n.alert-dark .close {\n color: #4b4b4b !important;\n}\n.border-dark {\n border: 1px solid #4b4b4b !important;\n}\n.border-top-dark {\n border-top: 1px solid #4b4b4b;\n}\n.border-bottom-dark {\n border-bottom: 1px solid #4b4b4b;\n}\n.border-left-dark {\n border-left: 1px solid #4b4b4b;\n}\n.border-right-dark {\n border-right: 1px solid #4b4b4b;\n}\n.bg-dark.badge-glow,\n.border-dark.badge-glow,\n.badge-dark.badge-glow {\n box-shadow: 0px 0px 10px #4b4b4b;\n}\n.badge.badge-light-dark {\n background-color: rgba(75, 75, 75, 0.12);\n color: #4b4b4b !important;\n}\n.overlay-dark {\n background: #4b4b4b; /* The Fallback */\n background: rgba(75, 75, 75, 0.6);\n}\n.btn-dark {\n border-color: #4b4b4b !important;\n background-color: #4b4b4b !important;\n color: #fff !important;\n}\n.btn-dark:focus, .btn-dark:active, .btn-dark.active {\n color: #fff;\n background-color: #343434 !important;\n}\n.btn-dark:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #4b4b4b;\n}\n.btn-dark:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-dark {\n background-color: transparent;\n color: #4b4b4b;\n}\n.btn-flat-dark:hover {\n color: #4b4b4b;\n}\n.btn-flat-dark:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.12);\n}\n.btn-flat-dark:active, .btn-flat-dark.active, .btn-flat-dark:focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-flat-dark.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-dark {\n background-color: #4b4b4b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-dark:hover:not(.disabled):not(:disabled) {\n background-color: #626262;\n}\n.btn-relief-dark:active, .btn-relief-dark.active, .btn-relief-dark:focus {\n background-color: #343434;\n}\n.btn-relief-dark:hover {\n color: #fff;\n}\n.btn-relief-dark:active, .btn-relief-dark.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-dark {\n border: 1px solid #4b4b4b !important;\n background-color: transparent;\n color: #4b4b4b;\n}\n.btn-outline-dark:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.04);\n color: #4b4b4b;\n}\n.btn-outline-dark:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, .btn-outline-dark:not(:disabled):not(.disabled):focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-outline-dark.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-dark.dropdown-toggle {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-outline-dark.waves-effect .waves-ripple,\n.btn-flat-dark.waves-effect .waves-ripple {\n background: radial-gradient(rgba(75, 75, 75, 0.2) 0, rgba(75, 75, 75, 0.3) 40%, rgba(75, 75, 75, 0.4) 50%, rgba(75, 75, 75, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-dark {\n background-color: #4b4b4b;\n}\n.modal.modal-dark .modal-header .modal-title {\n color: #4b4b4b;\n}\n.modal.modal-dark .modal-header .close {\n color: #4b4b4b !important;\n}\n.progress-bar-dark {\n background-color: rgba(75, 75, 75, 0.12);\n}\n.progress-bar-dark .progress-bar {\n background-color: #4b4b4b;\n}\n.timeline .timeline-point-dark {\n border-color: #4b4b4b !important;\n}\n.timeline .timeline-point-dark i,\n.timeline .timeline-point-dark svg {\n stroke: #4b4b4b !important;\n}\n.timeline .timeline-point-dark.timeline-point-indicator {\n background-color: #4b4b4b !important;\n}\n.timeline .timeline-point-dark.timeline-point-indicator:before {\n background: rgba(75, 75, 75, 0.12) !important;\n}\n.divider.divider-dark .divider-text:before, .divider.divider-dark .divider-text:after {\n border-color: #4b4b4b !important;\n}\ninput:focus ~ .bg-dark {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #4b4b4b !important;\n}\n.custom-control-dark .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark .custom-control-input:active ~ .custom-control-label::before {\n border-color: #4b4b4b;\n background-color: #4b4b4b;\n}\n.custom-control-dark.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-dark.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-dark.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-dark.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(75, 75, 75, 0.4) !important;\n}\n.custom-control-dark .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(75, 75, 75, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-dark .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #4b4b4b !important;\n}\n.custom-switch-dark .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #4b4b4b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-dark .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #4b4b4b !important;\n border-color: #4b4b4b !important;\n}\n.text-dark.text-darken-1 {\n color: #343434 !important;\n}\n.bg-dark.bg-darken-1 {\n background-color: #343434 !important;\n}\n.border-dark.border-darken-1 {\n border: 1px solid #343434 !important;\n}\n.border-top-dark.border-top-darken-1 {\n border-top: 1px solid #343434 !important;\n}\n.border-bottom-dark.border-bottom-darken-1 {\n border-bottom: 1px solid #343434 !important;\n}\n.border-left-dark.border-left-darken-1 {\n border-left: 1px solid #343434 !important;\n}\n.border-right-dark.border-right-darken-1 {\n border-right: 1px solid #343434 !important;\n}\n.overlay-dark.overlay-darken-1 {\n background: #343434; /* The Fallback */\n background: rgba(52, 52, 52, 0.6);\n}\n.text-dark.text-darken-2 {\n color: #1e1e1e !important;\n}\n.bg-dark.bg-darken-2 {\n background-color: #1e1e1e !important;\n}\n.border-dark.border-darken-2 {\n border: 1px solid #1e1e1e !important;\n}\n.border-top-dark.border-top-darken-2 {\n border-top: 1px solid #1e1e1e !important;\n}\n.border-bottom-dark.border-bottom-darken-2 {\n border-bottom: 1px solid #1e1e1e !important;\n}\n.border-left-dark.border-left-darken-2 {\n border-left: 1px solid #1e1e1e !important;\n}\n.border-right-dark.border-right-darken-2 {\n border-right: 1px solid #1e1e1e !important;\n}\n.overlay-dark.overlay-darken-2 {\n background: #1e1e1e; /* The Fallback */\n background: rgba(30, 30, 30, 0.6);\n}\n.text-dark.text-darken-3 {\n color: #626262 !important;\n}\n.bg-dark.bg-darken-3 {\n background-color: #626262 !important;\n}\n.border-dark.border-darken-3 {\n border: 1px solid #626262 !important;\n}\n.border-top-dark.border-top-darken-3 {\n border-top: 1px solid #626262 !important;\n}\n.border-bottom-dark.border-bottom-darken-3 {\n border-bottom: 1px solid #626262 !important;\n}\n.border-left-dark.border-left-darken-3 {\n border-left: 1px solid #626262 !important;\n}\n.border-right-dark.border-right-darken-3 {\n border-right: 1px solid #626262 !important;\n}\n.overlay-dark.overlay-darken-3 {\n background: #626262; /* The Fallback */\n background: rgba(98, 98, 98, 0.6);\n}\n.bg-light {\n background-color: #f6f6f6 !important;\n}\n.bg-light .card-header,\n.bg-light .card-footer {\n background-color: transparent;\n}\n.border-light {\n border: 1px solid #f6f6f6 !important;\n}\n.border-top-light {\n border-top: 1px solid #f6f6f6;\n}\n.border-bottom-light {\n border-bottom: 1px solid #f6f6f6;\n}\n.border-left-light {\n border-left: 1px solid #f6f6f6;\n}\n.border-right-light {\n border-right: 1px solid #f6f6f6;\n}\n.bg-light.badge-glow,\n.border-light.badge-glow,\n.badge-light.badge-glow {\n box-shadow: 0px 0px 10px #f6f6f6;\n}\n.overlay-light {\n background: #f6f6f6; /* The Fallback */\n background: rgba(246, 246, 246, 0.6);\n}\ninput:focus ~ .bg-light {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #f6f6f6 !important;\n}\n.text-primary.text-lighten-5 {\n color: #dedbfb !important;\n}\n.bg-primary.bg-lighten-5 {\n background-color: #dedbfb !important;\n}\n.border-primary.border-lighten-5 {\n border: 1px solid #dedbfb !important;\n}\n.border-top-primary.border-top-lighten-5 {\n border-top: 1px solid #dedbfb !important;\n}\n.border-bottom-primary.border-bottom-lighten-5 {\n border-bottom: 1px solid #dedbfb !important;\n}\n.border-left-primary.border-left-lighten-5 {\n border-left: 1px solid #dedbfb !important;\n}\n.border-right-primary.border-right-lighten-5 {\n border-right: 1px solid #dedbfb !important;\n}\n.overlay-primary.overlay-lighten-5 {\n background: #dedbfb; /* The Fallback */\n background: rgba(222, 219, 251, 0.6);\n}\n.text-primary.text-lighten-4 {\n color: #c9c4f9 !important;\n}\n.bg-primary.bg-lighten-4 {\n background-color: #c9c4f9 !important;\n}\n.border-primary.border-lighten-4 {\n border: 1px solid #c9c4f9 !important;\n}\n.border-top-primary.border-top-lighten-4 {\n border-top: 1px solid #c9c4f9 !important;\n}\n.border-bottom-primary.border-bottom-lighten-4 {\n border-bottom: 1px solid #c9c4f9 !important;\n}\n.border-left-primary.border-left-lighten-4 {\n border-left: 1px solid #c9c4f9 !important;\n}\n.border-right-primary.border-right-lighten-4 {\n border-right: 1px solid #c9c4f9 !important;\n}\n.overlay-primary.overlay-lighten-4 {\n background: #c9c4f9; /* The Fallback */\n background: rgba(201, 196, 249, 0.6);\n}\n.text-primary.text-lighten-3 {\n color: #b3adf7 !important;\n}\n.bg-primary.bg-lighten-3 {\n background-color: #b3adf7 !important;\n}\n.border-primary.border-lighten-3 {\n border: 1px solid #b3adf7 !important;\n}\n.border-top-primary.border-top-lighten-3 {\n border-top: 1px solid #b3adf7 !important;\n}\n.border-bottom-primary.border-bottom-lighten-3 {\n border-bottom: 1px solid #b3adf7 !important;\n}\n.border-left-primary.border-left-lighten-3 {\n border-left: 1px solid #b3adf7 !important;\n}\n.border-right-primary.border-right-lighten-3 {\n border-right: 1px solid #b3adf7 !important;\n}\n.overlay-primary.overlay-lighten-3 {\n background: #b3adf7; /* The Fallback */\n background: rgba(179, 173, 247, 0.6);\n}\n.text-primary.text-lighten-2 {\n color: #9e95f5 !important;\n}\n.bg-primary.bg-lighten-2 {\n background-color: #9e95f5 !important;\n}\n.border-primary.border-lighten-2 {\n border: 1px solid #9e95f5 !important;\n}\n.border-top-primary.border-top-lighten-2 {\n border-top: 1px solid #9e95f5 !important;\n}\n.border-bottom-primary.border-bottom-lighten-2 {\n border-bottom: 1px solid #9e95f5 !important;\n}\n.border-left-primary.border-left-lighten-2 {\n border-left: 1px solid #9e95f5 !important;\n}\n.border-right-primary.border-right-lighten-2 {\n border-right: 1px solid #9e95f5 !important;\n}\n.overlay-primary.overlay-lighten-2 {\n background: #9e95f5; /* The Fallback */\n background: rgba(158, 149, 245, 0.6);\n}\n.text-primary.text-lighten-1 {\n color: #887ef2 !important;\n}\n.bg-primary.bg-lighten-1 {\n background-color: #887ef2 !important;\n}\n.border-primary.border-lighten-1 {\n border: 1px solid #887ef2 !important;\n}\n.border-top-primary.border-top-lighten-1 {\n border-top: 1px solid #887ef2 !important;\n}\n.border-bottom-primary.border-bottom-lighten-1 {\n border-bottom: 1px solid #887ef2 !important;\n}\n.border-left-primary.border-left-lighten-1 {\n border-left: 1px solid #887ef2 !important;\n}\n.border-right-primary.border-right-lighten-1 {\n border-right: 1px solid #887ef2 !important;\n}\n.overlay-primary.overlay-lighten-1 {\n background: #887ef2; /* The Fallback */\n background: rgba(136, 126, 242, 0.6);\n}\n.bg-primary {\n background-color: #7367f0 !important;\n}\n.bg-primary .card-header,\n.bg-primary .card-footer {\n background-color: transparent;\n}\n.alert-primary {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.alert-primary .alert-heading {\n box-shadow: rgba(115, 103, 240, 0.4) 0px 6px 15px -7px;\n}\n.alert-primary .alert-link {\n color: #5e50ee !important;\n}\n.alert-primary .close {\n color: #7367f0 !important;\n}\n.bg-light-primary {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.bg-light-primary.fc-h-event, .bg-light-primary.fc-v-event {\n border-color: rgba(115, 103, 240, 0.1);\n}\n.bg-light-primary .fc-list-event-dot,\n.bg-light-primary .fc-daygrid-event-dot {\n border-color: #7367f0 !important;\n}\n.bg-light-primary.fc-list-event:hover td {\n background: rgba(115, 103, 240, 0.1) !important;\n}\n.bg-light-primary.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-primary {\n color: #7367f0 !important;\n}\n.border-primary {\n border: 1px solid #7367f0 !important;\n}\n.border-top-primary {\n border-top: 1px solid #7367f0;\n}\n.border-bottom-primary {\n border-bottom: 1px solid #7367f0;\n}\n.border-left-primary {\n border-left: 1px solid #7367f0;\n}\n.border-right-primary {\n border-right: 1px solid #7367f0;\n}\n.bg-primary.badge-glow,\n.border-primary.badge-glow,\n.badge-primary.badge-glow {\n box-shadow: 0px 0px 10px #7367f0;\n}\n.badge.badge-light-primary {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}\n.overlay-primary {\n background: #7367f0; /* The Fallback */\n background: rgba(115, 103, 240, 0.6);\n}\n.btn-primary {\n border-color: #7367f0 !important;\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.btn-primary:focus, .btn-primary:active, .btn-primary.active {\n color: #fff;\n background-color: #5e50ee !important;\n}\n.btn-primary:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #7367f0;\n}\n.btn-primary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-primary {\n background-color: transparent;\n color: #7367f0;\n}\n.btn-flat-primary:hover {\n color: #7367f0;\n}\n.btn-flat-primary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.12);\n}\n.btn-flat-primary:active, .btn-flat-primary.active, .btn-flat-primary:focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-flat-primary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-primary {\n background-color: #7367f0;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-primary:hover:not(.disabled):not(:disabled) {\n background-color: #887ef2;\n}\n.btn-relief-primary:active, .btn-relief-primary.active, .btn-relief-primary:focus {\n background-color: #5e50ee;\n}\n.btn-relief-primary:hover {\n color: #fff;\n}\n.btn-relief-primary:active, .btn-relief-primary.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-primary {\n border: 1px solid #7367f0 !important;\n background-color: transparent;\n color: #7367f0;\n}\n.btn-outline-primary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.04);\n color: #7367f0;\n}\n.btn-outline-primary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-outline-primary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-primary.dropdown-toggle {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-outline-primary.waves-effect .waves-ripple,\n.btn-flat-primary.waves-effect .waves-ripple {\n background: radial-gradient(rgba(115, 103, 240, 0.2) 0, rgba(115, 103, 240, 0.3) 40%, rgba(115, 103, 240, 0.4) 50%, rgba(115, 103, 240, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-primary {\n background-color: #7367f0;\n}\n.modal.modal-primary .modal-header .modal-title {\n color: #7367f0;\n}\n.modal.modal-primary .modal-header .close {\n color: #7367f0 !important;\n}\n.pagination-primary .page-item.active .page-link {\n background: #7367f0 !important;\n color: #fff;\n}\n.pagination-primary .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-primary .page-item .page-link:hover {\n color: #7367f0;\n}\n.pagination-primary .page-item.prev-item .page-link:hover, .pagination-primary .page-item.next-item .page-link:hover {\n background: #7367f0;\n color: #fff;\n}\n.pagination-primary .page-item.next-item .page-link:active:after, .pagination-primary .page-item.next-item .page-link:hover:after, .pagination-primary .page-item.next .page-link:active:after, .pagination-primary .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-primary .page-item.prev-item .page-link:active:before, .pagination-primary .page-item.prev-item .page-link:hover:before, .pagination-primary .page-item.prev .page-link:active:before, .pagination-primary .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-primary .nav-item .nav-link.active {\n color: #fff;\n background-color: #7367f0 !important;\n border-color: #7367f0;\n box-shadow: 0 4px 18px -4px rgba(115, 103, 240, 0.65);\n}\n.progress-bar-primary {\n background-color: rgba(115, 103, 240, 0.12);\n}\n.progress-bar-primary .progress-bar {\n background-color: #7367f0;\n}\n.timeline .timeline-point-primary {\n border-color: #7367f0 !important;\n}\n.timeline .timeline-point-primary i,\n.timeline .timeline-point-primary svg {\n stroke: #7367f0 !important;\n}\n.timeline .timeline-point-primary.timeline-point-indicator {\n background-color: #7367f0 !important;\n}\n.timeline .timeline-point-primary.timeline-point-indicator:before {\n background: rgba(115, 103, 240, 0.12) !important;\n}\n.divider.divider-primary .divider-text:before, .divider.divider-primary .divider-text:after {\n border-color: #7367f0 !important;\n}\ninput:focus ~ .bg-primary {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #7367f0 !important;\n}\n.custom-control-primary .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary .custom-control-input:active ~ .custom-control-label::before {\n border-color: #7367f0;\n background-color: #7367f0;\n}\n.custom-control-primary.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-primary.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-primary.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-primary.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(115, 103, 240, 0.4) !important;\n}\n.custom-control-primary .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(115, 103, 240, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-primary .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #7367f0 !important;\n}\n.custom-switch-primary .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #7367f0 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-primary .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #7367f0 !important;\n border-color: #7367f0 !important;\n}\n.text-primary.text-darken-1 {\n color: #5e50ee !important;\n}\n.bg-primary.bg-darken-1 {\n background-color: #5e50ee !important;\n}\n.border-primary.border-darken-1 {\n border: 1px solid #5e50ee !important;\n}\n.border-top-primary.border-top-darken-1 {\n border-top: 1px solid #5e50ee !important;\n}\n.border-bottom-primary.border-bottom-darken-1 {\n border-bottom: 1px solid #5e50ee !important;\n}\n.border-left-primary.border-left-darken-1 {\n border-left: 1px solid #5e50ee !important;\n}\n.border-right-primary.border-right-darken-1 {\n border-right: 1px solid #5e50ee !important;\n}\n.overlay-primary.overlay-darken-1 {\n background: #5e50ee; /* The Fallback */\n background: rgba(94, 80, 238, 0.6);\n}\n.text-primary.text-darken-2 {\n color: #4839eb !important;\n}\n.bg-primary.bg-darken-2 {\n background-color: #4839eb !important;\n}\n.border-primary.border-darken-2 {\n border: 1px solid #4839eb !important;\n}\n.border-top-primary.border-top-darken-2 {\n border-top: 1px solid #4839eb !important;\n}\n.border-bottom-primary.border-bottom-darken-2 {\n border-bottom: 1px solid #4839eb !important;\n}\n.border-left-primary.border-left-darken-2 {\n border-left: 1px solid #4839eb !important;\n}\n.border-right-primary.border-right-darken-2 {\n border-right: 1px solid #4839eb !important;\n}\n.overlay-primary.overlay-darken-2 {\n background: #4839eb; /* The Fallback */\n background: rgba(72, 57, 235, 0.6);\n}\n.text-primary.text-darken-3 {\n color: #3321e9 !important;\n}\n.bg-primary.bg-darken-3 {\n background-color: #3321e9 !important;\n}\n.border-primary.border-darken-3 {\n border: 1px solid #3321e9 !important;\n}\n.border-top-primary.border-top-darken-3 {\n border-top: 1px solid #3321e9 !important;\n}\n.border-bottom-primary.border-bottom-darken-3 {\n border-bottom: 1px solid #3321e9 !important;\n}\n.border-left-primary.border-left-darken-3 {\n border-left: 1px solid #3321e9 !important;\n}\n.border-right-primary.border-right-darken-3 {\n border-right: 1px solid #3321e9 !important;\n}\n.overlay-primary.overlay-darken-3 {\n background: #3321e9; /* The Fallback */\n background: rgba(51, 33, 233, 0.6);\n}\n.text-primary.text-darken-4 {\n color: #2716db !important;\n}\n.bg-primary.bg-darken-4 {\n background-color: #2716db !important;\n}\n.border-primary.border-darken-4 {\n border: 1px solid #2716db !important;\n}\n.border-top-primary.border-top-darken-4 {\n border-top: 1px solid #2716db !important;\n}\n.border-bottom-primary.border-bottom-darken-4 {\n border-bottom: 1px solid #2716db !important;\n}\n.border-left-primary.border-left-darken-4 {\n border-left: 1px solid #2716db !important;\n}\n.border-right-primary.border-right-darken-4 {\n border-right: 1px solid #2716db !important;\n}\n.overlay-primary.overlay-darken-4 {\n background: #2716db; /* The Fallback */\n background: rgba(39, 22, 219, 0.6);\n}\n.text-primary.text-accent-1 {\n color: #bdfdff !important;\n}\n.bg-primary.bg-accent-1 {\n background-color: #bdfdff !important;\n}\n.border-primary.border-accent-1 {\n border: 1px solid #bdfdff !important;\n}\n.border-top-primary.border-top-accent-1 {\n border-top: 1px solid #bdfdff !important;\n}\n.border-bottom-primary.border-bottom-accent-1 {\n border-bottom: 1px solid #bdfdff !important;\n}\n.border-left-primary.border-left-accent-1 {\n border-left: 1px solid #bdfdff !important;\n}\n.border-right-primary.border-right-accent-1 {\n border-right: 1px solid #bdfdff !important;\n}\n.overlay-primary.overlay-accent-1 {\n background: #bdfdff; /* The Fallback */\n background: rgba(189, 253, 255, 0.6);\n}\n.text-primary.text-accent-2 {\n color: #8afbff !important;\n}\n.bg-primary.bg-accent-2 {\n background-color: #8afbff !important;\n}\n.border-primary.border-accent-2 {\n border: 1px solid #8afbff !important;\n}\n.border-top-primary.border-top-accent-2 {\n border-top: 1px solid #8afbff !important;\n}\n.border-bottom-primary.border-bottom-accent-2 {\n border-bottom: 1px solid #8afbff !important;\n}\n.border-left-primary.border-left-accent-2 {\n border-left: 1px solid #8afbff !important;\n}\n.border-right-primary.border-right-accent-2 {\n border-right: 1px solid #8afbff !important;\n}\n.overlay-primary.overlay-accent-2 {\n background: #8afbff; /* The Fallback */\n background: rgba(138, 251, 255, 0.6);\n}\n.text-primary.text-accent-3 {\n color: #57faff !important;\n}\n.bg-primary.bg-accent-3 {\n background-color: #57faff !important;\n}\n.border-primary.border-accent-3 {\n border: 1px solid #57faff !important;\n}\n.border-top-primary.border-top-accent-3 {\n border-top: 1px solid #57faff !important;\n}\n.border-bottom-primary.border-bottom-accent-3 {\n border-bottom: 1px solid #57faff !important;\n}\n.border-left-primary.border-left-accent-3 {\n border-left: 1px solid #57faff !important;\n}\n.border-right-primary.border-right-accent-3 {\n border-right: 1px solid #57faff !important;\n}\n.overlay-primary.overlay-accent-3 {\n background: #57faff; /* The Fallback */\n background: rgba(87, 250, 255, 0.6);\n}\n.text-primary.text-accent-4 {\n color: #3df9ff !important;\n}\n.bg-primary.bg-accent-4 {\n background-color: #3df9ff !important;\n}\n.border-primary.border-accent-4 {\n border: 1px solid #3df9ff !important;\n}\n.border-top-primary.border-top-accent-4 {\n border-top: 1px solid #3df9ff !important;\n}\n.border-bottom-primary.border-bottom-accent-4 {\n border-bottom: 1px solid #3df9ff !important;\n}\n.border-left-primary.border-left-accent-4 {\n border-left: 1px solid #3df9ff !important;\n}\n.border-right-primary.border-right-accent-4 {\n border-right: 1px solid #3df9ff !important;\n}\n.overlay-primary.overlay-accent-4 {\n background: #3df9ff; /* The Fallback */\n background: rgba(61, 249, 255, 0.6);\n}\n.text-secondary.text-lighten-5 {\n color: #c4c6c8 !important;\n}\n.bg-secondary.bg-lighten-5 {\n background-color: #c4c6c8 !important;\n}\n.border-secondary.border-lighten-5 {\n border: 1px solid #c4c6c8 !important;\n}\n.border-top-secondary.border-top-lighten-5 {\n border-top: 1px solid #c4c6c8 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-5 {\n border-bottom: 1px solid #c4c6c8 !important;\n}\n.border-left-secondary.border-left-lighten-5 {\n border-left: 1px solid #c4c6c8 !important;\n}\n.border-right-secondary.border-right-lighten-5 {\n border-right: 1px solid #c4c6c8 !important;\n}\n.overlay-secondary.overlay-lighten-5 {\n background: #c4c6c8; /* The Fallback */\n background: rgba(196, 198, 200, 0.6);\n}\n.text-secondary.text-lighten-4 {\n color: #b7b9bc !important;\n}\n.bg-secondary.bg-lighten-4 {\n background-color: #b7b9bc !important;\n}\n.border-secondary.border-lighten-4 {\n border: 1px solid #b7b9bc !important;\n}\n.border-top-secondary.border-top-lighten-4 {\n border-top: 1px solid #b7b9bc !important;\n}\n.border-bottom-secondary.border-bottom-lighten-4 {\n border-bottom: 1px solid #b7b9bc !important;\n}\n.border-left-secondary.border-left-lighten-4 {\n border-left: 1px solid #b7b9bc !important;\n}\n.border-right-secondary.border-right-lighten-4 {\n border-right: 1px solid #b7b9bc !important;\n}\n.overlay-secondary.overlay-lighten-4 {\n background: #b7b9bc; /* The Fallback */\n background: rgba(183, 185, 188, 0.6);\n}\n.text-secondary.text-lighten-3 {\n color: #aaacb0 !important;\n}\n.bg-secondary.bg-lighten-3 {\n background-color: #aaacb0 !important;\n}\n.border-secondary.border-lighten-3 {\n border: 1px solid #aaacb0 !important;\n}\n.border-top-secondary.border-top-lighten-3 {\n border-top: 1px solid #aaacb0 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-3 {\n border-bottom: 1px solid #aaacb0 !important;\n}\n.border-left-secondary.border-left-lighten-3 {\n border-left: 1px solid #aaacb0 !important;\n}\n.border-right-secondary.border-right-lighten-3 {\n border-right: 1px solid #aaacb0 !important;\n}\n.overlay-secondary.overlay-lighten-3 {\n background: #aaacb0; /* The Fallback */\n background: rgba(170, 172, 176, 0.6);\n}\n.text-secondary.text-lighten-2 {\n color: #9ca0a4 !important;\n}\n.bg-secondary.bg-lighten-2 {\n background-color: #9ca0a4 !important;\n}\n.border-secondary.border-lighten-2 {\n border: 1px solid #9ca0a4 !important;\n}\n.border-top-secondary.border-top-lighten-2 {\n border-top: 1px solid #9ca0a4 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-2 {\n border-bottom: 1px solid #9ca0a4 !important;\n}\n.border-left-secondary.border-left-lighten-2 {\n border-left: 1px solid #9ca0a4 !important;\n}\n.border-right-secondary.border-right-lighten-2 {\n border-right: 1px solid #9ca0a4 !important;\n}\n.overlay-secondary.overlay-lighten-2 {\n background: #9ca0a4; /* The Fallback */\n background: rgba(156, 160, 164, 0.6);\n}\n.text-secondary.text-lighten-1 {\n color: #8f9397 !important;\n}\n.bg-secondary.bg-lighten-1 {\n background-color: #8f9397 !important;\n}\n.border-secondary.border-lighten-1 {\n border: 1px solid #8f9397 !important;\n}\n.border-top-secondary.border-top-lighten-1 {\n border-top: 1px solid #8f9397 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-1 {\n border-bottom: 1px solid #8f9397 !important;\n}\n.border-left-secondary.border-left-lighten-1 {\n border-left: 1px solid #8f9397 !important;\n}\n.border-right-secondary.border-right-lighten-1 {\n border-right: 1px solid #8f9397 !important;\n}\n.overlay-secondary.overlay-lighten-1 {\n background: #8f9397; /* The Fallback */\n background: rgba(143, 147, 151, 0.6);\n}\n.bg-secondary {\n background-color: #82868b !important;\n}\n.bg-secondary .card-header,\n.bg-secondary .card-footer {\n background-color: transparent;\n}\n.alert-secondary {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}\n.alert-secondary .alert-heading {\n box-shadow: rgba(130, 134, 139, 0.4) 0px 6px 15px -7px;\n}\n.alert-secondary .alert-link {\n color: #75797e !important;\n}\n.alert-secondary .close {\n color: #82868b !important;\n}\n.bg-light-secondary {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}\n.bg-light-secondary.fc-h-event, .bg-light-secondary.fc-v-event {\n border-color: rgba(130, 134, 139, 0.1);\n}\n.bg-light-secondary .fc-list-event-dot,\n.bg-light-secondary .fc-daygrid-event-dot {\n border-color: #82868b !important;\n}\n.bg-light-secondary.fc-list-event:hover td {\n background: rgba(130, 134, 139, 0.1) !important;\n}\n.bg-light-secondary.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-secondary {\n color: #82868b !important;\n}\n.border-secondary {\n border: 1px solid #82868b !important;\n}\n.border-top-secondary {\n border-top: 1px solid #82868b;\n}\n.border-bottom-secondary {\n border-bottom: 1px solid #82868b;\n}\n.border-left-secondary {\n border-left: 1px solid #82868b;\n}\n.border-right-secondary {\n border-right: 1px solid #82868b;\n}\n.bg-secondary.badge-glow,\n.border-secondary.badge-glow,\n.badge-secondary.badge-glow {\n box-shadow: 0px 0px 10px #82868b;\n}\n.badge.badge-light-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n color: #82868b !important;\n}\n.overlay-secondary {\n background: #82868b; /* The Fallback */\n background: rgba(130, 134, 139, 0.6);\n}\n.btn-secondary {\n border-color: #82868b !important;\n background-color: #82868b !important;\n color: #fff !important;\n}\n.btn-secondary:focus, .btn-secondary:active, .btn-secondary.active {\n color: #fff;\n background-color: #75797e !important;\n}\n.btn-secondary:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #82868b;\n}\n.btn-secondary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-secondary {\n background-color: transparent;\n color: #82868b;\n}\n.btn-flat-secondary:hover {\n color: #82868b;\n}\n.btn-flat-secondary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.12);\n}\n.btn-flat-secondary:active, .btn-flat-secondary.active, .btn-flat-secondary:focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-flat-secondary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-secondary {\n background-color: #82868b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-secondary:hover:not(.disabled):not(:disabled) {\n background-color: #8f9397;\n}\n.btn-relief-secondary:active, .btn-relief-secondary.active, .btn-relief-secondary:focus {\n background-color: #75797e;\n}\n.btn-relief-secondary:hover {\n color: #fff;\n}\n.btn-relief-secondary:active, .btn-relief-secondary.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-secondary {\n border: 1px solid #82868b !important;\n background-color: transparent;\n color: #82868b;\n}\n.btn-outline-secondary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.04);\n color: #82868b;\n}\n.btn-outline-secondary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-outline-secondary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-secondary.dropdown-toggle {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-outline-secondary.waves-effect .waves-ripple,\n.btn-flat-secondary.waves-effect .waves-ripple {\n background: radial-gradient(rgba(130, 134, 139, 0.2) 0, rgba(130, 134, 139, 0.3) 40%, rgba(130, 134, 139, 0.4) 50%, rgba(130, 134, 139, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-secondary {\n background-color: #82868b;\n}\n.modal.modal-secondary .modal-header .modal-title {\n color: #82868b;\n}\n.modal.modal-secondary .modal-header .close {\n color: #82868b !important;\n}\n.pagination-secondary .page-item.active .page-link {\n background: #82868b !important;\n color: #fff;\n}\n.pagination-secondary .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-secondary .page-item .page-link:hover {\n color: #82868b;\n}\n.pagination-secondary .page-item.prev-item .page-link:hover, .pagination-secondary .page-item.next-item .page-link:hover {\n background: #82868b;\n color: #fff;\n}\n.pagination-secondary .page-item.next-item .page-link:active:after, .pagination-secondary .page-item.next-item .page-link:hover:after, .pagination-secondary .page-item.next .page-link:active:after, .pagination-secondary .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-secondary .page-item.prev-item .page-link:active:before, .pagination-secondary .page-item.prev-item .page-link:hover:before, .pagination-secondary .page-item.prev .page-link:active:before, .pagination-secondary .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-secondary .nav-item .nav-link.active {\n color: #fff;\n background-color: #82868b !important;\n border-color: #82868b;\n box-shadow: 0 4px 18px -4px rgba(130, 134, 139, 0.65);\n}\n.progress-bar-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n}\n.progress-bar-secondary .progress-bar {\n background-color: #82868b;\n}\n.timeline .timeline-point-secondary {\n border-color: #82868b !important;\n}\n.timeline .timeline-point-secondary i,\n.timeline .timeline-point-secondary svg {\n stroke: #82868b !important;\n}\n.timeline .timeline-point-secondary.timeline-point-indicator {\n background-color: #82868b !important;\n}\n.timeline .timeline-point-secondary.timeline-point-indicator:before {\n background: rgba(130, 134, 139, 0.12) !important;\n}\n.divider.divider-secondary .divider-text:before, .divider.divider-secondary .divider-text:after {\n border-color: #82868b !important;\n}\ninput:focus ~ .bg-secondary {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #82868b !important;\n}\n.custom-control-secondary .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary .custom-control-input:active ~ .custom-control-label::before {\n border-color: #82868b;\n background-color: #82868b;\n}\n.custom-control-secondary.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-secondary.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-secondary.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-secondary.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(130, 134, 139, 0.4) !important;\n}\n.custom-control-secondary .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(130, 134, 139, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-secondary .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #82868b !important;\n}\n.custom-switch-secondary .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #82868b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-secondary .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #82868b !important;\n border-color: #82868b !important;\n}\n.text-secondary.text-darken-1 {\n color: #75797e !important;\n}\n.bg-secondary.bg-darken-1 {\n background-color: #75797e !important;\n}\n.border-secondary.border-darken-1 {\n border: 1px solid #75797e !important;\n}\n.border-top-secondary.border-top-darken-1 {\n border-top: 1px solid #75797e !important;\n}\n.border-bottom-secondary.border-bottom-darken-1 {\n border-bottom: 1px solid #75797e !important;\n}\n.border-left-secondary.border-left-darken-1 {\n border-left: 1px solid #75797e !important;\n}\n.border-right-secondary.border-right-darken-1 {\n border-right: 1px solid #75797e !important;\n}\n.overlay-secondary.overlay-darken-1 {\n background: #75797e; /* The Fallback */\n background: rgba(117, 121, 126, 0.6);\n}\n.text-secondary.text-darken-2 {\n color: #696d71 !important;\n}\n.bg-secondary.bg-darken-2 {\n background-color: #696d71 !important;\n}\n.border-secondary.border-darken-2 {\n border: 1px solid #696d71 !important;\n}\n.border-top-secondary.border-top-darken-2 {\n border-top: 1px solid #696d71 !important;\n}\n.border-bottom-secondary.border-bottom-darken-2 {\n border-bottom: 1px solid #696d71 !important;\n}\n.border-left-secondary.border-left-darken-2 {\n border-left: 1px solid #696d71 !important;\n}\n.border-right-secondary.border-right-darken-2 {\n border-right: 1px solid #696d71 !important;\n}\n.overlay-secondary.overlay-darken-2 {\n background: #696d71; /* The Fallback */\n background: rgba(105, 109, 113, 0.6);\n}\n.text-secondary.text-darken-3 {\n color: #5d6064 !important;\n}\n.bg-secondary.bg-darken-3 {\n background-color: #5d6064 !important;\n}\n.border-secondary.border-darken-3 {\n border: 1px solid #5d6064 !important;\n}\n.border-top-secondary.border-top-darken-3 {\n border-top: 1px solid #5d6064 !important;\n}\n.border-bottom-secondary.border-bottom-darken-3 {\n border-bottom: 1px solid #5d6064 !important;\n}\n.border-left-secondary.border-left-darken-3 {\n border-left: 1px solid #5d6064 !important;\n}\n.border-right-secondary.border-right-darken-3 {\n border-right: 1px solid #5d6064 !important;\n}\n.overlay-secondary.overlay-darken-3 {\n background: #5d6064; /* The Fallback */\n background: rgba(93, 96, 100, 0.6);\n}\n.text-secondary.text-darken-4 {\n color: #505357 !important;\n}\n.bg-secondary.bg-darken-4 {\n background-color: #505357 !important;\n}\n.border-secondary.border-darken-4 {\n border: 1px solid #505357 !important;\n}\n.border-top-secondary.border-top-darken-4 {\n border-top: 1px solid #505357 !important;\n}\n.border-bottom-secondary.border-bottom-darken-4 {\n border-bottom: 1px solid #505357 !important;\n}\n.border-left-secondary.border-left-darken-4 {\n border-left: 1px solid #505357 !important;\n}\n.border-right-secondary.border-right-darken-4 {\n border-right: 1px solid #505357 !important;\n}\n.overlay-secondary.overlay-darken-4 {\n background: #505357; /* The Fallback */\n background: rgba(80, 83, 87, 0.6);\n}\n.text-success.text-lighten-5 {\n color: #88e7b2 !important;\n}\n.bg-success.bg-lighten-5 {\n background-color: #88e7b2 !important;\n}\n.border-success.border-lighten-5 {\n border: 1px solid #88e7b2 !important;\n}\n.border-top-success.border-top-lighten-5 {\n border-top: 1px solid #88e7b2 !important;\n}\n.border-bottom-success.border-bottom-lighten-5 {\n border-bottom: 1px solid #88e7b2 !important;\n}\n.border-left-success.border-left-lighten-5 {\n border-left: 1px solid #88e7b2 !important;\n}\n.border-right-success.border-right-lighten-5 {\n border-right: 1px solid #88e7b2 !important;\n}\n.overlay-success.overlay-lighten-5 {\n background: #88e7b2; /* The Fallback */\n background: rgba(136, 231, 178, 0.6);\n}\n.text-success.text-lighten-4 {\n color: #72e3a4 !important;\n}\n.bg-success.bg-lighten-4 {\n background-color: #72e3a4 !important;\n}\n.border-success.border-lighten-4 {\n border: 1px solid #72e3a4 !important;\n}\n.border-top-success.border-top-lighten-4 {\n border-top: 1px solid #72e3a4 !important;\n}\n.border-bottom-success.border-bottom-lighten-4 {\n border-bottom: 1px solid #72e3a4 !important;\n}\n.border-left-success.border-left-lighten-4 {\n border-left: 1px solid #72e3a4 !important;\n}\n.border-right-success.border-right-lighten-4 {\n border-right: 1px solid #72e3a4 !important;\n}\n.overlay-success.overlay-lighten-4 {\n background: #72e3a4; /* The Fallback */\n background: rgba(114, 227, 164, 0.6);\n}\n.text-success.text-lighten-3 {\n color: #5dde97 !important;\n}\n.bg-success.bg-lighten-3 {\n background-color: #5dde97 !important;\n}\n.border-success.border-lighten-3 {\n border: 1px solid #5dde97 !important;\n}\n.border-top-success.border-top-lighten-3 {\n border-top: 1px solid #5dde97 !important;\n}\n.border-bottom-success.border-bottom-lighten-3 {\n border-bottom: 1px solid #5dde97 !important;\n}\n.border-left-success.border-left-lighten-3 {\n border-left: 1px solid #5dde97 !important;\n}\n.border-right-success.border-right-lighten-3 {\n border-right: 1px solid #5dde97 !important;\n}\n.overlay-success.overlay-lighten-3 {\n background: #5dde97; /* The Fallback */\n background: rgba(93, 222, 151, 0.6);\n}\n.text-success.text-lighten-2 {\n color: #48da89 !important;\n}\n.bg-success.bg-lighten-2 {\n background-color: #48da89 !important;\n}\n.border-success.border-lighten-2 {\n border: 1px solid #48da89 !important;\n}\n.border-top-success.border-top-lighten-2 {\n border-top: 1px solid #48da89 !important;\n}\n.border-bottom-success.border-bottom-lighten-2 {\n border-bottom: 1px solid #48da89 !important;\n}\n.border-left-success.border-left-lighten-2 {\n border-left: 1px solid #48da89 !important;\n}\n.border-right-success.border-right-lighten-2 {\n border-right: 1px solid #48da89 !important;\n}\n.overlay-success.overlay-lighten-2 {\n background: #48da89; /* The Fallback */\n background: rgba(72, 218, 137, 0.6);\n}\n.text-success.text-lighten-1 {\n color: #33d67c !important;\n}\n.bg-success.bg-lighten-1 {\n background-color: #33d67c !important;\n}\n.border-success.border-lighten-1 {\n border: 1px solid #33d67c !important;\n}\n.border-top-success.border-top-lighten-1 {\n border-top: 1px solid #33d67c !important;\n}\n.border-bottom-success.border-bottom-lighten-1 {\n border-bottom: 1px solid #33d67c !important;\n}\n.border-left-success.border-left-lighten-1 {\n border-left: 1px solid #33d67c !important;\n}\n.border-right-success.border-right-lighten-1 {\n border-right: 1px solid #33d67c !important;\n}\n.overlay-success.overlay-lighten-1 {\n background: #33d67c; /* The Fallback */\n background: rgba(51, 214, 124, 0.6);\n}\n.bg-success {\n background-color: #28c76f !important;\n}\n.bg-success .card-header,\n.bg-success .card-footer {\n background-color: transparent;\n}\n.alert-success {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}\n.alert-success .alert-heading {\n box-shadow: rgba(40, 199, 111, 0.4) 0px 6px 15px -7px;\n}\n.alert-success .alert-link {\n color: #24b263 !important;\n}\n.alert-success .close {\n color: #28c76f !important;\n}\n.bg-light-success {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}\n.bg-light-success.fc-h-event, .bg-light-success.fc-v-event {\n border-color: rgba(40, 199, 111, 0.1);\n}\n.bg-light-success .fc-list-event-dot,\n.bg-light-success .fc-daygrid-event-dot {\n border-color: #28c76f !important;\n}\n.bg-light-success.fc-list-event:hover td {\n background: rgba(40, 199, 111, 0.1) !important;\n}\n.bg-light-success.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-success {\n color: #28c76f !important;\n}\n.border-success {\n border: 1px solid #28c76f !important;\n}\n.border-top-success {\n border-top: 1px solid #28c76f;\n}\n.border-bottom-success {\n border-bottom: 1px solid #28c76f;\n}\n.border-left-success {\n border-left: 1px solid #28c76f;\n}\n.border-right-success {\n border-right: 1px solid #28c76f;\n}\n.bg-success.badge-glow,\n.border-success.badge-glow,\n.badge-success.badge-glow {\n box-shadow: 0px 0px 10px #28c76f;\n}\n.badge.badge-light-success {\n background-color: rgba(40, 199, 111, 0.12);\n color: #28c76f !important;\n}\n.overlay-success {\n background: #28c76f; /* The Fallback */\n background: rgba(40, 199, 111, 0.6);\n}\n.btn-success {\n border-color: #28c76f !important;\n background-color: #28c76f !important;\n color: #fff !important;\n}\n.btn-success:focus, .btn-success:active, .btn-success.active {\n color: #fff;\n background-color: #24b263 !important;\n}\n.btn-success:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #28c76f;\n}\n.btn-success:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-success {\n background-color: transparent;\n color: #28c76f;\n}\n.btn-flat-success:hover {\n color: #28c76f;\n}\n.btn-flat-success:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.12);\n}\n.btn-flat-success:active, .btn-flat-success.active, .btn-flat-success:focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-flat-success.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-success {\n background-color: #28c76f;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-success:hover:not(.disabled):not(:disabled) {\n background-color: #33d67c;\n}\n.btn-relief-success:active, .btn-relief-success.active, .btn-relief-success:focus {\n background-color: #24b263;\n}\n.btn-relief-success:hover {\n color: #fff;\n}\n.btn-relief-success:active, .btn-relief-success.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-success {\n border: 1px solid #28c76f !important;\n background-color: transparent;\n color: #28c76f;\n}\n.btn-outline-success:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.04);\n color: #28c76f;\n}\n.btn-outline-success:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .btn-outline-success:not(:disabled):not(.disabled):focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-outline-success.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-success.dropdown-toggle {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-outline-success.waves-effect .waves-ripple,\n.btn-flat-success.waves-effect .waves-ripple {\n background: radial-gradient(rgba(40, 199, 111, 0.2) 0, rgba(40, 199, 111, 0.3) 40%, rgba(40, 199, 111, 0.4) 50%, rgba(40, 199, 111, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-success {\n background-color: #28c76f;\n}\n.modal.modal-success .modal-header .modal-title {\n color: #28c76f;\n}\n.modal.modal-success .modal-header .close {\n color: #28c76f !important;\n}\n.pagination-success .page-item.active .page-link {\n background: #28c76f !important;\n color: #fff;\n}\n.pagination-success .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-success .page-item .page-link:hover {\n color: #28c76f;\n}\n.pagination-success .page-item.prev-item .page-link:hover, .pagination-success .page-item.next-item .page-link:hover {\n background: #28c76f;\n color: #fff;\n}\n.pagination-success .page-item.next-item .page-link:active:after, .pagination-success .page-item.next-item .page-link:hover:after, .pagination-success .page-item.next .page-link:active:after, .pagination-success .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-success .page-item.prev-item .page-link:active:before, .pagination-success .page-item.prev-item .page-link:hover:before, .pagination-success .page-item.prev .page-link:active:before, .pagination-success .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-success .nav-item .nav-link.active {\n color: #fff;\n background-color: #28c76f !important;\n border-color: #28c76f;\n box-shadow: 0 4px 18px -4px rgba(40, 199, 111, 0.65);\n}\n.progress-bar-success {\n background-color: rgba(40, 199, 111, 0.12);\n}\n.progress-bar-success .progress-bar {\n background-color: #28c76f;\n}\n.timeline .timeline-point-success {\n border-color: #28c76f !important;\n}\n.timeline .timeline-point-success i,\n.timeline .timeline-point-success svg {\n stroke: #28c76f !important;\n}\n.timeline .timeline-point-success.timeline-point-indicator {\n background-color: #28c76f !important;\n}\n.timeline .timeline-point-success.timeline-point-indicator:before {\n background: rgba(40, 199, 111, 0.12) !important;\n}\n.divider.divider-success .divider-text:before, .divider.divider-success .divider-text:after {\n border-color: #28c76f !important;\n}\ninput:focus ~ .bg-success {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #28c76f !important;\n}\n.custom-control-success .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success .custom-control-input:active ~ .custom-control-label::before {\n border-color: #28c76f;\n background-color: #28c76f;\n}\n.custom-control-success.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-success.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-success.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-success.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(40, 199, 111, 0.4) !important;\n}\n.custom-control-success .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(40, 199, 111, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-success .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #28c76f !important;\n}\n.custom-switch-success .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #28c76f !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-success .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #28c76f !important;\n border-color: #28c76f !important;\n}\n.text-success.text-darken-1 {\n color: #24b263 !important;\n}\n.bg-success.bg-darken-1 {\n background-color: #24b263 !important;\n}\n.border-success.border-darken-1 {\n border: 1px solid #24b263 !important;\n}\n.border-top-success.border-top-darken-1 {\n border-top: 1px solid #24b263 !important;\n}\n.border-bottom-success.border-bottom-darken-1 {\n border-bottom: 1px solid #24b263 !important;\n}\n.border-left-success.border-left-darken-1 {\n border-left: 1px solid #24b263 !important;\n}\n.border-right-success.border-right-darken-1 {\n border-right: 1px solid #24b263 !important;\n}\n.overlay-success.overlay-darken-1 {\n background: #24b263; /* The Fallback */\n background: rgba(36, 178, 99, 0.6);\n}\n.text-success.text-darken-2 {\n color: #1f9d57 !important;\n}\n.bg-success.bg-darken-2 {\n background-color: #1f9d57 !important;\n}\n.border-success.border-darken-2 {\n border: 1px solid #1f9d57 !important;\n}\n.border-top-success.border-top-darken-2 {\n border-top: 1px solid #1f9d57 !important;\n}\n.border-bottom-success.border-bottom-darken-2 {\n border-bottom: 1px solid #1f9d57 !important;\n}\n.border-left-success.border-left-darken-2 {\n border-left: 1px solid #1f9d57 !important;\n}\n.border-right-success.border-right-darken-2 {\n border-right: 1px solid #1f9d57 !important;\n}\n.overlay-success.overlay-darken-2 {\n background: #1f9d57; /* The Fallback */\n background: rgba(31, 157, 87, 0.6);\n}\n.text-success.text-darken-3 {\n color: #1b874b !important;\n}\n.bg-success.bg-darken-3 {\n background-color: #1b874b !important;\n}\n.border-success.border-darken-3 {\n border: 1px solid #1b874b !important;\n}\n.border-top-success.border-top-darken-3 {\n border-top: 1px solid #1b874b !important;\n}\n.border-bottom-success.border-bottom-darken-3 {\n border-bottom: 1px solid #1b874b !important;\n}\n.border-left-success.border-left-darken-3 {\n border-left: 1px solid #1b874b !important;\n}\n.border-right-success.border-right-darken-3 {\n border-right: 1px solid #1b874b !important;\n}\n.overlay-success.overlay-darken-3 {\n background: #1b874b; /* The Fallback */\n background: rgba(27, 135, 75, 0.6);\n}\n.text-success.text-darken-4 {\n color: #177240 !important;\n}\n.bg-success.bg-darken-4 {\n background-color: #177240 !important;\n}\n.border-success.border-darken-4 {\n border: 1px solid #177240 !important;\n}\n.border-top-success.border-top-darken-4 {\n border-top: 1px solid #177240 !important;\n}\n.border-bottom-success.border-bottom-darken-4 {\n border-bottom: 1px solid #177240 !important;\n}\n.border-left-success.border-left-darken-4 {\n border-left: 1px solid #177240 !important;\n}\n.border-right-success.border-right-darken-4 {\n border-right: 1px solid #177240 !important;\n}\n.overlay-success.overlay-darken-4 {\n background: #177240; /* The Fallback */\n background: rgba(23, 114, 64, 0.6);\n}\n.text-success.text-accent-1 {\n color: #e1fff1 !important;\n}\n.bg-success.bg-accent-1 {\n background-color: #e1fff1 !important;\n}\n.border-success.border-accent-1 {\n border: 1px solid #e1fff1 !important;\n}\n.border-top-success.border-top-accent-1 {\n border-top: 1px solid #e1fff1 !important;\n}\n.border-bottom-success.border-bottom-accent-1 {\n border-bottom: 1px solid #e1fff1 !important;\n}\n.border-left-success.border-left-accent-1 {\n border-left: 1px solid #e1fff1 !important;\n}\n.border-right-success.border-right-accent-1 {\n border-right: 1px solid #e1fff1 !important;\n}\n.overlay-success.overlay-accent-1 {\n background: #e1fff1; /* The Fallback */\n background: rgba(225, 255, 241, 0.6);\n}\n.text-success.text-accent-2 {\n color: #aeffd9 !important;\n}\n.bg-success.bg-accent-2 {\n background-color: #aeffd9 !important;\n}\n.border-success.border-accent-2 {\n border: 1px solid #aeffd9 !important;\n}\n.border-top-success.border-top-accent-2 {\n border-top: 1px solid #aeffd9 !important;\n}\n.border-bottom-success.border-bottom-accent-2 {\n border-bottom: 1px solid #aeffd9 !important;\n}\n.border-left-success.border-left-accent-2 {\n border-left: 1px solid #aeffd9 !important;\n}\n.border-right-success.border-right-accent-2 {\n border-right: 1px solid #aeffd9 !important;\n}\n.overlay-success.overlay-accent-2 {\n background: #aeffd9; /* The Fallback */\n background: rgba(174, 255, 217, 0.6);\n}\n.text-success.text-accent-3 {\n color: #7bffc1 !important;\n}\n.bg-success.bg-accent-3 {\n background-color: #7bffc1 !important;\n}\n.border-success.border-accent-3 {\n border: 1px solid #7bffc1 !important;\n}\n.border-top-success.border-top-accent-3 {\n border-top: 1px solid #7bffc1 !important;\n}\n.border-bottom-success.border-bottom-accent-3 {\n border-bottom: 1px solid #7bffc1 !important;\n}\n.border-left-success.border-left-accent-3 {\n border-left: 1px solid #7bffc1 !important;\n}\n.border-right-success.border-right-accent-3 {\n border-right: 1px solid #7bffc1 !important;\n}\n.overlay-success.overlay-accent-3 {\n background: #7bffc1; /* The Fallback */\n background: rgba(123, 255, 193, 0.6);\n}\n.text-success.text-accent-4 {\n color: #62ffb5 !important;\n}\n.bg-success.bg-accent-4 {\n background-color: #62ffb5 !important;\n}\n.border-success.border-accent-4 {\n border: 1px solid #62ffb5 !important;\n}\n.border-top-success.border-top-accent-4 {\n border-top: 1px solid #62ffb5 !important;\n}\n.border-bottom-success.border-bottom-accent-4 {\n border-bottom: 1px solid #62ffb5 !important;\n}\n.border-left-success.border-left-accent-4 {\n border-left: 1px solid #62ffb5 !important;\n}\n.border-right-success.border-right-accent-4 {\n border-right: 1px solid #62ffb5 !important;\n}\n.overlay-success.overlay-accent-4 {\n background: #62ffb5; /* The Fallback */\n background: rgba(98, 255, 181, 0.6);\n}\n.text-info.text-lighten-5 {\n color: #69efff !important;\n}\n.bg-info.bg-lighten-5 {\n background-color: #69efff !important;\n}\n.border-info.border-lighten-5 {\n border: 1px solid #69efff !important;\n}\n.border-top-info.border-top-lighten-5 {\n border-top: 1px solid #69efff !important;\n}\n.border-bottom-info.border-bottom-lighten-5 {\n border-bottom: 1px solid #69efff !important;\n}\n.border-left-info.border-left-lighten-5 {\n border-left: 1px solid #69efff !important;\n}\n.border-right-info.border-right-lighten-5 {\n border-right: 1px solid #69efff !important;\n}\n.overlay-info.overlay-lighten-5 {\n background: #69efff; /* The Fallback */\n background: rgba(105, 239, 255, 0.6);\n}\n.text-info.text-lighten-4 {\n color: #4fecff !important;\n}\n.bg-info.bg-lighten-4 {\n background-color: #4fecff !important;\n}\n.border-info.border-lighten-4 {\n border: 1px solid #4fecff !important;\n}\n.border-top-info.border-top-lighten-4 {\n border-top: 1px solid #4fecff !important;\n}\n.border-bottom-info.border-bottom-lighten-4 {\n border-bottom: 1px solid #4fecff !important;\n}\n.border-left-info.border-left-lighten-4 {\n border-left: 1px solid #4fecff !important;\n}\n.border-right-info.border-right-lighten-4 {\n border-right: 1px solid #4fecff !important;\n}\n.overlay-info.overlay-lighten-4 {\n background: #4fecff; /* The Fallback */\n background: rgba(79, 236, 255, 0.6);\n}\n.text-info.text-lighten-3 {\n color: #36e9ff !important;\n}\n.bg-info.bg-lighten-3 {\n background-color: #36e9ff !important;\n}\n.border-info.border-lighten-3 {\n border: 1px solid #36e9ff !important;\n}\n.border-top-info.border-top-lighten-3 {\n border-top: 1px solid #36e9ff !important;\n}\n.border-bottom-info.border-bottom-lighten-3 {\n border-bottom: 1px solid #36e9ff !important;\n}\n.border-left-info.border-left-lighten-3 {\n border-left: 1px solid #36e9ff !important;\n}\n.border-right-info.border-right-lighten-3 {\n border-right: 1px solid #36e9ff !important;\n}\n.overlay-info.overlay-lighten-3 {\n background: #36e9ff; /* The Fallback */\n background: rgba(54, 233, 255, 0.6);\n}\n.text-info.text-lighten-2 {\n color: #1ce7ff !important;\n}\n.bg-info.bg-lighten-2 {\n background-color: #1ce7ff !important;\n}\n.border-info.border-lighten-2 {\n border: 1px solid #1ce7ff !important;\n}\n.border-top-info.border-top-lighten-2 {\n border-top: 1px solid #1ce7ff !important;\n}\n.border-bottom-info.border-bottom-lighten-2 {\n border-bottom: 1px solid #1ce7ff !important;\n}\n.border-left-info.border-left-lighten-2 {\n border-left: 1px solid #1ce7ff !important;\n}\n.border-right-info.border-right-lighten-2 {\n border-right: 1px solid #1ce7ff !important;\n}\n.overlay-info.overlay-lighten-2 {\n background: #1ce7ff; /* The Fallback */\n background: rgba(28, 231, 255, 0.6);\n}\n.text-info.text-lighten-1 {\n color: #03e4ff !important;\n}\n.bg-info.bg-lighten-1 {\n background-color: #03e4ff !important;\n}\n.border-info.border-lighten-1 {\n border: 1px solid #03e4ff !important;\n}\n.border-top-info.border-top-lighten-1 {\n border-top: 1px solid #03e4ff !important;\n}\n.border-bottom-info.border-bottom-lighten-1 {\n border-bottom: 1px solid #03e4ff !important;\n}\n.border-left-info.border-left-lighten-1 {\n border-left: 1px solid #03e4ff !important;\n}\n.border-right-info.border-right-lighten-1 {\n border-right: 1px solid #03e4ff !important;\n}\n.overlay-info.overlay-lighten-1 {\n background: #03e4ff; /* The Fallback */\n background: rgba(3, 228, 255, 0.6);\n}\n.bg-info {\n background-color: #00cfe8 !important;\n}\n.bg-info .card-header,\n.bg-info .card-footer {\n background-color: transparent;\n}\n.alert-info {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}\n.alert-info .alert-heading {\n box-shadow: rgba(0, 207, 232, 0.4) 0px 6px 15px -7px;\n}\n.alert-info .alert-link {\n color: #00b8cf !important;\n}\n.alert-info .close {\n color: #00cfe8 !important;\n}\n.bg-light-info {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}\n.bg-light-info.fc-h-event, .bg-light-info.fc-v-event {\n border-color: rgba(0, 207, 232, 0.1);\n}\n.bg-light-info .fc-list-event-dot,\n.bg-light-info .fc-daygrid-event-dot {\n border-color: #00cfe8 !important;\n}\n.bg-light-info.fc-list-event:hover td {\n background: rgba(0, 207, 232, 0.1) !important;\n}\n.bg-light-info.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-info {\n color: #00cfe8 !important;\n}\n.border-info {\n border: 1px solid #00cfe8 !important;\n}\n.border-top-info {\n border-top: 1px solid #00cfe8;\n}\n.border-bottom-info {\n border-bottom: 1px solid #00cfe8;\n}\n.border-left-info {\n border-left: 1px solid #00cfe8;\n}\n.border-right-info {\n border-right: 1px solid #00cfe8;\n}\n.bg-info.badge-glow,\n.border-info.badge-glow,\n.badge-info.badge-glow {\n box-shadow: 0px 0px 10px #00cfe8;\n}\n.badge.badge-light-info {\n background-color: rgba(0, 207, 232, 0.12);\n color: #00cfe8 !important;\n}\n.overlay-info {\n background: #00cfe8; /* The Fallback */\n background: rgba(0, 207, 232, 0.6);\n}\n.btn-info {\n border-color: #00cfe8 !important;\n background-color: #00cfe8 !important;\n color: #fff !important;\n}\n.btn-info:focus, .btn-info:active, .btn-info.active {\n color: #fff;\n background-color: #00b8cf !important;\n}\n.btn-info:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #00cfe8;\n}\n.btn-info:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-info {\n background-color: transparent;\n color: #00cfe8;\n}\n.btn-flat-info:hover {\n color: #00cfe8;\n}\n.btn-flat-info:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.12);\n}\n.btn-flat-info:active, .btn-flat-info.active, .btn-flat-info:focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-flat-info.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-info {\n background-color: #00cfe8;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-info:hover:not(.disabled):not(:disabled) {\n background-color: #03e4ff;\n}\n.btn-relief-info:active, .btn-relief-info.active, .btn-relief-info:focus {\n background-color: #00b8cf;\n}\n.btn-relief-info:hover {\n color: #fff;\n}\n.btn-relief-info:active, .btn-relief-info.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-info {\n border: 1px solid #00cfe8 !important;\n background-color: transparent;\n color: #00cfe8;\n}\n.btn-outline-info:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.04);\n color: #00cfe8;\n}\n.btn-outline-info:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-outline-info.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-info.dropdown-toggle {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-outline-info.waves-effect .waves-ripple,\n.btn-flat-info.waves-effect .waves-ripple {\n background: radial-gradient(rgba(0, 207, 232, 0.2) 0, rgba(0, 207, 232, 0.3) 40%, rgba(0, 207, 232, 0.4) 50%, rgba(0, 207, 232, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-info {\n background-color: #00cfe8;\n}\n.modal.modal-info .modal-header .modal-title {\n color: #00cfe8;\n}\n.modal.modal-info .modal-header .close {\n color: #00cfe8 !important;\n}\n.pagination-info .page-item.active .page-link {\n background: #00cfe8 !important;\n color: #fff;\n}\n.pagination-info .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-info .page-item .page-link:hover {\n color: #00cfe8;\n}\n.pagination-info .page-item.prev-item .page-link:hover, .pagination-info .page-item.next-item .page-link:hover {\n background: #00cfe8;\n color: #fff;\n}\n.pagination-info .page-item.next-item .page-link:active:after, .pagination-info .page-item.next-item .page-link:hover:after, .pagination-info .page-item.next .page-link:active:after, .pagination-info .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-info .page-item.prev-item .page-link:active:before, .pagination-info .page-item.prev-item .page-link:hover:before, .pagination-info .page-item.prev .page-link:active:before, .pagination-info .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-info .nav-item .nav-link.active {\n color: #fff;\n background-color: #00cfe8 !important;\n border-color: #00cfe8;\n box-shadow: 0 4px 18px -4px rgba(0, 207, 232, 0.65);\n}\n.progress-bar-info {\n background-color: rgba(0, 207, 232, 0.12);\n}\n.progress-bar-info .progress-bar {\n background-color: #00cfe8;\n}\n.timeline .timeline-point-info {\n border-color: #00cfe8 !important;\n}\n.timeline .timeline-point-info i,\n.timeline .timeline-point-info svg {\n stroke: #00cfe8 !important;\n}\n.timeline .timeline-point-info.timeline-point-indicator {\n background-color: #00cfe8 !important;\n}\n.timeline .timeline-point-info.timeline-point-indicator:before {\n background: rgba(0, 207, 232, 0.12) !important;\n}\n.divider.divider-info .divider-text:before, .divider.divider-info .divider-text:after {\n border-color: #00cfe8 !important;\n}\ninput:focus ~ .bg-info {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #00cfe8 !important;\n}\n.custom-control-info .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info .custom-control-input:active ~ .custom-control-label::before {\n border-color: #00cfe8;\n background-color: #00cfe8;\n}\n.custom-control-info.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-info.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-info.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-info.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(0, 207, 232, 0.4) !important;\n}\n.custom-control-info .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(0, 207, 232, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-info .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #00cfe8 !important;\n}\n.custom-switch-info .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #00cfe8 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-info .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #00cfe8 !important;\n border-color: #00cfe8 !important;\n}\n.text-info.text-darken-1 {\n color: #00b8cf !important;\n}\n.bg-info.bg-darken-1 {\n background-color: #00b8cf !important;\n}\n.border-info.border-darken-1 {\n border: 1px solid #00b8cf !important;\n}\n.border-top-info.border-top-darken-1 {\n border-top: 1px solid #00b8cf !important;\n}\n.border-bottom-info.border-bottom-darken-1 {\n border-bottom: 1px solid #00b8cf !important;\n}\n.border-left-info.border-left-darken-1 {\n border-left: 1px solid #00b8cf !important;\n}\n.border-right-info.border-right-darken-1 {\n border-right: 1px solid #00b8cf !important;\n}\n.overlay-info.overlay-darken-1 {\n background: #00b8cf; /* The Fallback */\n background: rgba(0, 184, 207, 0.6);\n}\n.text-info.text-darken-2 {\n color: #00a1b5 !important;\n}\n.bg-info.bg-darken-2 {\n background-color: #00a1b5 !important;\n}\n.border-info.border-darken-2 {\n border: 1px solid #00a1b5 !important;\n}\n.border-top-info.border-top-darken-2 {\n border-top: 1px solid #00a1b5 !important;\n}\n.border-bottom-info.border-bottom-darken-2 {\n border-bottom: 1px solid #00a1b5 !important;\n}\n.border-left-info.border-left-darken-2 {\n border-left: 1px solid #00a1b5 !important;\n}\n.border-right-info.border-right-darken-2 {\n border-right: 1px solid #00a1b5 !important;\n}\n.overlay-info.overlay-darken-2 {\n background: #00a1b5; /* The Fallback */\n background: rgba(0, 161, 181, 0.6);\n}\n.text-info.text-darken-3 {\n color: #008b9c !important;\n}\n.bg-info.bg-darken-3 {\n background-color: #008b9c !important;\n}\n.border-info.border-darken-3 {\n border: 1px solid #008b9c !important;\n}\n.border-top-info.border-top-darken-3 {\n border-top: 1px solid #008b9c !important;\n}\n.border-bottom-info.border-bottom-darken-3 {\n border-bottom: 1px solid #008b9c !important;\n}\n.border-left-info.border-left-darken-3 {\n border-left: 1px solid #008b9c !important;\n}\n.border-right-info.border-right-darken-3 {\n border-right: 1px solid #008b9c !important;\n}\n.overlay-info.overlay-darken-3 {\n background: #008b9c; /* The Fallback */\n background: rgba(0, 139, 156, 0.6);\n}\n.text-info.text-darken-4 {\n color: #007482 !important;\n}\n.bg-info.bg-darken-4 {\n background-color: #007482 !important;\n}\n.border-info.border-darken-4 {\n border: 1px solid #007482 !important;\n}\n.border-top-info.border-top-darken-4 {\n border-top: 1px solid #007482 !important;\n}\n.border-bottom-info.border-bottom-darken-4 {\n border-bottom: 1px solid #007482 !important;\n}\n.border-left-info.border-left-darken-4 {\n border-left: 1px solid #007482 !important;\n}\n.border-right-info.border-right-darken-4 {\n border-right: 1px solid #007482 !important;\n}\n.overlay-info.overlay-darken-4 {\n background: #007482; /* The Fallback */\n background: rgba(0, 116, 130, 0.6);\n}\n.text-info.text-accent-1 {\n color: #feffff !important;\n}\n.bg-info.bg-accent-1 {\n background-color: #feffff !important;\n}\n.border-info.border-accent-1 {\n border: 1px solid #feffff !important;\n}\n.border-top-info.border-top-accent-1 {\n border-top: 1px solid #feffff !important;\n}\n.border-bottom-info.border-bottom-accent-1 {\n border-bottom: 1px solid #feffff !important;\n}\n.border-left-info.border-left-accent-1 {\n border-left: 1px solid #feffff !important;\n}\n.border-right-info.border-right-accent-1 {\n border-right: 1px solid #feffff !important;\n}\n.overlay-info.overlay-accent-1 {\n background: #feffff; /* The Fallback */\n background: rgba(254, 255, 255, 0.6);\n}\n.text-info.text-accent-2 {\n color: #cbf5ff !important;\n}\n.bg-info.bg-accent-2 {\n background-color: #cbf5ff !important;\n}\n.border-info.border-accent-2 {\n border: 1px solid #cbf5ff !important;\n}\n.border-top-info.border-top-accent-2 {\n border-top: 1px solid #cbf5ff !important;\n}\n.border-bottom-info.border-bottom-accent-2 {\n border-bottom: 1px solid #cbf5ff !important;\n}\n.border-left-info.border-left-accent-2 {\n border-left: 1px solid #cbf5ff !important;\n}\n.border-right-info.border-right-accent-2 {\n border-right: 1px solid #cbf5ff !important;\n}\n.overlay-info.overlay-accent-2 {\n background: #cbf5ff; /* The Fallback */\n background: rgba(203, 245, 255, 0.6);\n}\n.text-info.text-accent-3 {\n color: #98ecff !important;\n}\n.bg-info.bg-accent-3 {\n background-color: #98ecff !important;\n}\n.border-info.border-accent-3 {\n border: 1px solid #98ecff !important;\n}\n.border-top-info.border-top-accent-3 {\n border-top: 1px solid #98ecff !important;\n}\n.border-bottom-info.border-bottom-accent-3 {\n border-bottom: 1px solid #98ecff !important;\n}\n.border-left-info.border-left-accent-3 {\n border-left: 1px solid #98ecff !important;\n}\n.border-right-info.border-right-accent-3 {\n border-right: 1px solid #98ecff !important;\n}\n.overlay-info.overlay-accent-3 {\n background: #98ecff; /* The Fallback */\n background: rgba(152, 236, 255, 0.6);\n}\n.text-info.text-accent-4 {\n color: #7fe7ff !important;\n}\n.bg-info.bg-accent-4 {\n background-color: #7fe7ff !important;\n}\n.border-info.border-accent-4 {\n border: 1px solid #7fe7ff !important;\n}\n.border-top-info.border-top-accent-4 {\n border-top: 1px solid #7fe7ff !important;\n}\n.border-bottom-info.border-bottom-accent-4 {\n border-bottom: 1px solid #7fe7ff !important;\n}\n.border-left-info.border-left-accent-4 {\n border-left: 1px solid #7fe7ff !important;\n}\n.border-right-info.border-right-accent-4 {\n border-right: 1px solid #7fe7ff !important;\n}\n.overlay-info.overlay-accent-4 {\n background: #7fe7ff; /* The Fallback */\n background: rgba(127, 231, 255, 0.6);\n}\n.text-warning.text-lighten-5 {\n color: #ffe0c3 !important;\n}\n.bg-warning.bg-lighten-5 {\n background-color: #ffe0c3 !important;\n}\n.border-warning.border-lighten-5 {\n border: 1px solid #ffe0c3 !important;\n}\n.border-top-warning.border-top-lighten-5 {\n border-top: 1px solid #ffe0c3 !important;\n}\n.border-bottom-warning.border-bottom-lighten-5 {\n border-bottom: 1px solid #ffe0c3 !important;\n}\n.border-left-warning.border-left-lighten-5 {\n border-left: 1px solid #ffe0c3 !important;\n}\n.border-right-warning.border-right-lighten-5 {\n border-right: 1px solid #ffe0c3 !important;\n}\n.overlay-warning.overlay-lighten-5 {\n background: #ffe0c3; /* The Fallback */\n background: rgba(255, 224, 195, 0.6);\n}\n.text-warning.text-lighten-4 {\n color: #ffd3a9 !important;\n}\n.bg-warning.bg-lighten-4 {\n background-color: #ffd3a9 !important;\n}\n.border-warning.border-lighten-4 {\n border: 1px solid #ffd3a9 !important;\n}\n.border-top-warning.border-top-lighten-4 {\n border-top: 1px solid #ffd3a9 !important;\n}\n.border-bottom-warning.border-bottom-lighten-4 {\n border-bottom: 1px solid #ffd3a9 !important;\n}\n.border-left-warning.border-left-lighten-4 {\n border-left: 1px solid #ffd3a9 !important;\n}\n.border-right-warning.border-right-lighten-4 {\n border-right: 1px solid #ffd3a9 !important;\n}\n.overlay-warning.overlay-lighten-4 {\n background: #ffd3a9; /* The Fallback */\n background: rgba(255, 211, 169, 0.6);\n}\n.text-warning.text-lighten-3 {\n color: #ffc690 !important;\n}\n.bg-warning.bg-lighten-3 {\n background-color: #ffc690 !important;\n}\n.border-warning.border-lighten-3 {\n border: 1px solid #ffc690 !important;\n}\n.border-top-warning.border-top-lighten-3 {\n border-top: 1px solid #ffc690 !important;\n}\n.border-bottom-warning.border-bottom-lighten-3 {\n border-bottom: 1px solid #ffc690 !important;\n}\n.border-left-warning.border-left-lighten-3 {\n border-left: 1px solid #ffc690 !important;\n}\n.border-right-warning.border-right-lighten-3 {\n border-right: 1px solid #ffc690 !important;\n}\n.overlay-warning.overlay-lighten-3 {\n background: #ffc690; /* The Fallback */\n background: rgba(255, 198, 144, 0.6);\n}\n.text-warning.text-lighten-2 {\n color: #ffb976 !important;\n}\n.bg-warning.bg-lighten-2 {\n background-color: #ffb976 !important;\n}\n.border-warning.border-lighten-2 {\n border: 1px solid #ffb976 !important;\n}\n.border-top-warning.border-top-lighten-2 {\n border-top: 1px solid #ffb976 !important;\n}\n.border-bottom-warning.border-bottom-lighten-2 {\n border-bottom: 1px solid #ffb976 !important;\n}\n.border-left-warning.border-left-lighten-2 {\n border-left: 1px solid #ffb976 !important;\n}\n.border-right-warning.border-right-lighten-2 {\n border-right: 1px solid #ffb976 !important;\n}\n.overlay-warning.overlay-lighten-2 {\n background: #ffb976; /* The Fallback */\n background: rgba(255, 185, 118, 0.6);\n}\n.text-warning.text-lighten-1 {\n color: #ffac5d !important;\n}\n.bg-warning.bg-lighten-1 {\n background-color: #ffac5d !important;\n}\n.border-warning.border-lighten-1 {\n border: 1px solid #ffac5d !important;\n}\n.border-top-warning.border-top-lighten-1 {\n border-top: 1px solid #ffac5d !important;\n}\n.border-bottom-warning.border-bottom-lighten-1 {\n border-bottom: 1px solid #ffac5d !important;\n}\n.border-left-warning.border-left-lighten-1 {\n border-left: 1px solid #ffac5d !important;\n}\n.border-right-warning.border-right-lighten-1 {\n border-right: 1px solid #ffac5d !important;\n}\n.overlay-warning.overlay-lighten-1 {\n background: #ffac5d; /* The Fallback */\n background: rgba(255, 172, 93, 0.6);\n}\n.bg-warning {\n background-color: #ff9f43 !important;\n}\n.bg-warning .card-header,\n.bg-warning .card-footer {\n background-color: transparent;\n}\n.alert-warning {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}\n.alert-warning .alert-heading {\n box-shadow: rgba(255, 159, 67, 0.4) 0px 6px 15px -7px;\n}\n.alert-warning .alert-link {\n color: #ff922a !important;\n}\n.alert-warning .close {\n color: #ff9f43 !important;\n}\n.bg-light-warning {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}\n.bg-light-warning.fc-h-event, .bg-light-warning.fc-v-event {\n border-color: rgba(255, 159, 67, 0.1);\n}\n.bg-light-warning .fc-list-event-dot,\n.bg-light-warning .fc-daygrid-event-dot {\n border-color: #ff9f43 !important;\n}\n.bg-light-warning.fc-list-event:hover td {\n background: rgba(255, 159, 67, 0.1) !important;\n}\n.bg-light-warning.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-warning {\n color: #ff9f43 !important;\n}\n.border-warning {\n border: 1px solid #ff9f43 !important;\n}\n.border-top-warning {\n border-top: 1px solid #ff9f43;\n}\n.border-bottom-warning {\n border-bottom: 1px solid #ff9f43;\n}\n.border-left-warning {\n border-left: 1px solid #ff9f43;\n}\n.border-right-warning {\n border-right: 1px solid #ff9f43;\n}\n.bg-warning.badge-glow,\n.border-warning.badge-glow,\n.badge-warning.badge-glow {\n box-shadow: 0px 0px 10px #ff9f43;\n}\n.badge.badge-light-warning {\n background-color: rgba(255, 159, 67, 0.12);\n color: #ff9f43 !important;\n}\n.overlay-warning {\n background: #ff9f43; /* The Fallback */\n background: rgba(255, 159, 67, 0.6);\n}\n.btn-warning {\n border-color: #ff9f43 !important;\n background-color: #ff9f43 !important;\n color: #fff !important;\n}\n.btn-warning:focus, .btn-warning:active, .btn-warning.active {\n color: #fff;\n background-color: #ff922a !important;\n}\n.btn-warning:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ff9f43;\n}\n.btn-warning:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-warning {\n background-color: transparent;\n color: #ff9f43;\n}\n.btn-flat-warning:hover {\n color: #ff9f43;\n}\n.btn-flat-warning:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.12);\n}\n.btn-flat-warning:active, .btn-flat-warning.active, .btn-flat-warning:focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-flat-warning.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-warning {\n background-color: #ff9f43;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-warning:hover:not(.disabled):not(:disabled) {\n background-color: #ffac5d;\n}\n.btn-relief-warning:active, .btn-relief-warning.active, .btn-relief-warning:focus {\n background-color: #ff922a;\n}\n.btn-relief-warning:hover {\n color: #fff;\n}\n.btn-relief-warning:active, .btn-relief-warning.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-warning {\n border: 1px solid #ff9f43 !important;\n background-color: transparent;\n color: #ff9f43;\n}\n.btn-outline-warning:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.04);\n color: #ff9f43;\n}\n.btn-outline-warning:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, .btn-outline-warning:not(:disabled):not(.disabled):focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-outline-warning.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-warning.dropdown-toggle {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-outline-warning.waves-effect .waves-ripple,\n.btn-flat-warning.waves-effect .waves-ripple {\n background: radial-gradient(rgba(255, 159, 67, 0.2) 0, rgba(255, 159, 67, 0.3) 40%, rgba(255, 159, 67, 0.4) 50%, rgba(255, 159, 67, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-warning {\n background-color: #ff9f43;\n}\n.modal.modal-warning .modal-header .modal-title {\n color: #ff9f43;\n}\n.modal.modal-warning .modal-header .close {\n color: #ff9f43 !important;\n}\n.pagination-warning .page-item.active .page-link {\n background: #ff9f43 !important;\n color: #fff;\n}\n.pagination-warning .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-warning .page-item .page-link:hover {\n color: #ff9f43;\n}\n.pagination-warning .page-item.prev-item .page-link:hover, .pagination-warning .page-item.next-item .page-link:hover {\n background: #ff9f43;\n color: #fff;\n}\n.pagination-warning .page-item.next-item .page-link:active:after, .pagination-warning .page-item.next-item .page-link:hover:after, .pagination-warning .page-item.next .page-link:active:after, .pagination-warning .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-warning .page-item.prev-item .page-link:active:before, .pagination-warning .page-item.prev-item .page-link:hover:before, .pagination-warning .page-item.prev .page-link:active:before, .pagination-warning .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-warning .nav-item .nav-link.active {\n color: #fff;\n background-color: #ff9f43 !important;\n border-color: #ff9f43;\n box-shadow: 0 4px 18px -4px rgba(255, 159, 67, 0.65);\n}\n.progress-bar-warning {\n background-color: rgba(255, 159, 67, 0.12);\n}\n.progress-bar-warning .progress-bar {\n background-color: #ff9f43;\n}\n.timeline .timeline-point-warning {\n border-color: #ff9f43 !important;\n}\n.timeline .timeline-point-warning i,\n.timeline .timeline-point-warning svg {\n stroke: #ff9f43 !important;\n}\n.timeline .timeline-point-warning.timeline-point-indicator {\n background-color: #ff9f43 !important;\n}\n.timeline .timeline-point-warning.timeline-point-indicator:before {\n background: rgba(255, 159, 67, 0.12) !important;\n}\n.divider.divider-warning .divider-text:before, .divider.divider-warning .divider-text:after {\n border-color: #ff9f43 !important;\n}\ninput:focus ~ .bg-warning {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ff9f43 !important;\n}\n.custom-control-warning .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning .custom-control-input:active ~ .custom-control-label::before {\n border-color: #ff9f43;\n background-color: #ff9f43;\n}\n.custom-control-warning.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-warning.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-warning.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-warning.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(255, 159, 67, 0.4) !important;\n}\n.custom-control-warning .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(255, 159, 67, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-warning .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #ff9f43 !important;\n}\n.custom-switch-warning .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #ff9f43 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-warning .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #ff9f43 !important;\n border-color: #ff9f43 !important;\n}\n.text-warning.text-darken-1 {\n color: #ff922a !important;\n}\n.bg-warning.bg-darken-1 {\n background-color: #ff922a !important;\n}\n.border-warning.border-darken-1 {\n border: 1px solid #ff922a !important;\n}\n.border-top-warning.border-top-darken-1 {\n border-top: 1px solid #ff922a !important;\n}\n.border-bottom-warning.border-bottom-darken-1 {\n border-bottom: 1px solid #ff922a !important;\n}\n.border-left-warning.border-left-darken-1 {\n border-left: 1px solid #ff922a !important;\n}\n.border-right-warning.border-right-darken-1 {\n border-right: 1px solid #ff922a !important;\n}\n.overlay-warning.overlay-darken-1 {\n background: #ff922a; /* The Fallback */\n background: rgba(255, 146, 42, 0.6);\n}\n.text-warning.text-darken-2 {\n color: #ff8510 !important;\n}\n.bg-warning.bg-darken-2 {\n background-color: #ff8510 !important;\n}\n.border-warning.border-darken-2 {\n border: 1px solid #ff8510 !important;\n}\n.border-top-warning.border-top-darken-2 {\n border-top: 1px solid #ff8510 !important;\n}\n.border-bottom-warning.border-bottom-darken-2 {\n border-bottom: 1px solid #ff8510 !important;\n}\n.border-left-warning.border-left-darken-2 {\n border-left: 1px solid #ff8510 !important;\n}\n.border-right-warning.border-right-darken-2 {\n border-right: 1px solid #ff8510 !important;\n}\n.overlay-warning.overlay-darken-2 {\n background: #ff8510; /* The Fallback */\n background: rgba(255, 133, 16, 0.6);\n}\n.text-warning.text-darken-3 {\n color: #f67800 !important;\n}\n.bg-warning.bg-darken-3 {\n background-color: #f67800 !important;\n}\n.border-warning.border-darken-3 {\n border: 1px solid #f67800 !important;\n}\n.border-top-warning.border-top-darken-3 {\n border-top: 1px solid #f67800 !important;\n}\n.border-bottom-warning.border-bottom-darken-3 {\n border-bottom: 1px solid #f67800 !important;\n}\n.border-left-warning.border-left-darken-3 {\n border-left: 1px solid #f67800 !important;\n}\n.border-right-warning.border-right-darken-3 {\n border-right: 1px solid #f67800 !important;\n}\n.overlay-warning.overlay-darken-3 {\n background: #f67800; /* The Fallback */\n background: rgba(246, 120, 0, 0.6);\n}\n.text-warning.text-darken-4 {\n color: #dc6c00 !important;\n}\n.bg-warning.bg-darken-4 {\n background-color: #dc6c00 !important;\n}\n.border-warning.border-darken-4 {\n border: 1px solid #dc6c00 !important;\n}\n.border-top-warning.border-top-darken-4 {\n border-top: 1px solid #dc6c00 !important;\n}\n.border-bottom-warning.border-bottom-darken-4 {\n border-bottom: 1px solid #dc6c00 !important;\n}\n.border-left-warning.border-left-darken-4 {\n border-left: 1px solid #dc6c00 !important;\n}\n.border-right-warning.border-right-darken-4 {\n border-right: 1px solid #dc6c00 !important;\n}\n.overlay-warning.overlay-darken-4 {\n background: #dc6c00; /* The Fallback */\n background: rgba(220, 108, 0, 0.6);\n}\n.text-warning.text-accent-1 {\n color: #fff5ef !important;\n}\n.bg-warning.bg-accent-1 {\n background-color: #fff5ef !important;\n}\n.border-warning.border-accent-1 {\n border: 1px solid #fff5ef !important;\n}\n.border-top-warning.border-top-accent-1 {\n border-top: 1px solid #fff5ef !important;\n}\n.border-bottom-warning.border-bottom-accent-1 {\n border-bottom: 1px solid #fff5ef !important;\n}\n.border-left-warning.border-left-accent-1 {\n border-left: 1px solid #fff5ef !important;\n}\n.border-right-warning.border-right-accent-1 {\n border-right: 1px solid #fff5ef !important;\n}\n.overlay-warning.overlay-accent-1 {\n background: #fff5ef; /* The Fallback */\n background: rgba(255, 245, 239, 0.6);\n}\n.text-warning.text-accent-2 {\n color: #ffe5d8 !important;\n}\n.bg-warning.bg-accent-2 {\n background-color: #ffe5d8 !important;\n}\n.border-warning.border-accent-2 {\n border: 1px solid #ffe5d8 !important;\n}\n.border-top-warning.border-top-accent-2 {\n border-top: 1px solid #ffe5d8 !important;\n}\n.border-bottom-warning.border-bottom-accent-2 {\n border-bottom: 1px solid #ffe5d8 !important;\n}\n.border-left-warning.border-left-accent-2 {\n border-left: 1px solid #ffe5d8 !important;\n}\n.border-right-warning.border-right-accent-2 {\n border-right: 1px solid #ffe5d8 !important;\n}\n.overlay-warning.overlay-accent-2 {\n background: #ffe5d8; /* The Fallback */\n background: rgba(255, 229, 216, 0.6);\n}\n.text-warning.text-accent-3 {\n color: #fff6f3 !important;\n}\n.bg-warning.bg-accent-3 {\n background-color: #fff6f3 !important;\n}\n.border-warning.border-accent-3 {\n border: 1px solid #fff6f3 !important;\n}\n.border-top-warning.border-top-accent-3 {\n border-top: 1px solid #fff6f3 !important;\n}\n.border-bottom-warning.border-bottom-accent-3 {\n border-bottom: 1px solid #fff6f3 !important;\n}\n.border-left-warning.border-left-accent-3 {\n border-left: 1px solid #fff6f3 !important;\n}\n.border-right-warning.border-right-accent-3 {\n border-right: 1px solid #fff6f3 !important;\n}\n.overlay-warning.overlay-accent-3 {\n background: #fff6f3; /* The Fallback */\n background: rgba(255, 246, 243, 0.6);\n}\n.text-warning.text-accent-4 {\n color: #ffe3da !important;\n}\n.bg-warning.bg-accent-4 {\n background-color: #ffe3da !important;\n}\n.border-warning.border-accent-4 {\n border: 1px solid #ffe3da !important;\n}\n.border-top-warning.border-top-accent-4 {\n border-top: 1px solid #ffe3da !important;\n}\n.border-bottom-warning.border-bottom-accent-4 {\n border-bottom: 1px solid #ffe3da !important;\n}\n.border-left-warning.border-left-accent-4 {\n border-left: 1px solid #ffe3da !important;\n}\n.border-right-warning.border-right-accent-4 {\n border-right: 1px solid #ffe3da !important;\n}\n.overlay-warning.overlay-accent-4 {\n background: #ffe3da; /* The Fallback */\n background: rgba(255, 227, 218, 0.6);\n}\n.text-danger.text-lighten-5 {\n color: #f8c6c6 !important;\n}\n.bg-danger.bg-lighten-5 {\n background-color: #f8c6c6 !important;\n}\n.border-danger.border-lighten-5 {\n border: 1px solid #f8c6c6 !important;\n}\n.border-top-danger.border-top-lighten-5 {\n border-top: 1px solid #f8c6c6 !important;\n}\n.border-bottom-danger.border-bottom-lighten-5 {\n border-bottom: 1px solid #f8c6c6 !important;\n}\n.border-left-danger.border-left-lighten-5 {\n border-left: 1px solid #f8c6c6 !important;\n}\n.border-right-danger.border-right-lighten-5 {\n border-right: 1px solid #f8c6c6 !important;\n}\n.overlay-danger.overlay-lighten-5 {\n background: #f8c6c6; /* The Fallback */\n background: rgba(248, 198, 198, 0.6);\n}\n.text-danger.text-lighten-4 {\n color: #f5afaf !important;\n}\n.bg-danger.bg-lighten-4 {\n background-color: #f5afaf !important;\n}\n.border-danger.border-lighten-4 {\n border: 1px solid #f5afaf !important;\n}\n.border-top-danger.border-top-lighten-4 {\n border-top: 1px solid #f5afaf !important;\n}\n.border-bottom-danger.border-bottom-lighten-4 {\n border-bottom: 1px solid #f5afaf !important;\n}\n.border-left-danger.border-left-lighten-4 {\n border-left: 1px solid #f5afaf !important;\n}\n.border-right-danger.border-right-lighten-4 {\n border-right: 1px solid #f5afaf !important;\n}\n.overlay-danger.overlay-lighten-4 {\n background: #f5afaf; /* The Fallback */\n background: rgba(245, 175, 175, 0.6);\n}\n.text-danger.text-lighten-3 {\n color: #f29899 !important;\n}\n.bg-danger.bg-lighten-3 {\n background-color: #f29899 !important;\n}\n.border-danger.border-lighten-3 {\n border: 1px solid #f29899 !important;\n}\n.border-top-danger.border-top-lighten-3 {\n border-top: 1px solid #f29899 !important;\n}\n.border-bottom-danger.border-bottom-lighten-3 {\n border-bottom: 1px solid #f29899 !important;\n}\n.border-left-danger.border-left-lighten-3 {\n border-left: 1px solid #f29899 !important;\n}\n.border-right-danger.border-right-lighten-3 {\n border-right: 1px solid #f29899 !important;\n}\n.overlay-danger.overlay-lighten-3 {\n background: #f29899; /* The Fallback */\n background: rgba(242, 152, 153, 0.6);\n}\n.text-danger.text-lighten-2 {\n color: #f08182 !important;\n}\n.bg-danger.bg-lighten-2 {\n background-color: #f08182 !important;\n}\n.border-danger.border-lighten-2 {\n border: 1px solid #f08182 !important;\n}\n.border-top-danger.border-top-lighten-2 {\n border-top: 1px solid #f08182 !important;\n}\n.border-bottom-danger.border-bottom-lighten-2 {\n border-bottom: 1px solid #f08182 !important;\n}\n.border-left-danger.border-left-lighten-2 {\n border-left: 1px solid #f08182 !important;\n}\n.border-right-danger.border-right-lighten-2 {\n border-right: 1px solid #f08182 !important;\n}\n.overlay-danger.overlay-lighten-2 {\n background: #f08182; /* The Fallback */\n background: rgba(240, 129, 130, 0.6);\n}\n.text-danger.text-lighten-1 {\n color: #ed6b6c !important;\n}\n.bg-danger.bg-lighten-1 {\n background-color: #ed6b6c !important;\n}\n.border-danger.border-lighten-1 {\n border: 1px solid #ed6b6c !important;\n}\n.border-top-danger.border-top-lighten-1 {\n border-top: 1px solid #ed6b6c !important;\n}\n.border-bottom-danger.border-bottom-lighten-1 {\n border-bottom: 1px solid #ed6b6c !important;\n}\n.border-left-danger.border-left-lighten-1 {\n border-left: 1px solid #ed6b6c !important;\n}\n.border-right-danger.border-right-lighten-1 {\n border-right: 1px solid #ed6b6c !important;\n}\n.overlay-danger.overlay-lighten-1 {\n background: #ed6b6c; /* The Fallback */\n background: rgba(237, 107, 108, 0.6);\n}\n.bg-danger {\n background-color: #ea5455 !important;\n}\n.bg-danger .card-header,\n.bg-danger .card-footer {\n background-color: transparent;\n}\n.alert-danger {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}\n.alert-danger .alert-heading {\n box-shadow: rgba(234, 84, 85, 0.4) 0px 6px 15px -7px;\n}\n.alert-danger .alert-link {\n color: #e73d3e !important;\n}\n.alert-danger .close {\n color: #ea5455 !important;\n}\n.bg-light-danger {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}\n.bg-light-danger.fc-h-event, .bg-light-danger.fc-v-event {\n border-color: rgba(234, 84, 85, 0.1);\n}\n.bg-light-danger .fc-list-event-dot,\n.bg-light-danger .fc-daygrid-event-dot {\n border-color: #ea5455 !important;\n}\n.bg-light-danger.fc-list-event:hover td {\n background: rgba(234, 84, 85, 0.1) !important;\n}\n.bg-light-danger.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-danger {\n color: #ea5455 !important;\n}\n.border-danger {\n border: 1px solid #ea5455 !important;\n}\n.border-top-danger {\n border-top: 1px solid #ea5455;\n}\n.border-bottom-danger {\n border-bottom: 1px solid #ea5455;\n}\n.border-left-danger {\n border-left: 1px solid #ea5455;\n}\n.border-right-danger {\n border-right: 1px solid #ea5455;\n}\n.bg-danger.badge-glow,\n.border-danger.badge-glow,\n.badge-danger.badge-glow {\n box-shadow: 0px 0px 10px #ea5455;\n}\n.badge.badge-light-danger {\n background-color: rgba(234, 84, 85, 0.12);\n color: #ea5455 !important;\n}\n.overlay-danger {\n background: #ea5455; /* The Fallback */\n background: rgba(234, 84, 85, 0.6);\n}\n.btn-danger {\n border-color: #ea5455 !important;\n background-color: #ea5455 !important;\n color: #fff !important;\n}\n.btn-danger:focus, .btn-danger:active, .btn-danger.active {\n color: #fff;\n background-color: #e73d3e !important;\n}\n.btn-danger:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ea5455;\n}\n.btn-danger:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-danger {\n background-color: transparent;\n color: #ea5455;\n}\n.btn-flat-danger:hover {\n color: #ea5455;\n}\n.btn-flat-danger:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.12);\n}\n.btn-flat-danger:active, .btn-flat-danger.active, .btn-flat-danger:focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-flat-danger.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-danger {\n background-color: #ea5455;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-danger:hover:not(.disabled):not(:disabled) {\n background-color: #ed6b6c;\n}\n.btn-relief-danger:active, .btn-relief-danger.active, .btn-relief-danger:focus {\n background-color: #e73d3e;\n}\n.btn-relief-danger:hover {\n color: #fff;\n}\n.btn-relief-danger:active, .btn-relief-danger.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-danger {\n border: 1px solid #ea5455 !important;\n background-color: transparent;\n color: #ea5455;\n}\n.btn-outline-danger:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.04);\n color: #ea5455;\n}\n.btn-outline-danger:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-outline-danger.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-danger.dropdown-toggle {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-outline-danger.waves-effect .waves-ripple,\n.btn-flat-danger.waves-effect .waves-ripple {\n background: radial-gradient(rgba(234, 84, 85, 0.2) 0, rgba(234, 84, 85, 0.3) 40%, rgba(234, 84, 85, 0.4) 50%, rgba(234, 84, 85, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-danger {\n background-color: #ea5455;\n}\n.modal.modal-danger .modal-header .modal-title {\n color: #ea5455;\n}\n.modal.modal-danger .modal-header .close {\n color: #ea5455 !important;\n}\n.pagination-danger .page-item.active .page-link {\n background: #ea5455 !important;\n color: #fff;\n}\n.pagination-danger .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-danger .page-item .page-link:hover {\n color: #ea5455;\n}\n.pagination-danger .page-item.prev-item .page-link:hover, .pagination-danger .page-item.next-item .page-link:hover {\n background: #ea5455;\n color: #fff;\n}\n.pagination-danger .page-item.next-item .page-link:active:after, .pagination-danger .page-item.next-item .page-link:hover:after, .pagination-danger .page-item.next .page-link:active:after, .pagination-danger .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-danger .page-item.prev-item .page-link:active:before, .pagination-danger .page-item.prev-item .page-link:hover:before, .pagination-danger .page-item.prev .page-link:active:before, .pagination-danger .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-danger .nav-item .nav-link.active {\n color: #fff;\n background-color: #ea5455 !important;\n border-color: #ea5455;\n box-shadow: 0 4px 18px -4px rgba(234, 84, 85, 0.65);\n}\n.progress-bar-danger {\n background-color: rgba(234, 84, 85, 0.12);\n}\n.progress-bar-danger .progress-bar {\n background-color: #ea5455;\n}\n.timeline .timeline-point-danger {\n border-color: #ea5455 !important;\n}\n.timeline .timeline-point-danger i,\n.timeline .timeline-point-danger svg {\n stroke: #ea5455 !important;\n}\n.timeline .timeline-point-danger.timeline-point-indicator {\n background-color: #ea5455 !important;\n}\n.timeline .timeline-point-danger.timeline-point-indicator:before {\n background: rgba(234, 84, 85, 0.12) !important;\n}\n.divider.divider-danger .divider-text:before, .divider.divider-danger .divider-text:after {\n border-color: #ea5455 !important;\n}\ninput:focus ~ .bg-danger {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ea5455 !important;\n}\n.custom-control-danger .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger .custom-control-input:active ~ .custom-control-label::before {\n border-color: #ea5455;\n background-color: #ea5455;\n}\n.custom-control-danger.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-danger.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-danger.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-danger.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(234, 84, 85, 0.4) !important;\n}\n.custom-control-danger .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(234, 84, 85, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-danger .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #ea5455 !important;\n}\n.custom-switch-danger .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #ea5455 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-danger .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #ea5455 !important;\n border-color: #ea5455 !important;\n}\n.text-danger.text-darken-1 {\n color: #e73d3e !important;\n}\n.bg-danger.bg-darken-1 {\n background-color: #e73d3e !important;\n}\n.border-danger.border-darken-1 {\n border: 1px solid #e73d3e !important;\n}\n.border-top-danger.border-top-darken-1 {\n border-top: 1px solid #e73d3e !important;\n}\n.border-bottom-danger.border-bottom-darken-1 {\n border-bottom: 1px solid #e73d3e !important;\n}\n.border-left-danger.border-left-darken-1 {\n border-left: 1px solid #e73d3e !important;\n}\n.border-right-danger.border-right-darken-1 {\n border-right: 1px solid #e73d3e !important;\n}\n.overlay-danger.overlay-darken-1 {\n background: #e73d3e; /* The Fallback */\n background: rgba(231, 61, 62, 0.6);\n}\n.text-danger.text-darken-2 {\n color: #e42728 !important;\n}\n.bg-danger.bg-darken-2 {\n background-color: #e42728 !important;\n}\n.border-danger.border-darken-2 {\n border: 1px solid #e42728 !important;\n}\n.border-top-danger.border-top-darken-2 {\n border-top: 1px solid #e42728 !important;\n}\n.border-bottom-danger.border-bottom-darken-2 {\n border-bottom: 1px solid #e42728 !important;\n}\n.border-left-danger.border-left-darken-2 {\n border-left: 1px solid #e42728 !important;\n}\n.border-right-danger.border-right-darken-2 {\n border-right: 1px solid #e42728 !important;\n}\n.overlay-danger.overlay-darken-2 {\n background: #e42728; /* The Fallback */\n background: rgba(228, 39, 40, 0.6);\n}\n.text-danger.text-darken-3 {\n color: #d71a1c !important;\n}\n.bg-danger.bg-darken-3 {\n background-color: #d71a1c !important;\n}\n.border-danger.border-darken-3 {\n border: 1px solid #d71a1c !important;\n}\n.border-top-danger.border-top-darken-3 {\n border-top: 1px solid #d71a1c !important;\n}\n.border-bottom-danger.border-bottom-darken-3 {\n border-bottom: 1px solid #d71a1c !important;\n}\n.border-left-danger.border-left-darken-3 {\n border-left: 1px solid #d71a1c !important;\n}\n.border-right-danger.border-right-darken-3 {\n border-right: 1px solid #d71a1c !important;\n}\n.overlay-danger.overlay-darken-3 {\n background: #d71a1c; /* The Fallback */\n background: rgba(215, 26, 28, 0.6);\n}\n.text-danger.text-darken-4 {\n color: #c01819 !important;\n}\n.bg-danger.bg-darken-4 {\n background-color: #c01819 !important;\n}\n.border-danger.border-darken-4 {\n border: 1px solid #c01819 !important;\n}\n.border-top-danger.border-top-darken-4 {\n border-top: 1px solid #c01819 !important;\n}\n.border-bottom-danger.border-bottom-darken-4 {\n border-bottom: 1px solid #c01819 !important;\n}\n.border-left-danger.border-left-darken-4 {\n border-left: 1px solid #c01819 !important;\n}\n.border-right-danger.border-right-darken-4 {\n border-right: 1px solid #c01819 !important;\n}\n.overlay-danger.overlay-darken-4 {\n background: #c01819; /* The Fallback */\n background: rgba(192, 24, 25, 0.6);\n}\n.text-danger.text-accent-1 {\n color: #ffeef1 !important;\n}\n.bg-danger.bg-accent-1 {\n background-color: #ffeef1 !important;\n}\n.border-danger.border-accent-1 {\n border: 1px solid #ffeef1 !important;\n}\n.border-top-danger.border-top-accent-1 {\n border-top: 1px solid #ffeef1 !important;\n}\n.border-bottom-danger.border-bottom-accent-1 {\n border-bottom: 1px solid #ffeef1 !important;\n}\n.border-left-danger.border-left-accent-1 {\n border-left: 1px solid #ffeef1 !important;\n}\n.border-right-danger.border-right-accent-1 {\n border-right: 1px solid #ffeef1 !important;\n}\n.overlay-danger.overlay-accent-1 {\n background: #ffeef1; /* The Fallback */\n background: rgba(255, 238, 241, 0.6);\n}\n.text-danger.text-accent-2 {\n color: #ffd6db !important;\n}\n.bg-danger.bg-accent-2 {\n background-color: #ffd6db !important;\n}\n.border-danger.border-accent-2 {\n border: 1px solid #ffd6db !important;\n}\n.border-top-danger.border-top-accent-2 {\n border-top: 1px solid #ffd6db !important;\n}\n.border-bottom-danger.border-bottom-accent-2 {\n border-bottom: 1px solid #ffd6db !important;\n}\n.border-left-danger.border-left-accent-2 {\n border-left: 1px solid #ffd6db !important;\n}\n.border-right-danger.border-right-accent-2 {\n border-right: 1px solid #ffd6db !important;\n}\n.overlay-danger.overlay-accent-2 {\n background: #ffd6db; /* The Fallback */\n background: rgba(255, 214, 219, 0.6);\n}\n.text-danger.text-accent-3 {\n color: #ffecee !important;\n}\n.bg-danger.bg-accent-3 {\n background-color: #ffecee !important;\n}\n.border-danger.border-accent-3 {\n border: 1px solid #ffecee !important;\n}\n.border-top-danger.border-top-accent-3 {\n border-top: 1px solid #ffecee !important;\n}\n.border-bottom-danger.border-bottom-accent-3 {\n border-bottom: 1px solid #ffecee !important;\n}\n.border-left-danger.border-left-accent-3 {\n border-left: 1px solid #ffecee !important;\n}\n.border-right-danger.border-right-accent-3 {\n border-right: 1px solid #ffecee !important;\n}\n.overlay-danger.overlay-accent-3 {\n background: #ffecee; /* The Fallback */\n background: rgba(255, 236, 238, 0.6);\n}\n.text-danger.text-accent-4 {\n color: #ffd3d7 !important;\n}\n.bg-danger.bg-accent-4 {\n background-color: #ffd3d7 !important;\n}\n.border-danger.border-accent-4 {\n border: 1px solid #ffd3d7 !important;\n}\n.border-top-danger.border-top-accent-4 {\n border-top: 1px solid #ffd3d7 !important;\n}\n.border-bottom-danger.border-bottom-accent-4 {\n border-bottom: 1px solid #ffd3d7 !important;\n}\n.border-left-danger.border-left-accent-4 {\n border-left: 1px solid #ffd3d7 !important;\n}\n.border-right-danger.border-right-accent-4 {\n border-right: 1px solid #ffd3d7 !important;\n}\n.overlay-danger.overlay-accent-4 {\n background: #ffd3d7; /* The Fallback */\n background: rgba(255, 211, 215, 0.6);\n}\n.bg-gradient-dark,\n.btn-gradient-dark {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #4b4b4b, #1e1e1e);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.dark-layout .bg-gradient-dark,\n.dark-layout .btn-gradient-dark {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-dark:hover, .bg-gradient-dark:active,\n.btn-gradient-dark:hover,\n.btn-gradient-dark:active {\n color: #fff;\n}\n.bg-gradient-dark:hover:not(.disabled):not(:disabled),\n.btn-gradient-dark:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-dark:active,\n.btn-gradient-dark:active {\n transform: translateY(0);\n}\n.bg-gradient-dark:active, .bg-gradient-dark:focus,\n.btn-gradient-dark:active,\n.btn-gradient-dark:focus {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-primary,\n.btn-gradient-primary {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #7367f0, #9e95f5);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-primary:hover, .bg-gradient-primary:active,\n.btn-gradient-primary:hover,\n.btn-gradient-primary:active {\n color: #fff;\n}\n.bg-gradient-primary:hover:not(.disabled):not(:disabled),\n.btn-gradient-primary:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-primary:active,\n.btn-gradient-primary:active {\n transform: translateY(0);\n}\n.bg-gradient-primary:active, .bg-gradient-primary:focus,\n.btn-gradient-primary:active,\n.btn-gradient-primary:focus {\n background-image: linear-gradient(47deg, #4839eb, #7367f0);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-secondary,\n.btn-gradient-secondary {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #82868b, #9ca0a4);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-secondary:hover, .bg-gradient-secondary:active,\n.btn-gradient-secondary:hover,\n.btn-gradient-secondary:active {\n color: #fff;\n}\n.bg-gradient-secondary:hover:not(.disabled):not(:disabled),\n.btn-gradient-secondary:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-secondary:active,\n.btn-gradient-secondary:active {\n transform: translateY(0);\n}\n.bg-gradient-secondary:active, .bg-gradient-secondary:focus,\n.btn-gradient-secondary:active,\n.btn-gradient-secondary:focus {\n background-image: linear-gradient(47deg, #696d71, #82868b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-success,\n.btn-gradient-success {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #28c76f, #48da89);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-success:hover, .bg-gradient-success:active,\n.btn-gradient-success:hover,\n.btn-gradient-success:active {\n color: #fff;\n}\n.bg-gradient-success:hover:not(.disabled):not(:disabled),\n.btn-gradient-success:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-success:active,\n.btn-gradient-success:active {\n transform: translateY(0);\n}\n.bg-gradient-success:active, .bg-gradient-success:focus,\n.btn-gradient-success:active,\n.btn-gradient-success:focus {\n background-image: linear-gradient(47deg, #1f9d57, #28c76f);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-info,\n.btn-gradient-info {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #00cfe8, #1ce7ff);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-info:hover, .bg-gradient-info:active,\n.btn-gradient-info:hover,\n.btn-gradient-info:active {\n color: #fff;\n}\n.bg-gradient-info:hover:not(.disabled):not(:disabled),\n.btn-gradient-info:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-info:active,\n.btn-gradient-info:active {\n transform: translateY(0);\n}\n.bg-gradient-info:active, .bg-gradient-info:focus,\n.btn-gradient-info:active,\n.btn-gradient-info:focus {\n background-image: linear-gradient(47deg, #00a1b5, #00cfe8);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-warning,\n.btn-gradient-warning {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ff9f43, #ffb976);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-warning:hover, .bg-gradient-warning:active,\n.btn-gradient-warning:hover,\n.btn-gradient-warning:active {\n color: #fff;\n}\n.bg-gradient-warning:hover:not(.disabled):not(:disabled),\n.btn-gradient-warning:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-warning:active,\n.btn-gradient-warning:active {\n transform: translateY(0);\n}\n.bg-gradient-warning:active, .bg-gradient-warning:focus,\n.btn-gradient-warning:active,\n.btn-gradient-warning:focus {\n background-image: linear-gradient(47deg, #ff8510, #ff9f43);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-danger,\n.btn-gradient-danger {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ea5455, #f08182);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-danger:hover, .bg-gradient-danger:active,\n.btn-gradient-danger:hover,\n.btn-gradient-danger:active {\n color: #fff;\n}\n.bg-gradient-danger:hover:not(.disabled):not(:disabled),\n.btn-gradient-danger:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-danger:active,\n.btn-gradient-danger:active {\n transform: translateY(0);\n}\n.bg-gradient-danger:active, .bg-gradient-danger:focus,\n.btn-gradient-danger:active,\n.btn-gradient-danger:focus {\n background-image: linear-gradient(47deg, #e42728, #ea5455);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.ng-select.ng-select-focused {\n outline: 0;\n box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1);\n}\n.ng-select.ng-select-focused .ng-select-container {\n border-color: #7367f0 !important;\n z-index: 2000 !important;\n box-shadow: none !important;\n color: #6e6b7b !important;\n min-height: 38px !important;\n}\n.ng-select .ng-select-container {\n color: #6e6b7b !important;\n min-height: 38px !important;\n}\n.ng-select.error .ng-select-container {\n border-color: #ea5455 !important;\n}\n.ng-select.ng-select-multiple .ng-value {\n background-color: #7367f0 !important;\n color: #fff;\n border: none !important;\n font-size: 0.8rem !important;\n border-radius: 4px !important;\n display: flex;\n align-items: center;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.right {\n border: 0 !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.left {\n border: 0 !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon:hover {\n background-color: transparent !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.left {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.right {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-multiple .ng-select-container .ng-placeholder {\n top: 8px !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container {\n min-height: 48px;\n font-size: 1.2rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value {\n font-size: 1.2rem !important;\n padding: 7px;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value .ng-value-icon.left {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value .ng-value-icon.right {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-clear-wrapper {\n height: 22px !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container {\n min-height: 28px !important;\n font-size: 0.75rem;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value {\n padding: 0px;\n font-size: 0.9em !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value .ng-value-icon.left {\n font-size: 0.9em !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value .ng-value-icon.right {\n font-size: 0.9em !important;\n}\n.ng-select .ng-option.ng-option-selected {\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.ng-select .ng-option.ng-option-selected.ng-option-marked {\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.ng-select .ng-option.ng-option-selected .ng-option-label {\n font-weight: inherit !important;\n}\n.ng-select .ng-option.ng-option-marked {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.ng-select .ng-option.ng-option-disabled {\n color: #b9b9c3 !important;\n}\n.ng-select .ng-arrow {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaBAMAAABbZFH9AAAAG1BMVEUAAACRkZGRkZGSkpKRkZGSkpKSkpKRkZGRkZHLso+9AAAACHRSTlMA+1JoWo0vLFQDmmkAAABlSURBVBjTY6ALSACTbBAOazOYsggAUxEdBkCSuaMVxGGX6BABUo4djQUgrmJHhwFQqkMIrJJJoqOZwaKjUQHIhkg6g6QggEWiQ7Cj0QHIgkpCpaA6wbrgkiAphKSgArJTXRhoBgB9GRPswyvBqAAAAABJRU5ErkJggg==\");\n background-size: 12px 12px, 10px 10px;\n background-repeat: no-repeat;\n height: 0.8rem !important;\n padding-right: 1.5rem;\n margin-left: 0;\n margin-top: 0;\n left: 0;\n border-style: none !important;\n}\n.ng-select.ng-select-opened > .ng-select-container .ng-arrow {\n top: 0px !important;\n}\n.ng-select .ng-clear-wrapper {\n height: 18px;\n}\n.dark-layout .ng-select-container {\n background-color: #283046;\n border-color: #3b4253;\n color: #676d7d;\n}\n.dark-layout .ng-select-container .ng-placeholder {\n color: #676d7d !important;\n}\n.dark-layout .ng-select.ng-select-multiple .ng-value {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.dark-layout .ng-dropdown-header {\n background-color: #161d31;\n border-color: #3b4253;\n}\n.dark-layout .ng-dropdown-footer {\n background-color: #161d31;\n border-color: #3b4253;\n}\n.dark-layout .ng-select.ng-select-opened > .ng-select-container {\n background-color: #161d31;\n}\n.dark-layout .ng-option {\n background-color: #283046 !important;\n color: #b4b7bd !important;\n}\n.dark-layout .ng-option.ng-option-disabled {\n color: #676d7d !important;\n}\n.dark-layout ng-dropdown-panel {\n border-color: #3b4253 !important;\n}\n.dark-layout ng-dropdown-panel .ng-dropdown-panel-items {\n background-color: #161d31 !important;\n}\n.dark-layout ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n color: #676d7d !important;\n}\n.code-container {\n overflow: auto;\n white-space: pre-wrap;\n width: 100%;\n height: 100px;\n resize: both; /* Permite que el usuario ajuste el tama\u00F1o del contenedor */\n border: 1px solid #ccc; /* Agrega un borde para indicar que el contenedor es redimensionable */\n}\n.input_container {\n border: 1px solid #e5e5e5;\n text-transform: capitalize;\n}\ninput[type=file]::file-selector-button {\n background-color: #85c889;\n color: #000;\n border: 0px;\n border-right: 1px solid #e5e5e5;\n padding: 10px 15px;\n margin-right: 20px;\n transition: 0.5s;\n text-transform: capitalize;\n}\ninput[type=file]::file-selector-button:hover {\n background-color: #eee;\n border: 0px;\n border-right: 1px solid #e5e5e5;\n text-transform: capitalize;\n}\r\n/*# sourceMappingURL=api.component.scss.map */"], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_21__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_19__.BlockUI)()], ApiComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_21__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_19__.BlockUI)('section-block')], ApiComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 48005: /*!***************************************************************************!*\ !*** ./src/app/main/views/tools/api/api-details/api-details.component.ts ***! \***************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ApiDetailsComponent": () => (/* binding */ ApiDetailsComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var json_formatter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! json-formatter-js */ 59374); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ctrl/ngx-codemirror */ 1103); function ApiDetailsComponent_button_40_Template(rf, ctx) { if (rf & 1) { const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ApiDetailsComponent_button_40_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r8); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r7.promover("calidad", ctx_r7.xAPI.funcion, "promover")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Promover"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function ApiDetailsComponent_button_41_Template(rf, ctx) { if (rf & 1) { const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ApiDetailsComponent_button_41_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r10); const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r9.promover("desarrollo", ctx_r9.xAPI.funcion, "reversar")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Reversar a Desarrollo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function ApiDetailsComponent_button_43_Template(rf, ctx) { if (rf & 1) { const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 28); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ApiDetailsComponent_button_43_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r12); const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r11.promover("produccion", ctx_r11.xAPI.funcion, "instalar")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Instalar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function ApiDetailsComponent_button_48_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 29); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Modificar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("routerLink", "/tools/applications/update-api/" + ctx_r3.xAPI.funcion + "/" + ctx_r3.urlControl); } } function ApiDetailsComponent_button_50_Template(rf, ctx) { if (rf & 1) { const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 28); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ApiDetailsComponent_button_50_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r14); const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](53); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r13.ModalProbar(_r5, ctx_r13.xAPI)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx_r4.xAPI.entorno == "calidad" ? "Probar Versi\u00F3n" : "Probar"); } } const _c0 = function () { return { standalone: true }; }; function ApiDetailsComponent_ng_template_52_ng_template_13_Template(rf, ctx) { if (rf & 1) { const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 45)(1, "div", 46)(2, "div", 15)(3, "label", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](4, "Parametros"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](5, "input", 47); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ApiDetailsComponent_ng_template_52_ng_template_13_Template_input_ngModelChange_5_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r20); const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r19.xparametro = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "div", 46)(7, "div", 15)(8, "label", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](9, "Url Api"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](10, "div", 48)(11, "input", 49); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ApiDetailsComponent_ng_template_52_ng_template_13_Template_input_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r20); const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r21.xentorno = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](12, "div", 50); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ApiDetailsComponent_ng_template_52_ng_template_13_Template_div_click_12_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r20); const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r22.ejecutarApi()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](13, "span", 51); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](14, "span", 44); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](15, "div", 52)(16, "div", 15)(17, "label", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](18, "Valores"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](19, "ngx-codemirror", 53); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ApiDetailsComponent_ng_template_52_ng_template_13_Template_ngx_codemirror_ngModelChange_19_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r20); const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r23.valores = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](20, "div", 52)(21, "div", 15)(22, "label", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](23, "Resultado"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](24, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](25, "div", 54); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpropertyInterpolate"]("value", ctx_r17.xparametro); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](13, _c0))("ngModel", ctx_r17.xparametro); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpropertyInterpolate"]("value", ctx_r17.xentorno); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](14, _c0))("ngModel", ctx_r17.xentorno); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵattribute"]("disabled", true); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("mr-25"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "play"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](15, _c0))("ngModel", ctx_r17.valores)("options", ctx_r17.codeMirrorOptions); } } function ApiDetailsComponent_ng_template_52_ng_template_17_span_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](_r24.value.length); } } function ApiDetailsComponent_ng_template_52_ng_template_17_span_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function ApiDetailsComponent_ng_template_52_ng_template_17_Template(rf, ctx) { if (rf & 1) { const _r28 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "fieldset", 55)(1, "textarea", 56, 57); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function ApiDetailsComponent_ng_template_52_ng_template_17_Template_textarea_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r28); const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r27.codeTypeJs = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "label", 58); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](4, "Ejemplo de ejecuci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](5, "small", 59); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](6, ApiDetailsComponent_ng_template_52_ng_template_17_span_6_Template, 2, 1, "span", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](7, ApiDetailsComponent_ng_template_52_ng_template_17_span_7_Template, 2, 0, "span", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](2); const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpropertyInterpolate"]("value", ctx_r18.codeTypeJs); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](6, _c0))("ngModel", ctx_r18.codeTypeJs)("maxlength", 99999999999); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r24); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", !_r24); } } function ApiDetailsComponent_ng_template_52_Template(rf, ctx) { if (rf & 1) { const _r30 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 30)(1, "h5", 31); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Probar Api"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "button", 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ApiDetailsComponent_ng_template_52_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r30); const modal_r15 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r15.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](4, "span", 33); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](6, "div", 34)(7, "div", 35)(8, "ul", 36, 37)(10, "li", 38)(11, "a", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Laboratorio de Pruebas"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](13, ApiDetailsComponent_ng_template_52_ng_template_13_Template, 26, 16, "ng-template", 40); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](14, "li", 38)(15, "a", 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](16, "Fragmento de Codido"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](17, ApiDetailsComponent_ng_template_52_ng_template_17_Template, 8, 7, "ng-template", 40); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](18, "div", 41); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](19, "div", 42)(20, "button", 43); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ApiDetailsComponent_ng_template_52_Template_button_click_20_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r30); const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r31.ejecutarApi()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](21, "Probar "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](22, "span", 44); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](23, "button", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function ApiDetailsComponent_ng_template_52_Template_button_click_23_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r30); const modal_r15 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](modal_r15.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](24, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngbNavOutlet", _r16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassMap"]("mr-25"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("data-feather", "play"); } } const _c1 = function (a0, a1) { return { "badge-light-success": a0, "badge-light-danger": a1 }; }; class ApiDetailsComponent { rutaActiva; apiService; modalService; utilservice; xAPI = { funcion: '', parametros: '', relacional: false, concurrencia: false, protocolo: '', ruta: '', retorna: false, migrar: false, modulo: '', valores: {}, coleccion: '', http: 0, https: 0, consumidores: 0, puertohttp: 0, puertohttps: 0, driver: '', query: '', metodo: '', tipo: '', prioridad: '', entorno: '', logs: false }; apiPromover = { funcion: '', entorno: '' }; // public contentHeader; rutaURL; xentorno; resultado; xresultado; xparametro = ''; valores = ''; data; urlControl = ''; driversAPP; url = ''; UpdateAPI = {}; api = { 'funcion': '', 'estatus': undefined, 'descripcion': '', 'version': 0, 'driver': '', 'hash': '', 'entorno': '' }; constructor(rutaActiva, apiService, modalService, utilservice) { this.rutaActiva = rutaActiva; this.apiService = apiService; this.modalService = modalService; this.utilservice = utilservice; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.rutaURL = _this.rutaActiva.snapshot.params.id; _this.urlControl = _this.rutaActiva.snapshot.params.ruta; let url = ''; if (_this.urlControl != undefined) { let valor = atob(_this.urlControl).split('|'); _this.driversAPP = valor[0]; _this.url = valor[1]; url = '/' + _this.url; console.log(valor); } yield _this.ConsultarAPI(_this.rutaURL); // content header _this.contentHeader = { headerTitle: 'Detalle API REST', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Aplicaciones', isLink: true, link: '/tools/applications' }, { name: 'Api', isLink: true, link: '/tools/applications' + url }, { name: 'Detalle', isLink: true, link: '/tools/applications/api-list/' + _this.urlControl }, { name: _this.rutaURL, isLink: false }] } }; })(); } ConsultarAPI(api) { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.xAPI.funcion = "_SYS_R_ListarApisID"; _this2.xAPI.parametros = api; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { // console.log(data) data.map(e => { _this2.xAPI = e; }); const formatter = new json_formatter_js__WEBPACK_IMPORTED_MODULE_1__["default"](_this2.xAPI.entradas); document.getElementById("xrsx").appendChild(formatter.render()); }, error => { console.log(error); }); })(); } ModalProbar(modal, data) { var api = data.entorno == "produccion" ? "/v1/" : "/devel/"; this.xentorno = api + "api/crud:" + data.id; this.data = data; this.modalService.open(modal, { centered: true, size: 'xl', backdrop: false, keyboard: false, windowClass: 'fondo-modal' }); } promover(entorno, funcion) { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { yield sweetalert2__WEBPACK_IMPORTED_MODULE_2___default().fire({ title: 'Esta Seguro de Promover API?', html: `${funcion}
a Entorno de ${entorno.toUpperCase()}`, icon: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', confirmButtonText: 'Si, Promover!', cancelButtonText: 'Cancelar' }).then(result => { if (result.isConfirmed) { _this3.PromoverAPI(funcion, entorno); } }); })(); } ejecutarApi() { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this4.xAPI = _this4.data; _this4.xAPI.parametros = _this4.xparametro; _this4.xAPI.valores = _this4.valores; yield _this4.apiService.Ejecutar(_this4.xAPI).subscribe(data => { if (data !== null) { _this4.utilservice.AlertMini('top-end', 'success', 'Consulta Exitosa!', 3000); const formatter = new json_formatter_js__WEBPACK_IMPORTED_MODULE_1__["default"](data); document.getElementById("xrs").appendChild(formatter.render()); } else { _this4.resultado = null; _this4.utilservice.AlertMini('top-end', 'error', 'La API respondio NULL', 3000); } }, error => { _this4.resultado = error; }); })(); } PromoverAPI(funcion, entorno) { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this5.apiPromover.entorno = entorno; _this5.apiPromover.funcion = funcion; let jsonG = { "coleccion": "apicore", "relacional": false, "tipo": 'INSERTAR', "entorno": entorno, "valores": _this5.apiPromover }; let sApi = 'crud'; _this5.xAPI = {}; yield _this5.apiService.Guardar(jsonG, sApi).subscribe(data => { _this5.ConsultarAPI(_this5.rutaURL); let id = data.UpsertedID != null ? "registrada codigo: " + data.UpsertedID : "actualizada "; _this5.utilservice.AlertMini('top-end', 'success', `Tu (API) ha sido ${id}`, 3000); }, errot => { _this5.utilservice.AlertMini('top-end', 'error', 'Fallo la conexión, con el API', 3000); }); })(); } getContent() {// const formatter = new JSONFormatter(this.xAPI.entradas); // document.getElementById("xrsx").appendChild(formatter.render()); } static ɵfac = function ApiDetailsComponent_Factory(t) { return new (t || ApiDetailsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_9__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineComponent"]({ type: ApiDetailsComponent, selectors: [["app-api-details"]], hostAttrs: [1, "ecommerce-application"], decls: 54, vars: 18, consts: [[1, "content-wrapper", "container-xxl", "p-0"], [3, "contentHeader"], [1, "content-body"], [1, "app-ecommerce-details"], [1, "card"], [1, "card-body"], [1, "row", "my-2"], [1, "col-12", "col-md-12"], [1, "ecommerce-details-price", "d-flex", "flex-wrap", "mt-1"], [1, "card-text"], [1, "badge", "badge-pill", 3, "ngClass"], [1, "badge", "badge-glow", "badge-dark"], [1, "badge", "badge-glow", "badge-info"], [1, "d-flex", "flex-column", "flex-sm-row", "pt-1"], [1, "col-xl-12", "col-md-12", "col-12", "mb-1"], [1, "form-group"], ["for", "basicInput"], [2, "width", "100%", "height", "300px", "overflow", "scroll"], ["id", "xrsx"], [1, "col-md-12", "text-center"], ["type", "button", "class", "btn btn-primary", "rippleEffect", "", 3, "click", 4, "ngIf"], ["type", "button", "class", "btn btn-danger", "rippleEffect", "", 3, "click", 4, "ngIf"], ["type", "button", "class", "btn btn-info", "rippleEffect", "", 3, "click", 4, "ngIf"], ["rippleEffect", "", 1, "btn", "btn-dark", 3, "routerLink"], ["type", "button", "class", "btn btn-warning", "rippleEffect", "", 3, "routerLink", 4, "ngIf"], ["ModalProbarApi", ""], ["type", "button", "rippleEffect", "", 1, "btn", "btn-primary", 3, "click"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-info", 3, "click"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-warning", 3, "routerLink"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], ["ngbNav", "", 1, "nav-tabs", "justify-content-center"], ["navCenter", "ngbNav"], ["ngbNavItem", ""], ["ngbNavLink", ""], ["ngbNavContent", ""], [1, "mt-2", 3, "ngbNavOutlet"], [1, "modal-footer"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-success", 3, "click"], [3, "data-feather"], [1, "row"], [1, "col-xl-6", "col-md-6", "col-12"], ["type", "text", "id", "basicInput", "autocomplete", "off", "placeholder", "Ingrese Parametros", 1, "form-control", 3, "ngModelOptions", "ngModel", "value", "ngModelChange"], [1, "input-group", "form-password-toggle", "mb-2"], ["type", "text", "placeholder", "", 1, "form-control", 3, "ngModelOptions", "ngModel", "value", "ngModelChange"], [1, "input-group-append", 3, "click"], [1, "input-group-text", "cursor-pointer", "btn-success"], [1, "col-xl-6", "col-md-6", "col-12", "mb-1"], [3, "ngModelOptions", "ngModel", "options", "ngModelChange"], ["id", "xrs"], [1, "form-label-group", "mb-0"], ["id", "textarea-counter", "rows", "17", "placeholder", "Ejemplo de ejecuci\u00F3n", 1, "form-control", "char-textarea", 3, "ngModelOptions", "ngModel", "value", "maxlength", "ngModelChange"], ["textLength", ""], ["for", "textarea-counter"], [1, "textarea-counter-value", "float-right"], ["class", "char-count", 4, "ngIf"], [1, "char-count"]], template: function ApiDetailsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](1, "app-content-header", 1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](2, "div", 2)(3, "section", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6)(7, "div", 7)(8, "h4")(9, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](11, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](12, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](13, "Estatus - "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](14, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](15); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](16, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](17, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](18, "Version - "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](19, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](20); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](21, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](22, "label", 9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](23, "Entorno - "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](24, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](25); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpipe"](26, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](27, "p", 9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](28, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](29); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](30, "div", 13)(31, "div", 14)(32, "div", 15)(33, "label", 16); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](34, "Mapa de entrada"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](35, "div", 17); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](36, "div", 18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](37, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](38, "div", 13)(39, "div", 19); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](40, ApiDetailsComponent_button_40_Template, 2, 0, "button", 20); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](41, ApiDetailsComponent_button_41_Template, 2, 0, "button", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](42, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](43, ApiDetailsComponent_button_43_Template, 2, 0, "button", 22); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](44, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](45, "button", 23); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](46, "Regresar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](47, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](48, ApiDetailsComponent_button_48_Template, 2, 1, "button", 24); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](49, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](50, ApiDetailsComponent_button_50_Template, 2, 1, "button", 22); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](51, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](52, ApiDetailsComponent_ng_template_52_Template, 25, 4, "ng-template", null, 25, _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("contentHeader", ctx.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx.xAPI.funcion); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction2"](15, _c1, ctx.xAPI.estatus == true, ctx.xAPI.estatus == false)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"](" ", ctx.xAPI.estatus == true ? "ACTIVO" : ctx.xAPI.estatus == false ? "INACTIVO" : "INACTIVO", " "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](ctx.xAPI.version); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpipeBind1"](26, 13, ctx.xAPI.entorno)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtextInterpolate1"](" ", ctx.xAPI.descripcion, " "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.xAPI.entorno == "desarrollo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.xAPI.entorno != "desarrollo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.xAPI.entorno == "calidad"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("routerLink", "/tools/applications/api-list/" + ctx.xAPI.driver + "/" + ctx.rutaURL); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.xAPI.entorno != "produccion"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.xAPI.entorno != "produccion"); } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_9__.RouterLink, _angular_common__WEBPACK_IMPORTED_MODULE_11__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_11__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.MaxLengthValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_12__.NgModel, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavContent, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNav, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavLink, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavOutlet, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__.FeatherIconDirective, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_13__.DefaultClassDirective, _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_14__.CodemirrorComponent, _angular_common__WEBPACK_IMPORTED_MODULE_11__.UpperCasePipe], styles: ["/**\n * Swiper 10.1.0\n * Most modern mobile touch slider and framework with hardware accelerated transitions\n * https://swiperjs.com\n *\n * Copyright 2014-2023 Vladimir Kharlampidi\n *\n * Released under the MIT License\n *\n * Released on: August 1, 2023\n */\n\n/* FONT_START */\n\n@font-face {\n font-family: 'swiper-icons';\n src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');\n font-weight: 400;\n font-style: normal;\n}\n\n/* FONT_END */\n\n:root {\n --swiper-theme-color: #007aff;\n /*\n --swiper-preloader-color: var(--swiper-theme-color);\n --swiper-wrapper-transition-timing-function: initial;\n */\n}\n\n:host {\n position: relative;\n display: block;\n margin-left: auto;\n margin-right: auto;\n z-index: 1;\n}\n\n.swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n overflow: clip;\n list-style: none;\n padding: 0;\n /* Fix of Webkit flickering */\n z-index: 1;\n display: block;\n}\n\n.swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n\n.swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);\n box-sizing: content-box;\n}\n\n.swiper-android .swiper-slide,\n.swiper-ios .swiper-slide,\n.swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n\n.swiper-horizontal {\n touch-action: pan-y;\n}\n\n.swiper-vertical {\n touch-action: pan-x;\n}\n\n.swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n display: block;\n}\n\n.swiper-slide-invisible-blank {\n visibility: hidden;\n}\n\n/* Auto Height */\n\n.swiper-autoheight,\n.swiper-autoheight .swiper-slide {\n height: auto;\n}\n\n.swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n\n.swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n\n/* 3D Effects */\n\n.swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n\n.swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n\n.swiper-3d {\n perspective: 1200px;\n}\n\n.swiper-3d .swiper-slide,\n.swiper-3d .swiper-cube-shadow {\n transform-style: preserve-3d;\n}\n\n/* CSS Mode */\n\n.swiper-css-mode > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none;\n /* For Firefox */\n -ms-overflow-style: none;\n /* For Internet Explorer and Edge */\n}\n\n.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {\n display: none;\n}\n\n.swiper-css-mode > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n}\n\n.swiper-css-mode.swiper-horizontal > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n}\n\n.swiper-css-mode.swiper-vertical > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n}\n\n.swiper-css-mode.swiper-free-mode > .swiper-wrapper {\n scroll-snap-type: none;\n}\n\n.swiper-css-mode.swiper-free-mode > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: none;\n}\n\n.swiper-css-mode.swiper-centered > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n}\n\n.swiper-css-mode.swiper-centered > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n scroll-snap-stop: always;\n}\n\n.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-inline-start: var(--swiper-centered-offset-before);\n}\n\n.swiper-css-mode.swiper-centered.swiper-horizontal > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n}\n\n.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {\n margin-block-start: var(--swiper-centered-offset-before);\n}\n\n.swiper-css-mode.swiper-centered.swiper-vertical > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n}\n\n/* Slide styles start */\n\n/* 3D Shadows */\n\n.swiper-3d .swiper-slide-shadow,\n.swiper-3d .swiper-slide-shadow-left,\n.swiper-3d .swiper-slide-shadow-right,\n.swiper-3d .swiper-slide-shadow-top,\n.swiper-3d .swiper-slide-shadow-bottom,\n.swiper-3d .swiper-slide-shadow,\n.swiper-3d .swiper-slide-shadow-left,\n.swiper-3d .swiper-slide-shadow-right,\n.swiper-3d .swiper-slide-shadow-top,\n.swiper-3d .swiper-slide-shadow-bottom {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n}\n\n.swiper-3d .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n}\n\n.swiper-3d .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n\n.swiper-3d .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n\n.swiper-3d .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n\n.swiper-3d .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n\n.swiper-lazy-preloader {\n width: 42px;\n height: 42px;\n position: absolute;\n left: 50%;\n top: 50%;\n margin-left: -21px;\n margin-top: -21px;\n z-index: 10;\n transform-origin: 50%;\n box-sizing: border-box;\n border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));\n border-radius: 50%;\n border-top-color: transparent;\n}\n\n.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,\n.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader {\n animation: swiper-preloader-spin 1s infinite linear;\n}\n\n.swiper-lazy-preloader-white {\n --swiper-preloader-color: #fff;\n}\n\n.swiper-lazy-preloader-black {\n --swiper-preloader-color: #000;\n}\n\n@keyframes swiper-preloader-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n/* Slide styles end */\n\n.swiper-virtual .swiper-slide {\n -webkit-backface-visibility: hidden;\n transform: translateZ(0);\n}\n\n.swiper-virtual.swiper-css-mode .swiper-wrapper::after {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n}\n\n.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after {\n height: 1px;\n width: var(--swiper-virtual-size);\n}\n\n.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after {\n width: 1px;\n height: var(--swiper-virtual-size);\n}\n\n:root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 10px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n top: var(--swiper-navigation-top-offset, 50%);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n\n.swiper-button-prev.swiper-button-disabled,\n.swiper-button-next.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n\n.swiper-button-prev.swiper-button-hidden,\n.swiper-button-next.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n\n.swiper-navigation-disabled .swiper-button-prev,\n.swiper-navigation-disabled .swiper-button-next {\n display: none !important;\n}\n\n.swiper-button-prev svg,\n.swiper-button-next svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n transform-origin: center;\n}\n\n.swiper-rtl .swiper-button-prev svg,\n.swiper-rtl .swiper-button-next svg {\n transform: rotate(180deg);\n}\n\n.swiper-button-prev,\n.swiper-rtl .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 10px);\n right: auto;\n}\n\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n\n.swiper-button-lock {\n display: none;\n}\n\n/* Navigation font start */\n\n.swiper-button-prev:after,\n.swiper-button-next:after {\n font-family: swiper-icons;\n font-size: var(--swiper-navigation-size);\n text-transform: none !important;\n letter-spacing: 0;\n font-variant: initial;\n line-height: 1;\n}\n\n.swiper-button-prev:after,\n.swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n\n.swiper-button-next:after,\n.swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n\n/* Navigation font end */\n\n:root {\n /*\n --swiper-pagination-color: var(--swiper-theme-color);\n --swiper-pagination-left: auto;\n --swiper-pagination-right: 8px;\n --swiper-pagination-bottom: 8px;\n --swiper-pagination-top: auto;\n --swiper-pagination-fraction-color: inherit;\n --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25);\n --swiper-pagination-progressbar-size: 4px;\n --swiper-pagination-bullet-size: 8px;\n --swiper-pagination-bullet-width: 8px;\n --swiper-pagination-bullet-height: 8px;\n --swiper-pagination-bullet-border-radius: 50%;\n --swiper-pagination-bullet-inactive-color: #000;\n --swiper-pagination-bullet-inactive-opacity: 0.2;\n --swiper-pagination-bullet-opacity: 1;\n --swiper-pagination-bullet-horizontal-gap: 4px;\n --swiper-pagination-bullet-vertical-gap: 6px;\n */\n}\n\n.swiper-pagination {\n position: absolute;\n text-align: center;\n transition: 300ms opacity;\n transform: translate3d(0, 0, 0);\n z-index: 10;\n}\n\n.swiper-pagination.swiper-pagination-hidden {\n opacity: 0;\n}\n\n.swiper-pagination-disabled > .swiper-pagination,\n.swiper-pagination.swiper-pagination-disabled {\n display: none !important;\n}\n\n/* Common Styles */\n\n.swiper-pagination-fraction,\n.swiper-pagination-custom,\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-bullets.swiper-pagination-horizontal {\n bottom: var(--swiper-pagination-bottom, 8px);\n top: var(--swiper-pagination-top, auto);\n left: 0;\n width: 100%;\n}\n\n/* Bullets */\n\n.swiper-pagination-bullets-dynamic {\n overflow: hidden;\n font-size: 0;\n}\n\n.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n transform: scale(0.33);\n position: relative;\n}\n\n.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {\n transform: scale(1);\n}\n\n.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {\n transform: scale(1);\n}\n\n.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {\n transform: scale(0.66);\n}\n\n.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {\n transform: scale(0.33);\n}\n\n.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {\n transform: scale(0.66);\n}\n\n.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {\n transform: scale(0.33);\n}\n\n.swiper-pagination-bullet {\n width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));\n height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));\n display: inline-block;\n border-radius: var(--swiper-pagination-bullet-border-radius, 50%);\n background: var(--swiper-pagination-bullet-inactive-color, #000);\n opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);\n}\n\nbutton.swiper-pagination-bullet {\n border: none;\n margin: 0;\n padding: 0;\n box-shadow: none;\n appearance: none;\n}\n\n.swiper-pagination-clickable .swiper-pagination-bullet {\n cursor: pointer;\n}\n\n.swiper-pagination-bullet:only-child {\n display: none !important;\n}\n\n.swiper-pagination-bullet-active {\n opacity: var(--swiper-pagination-bullet-opacity, 1);\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n}\n\n.swiper-vertical > .swiper-pagination-bullets,\n.swiper-pagination-vertical.swiper-pagination-bullets {\n right: var(--swiper-pagination-right, 8px);\n left: var(--swiper-pagination-left, auto);\n top: 50%;\n transform: translate3d(0px, -50%, 0);\n}\n\n.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet,\n.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet {\n margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;\n display: block;\n}\n\n.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,\n.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n}\n\n.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,\n.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n display: inline-block;\n transition: 200ms transform, 200ms top;\n}\n\n.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,\n.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {\n margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);\n}\n\n.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,\n.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n}\n\n.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,\n.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n transition: 200ms transform, 200ms left;\n}\n\n.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n transition: 200ms transform, 200ms right;\n}\n\n/* Fraction */\n\n.swiper-pagination-fraction {\n color: var(--swiper-pagination-fraction-color, inherit);\n}\n\n/* Progress */\n\n.swiper-pagination-progressbar {\n background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n}\n\n.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n transform: scale(0);\n transform-origin: left top;\n}\n\n.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {\n transform-origin: right top;\n}\n\n.swiper-horizontal > .swiper-pagination-progressbar,\n.swiper-pagination-progressbar.swiper-pagination-horizontal,\n.swiper-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,\n.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {\n width: 100%;\n height: var(--swiper-pagination-progressbar-size, 4px);\n left: 0;\n top: 0;\n}\n\n.swiper-vertical > .swiper-pagination-progressbar,\n.swiper-pagination-progressbar.swiper-pagination-vertical,\n.swiper-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,\n.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {\n width: var(--swiper-pagination-progressbar-size, 4px);\n height: 100%;\n left: 0;\n top: 0;\n}\n\n.swiper-pagination-lock {\n display: none;\n}\n\n:root {\n /*\n --swiper-scrollbar-border-radius: 10px;\n --swiper-scrollbar-top: auto;\n --swiper-scrollbar-bottom: 4px;\n --swiper-scrollbar-left: auto;\n --swiper-scrollbar-right: 4px;\n --swiper-scrollbar-sides-offset: 1%;\n --swiper-scrollbar-bg-color: rgba(0, 0, 0, 0.1);\n --swiper-scrollbar-drag-bg-color: rgba(0, 0, 0, 0.5);\n --swiper-scrollbar-size: 4px;\n */\n}\n\n.swiper-scrollbar {\n border-radius: var(--swiper-scrollbar-border-radius, 10px);\n position: relative;\n -ms-touch-action: none;\n background: var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1));\n}\n\n.swiper-scrollbar-disabled > .swiper-scrollbar,\n.swiper-scrollbar.swiper-scrollbar-disabled {\n display: none !important;\n}\n\n.swiper-horizontal > .swiper-scrollbar,\n.swiper-scrollbar.swiper-scrollbar-horizontal {\n position: absolute;\n left: var(--swiper-scrollbar-sides-offset, 1%);\n bottom: var(--swiper-scrollbar-bottom, 4px);\n top: var(--swiper-scrollbar-top, auto);\n z-index: 50;\n height: var(--swiper-scrollbar-size, 4px);\n width: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));\n}\n\n.swiper-vertical > .swiper-scrollbar,\n.swiper-scrollbar.swiper-scrollbar-vertical {\n position: absolute;\n left: var(--swiper-scrollbar-left, auto);\n right: var(--swiper-scrollbar-right, 4px);\n top: var(--swiper-scrollbar-sides-offset, 1%);\n z-index: 50;\n width: var(--swiper-scrollbar-size, 4px);\n height: calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%));\n}\n\n.swiper-scrollbar-drag {\n height: 100%;\n width: 100%;\n position: relative;\n background: var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));\n border-radius: var(--swiper-scrollbar-border-radius, 10px);\n left: 0;\n top: 0;\n}\n\n.swiper-scrollbar-cursor-drag {\n cursor: move;\n}\n\n.swiper-scrollbar-lock {\n display: none;\n}\n\n/* Zoom container styles start */\n\n.swiper-zoom-container {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n text-align: center;\n}\n\n.swiper-zoom-container > img,\n.swiper-zoom-container > svg,\n.swiper-zoom-container > canvas {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n}\n\n/* Zoom container styles end */\n\n.swiper-slide-zoomed {\n cursor: move;\n touch-action: none;\n}\n\n/* a11y */\n\n.swiper .swiper-notification {\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n opacity: 0;\n z-index: -1000;\n}\n\n.swiper-free-mode > .swiper-wrapper {\n transition-timing-function: ease-out;\n margin: 0 auto;\n}\n\n.swiper-grid > .swiper-wrapper {\n flex-wrap: wrap;\n}\n\n.swiper-grid-column > .swiper-wrapper {\n flex-wrap: wrap;\n flex-direction: column;\n}\n\n.swiper-fade.swiper-free-mode .swiper-slide {\n transition-timing-function: ease-out;\n}\n\n.swiper-fade .swiper-slide {\n pointer-events: none;\n transition-property: opacity;\n}\n\n.swiper-fade .swiper-slide .swiper-slide {\n pointer-events: none;\n}\n\n.swiper-fade .swiper-slide-active,\n.swiper-fade .swiper-slide-active .swiper-slide-active {\n pointer-events: auto;\n}\n\n.swiper-cube {\n overflow: visible;\n}\n\n.swiper-cube .swiper-slide {\n pointer-events: none;\n backface-visibility: hidden;\n z-index: 1;\n visibility: hidden;\n transform-origin: 0 0;\n width: 100%;\n height: 100%;\n}\n\n.swiper-cube .swiper-slide .swiper-slide {\n pointer-events: none;\n}\n\n.swiper-cube.swiper-rtl .swiper-slide {\n transform-origin: 100% 0;\n}\n\n.swiper-cube .swiper-slide-active,\n.swiper-cube .swiper-slide-active .swiper-slide-active {\n pointer-events: auto;\n}\n\n.swiper-cube .swiper-slide-active,\n.swiper-cube .swiper-slide-next,\n.swiper-cube .swiper-slide-prev {\n pointer-events: auto;\n visibility: visible;\n}\n\n.swiper-cube .swiper-cube-shadow {\n position: absolute;\n left: 0;\n bottom: 0px;\n width: 100%;\n height: 100%;\n opacity: 0.6;\n z-index: 0;\n}\n\n.swiper-cube .swiper-cube-shadow:before {\n content: '';\n background: #000;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n filter: blur(50px);\n}\n\n.swiper-cube .swiper-slide-next + .swiper-slide {\n pointer-events: auto;\n visibility: visible;\n}\n\n/* Cube slide shadows start */\n\n.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top,\n.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,\n.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,\n.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right {\n z-index: 0;\n backface-visibility: hidden;\n}\n\n/* Cube slide shadows end */\n\n.swiper-flip {\n overflow: visible;\n}\n\n.swiper-flip .swiper-slide {\n pointer-events: none;\n backface-visibility: hidden;\n z-index: 1;\n}\n\n.swiper-flip .swiper-slide .swiper-slide {\n pointer-events: none;\n}\n\n.swiper-flip .swiper-slide-active,\n.swiper-flip .swiper-slide-active .swiper-slide-active {\n pointer-events: auto;\n}\n\n/* Flip slide shadows start */\n\n.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top,\n.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,\n.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,\n.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right {\n z-index: 0;\n backface-visibility: hidden;\n}\n\n/* Flip slide shadows end */\n\n.swiper-creative .swiper-slide {\n backface-visibility: hidden;\n overflow: hidden;\n transition-property: transform, opacity, height;\n}\n\n.swiper-cards {\n overflow: visible;\n}\n\n.swiper-cards .swiper-slide {\n transform-origin: center bottom;\n backface-visibility: hidden;\n overflow: hidden;\n}\n\n.ecommerce-application .app-ecommerce-details .product-img {\n width: 600px;\n}\n\n.ecommerce-application .app-ecommerce-details .ratings-list-item svg,\n.ecommerce-application .app-ecommerce-details .ratings-list-item i {\n font-size: 1.286rem;\n height: 1.286rem;\n width: 1.286rem;\n}\n\n.ecommerce-application .app-ecommerce-details .filled-star {\n fill: #ff9f43;\n stroke: #ff9f43;\n color: #ff9f43;\n}\n\n.ecommerce-application .app-ecommerce-details .unfilled-star {\n stroke: #babfc7;\n color: #babfc7;\n}\n\n.ecommerce-application .app-ecommerce-details .item-price {\n color: #7367f0;\n}\n\n.ecommerce-application .app-ecommerce-details .item-company {\n display: inline-flex;\n font-weight: 400;\n font-size: 0.875rem;\n}\n\n.ecommerce-application .app-ecommerce-details .item-company .company-name {\n font-weight: 600;\n margin-left: 0.25rem;\n}\n\n.ecommerce-application .app-ecommerce-details .product-features {\n margin-top: 1.5rem;\n margin-bottom: 1.5rem;\n}\n\n.ecommerce-application .app-ecommerce-details .product-features li {\n display: flex;\n align-items: center;\n margin-bottom: 1rem;\n}\n\n.ecommerce-application .app-ecommerce-details .product-features li svg,\n.ecommerce-application .app-ecommerce-details .product-features li i {\n height: 1.4rem;\n width: 1.4rem;\n font-size: 1.4rem;\n margin-right: 0.75rem;\n}\n\n.ecommerce-application .app-ecommerce-details .product-features li span {\n font-weight: 600;\n}\n\n.ecommerce-application .app-ecommerce-details .product-color-options {\n margin-top: 1.5rem;\n margin-bottom: 1.2rem;\n}\n\n.ecommerce-application .app-ecommerce-details .btn-wishlist .text-danger {\n color: #ea5455;\n fill: #ea5455;\n}\n\n.ecommerce-application .app-ecommerce-details .btn-share .btn-icon ~ .dropdown-menu {\n min-width: 3rem;\n}\n\n.ecommerce-application .app-ecommerce-details .item-features {\n background-color: #f8f8f8;\n padding-top: 5.357rem;\n padding-bottom: 5.357rem;\n}\n\n.ecommerce-application .app-ecommerce-details .item-features i,\n.ecommerce-application .app-ecommerce-details .item-features svg {\n font-size: 2.5rem;\n height: 2.5rem;\n width: 2.5rem;\n color: #7367f0;\n}\n\n.ecommerce-application .swiper-responsive-breakpoints.swiper-container .swiper-slide {\n text-align: center;\n background-color: #f8f8f8;\n padding: 1.5rem 3rem;\n border-radius: 0.428rem;\n}\n\n.ecommerce-application .swiper-responsive-breakpoints.swiper-container .swiper-slide .img-container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 250px;\n}\n\n.ecommerce-application .swiper-button-prev,\n.ecommerce-application .swiper-button-next,\n.ecommerce-application .swiper-container-rtl .swiper-button-prev,\n.ecommerce-application .swiper-container-rtl .swiper-button-next {\n background-image: none;\n width: 35px;\n font-size: 2rem;\n}\n\n.ecommerce-application .swiper-button-prev:focus,\n.ecommerce-application .swiper-button-next:focus,\n.ecommerce-application .swiper-container-rtl .swiper-button-prev:focus,\n.ecommerce-application .swiper-container-rtl .swiper-button-next:focus {\n outline: none;\n}\n\n.ecommerce-application .swiper-button-prev {\n left: 0;\n}\n\n.ecommerce-application .swiper-button-prev:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 44px;\n color: #6e6b7b;\n width: 44px;\n height: 44px;\n content: \"\";\n}\n\n.ecommerce-application .swiper-button-next {\n right: 0;\n}\n\n.ecommerce-application .swiper-button-next:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 44px;\n color: #6e6b7b;\n width: 44px;\n height: 44px;\n content: \"\";\n}\n\n.ecommerce-application .swiper-container-rtl .swiper-button-prev:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 44px;\n color: #6e6b7b;\n width: 44px;\n height: 44px;\n content: \"\";\n}\n\n.ecommerce-application .swiper-container-rtl .swiper-button-next:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 44px;\n color: #6e6b7b;\n width: 44px;\n height: 44px;\n content: \"\";\n}\n\n.ecommerce-application .product-color-options .color-option {\n border: 1px solid transparent;\n border-radius: 50%;\n position: relative;\n cursor: pointer;\n padding: 3px;\n}\n\n.ecommerce-application .product-color-options .color-option .filloption {\n height: 18px;\n width: 18px;\n border-radius: 50%;\n}\n\n.ecommerce-application .product-color-options .selected .b-primary {\n border-color: #7367f0;\n}\n\n.ecommerce-application .product-color-options .selected .b-primary .filloption {\n box-shadow: 0 2px 4px 0 rgba(115, 103, 240, 0.4);\n}\n\n.ecommerce-application .product-color-options .selected .b-success {\n border-color: #28c76f;\n}\n\n.ecommerce-application .product-color-options .selected .b-success .filloption {\n box-shadow: 0 2px 4px 0 rgba(40, 199, 111, 0.4);\n}\n\n.ecommerce-application .product-color-options .selected .b-danger {\n border-color: #ea5455;\n}\n\n.ecommerce-application .product-color-options .selected .b-danger .filloption {\n box-shadow: 0 2px 4px 0 rgba(234, 84, 85, 0.4);\n}\n\n.ecommerce-application .product-color-options .selected .b-warning {\n border-color: #ff9f43;\n}\n\n.ecommerce-application .product-color-options .selected .b-warning .filloption {\n box-shadow: 0 2px 4px 0 rgba(255, 159, 67, 0.4);\n}\n\n.ecommerce-application .product-color-options .selected .b-info {\n border-color: #00cfe8;\n}\n\n.ecommerce-application .product-color-options .selected .b-info .filloption {\n box-shadow: 0 2px 4px 0 rgba(0, 207, 232, 0.4);\n}\n\n.ecommerce-application .product-color-options .b-primary .filloption {\n box-shadow: 0 2px 4px 0 rgba(115, 103, 240, 0.4);\n}\n\n.ecommerce-application .product-color-options .b-success .filloption {\n box-shadow: 0 2px 4px 0 rgba(40, 199, 111, 0.4);\n}\n\n.ecommerce-application .product-color-options .b-danger .filloption {\n box-shadow: 0 2px 4px 0 rgba(234, 84, 85, 0.4);\n}\n\n.ecommerce-application .product-color-options .b-warning .filloption {\n box-shadow: 0 2px 4px 0 rgba(255, 159, 67, 0.4);\n}\n\n.ecommerce-application .product-color-options .b-info .filloption {\n box-shadow: 0 2px 4px 0 rgba(0, 207, 232, 0.4);\n}\n\n@media (max-width: 767.98px) {\n .ecommerce-application .swiper-responsive-breakpoints.swiper-container .swiper-slide {\n padding: 1rem;\n }\n}\n\n@media (max-width: 767.98px) {\n .ecommerce-application .app-ecommerce-details .ratings-list-item svg,\n.ecommerce-application .app-ecommerce-details .ratings-list-item i {\n font-size: 1rem;\n height: 1rem;\n width: 1rem;\n }\n}\n\n/*=========================================================================================\n File Name: ext-component-swiper.scss\n Description: swiper plugin scss.\n ----------------------------------------------------------------------------------------\n Item Name: Vuexy - Vuejs, React, Angular, HTML & Laravel Admin Dashboard Template\n Author: PIXINVENT\n Author URL: http://www.themeforest.net/user/pixinvent\n==========================================================================================*/\n\n/* Swiper css */\n\n/* ---------- */\n\n/* swiper slide shadow */\n\n.swiper-container .swiper-shadow {\n box-shadow: 2px 8px 10px 0 rgba(25, 42, 70, 0.13) !important;\n}\n\n.swiper-pagination .swiper-pagination-bullet:focus {\n outline: none;\n}\n\n.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {\n background-color: #7367f0;\n}\n\n.swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {\n background-color: #7367f0;\n}\n\n.swiper-centered-slides.swiper-container .swiper-slide {\n text-align: center;\n font-weight: 500;\n background-color: #fff;\n height: auto;\n width: auto !important;\n padding: 2rem 5.5rem;\n cursor: pointer;\n}\n\n.swiper-centered-slides.swiper-container .swiper-slide.swiper-slide-active {\n border: 2px solid #7367f0;\n}\n\n.swiper-centered-slides.swiper-container .swiper-slide.swiper-slide-active i,\n.swiper-centered-slides.swiper-container .swiper-slide.swiper-slide-active svg {\n color: #7367f0;\n}\n\n.swiper-centered-slides .swiper-button-next:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n\n.swiper-centered-slides .swiper-button-prev:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n\n.swiper-centered-slides .swiper-button-next,\n.swiper-centered-slides .swiper-button-prev {\n height: 40px !important;\n width: 40px !important;\n}\n\n.swiper-centered-slides .swiper-button-next:after,\n.swiper-centered-slides .swiper-button-prev:after {\n border-radius: 50%;\n background-color: #7367f0;\n box-shadow: 0 2px 4px 0 rgba(34, 41, 47, 0.5) !important;\n background-size: 24px !important;\n height: 40px !important;\n width: 40px !important;\n}\n\n.swiper-centered-slides.swiper-container-rtl .swiper-button-next:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n\n.swiper-centered-slides.swiper-container-rtl .swiper-button-prev:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n\n.swiper-centered-slides-2.swiper-container .swiper-slide {\n font-weight: 500;\n background-color: #f2f4f4;\n height: auto;\n width: auto !important;\n cursor: pointer;\n}\n\n.swiper-centered-slides-2.swiper-container .swiper-slide.swiper-slide-active {\n color: #fff;\n background-color: #7367f0 !important;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.5) !important;\n}\n\n/* cube effect */\n\n.swiper-cube-effect.swiper-container {\n width: 300px;\n left: 50%;\n margin-left: -150px;\n margin-top: -12px;\n}\n\n/* swiper coverflow slide width */\n\n.swiper-coverflow.swiper-container .swiper-slide {\n width: 300px;\n}\n\n.gallery-thumbs {\n padding: 10px 0;\n background: #22292f;\n}\n\n.gallery-thumbs .swiper-slide {\n opacity: 0.4;\n}\n\n.gallery-thumbs .swiper-slide-thumb-active {\n opacity: 1;\n}\n\n.swiper-parallax .swiper-slide {\n padding: 2.67rem 4rem;\n}\n\n.swiper-parallax .swiper-slide .title {\n font-size: 1.07rem;\n padding: 0.5rem 0;\n}\n\n.swiper-parallax .swiper-slide .text {\n font-size: 1rem;\n}\n\n.swiper-parallax .parallax-bg {\n position: absolute;\n width: 130%;\n}\n\n.swiper-virtual.swiper-container {\n height: 300px;\n}\n\n.swiper-virtual.swiper-container .swiper-slide {\n /* virtual slides */\n font-size: 1.5rem;\n background-color: #eee;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.swiper-button-prev,\n.swiper-button-next,\n.swiper-container-rtl .swiper-button-prev,\n.swiper-container-rtl .swiper-button-next {\n background-image: none;\n color: #fff;\n width: 38px;\n font-size: 2rem;\n}\n\n.swiper-button-prev:focus,\n.swiper-button-next:focus,\n.swiper-container-rtl .swiper-button-prev:focus,\n.swiper-container-rtl .swiper-button-next:focus {\n outline: none;\n}\n\n.swiper-button-prev:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 44px;\n color: #6e6b7b;\n width: 44px;\n height: 44px;\n content: \"\";\n padding-right: 1px;\n}\n\n.swiper-button-next:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 44px;\n color: #6e6b7b;\n width: 44px;\n height: 44px;\n content: \"\";\n padding-right: 2px;\n}\n\n.swiper-container-rtl .swiper-button-prev:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 44px;\n color: #6e6b7b;\n width: 44px;\n height: 44px;\n content: \"\";\n}\n\n.swiper-container-rtl .swiper-button-next:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 44px;\n color: #6e6b7b;\n width: 44px;\n height: 44px;\n content: \"\";\n}\n\n@media only screen and (max-width: 768px) {\n .swiper-button-prev {\n font-size: 1.286rem;\n top: 55%;\n }\n .swiper-button-prev:after {\n height: 28px;\n width: 28px;\n background-size: 24px;\n }\n .swiper-button-next {\n font-size: 1.286rem;\n top: 55%;\n }\n .swiper-button-next:after {\n background-size: 24px;\n }\n .swiper-centered-slides .swiper-button-next:after,\n.swiper-centered-slides .swiper-button-prev:after {\n height: 28px;\n width: 28px;\n background-size: 18px;\n }\n .swiper-parallax .swiper-slide {\n padding: 1rem 1.2rem;\n }\n .swiper-parallax img {\n height: 100% !important;\n }\n}\n\n@media only screen and (max-width: 576px) {\n .swiper-centered-slides.swiper-container .swiper-slide {\n padding: 1.6rem 2.5rem;\n }\n .swiper-centered-slides.swiper-container .swiper-slide i,\n.swiper-centered-slides.swiper-container .swiper-slide svg {\n height: 1.07rem !important;\n width: 1.07rem !important;\n font-size: 1.07rem !important;\n }\n .swiper-cube-effect.swiper-container {\n width: 150px;\n left: 70%;\n }\n .swiper-parallax .swiper-slide {\n padding: 1rem 1.3rem;\n }\n .swiper-virtual.swiper-container .swiper-slide {\n font-size: 1rem;\n }\n}\n\n.dark-layout .swiper-container:not(.swiper-parallax) .swiper-slide {\n background-color: #161d31;\n}\n\n.dark-layout .swiper-container.swiper-centered-slides .swiper-slide {\n background-color: #283046;\n}\n\n.dark-layout .swiper-container.swiper-parallax .swiper-slide * {\n color: #6e6b7b;\n}\n\n.swiper-button-prev:after {\n content: \"\" !important;\n}\n\n.swiper-button-next:after {\n content: \"\" !important;\n}\n\n/* cube effect */\n\n.swiper-cube-effect.swiper-container {\n width: 300px;\n left: 0%;\n margin-left: -150px;\n margin-top: -12px;\n}\n\n.swiper-cube-effect.swiper-container .swiper.s-wrapper {\n width: 300px;\n}\n\n.swiper-button-next,\n.swiper-button-prev {\n width: 38px !important;\n}\n\n.swiper-coverflow.swiper-container .swiper-slide {\n width: 300px !important;\n}\n\nswiper > .swiper.s-wrapper .swiper-pagination .swiper-pagination-handle {\n cursor: default !important;\n}\n\n.rating .fa {\n color: #ff9f43;\n}\n\n.rating .fa.fa-star:before {\n content: \"\\f005\" !important;\n}\n\n.rating {\n font-size: 2rem;\n color: #ff9f43;\n}\n\n.rating.rating-sm {\n font-size: 1rem;\n}\n\n.rating.rating-lg {\n font-size: 3rem;\n}\n\n.custom-star {\n position: relative;\n display: inline-block;\n font-size: 3rem;\n color: #babfc7;\n}\n\n.custom-full {\n color: #ff9f43;\n}\n\n.custom-half {\n position: absolute;\n display: inline-block;\n overflow: hidden;\n color: #ff9f43;\n}"], encapsulation: 2 }); } /***/ }), /***/ 75339: /*!*********************************************************************!*\ !*** ./src/app/main/views/tools/api/api-list/api-list.component.ts ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ApiListComponent": () => (/* binding */ ApiListComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/pipes/filter.pipe */ 69671); function ApiListComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 22)(1, "div", 23)(2, "h5", 24); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "h6", 25); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](6, "p", 26); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()(); } if (rf & 2) { const item_r7 = ctx.item; _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](item_r7.funcion); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](item_r7.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate2"](" ", item_r7.tipo, " --- ", item_r7.aplicacion, " "); } } function ApiListComponent_ng_container_14_img_4_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "img", 42); } } function ApiListComponent_ng_container_14_img_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "img", 43); } } function ApiListComponent_ng_container_14_img_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "img", 44); } } function ApiListComponent_ng_container_14_img_7_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "img", 45); } } function ApiListComponent_ng_container_14_div_12_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 46); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1, "Activo"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); } } function ApiListComponent_ng_container_14_div_13_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](1, "Inactivo"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); } } function ApiListComponent_ng_container_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](1, "div", 27)(2, "div", 28)(3, "a", 29); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](4, ApiListComponent_ng_container_14_img_4_Template, 1, 0, "img", 30); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](5, ApiListComponent_ng_container_14_img_5_Template, 1, 0, "img", 31); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](6, ApiListComponent_ng_container_14_img_6_Template, 1, 0, "img", 32); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](7, ApiListComponent_ng_container_14_img_7_Template, 1, 0, "img", 33); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](8, "div", 23)(9, "div", 34)(10, "div", 35)(11, "div", 36); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](12, ApiListComponent_ng_container_14_div_12_Template, 2, 0, "div", 37); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](13, ApiListComponent_ng_container_14_div_13_Template, 2, 0, "div", 38); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](14, "div", 39)(15, "h6", 40); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](16); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](17, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](18, "p", 41)(19, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](20); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementContainerEnd"](); } if (rf & 2) { const product_r10 = ctx.$implicit; const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("routerLink", "/tools/applications/api-list/" + ctx_r1.getUrl(product_r10.id)); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", product_r10.driver == "mongodb"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", product_r10.driver == "mysql8"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", product_r10.driver == "mariadb"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", product_r10.driver == "postgres13" || product_r10.driver == "postgres96"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", product_r10.estatus === true); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", product_r10.estatus === false); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind1"](17, 9, product_r10.driver), " "); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](product_r10.descripcion); } } function ApiListComponent_ng_template_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 48); } } function ApiListComponent_ng_template_24_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 49); } } function ApiListComponent_ng_template_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](0); } if (rf & 2) { const page_r17 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" ", page_r17, " "); } } function ApiListComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 50); } } function ApiListComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 51); } } const clave = '5412892DF0D2919B04ADD29EDEFABA30E30F6D7F5A62A9B84AD46BDE23B25491'; class ApiListComponent { ruta; rutaActiva; config; apiService; contentHeader; closeResult = ''; codeTypeJs = ''; xAPI = { funcion: '', parametros: '' }; searchText = ''; page = 1; pageSize = 8; pageBasic = 1; drivers = []; selectCustomSelected = []; id = ''; rowData = []; developer = []; count; tempData = []; hashcontrol; urlControl = ''; driversAPP; url = ''; constructor(ruta, rutaActiva, config, apiService) { this.ruta = ruta; this.rutaActiva = rutaActiva; this.config = config; this.apiService = apiService; config.backdrop = false; config.keyboard = false; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.id = _this.rutaActiva.snapshot.params.id; _this.urlControl = _this.rutaActiva.snapshot.params.ruta; let url = ''; if (_this.urlControl != undefined) { let valor = atob(_this.urlControl).split('|'); _this.driversAPP = valor[0]; _this.url = valor[1]; url = '/' + _this.id + '/' + _this.url; } yield _this.ListarApis(); yield _this.CargarDrivers(); _this.contentHeader = { headerTitle: 'Herramientas', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Aplicaciones', isLink: true, link: '/tools/applications' + url }, { name: 'Api', isLink: false }] } }; })(); } ListarApis() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.developer = []; _this2.xAPI.funcion = '_SYS_R_ListarApisAPP'; _this2.xAPI.parametros = _this2.id; _this2.xAPI.valores = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { if (data.msj != undefined) return; yield data.map(e => { e.descripcion = e.descripcion == undefined ? '' : e.descripcion; _this2.selectCustomSelected.push(e); }); _this2.rowData = _this2.selectCustomSelected; _this2.count = _this2.rowData.length; _this2.tempData = _this2.rowData; }); return function (_x) { return _ref.apply(this, arguments); }; }(), error => { console.error(error); }); })(); } onSelectChange(event) { const url = "tools/api-details/" + event.funcion; this.ruta.navigate([url]); } irA(base, ruta) { this.ruta.navigate([base, ruta]); } CargarDrivers() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xAPI.funcion = '_SYS_R_ListarDriver'; _this3.xAPI.parametros = _this3.id; _this3.drivers = []; yield _this3.apiService.Ejecutar(_this3.xAPI).subscribe( /*#__PURE__*/function () { var _ref2 = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { // console.log(data) _this3.drivers = yield data; }); return function (_x2) { return _ref2.apply(this, arguments); }; }(), error => { console.log(error); }); })(); } getUrl(id) { // console.log(id, this.id) let url = id + '|' + this.id; return btoa(url); } static ɵfac = function ApiListComponent_Factory(t) { return new (t || ApiListComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbModalConfig), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__.ApiService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ type: ApiListComponent, selectors: [["app-api-list"]], hostAttrs: [1, "ecommerce-application"], decls: 28, vars: 26, consts: [[1, "content-wrapper", "container-xxl", "p-0"], [3, "contentHeader"], [1, "content-body"], ["id", "ecommerce-searchbar", 1, "ecommerce-searchbar"], [1, "row", "mt-1"], [1, "col-md-6", "col-sm-12", "mb-3"], [1, "input-group"], ["type", "text", "id", "shop-search", "placeholder", "Buscar", "aria-label", "Buscar...", "aria-describedby", "shop-search", 1, "form-control", "search-product", "w-100", 2, "height", "40px", "padding", "8px 12px", "border", "1px solid #ccc", "border-radius", "4px", 3, "ngModel", "ngModelChange"], ["bindLabel", "funcion", "bindValue", "id", "placeholder", "Seleccione API", 1, "w-100", 2, "height", "40px", "border", "1px solid #ccc", "border-radius", "4px", 3, "items", "ngModel", "searchable", "hideSelected", "ngModelChange", "change"], ["ng-option-tmp", ""], ["id", "wishlist", 1, "grid-view", "wishlist-items"], [4, "ngFor", "ngForOf"], ["id", "ecommerce-pagination"], [1, "row"], [1, "col-sm-12"], [1, "d-flex", "justify-content-center"], ["aria-label", "Pagination", 3, "collectionSize", "page", "pageSize", "maxSize", "rotate", "ellipses", "boundaryLinks", "pageChange"], ["ngbPaginationFirst", ""], ["ngbPaginationPrevious", ""], ["ngbPaginationNumber", ""], ["ngbPaginationNext", ""], ["ngbPaginationLast", ""], [1, "card", 2, "margin", "10px 0"], [1, "card-body"], [1, "card-title"], [1, "card-subtitle", "mb-2", "text-muted"], [1, "card-text"], [1, "card", "tarjeta", "ecommerce-card", "col-sm-12"], [1, "item-img", "text-center", "efecto-img"], [3, "routerLink"], ["class", "img-fluid", "width", "150px", "height", "150px", "src", "assets/integraciones/mongodb.png", "alt", "img-placeholder", 4, "ngIf"], ["class", "img-fluid", "width", "150px", "height", "150px", "src", "assets/integraciones/mysql.png", "alt", "img-placeholder", 4, "ngIf"], ["class", "img-fluid", "width", "150px", "height", "150px", "src", "assets/integraciones/mariadb.png", "alt", "img-placeholder", 4, "ngIf"], ["class", "img-fluid", "width", "150px", "height", "150px", "src", "assets/integraciones/postgres.png", "alt", "img-placeholder", 4, "ngIf"], [1, "item-wrapper"], [1, "item-rating"], [1, "rating", "rating-sm"], ["class", "badge badge-success", 4, "ngIf"], ["class", "badge badge-danger", 4, "ngIf"], [1, "item-cost"], [1, "item-price"], [1, "card-text", "item-description"], ["width", "150px", "height", "150px", "src", "assets/integraciones/mongodb.png", "alt", "img-placeholder", 1, "img-fluid"], ["width", "150px", "height", "150px", "src", "assets/integraciones/mysql.png", "alt", "img-placeholder", 1, "img-fluid"], ["width", "150px", "height", "150px", "src", "assets/integraciones/mariadb.png", "alt", "img-placeholder", 1, "img-fluid"], ["width", "150px", "height", "150px", "src", "assets/integraciones/postgres.png", "alt", "img-placeholder", 1, "img-fluid"], [1, "badge", "badge-success"], [1, "badge", "badge-danger"], ["data-feather", "chevrons-left", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevron-left", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevron-right", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevrons-right", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"]], template: function ApiListComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "app-content-header", 1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](2, "div", 2)(3, "section", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6)(7, "input", 7); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("ngModelChange", function ApiListComponent_Template_input_ngModelChange_7_listener($event) { return ctx.searchText = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](8, "div", 5)(9, "div", 6)(10, "ng-select", 8); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("ngModelChange", function ApiListComponent_Template_ng_select_ngModelChange_10_listener($event) { return ctx.selectCustomSelected = $event; })("change", function ApiListComponent_Template_ng_select_change_10_listener($event) { return ctx.onSelectChange($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](11, ApiListComponent_ng_template_11_Template, 8, 4, "ng-template", 9); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](12, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](13, "section", 10); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](14, ApiListComponent_ng_container_14_Template, 21, 11, "ng-container", 11); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](15, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](16, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](17, "section", 12)(18, "div", 13)(19, "div", 14)(20, "div", 15)(21, "ngb-pagination", 16); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("pageChange", function ApiListComponent_Template_ngb_pagination_pageChange_21_listener($event) { return ctx.page = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](22, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](23, ApiListComponent_ng_template_23_Template, 1, 0, "ng-template", 17); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](24, ApiListComponent_ng_template_24_Template, 1, 0, "ng-template", 18); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](25, ApiListComponent_ng_template_25_Template, 1, 1, "ng-template", 19); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](26, ApiListComponent_ng_template_26_Template, 1, 0, "ng-template", 20); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](27, ApiListComponent_ng_template_27_Template, 1, 0, "ng-template", 21); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()()()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("contentHeader", ctx.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngModel", ctx.searchText); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("items", ctx.rowData)("ngModel", ctx.selectCustomSelected)("searchable", true)("hideSelected", false); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](15, 14, _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](16, 18, ctx.drivers, ctx.searchText, "descripcion"), (ctx.page - 1) * ctx.pageSize, (ctx.page - 1) * ctx.pageSize + ctx.pageSize)); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("collectionSize", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](22, 22, ctx.drivers, ctx.searchText, "descripcion").length)("page", ctx.page)("pageSize", ctx.pageSize)("maxSize", 5)("rotate", true)("ellipses", false)("boundaryLinks", true); } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_6__.RouterLinkWithHref, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.NgModel, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPagination, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationFirst, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationLast, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationNext, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationNumber, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationPrevious, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__.NgSelectComponent, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__.NgOptionTemplateDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_3__.FeatherIconDirective, _angular_common__WEBPACK_IMPORTED_MODULE_8__.UpperCasePipe, _angular_common__WEBPACK_IMPORTED_MODULE_8__.SlicePipe, _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_4__.FilterPipe], styles: ["@charset \"UTF-8\";\n.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}\n.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}\n.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent #999;border-width:0 5px 5px}\n.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}\n.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}\n.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}\n.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}\n.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}\n.ng-select.ng-select-focused:not(.ng-select-opened)>.ng-select-container{border-color:#007eff;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 0 3px rgba(0,126,255,0.1)}\n.ng-select.ng-select-disabled>.ng-select-container{background-color:#f9f9f9}\n.ng-select .ng-has-value .ng-placeholder{display:none}\n.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:4px;border:1px solid #ccc;min-height:36px;align-items:center}\n.ng-select .ng-select-container:hover{box-shadow:0 1px 0 rgba(0,0,0,0.06)}\n.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}\n[dir=\"rtl\"] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}\n.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:#999}\n.ng-select.ng-select-single .ng-select-container{height:36px}\n.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}\n[dir=\"rtl\"] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}\n.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:#f9f9f9;border:1px solid #e6e6e6}\n.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:#333;background-color:#ebf5ff;border-radius:2px;margin-right:5px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:#f9f9f9}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;padding:1px 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:#d1e8ff}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid #b8dbff}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:#000}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}\n.ng-select .ng-clear-wrapper{color:#999}\n.ng-select .ng-clear-wrapper:hover .ng-clear{color:#D0021B}\n.ng-select .ng-spinner-zone{padding:5px 5px 0 0}\n[dir=\"rtl\"] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}\n.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}\n[dir=\"rtl\"] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}\n.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:#666}\n.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}\n.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px 0 rgba(0,0,0,0.06);left:0}\n.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}\n.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}\n.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-top-color:#e6e6e6;margin-top:-1px}\n.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}\n.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}\n.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid #ccc;padding:5px 7px}\n.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;padding:5px 7px}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:rgba(0,0,0,0.54);cursor:pointer}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:#f5faff}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:rgba(0,0,0,0.54);background-color:#ebf5ff;font-weight:600}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:rgba(0,0,0,0.87);padding:8px 10px}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:#333;background-color:#ebf5ff}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:#f5faff;color:#333}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}\n[dir=\"rtl\"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}\n[dir=\"rtl\"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}\n[dir=\"rtl\"] .ng-dropdown-panel{direction:rtl;text-align:right}\n.ecommerce-application .content-body {\n position: relative;\n}\n.ecommerce-application .body-content-overlay {\n position: fixed !important;\n z-index: 12 !important;\n}\n.ecommerce-application .sidebar-shop {\n margin-top: 0.85rem;\n width: 260px;\n z-index: 998;\n}\n.ecommerce-application .sidebar-shop .filter-heading {\n margin-bottom: 1.75rem;\n}\n.ecommerce-application .sidebar-shop .filter-title {\n margin-bottom: 1rem;\n margin-top: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .price-range li:not(:last-child),\n.ecommerce-application .sidebar-shop .categories-list li:not(:last-child) {\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .brand-list li {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip {\n opacity: 0;\n transform: translate(-50%, -15%);\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip:before {\n content: \"$ \";\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle:active .noUi-tooltip {\n opacity: 1;\n}\n.ecommerce-application .sidebar-shop .ratings-list {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list:last-child {\n margin-bottom: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul {\n margin-bottom: 0;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item svg,\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item i {\n width: 1.25rem;\n height: 1.25rem;\n font-size: 1.25rem;\n}\n.ecommerce-application .filled-star {\n fill: #ff9f43;\n stroke: #ff9f43;\n color: #ff9f43;\n}\n.ecommerce-application .unfilled-star {\n stroke: #babfc7;\n color: #babfc7;\n}\n.ecommerce-application .ecommerce-header-items {\n display: flex;\n justify-content: space-between;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler {\n padding-left: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:active, .ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:focus {\n outline: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon {\n height: auto;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon i,\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon svg {\n color: #6e6b7b;\n height: 1.5rem;\n width: 1.5rem;\n font-size: 1.5rem;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n font-weight: 500;\n color: #5e5873;\n}\n.ecommerce-application .ecommerce-searchbar .input-group {\n box-shadow: 0 2px 8px 0 rgba(34, 41, 47, 0.14);\n border-radius: 0.3rem;\n}\n.ecommerce-application .search-product,\n.ecommerce-application .input-group-text {\n height: 48px;\n border: none;\n font-size: 0.95rem;\n padding-left: 1.25rem;\n}\n.ecommerce-application .search-product::placeholder,\n.ecommerce-application .input-group-text::placeholder {\n font-size: 0.95rem;\n}\n.ecommerce-application .ecommerce-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 4px 25px 0 rgba(34, 41, 47, 0.25);\n}\n.ecommerce-application .ecommerce-card .item-rating ul {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-rating svg,\n.ecommerce-application .ecommerce-card .item-rating i {\n height: 1.143rem;\n width: 1.143rem;\n font-size: 1.143rem;\n}\n.ecommerce-application .ecommerce-card .item-name {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-name a {\n font-weight: 600;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .ecommerce-card .item-description {\n font-size: 0.875rem;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist span,\n.ecommerce-application .ecommerce-card .btn-cart span {\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i,\n.ecommerce-application .ecommerce-card .btn-wishlist svg,\n.ecommerce-application .ecommerce-card .btn-cart i,\n.ecommerce-application .ecommerce-card .btn-cart svg {\n margin-right: 0.25rem;\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i.text-danger,\n.ecommerce-application .ecommerce-card .btn-wishlist svg.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart i.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart svg.text-danger {\n fill: #ea5455;\n}\n.ecommerce-application .grid-view:not(.wishlist-items),\n.ecommerce-application .list-view:not(.wishlist-items) {\n margin-top: 2rem;\n}\n.ecommerce-application .grid-view {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n column-gap: 2rem;\n}\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n}\n.ecommerce-application .grid-view .ecommerce-card {\n overflow: hidden;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-img {\n padding-top: 0.5rem;\n min-height: 15.85rem;\n display: flex;\n align-items: center;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n.ecommerce-application .grid-view .ecommerce-card .shipping,\n.ecommerce-application .grid-view .ecommerce-card .item-company,\n.ecommerce-application .grid-view .ecommerce-card .item-options .item-price {\n display: none;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options {\n display: flex;\n flex-wrap: wrap;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-cart,\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-wishlist {\n flex-grow: 1;\n border-radius: 0;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-name {\n margin-top: 0.75rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-description {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 0.2rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-price {\n font-weight: 600;\n}\n.ecommerce-application .grid-view .ecommerce-card .card-body {\n padding: 1rem;\n}\n.ecommerce-application .list-view {\n display: grid;\n grid-template-columns: 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card {\n overflow: hidden;\n display: grid;\n grid-template-columns: 1fr 2fr 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card .item-img {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 50px;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body {\n padding: 1.5rem 1rem;\n border-right: 1px solid #ebe9f1;\n display: flex;\n flex-direction: column;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-wrapper {\n order: 2;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-name {\n order: 1;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-description {\n order: 3;\n display: -webkit-box;\n -webkit-line-clamp: 5;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-price {\n display: none;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-rating {\n margin-bottom: 0.3rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company {\n display: inline-flex;\n font-weight: 400;\n margin: 0.3rem 0 0.5rem;\n font-size: 0.875rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company .company-name {\n font-weight: 600;\n margin-left: 0.25rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options {\n padding: 1rem;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper {\n position: relative;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper .item-cost .item-price {\n color: #7367f0;\n margin-bottom: 0;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .shipping {\n margin-top: 0.75rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-wishlist,\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-cart {\n margin-top: 1rem;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header,\n.ecommerce-application .checkout-tab-steps .bs-stepper-content {\n padding: 0;\n margin: 0;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-img img {\n width: 100px;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-name {\n order: 0 !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-company,\n.ecommerce-application .checkout-items .ecommerce-card .item-rating {\n margin-bottom: 0.4rem !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-quantity {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .checkout-items .ecommerce-card .delivery-date {\n margin-top: 1.2rem;\n margin-bottom: 0.25rem;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-options .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ecommerce-application .checkout-options .coupons:focus-within {\n box-shadow: none;\n}\n.ecommerce-application .checkout-options .coupons input {\n border: none;\n padding-left: 0;\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons input::placeholder {\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons .input-group-append {\n margin: 0;\n}\n.ecommerce-application .checkout-options .coupons .input-group-text {\n height: auto;\n font-weight: 600;\n padding: inherit;\n}\n.ecommerce-application .checkout-options .price-details .price-title {\n font-weight: 600;\n margin-bottom: 0.75rem;\n margin-top: 1.5rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail .detail-title.detail-total {\n font-weight: 600;\n}\n.ecommerce-application .payment-type .gift-card {\n cursor: pointer;\n}\n.ecommerce-application .checkout-tab-steps {\n background-color: transparent !important;\n box-shadow: none !important;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header {\n border: none;\n}\n@media (min-width: 992px) {\n .ecommerce-application .ecommerce-header-items .shop-sidebar-toggler {\n display: none;\n }\n .ecommerce-application .product-checkout.list-view {\n grid-template-columns: 2fr 1fr;\n column-gap: 2rem;\n }\n}\n@media (max-width: 1199.98px) {\n .ecommerce-application .ecommerce-header-items .btn-group {\n align-items: center;\n }\n .ecommerce-application .ecommerce-header-items .btn-group .btn-icon {\n padding: 0.6rem 0.736rem;\n }\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr;\n }\n .ecommerce-application .body-content-overlay {\n position: fixed;\n opacity: 0;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n .ecommerce-application .body-content-overlay.show {\n opacity: 1;\n }\n .ecommerce-application.horizontal-layout .body-content-overlay {\n z-index: 998 !important;\n }\n .ecommerce-application.horizontal-layout .sidebar-shop {\n z-index: 999 !important;\n }\n}\n@media (max-width: 991.98px) {\n .ecommerce-application .sidebar-left .sidebar .card {\n border-radius: 0;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop {\n transform: translateX(-112%);\n transition: all 0.25s ease;\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n overflow-y: scroll;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop.show {\n transition: all 0.25s ease;\n transform: translateX(0);\n }\n .ecommerce-application .grid-view {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n display: none;\n }\n}\n@media (max-width: 767.98px) {\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card {\n grid-template-columns: 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card .item-img {\n padding-top: 2rem;\n padding-bottom: 2rem;\n }\n .ecommerce-application .list-view .ecommerce-card .card-body {\n border: none;\n }\n}\n@media (max-width: 575.98px) {\n .ecommerce-application .grid-view,\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr;\n }\n}\n.bg-white {\n background-color: #ffffff !important;\n}\n.bg-white .card-header,\n.bg-white .card-footer {\n background-color: transparent;\n}\n.border-white {\n border: 1px solid #ffffff !important;\n}\n.border-top-white {\n border-top: 1px solid #ffffff;\n}\n.border-bottom-white {\n border-bottom: 1px solid #ffffff;\n}\n.border-left-white {\n border-left: 1px solid #ffffff;\n}\n.border-right-white {\n border-right: 1px solid #ffffff;\n}\n.bg-white.badge-glow,\n.border-white.badge-glow,\n.badge-white.badge-glow {\n box-shadow: 0px 0px 10px #ffffff;\n}\n.overlay-white {\n background: #ffffff; /* The Fallback */\n background: rgba(255, 255, 255, 0.6);\n}\ninput:focus ~ .bg-white {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ffffff !important;\n}\n.bg-black {\n background-color: #000000 !important;\n}\n.bg-black .card-header,\n.bg-black .card-footer {\n background-color: transparent;\n}\n.border-black {\n border: 1px solid #000000 !important;\n}\n.border-top-black {\n border-top: 1px solid #000000;\n}\n.border-bottom-black {\n border-bottom: 1px solid #000000;\n}\n.border-left-black {\n border-left: 1px solid #000000;\n}\n.border-right-black {\n border-right: 1px solid #000000;\n}\n.bg-black.badge-glow,\n.border-black.badge-glow,\n.badge-black.badge-glow {\n box-shadow: 0px 0px 10px #000000;\n}\n.overlay-black {\n background: #000000; /* The Fallback */\n background: rgba(0, 0, 0, 0.6);\n}\ninput:focus ~ .bg-black {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #000000 !important;\n}\n.bg-dark {\n background-color: #4b4b4b !important;\n}\n.bg-dark .card-header,\n.bg-dark .card-footer {\n background-color: transparent;\n}\n.alert-dark {\n background: rgba(75, 75, 75, 0.12) !important;\n color: #4b4b4b !important;\n}\n.alert-dark .alert-heading {\n box-shadow: rgba(75, 75, 75, 0.4) 0px 6px 15px -7px;\n}\n.alert-dark .alert-link {\n color: #3e3e3e !important;\n}\n.alert-dark .close {\n color: #4b4b4b !important;\n}\n.border-dark {\n border: 1px solid #4b4b4b !important;\n}\n.border-top-dark {\n border-top: 1px solid #4b4b4b;\n}\n.border-bottom-dark {\n border-bottom: 1px solid #4b4b4b;\n}\n.border-left-dark {\n border-left: 1px solid #4b4b4b;\n}\n.border-right-dark {\n border-right: 1px solid #4b4b4b;\n}\n.bg-dark.badge-glow,\n.border-dark.badge-glow,\n.badge-dark.badge-glow {\n box-shadow: 0px 0px 10px #4b4b4b;\n}\n.badge.badge-light-dark {\n background-color: rgba(75, 75, 75, 0.12);\n color: #4b4b4b !important;\n}\n.overlay-dark {\n background: #4b4b4b; /* The Fallback */\n background: rgba(75, 75, 75, 0.6);\n}\n.btn-dark {\n border-color: #4b4b4b !important;\n background-color: #4b4b4b !important;\n color: #fff !important;\n}\n.btn-dark:focus, .btn-dark:active, .btn-dark.active {\n color: #fff;\n background-color: #343434 !important;\n}\n.btn-dark:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #4b4b4b;\n}\n.btn-dark:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-dark {\n background-color: transparent;\n color: #4b4b4b;\n}\n.btn-flat-dark:hover {\n color: #4b4b4b;\n}\n.btn-flat-dark:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.12);\n}\n.btn-flat-dark:active, .btn-flat-dark.active, .btn-flat-dark:focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-flat-dark.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-dark {\n background-color: #4b4b4b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-dark:hover:not(.disabled):not(:disabled) {\n background-color: #626262;\n}\n.btn-relief-dark:active, .btn-relief-dark.active, .btn-relief-dark:focus {\n background-color: #343434;\n}\n.btn-relief-dark:hover {\n color: #fff;\n}\n.btn-relief-dark:active, .btn-relief-dark.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-dark {\n border: 1px solid #4b4b4b !important;\n background-color: transparent;\n color: #4b4b4b;\n}\n.btn-outline-dark:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.04);\n color: #4b4b4b;\n}\n.btn-outline-dark:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, .btn-outline-dark:not(:disabled):not(.disabled):focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-outline-dark.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-dark.dropdown-toggle {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-outline-dark.waves-effect .waves-ripple,\n.btn-flat-dark.waves-effect .waves-ripple {\n background: radial-gradient(rgba(75, 75, 75, 0.2) 0, rgba(75, 75, 75, 0.3) 40%, rgba(75, 75, 75, 0.4) 50%, rgba(75, 75, 75, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-dark {\n background-color: #4b4b4b;\n}\n.modal.modal-dark .modal-header .modal-title {\n color: #4b4b4b;\n}\n.modal.modal-dark .modal-header .close {\n color: #4b4b4b !important;\n}\n.progress-bar-dark {\n background-color: rgba(75, 75, 75, 0.12);\n}\n.progress-bar-dark .progress-bar {\n background-color: #4b4b4b;\n}\n.timeline .timeline-point-dark {\n border-color: #4b4b4b !important;\n}\n.timeline .timeline-point-dark i,\n.timeline .timeline-point-dark svg {\n stroke: #4b4b4b !important;\n}\n.timeline .timeline-point-dark.timeline-point-indicator {\n background-color: #4b4b4b !important;\n}\n.timeline .timeline-point-dark.timeline-point-indicator:before {\n background: rgba(75, 75, 75, 0.12) !important;\n}\n.divider.divider-dark .divider-text:before, .divider.divider-dark .divider-text:after {\n border-color: #4b4b4b !important;\n}\ninput:focus ~ .bg-dark {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #4b4b4b !important;\n}\n.custom-control-dark .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark .custom-control-input:active ~ .custom-control-label::before {\n border-color: #4b4b4b;\n background-color: #4b4b4b;\n}\n.custom-control-dark.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-dark.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-dark.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-dark.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(75, 75, 75, 0.4) !important;\n}\n.custom-control-dark .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(75, 75, 75, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-dark .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #4b4b4b !important;\n}\n.custom-switch-dark .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #4b4b4b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-dark .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #4b4b4b !important;\n border-color: #4b4b4b !important;\n}\n.text-dark.text-darken-1 {\n color: #343434 !important;\n}\n.bg-dark.bg-darken-1 {\n background-color: #343434 !important;\n}\n.border-dark.border-darken-1 {\n border: 1px solid #343434 !important;\n}\n.border-top-dark.border-top-darken-1 {\n border-top: 1px solid #343434 !important;\n}\n.border-bottom-dark.border-bottom-darken-1 {\n border-bottom: 1px solid #343434 !important;\n}\n.border-left-dark.border-left-darken-1 {\n border-left: 1px solid #343434 !important;\n}\n.border-right-dark.border-right-darken-1 {\n border-right: 1px solid #343434 !important;\n}\n.overlay-dark.overlay-darken-1 {\n background: #343434; /* The Fallback */\n background: rgba(52, 52, 52, 0.6);\n}\n.text-dark.text-darken-2 {\n color: #1e1e1e !important;\n}\n.bg-dark.bg-darken-2 {\n background-color: #1e1e1e !important;\n}\n.border-dark.border-darken-2 {\n border: 1px solid #1e1e1e !important;\n}\n.border-top-dark.border-top-darken-2 {\n border-top: 1px solid #1e1e1e !important;\n}\n.border-bottom-dark.border-bottom-darken-2 {\n border-bottom: 1px solid #1e1e1e !important;\n}\n.border-left-dark.border-left-darken-2 {\n border-left: 1px solid #1e1e1e !important;\n}\n.border-right-dark.border-right-darken-2 {\n border-right: 1px solid #1e1e1e !important;\n}\n.overlay-dark.overlay-darken-2 {\n background: #1e1e1e; /* The Fallback */\n background: rgba(30, 30, 30, 0.6);\n}\n.text-dark.text-darken-3 {\n color: #626262 !important;\n}\n.bg-dark.bg-darken-3 {\n background-color: #626262 !important;\n}\n.border-dark.border-darken-3 {\n border: 1px solid #626262 !important;\n}\n.border-top-dark.border-top-darken-3 {\n border-top: 1px solid #626262 !important;\n}\n.border-bottom-dark.border-bottom-darken-3 {\n border-bottom: 1px solid #626262 !important;\n}\n.border-left-dark.border-left-darken-3 {\n border-left: 1px solid #626262 !important;\n}\n.border-right-dark.border-right-darken-3 {\n border-right: 1px solid #626262 !important;\n}\n.overlay-dark.overlay-darken-3 {\n background: #626262; /* The Fallback */\n background: rgba(98, 98, 98, 0.6);\n}\n.bg-light {\n background-color: #f6f6f6 !important;\n}\n.bg-light .card-header,\n.bg-light .card-footer {\n background-color: transparent;\n}\n.border-light {\n border: 1px solid #f6f6f6 !important;\n}\n.border-top-light {\n border-top: 1px solid #f6f6f6;\n}\n.border-bottom-light {\n border-bottom: 1px solid #f6f6f6;\n}\n.border-left-light {\n border-left: 1px solid #f6f6f6;\n}\n.border-right-light {\n border-right: 1px solid #f6f6f6;\n}\n.bg-light.badge-glow,\n.border-light.badge-glow,\n.badge-light.badge-glow {\n box-shadow: 0px 0px 10px #f6f6f6;\n}\n.overlay-light {\n background: #f6f6f6; /* The Fallback */\n background: rgba(246, 246, 246, 0.6);\n}\ninput:focus ~ .bg-light {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #f6f6f6 !important;\n}\n.text-primary.text-lighten-5 {\n color: #dedbfb !important;\n}\n.bg-primary.bg-lighten-5 {\n background-color: #dedbfb !important;\n}\n.border-primary.border-lighten-5 {\n border: 1px solid #dedbfb !important;\n}\n.border-top-primary.border-top-lighten-5 {\n border-top: 1px solid #dedbfb !important;\n}\n.border-bottom-primary.border-bottom-lighten-5 {\n border-bottom: 1px solid #dedbfb !important;\n}\n.border-left-primary.border-left-lighten-5 {\n border-left: 1px solid #dedbfb !important;\n}\n.border-right-primary.border-right-lighten-5 {\n border-right: 1px solid #dedbfb !important;\n}\n.overlay-primary.overlay-lighten-5 {\n background: #dedbfb; /* The Fallback */\n background: rgba(222, 219, 251, 0.6);\n}\n.text-primary.text-lighten-4 {\n color: #c9c4f9 !important;\n}\n.bg-primary.bg-lighten-4 {\n background-color: #c9c4f9 !important;\n}\n.border-primary.border-lighten-4 {\n border: 1px solid #c9c4f9 !important;\n}\n.border-top-primary.border-top-lighten-4 {\n border-top: 1px solid #c9c4f9 !important;\n}\n.border-bottom-primary.border-bottom-lighten-4 {\n border-bottom: 1px solid #c9c4f9 !important;\n}\n.border-left-primary.border-left-lighten-4 {\n border-left: 1px solid #c9c4f9 !important;\n}\n.border-right-primary.border-right-lighten-4 {\n border-right: 1px solid #c9c4f9 !important;\n}\n.overlay-primary.overlay-lighten-4 {\n background: #c9c4f9; /* The Fallback */\n background: rgba(201, 196, 249, 0.6);\n}\n.text-primary.text-lighten-3 {\n color: #b3adf7 !important;\n}\n.bg-primary.bg-lighten-3 {\n background-color: #b3adf7 !important;\n}\n.border-primary.border-lighten-3 {\n border: 1px solid #b3adf7 !important;\n}\n.border-top-primary.border-top-lighten-3 {\n border-top: 1px solid #b3adf7 !important;\n}\n.border-bottom-primary.border-bottom-lighten-3 {\n border-bottom: 1px solid #b3adf7 !important;\n}\n.border-left-primary.border-left-lighten-3 {\n border-left: 1px solid #b3adf7 !important;\n}\n.border-right-primary.border-right-lighten-3 {\n border-right: 1px solid #b3adf7 !important;\n}\n.overlay-primary.overlay-lighten-3 {\n background: #b3adf7; /* The Fallback */\n background: rgba(179, 173, 247, 0.6);\n}\n.text-primary.text-lighten-2 {\n color: #9e95f5 !important;\n}\n.bg-primary.bg-lighten-2 {\n background-color: #9e95f5 !important;\n}\n.border-primary.border-lighten-2 {\n border: 1px solid #9e95f5 !important;\n}\n.border-top-primary.border-top-lighten-2 {\n border-top: 1px solid #9e95f5 !important;\n}\n.border-bottom-primary.border-bottom-lighten-2 {\n border-bottom: 1px solid #9e95f5 !important;\n}\n.border-left-primary.border-left-lighten-2 {\n border-left: 1px solid #9e95f5 !important;\n}\n.border-right-primary.border-right-lighten-2 {\n border-right: 1px solid #9e95f5 !important;\n}\n.overlay-primary.overlay-lighten-2 {\n background: #9e95f5; /* The Fallback */\n background: rgba(158, 149, 245, 0.6);\n}\n.text-primary.text-lighten-1 {\n color: #887ef2 !important;\n}\n.bg-primary.bg-lighten-1 {\n background-color: #887ef2 !important;\n}\n.border-primary.border-lighten-1 {\n border: 1px solid #887ef2 !important;\n}\n.border-top-primary.border-top-lighten-1 {\n border-top: 1px solid #887ef2 !important;\n}\n.border-bottom-primary.border-bottom-lighten-1 {\n border-bottom: 1px solid #887ef2 !important;\n}\n.border-left-primary.border-left-lighten-1 {\n border-left: 1px solid #887ef2 !important;\n}\n.border-right-primary.border-right-lighten-1 {\n border-right: 1px solid #887ef2 !important;\n}\n.overlay-primary.overlay-lighten-1 {\n background: #887ef2; /* The Fallback */\n background: rgba(136, 126, 242, 0.6);\n}\n.bg-primary {\n background-color: #7367f0 !important;\n}\n.bg-primary .card-header,\n.bg-primary .card-footer {\n background-color: transparent;\n}\n.alert-primary {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.alert-primary .alert-heading {\n box-shadow: rgba(115, 103, 240, 0.4) 0px 6px 15px -7px;\n}\n.alert-primary .alert-link {\n color: #5e50ee !important;\n}\n.alert-primary .close {\n color: #7367f0 !important;\n}\n.bg-light-primary {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.bg-light-primary.fc-h-event, .bg-light-primary.fc-v-event {\n border-color: rgba(115, 103, 240, 0.1);\n}\n.bg-light-primary .fc-list-event-dot,\n.bg-light-primary .fc-daygrid-event-dot {\n border-color: #7367f0 !important;\n}\n.bg-light-primary.fc-list-event:hover td {\n background: rgba(115, 103, 240, 0.1) !important;\n}\n.bg-light-primary.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-primary {\n color: #7367f0 !important;\n}\n.border-primary {\n border: 1px solid #7367f0 !important;\n}\n.border-top-primary {\n border-top: 1px solid #7367f0;\n}\n.border-bottom-primary {\n border-bottom: 1px solid #7367f0;\n}\n.border-left-primary {\n border-left: 1px solid #7367f0;\n}\n.border-right-primary {\n border-right: 1px solid #7367f0;\n}\n.bg-primary.badge-glow,\n.border-primary.badge-glow,\n.badge-primary.badge-glow {\n box-shadow: 0px 0px 10px #7367f0;\n}\n.badge.badge-light-primary {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}\n.overlay-primary {\n background: #7367f0; /* The Fallback */\n background: rgba(115, 103, 240, 0.6);\n}\n.btn-primary {\n border-color: #7367f0 !important;\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.btn-primary:focus, .btn-primary:active, .btn-primary.active {\n color: #fff;\n background-color: #5e50ee !important;\n}\n.btn-primary:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #7367f0;\n}\n.btn-primary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-primary {\n background-color: transparent;\n color: #7367f0;\n}\n.btn-flat-primary:hover {\n color: #7367f0;\n}\n.btn-flat-primary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.12);\n}\n.btn-flat-primary:active, .btn-flat-primary.active, .btn-flat-primary:focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-flat-primary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-primary {\n background-color: #7367f0;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-primary:hover:not(.disabled):not(:disabled) {\n background-color: #887ef2;\n}\n.btn-relief-primary:active, .btn-relief-primary.active, .btn-relief-primary:focus {\n background-color: #5e50ee;\n}\n.btn-relief-primary:hover {\n color: #fff;\n}\n.btn-relief-primary:active, .btn-relief-primary.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-primary {\n border: 1px solid #7367f0 !important;\n background-color: transparent;\n color: #7367f0;\n}\n.btn-outline-primary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.04);\n color: #7367f0;\n}\n.btn-outline-primary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-outline-primary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-primary.dropdown-toggle {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-outline-primary.waves-effect .waves-ripple,\n.btn-flat-primary.waves-effect .waves-ripple {\n background: radial-gradient(rgba(115, 103, 240, 0.2) 0, rgba(115, 103, 240, 0.3) 40%, rgba(115, 103, 240, 0.4) 50%, rgba(115, 103, 240, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-primary {\n background-color: #7367f0;\n}\n.modal.modal-primary .modal-header .modal-title {\n color: #7367f0;\n}\n.modal.modal-primary .modal-header .close {\n color: #7367f0 !important;\n}\n.pagination-primary .page-item.active .page-link {\n background: #7367f0 !important;\n color: #fff;\n}\n.pagination-primary .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-primary .page-item .page-link:hover {\n color: #7367f0;\n}\n.pagination-primary .page-item.prev-item .page-link:hover, .pagination-primary .page-item.next-item .page-link:hover {\n background: #7367f0;\n color: #fff;\n}\n.pagination-primary .page-item.next-item .page-link:active:after, .pagination-primary .page-item.next-item .page-link:hover:after, .pagination-primary .page-item.next .page-link:active:after, .pagination-primary .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-primary .page-item.prev-item .page-link:active:before, .pagination-primary .page-item.prev-item .page-link:hover:before, .pagination-primary .page-item.prev .page-link:active:before, .pagination-primary .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-primary .nav-item .nav-link.active {\n color: #fff;\n background-color: #7367f0 !important;\n border-color: #7367f0;\n box-shadow: 0 4px 18px -4px rgba(115, 103, 240, 0.65);\n}\n.progress-bar-primary {\n background-color: rgba(115, 103, 240, 0.12);\n}\n.progress-bar-primary .progress-bar {\n background-color: #7367f0;\n}\n.timeline .timeline-point-primary {\n border-color: #7367f0 !important;\n}\n.timeline .timeline-point-primary i,\n.timeline .timeline-point-primary svg {\n stroke: #7367f0 !important;\n}\n.timeline .timeline-point-primary.timeline-point-indicator {\n background-color: #7367f0 !important;\n}\n.timeline .timeline-point-primary.timeline-point-indicator:before {\n background: rgba(115, 103, 240, 0.12) !important;\n}\n.divider.divider-primary .divider-text:before, .divider.divider-primary .divider-text:after {\n border-color: #7367f0 !important;\n}\ninput:focus ~ .bg-primary {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #7367f0 !important;\n}\n.custom-control-primary .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary .custom-control-input:active ~ .custom-control-label::before {\n border-color: #7367f0;\n background-color: #7367f0;\n}\n.custom-control-primary.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-primary.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-primary.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-primary.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(115, 103, 240, 0.4) !important;\n}\n.custom-control-primary .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(115, 103, 240, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-primary .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #7367f0 !important;\n}\n.custom-switch-primary .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #7367f0 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-primary .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #7367f0 !important;\n border-color: #7367f0 !important;\n}\n.text-primary.text-darken-1 {\n color: #5e50ee !important;\n}\n.bg-primary.bg-darken-1 {\n background-color: #5e50ee !important;\n}\n.border-primary.border-darken-1 {\n border: 1px solid #5e50ee !important;\n}\n.border-top-primary.border-top-darken-1 {\n border-top: 1px solid #5e50ee !important;\n}\n.border-bottom-primary.border-bottom-darken-1 {\n border-bottom: 1px solid #5e50ee !important;\n}\n.border-left-primary.border-left-darken-1 {\n border-left: 1px solid #5e50ee !important;\n}\n.border-right-primary.border-right-darken-1 {\n border-right: 1px solid #5e50ee !important;\n}\n.overlay-primary.overlay-darken-1 {\n background: #5e50ee; /* The Fallback */\n background: rgba(94, 80, 238, 0.6);\n}\n.text-primary.text-darken-2 {\n color: #4839eb !important;\n}\n.bg-primary.bg-darken-2 {\n background-color: #4839eb !important;\n}\n.border-primary.border-darken-2 {\n border: 1px solid #4839eb !important;\n}\n.border-top-primary.border-top-darken-2 {\n border-top: 1px solid #4839eb !important;\n}\n.border-bottom-primary.border-bottom-darken-2 {\n border-bottom: 1px solid #4839eb !important;\n}\n.border-left-primary.border-left-darken-2 {\n border-left: 1px solid #4839eb !important;\n}\n.border-right-primary.border-right-darken-2 {\n border-right: 1px solid #4839eb !important;\n}\n.overlay-primary.overlay-darken-2 {\n background: #4839eb; /* The Fallback */\n background: rgba(72, 57, 235, 0.6);\n}\n.text-primary.text-darken-3 {\n color: #3321e9 !important;\n}\n.bg-primary.bg-darken-3 {\n background-color: #3321e9 !important;\n}\n.border-primary.border-darken-3 {\n border: 1px solid #3321e9 !important;\n}\n.border-top-primary.border-top-darken-3 {\n border-top: 1px solid #3321e9 !important;\n}\n.border-bottom-primary.border-bottom-darken-3 {\n border-bottom: 1px solid #3321e9 !important;\n}\n.border-left-primary.border-left-darken-3 {\n border-left: 1px solid #3321e9 !important;\n}\n.border-right-primary.border-right-darken-3 {\n border-right: 1px solid #3321e9 !important;\n}\n.overlay-primary.overlay-darken-3 {\n background: #3321e9; /* The Fallback */\n background: rgba(51, 33, 233, 0.6);\n}\n.text-primary.text-darken-4 {\n color: #2716db !important;\n}\n.bg-primary.bg-darken-4 {\n background-color: #2716db !important;\n}\n.border-primary.border-darken-4 {\n border: 1px solid #2716db !important;\n}\n.border-top-primary.border-top-darken-4 {\n border-top: 1px solid #2716db !important;\n}\n.border-bottom-primary.border-bottom-darken-4 {\n border-bottom: 1px solid #2716db !important;\n}\n.border-left-primary.border-left-darken-4 {\n border-left: 1px solid #2716db !important;\n}\n.border-right-primary.border-right-darken-4 {\n border-right: 1px solid #2716db !important;\n}\n.overlay-primary.overlay-darken-4 {\n background: #2716db; /* The Fallback */\n background: rgba(39, 22, 219, 0.6);\n}\n.text-primary.text-accent-1 {\n color: #bdfdff !important;\n}\n.bg-primary.bg-accent-1 {\n background-color: #bdfdff !important;\n}\n.border-primary.border-accent-1 {\n border: 1px solid #bdfdff !important;\n}\n.border-top-primary.border-top-accent-1 {\n border-top: 1px solid #bdfdff !important;\n}\n.border-bottom-primary.border-bottom-accent-1 {\n border-bottom: 1px solid #bdfdff !important;\n}\n.border-left-primary.border-left-accent-1 {\n border-left: 1px solid #bdfdff !important;\n}\n.border-right-primary.border-right-accent-1 {\n border-right: 1px solid #bdfdff !important;\n}\n.overlay-primary.overlay-accent-1 {\n background: #bdfdff; /* The Fallback */\n background: rgba(189, 253, 255, 0.6);\n}\n.text-primary.text-accent-2 {\n color: #8afbff !important;\n}\n.bg-primary.bg-accent-2 {\n background-color: #8afbff !important;\n}\n.border-primary.border-accent-2 {\n border: 1px solid #8afbff !important;\n}\n.border-top-primary.border-top-accent-2 {\n border-top: 1px solid #8afbff !important;\n}\n.border-bottom-primary.border-bottom-accent-2 {\n border-bottom: 1px solid #8afbff !important;\n}\n.border-left-primary.border-left-accent-2 {\n border-left: 1px solid #8afbff !important;\n}\n.border-right-primary.border-right-accent-2 {\n border-right: 1px solid #8afbff !important;\n}\n.overlay-primary.overlay-accent-2 {\n background: #8afbff; /* The Fallback */\n background: rgba(138, 251, 255, 0.6);\n}\n.text-primary.text-accent-3 {\n color: #57faff !important;\n}\n.bg-primary.bg-accent-3 {\n background-color: #57faff !important;\n}\n.border-primary.border-accent-3 {\n border: 1px solid #57faff !important;\n}\n.border-top-primary.border-top-accent-3 {\n border-top: 1px solid #57faff !important;\n}\n.border-bottom-primary.border-bottom-accent-3 {\n border-bottom: 1px solid #57faff !important;\n}\n.border-left-primary.border-left-accent-3 {\n border-left: 1px solid #57faff !important;\n}\n.border-right-primary.border-right-accent-3 {\n border-right: 1px solid #57faff !important;\n}\n.overlay-primary.overlay-accent-3 {\n background: #57faff; /* The Fallback */\n background: rgba(87, 250, 255, 0.6);\n}\n.text-primary.text-accent-4 {\n color: #3df9ff !important;\n}\n.bg-primary.bg-accent-4 {\n background-color: #3df9ff !important;\n}\n.border-primary.border-accent-4 {\n border: 1px solid #3df9ff !important;\n}\n.border-top-primary.border-top-accent-4 {\n border-top: 1px solid #3df9ff !important;\n}\n.border-bottom-primary.border-bottom-accent-4 {\n border-bottom: 1px solid #3df9ff !important;\n}\n.border-left-primary.border-left-accent-4 {\n border-left: 1px solid #3df9ff !important;\n}\n.border-right-primary.border-right-accent-4 {\n border-right: 1px solid #3df9ff !important;\n}\n.overlay-primary.overlay-accent-4 {\n background: #3df9ff; /* The Fallback */\n background: rgba(61, 249, 255, 0.6);\n}\n.text-secondary.text-lighten-5 {\n color: #c4c6c8 !important;\n}\n.bg-secondary.bg-lighten-5 {\n background-color: #c4c6c8 !important;\n}\n.border-secondary.border-lighten-5 {\n border: 1px solid #c4c6c8 !important;\n}\n.border-top-secondary.border-top-lighten-5 {\n border-top: 1px solid #c4c6c8 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-5 {\n border-bottom: 1px solid #c4c6c8 !important;\n}\n.border-left-secondary.border-left-lighten-5 {\n border-left: 1px solid #c4c6c8 !important;\n}\n.border-right-secondary.border-right-lighten-5 {\n border-right: 1px solid #c4c6c8 !important;\n}\n.overlay-secondary.overlay-lighten-5 {\n background: #c4c6c8; /* The Fallback */\n background: rgba(196, 198, 200, 0.6);\n}\n.text-secondary.text-lighten-4 {\n color: #b7b9bc !important;\n}\n.bg-secondary.bg-lighten-4 {\n background-color: #b7b9bc !important;\n}\n.border-secondary.border-lighten-4 {\n border: 1px solid #b7b9bc !important;\n}\n.border-top-secondary.border-top-lighten-4 {\n border-top: 1px solid #b7b9bc !important;\n}\n.border-bottom-secondary.border-bottom-lighten-4 {\n border-bottom: 1px solid #b7b9bc !important;\n}\n.border-left-secondary.border-left-lighten-4 {\n border-left: 1px solid #b7b9bc !important;\n}\n.border-right-secondary.border-right-lighten-4 {\n border-right: 1px solid #b7b9bc !important;\n}\n.overlay-secondary.overlay-lighten-4 {\n background: #b7b9bc; /* The Fallback */\n background: rgba(183, 185, 188, 0.6);\n}\n.text-secondary.text-lighten-3 {\n color: #aaacb0 !important;\n}\n.bg-secondary.bg-lighten-3 {\n background-color: #aaacb0 !important;\n}\n.border-secondary.border-lighten-3 {\n border: 1px solid #aaacb0 !important;\n}\n.border-top-secondary.border-top-lighten-3 {\n border-top: 1px solid #aaacb0 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-3 {\n border-bottom: 1px solid #aaacb0 !important;\n}\n.border-left-secondary.border-left-lighten-3 {\n border-left: 1px solid #aaacb0 !important;\n}\n.border-right-secondary.border-right-lighten-3 {\n border-right: 1px solid #aaacb0 !important;\n}\n.overlay-secondary.overlay-lighten-3 {\n background: #aaacb0; /* The Fallback */\n background: rgba(170, 172, 176, 0.6);\n}\n.text-secondary.text-lighten-2 {\n color: #9ca0a4 !important;\n}\n.bg-secondary.bg-lighten-2 {\n background-color: #9ca0a4 !important;\n}\n.border-secondary.border-lighten-2 {\n border: 1px solid #9ca0a4 !important;\n}\n.border-top-secondary.border-top-lighten-2 {\n border-top: 1px solid #9ca0a4 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-2 {\n border-bottom: 1px solid #9ca0a4 !important;\n}\n.border-left-secondary.border-left-lighten-2 {\n border-left: 1px solid #9ca0a4 !important;\n}\n.border-right-secondary.border-right-lighten-2 {\n border-right: 1px solid #9ca0a4 !important;\n}\n.overlay-secondary.overlay-lighten-2 {\n background: #9ca0a4; /* The Fallback */\n background: rgba(156, 160, 164, 0.6);\n}\n.text-secondary.text-lighten-1 {\n color: #8f9397 !important;\n}\n.bg-secondary.bg-lighten-1 {\n background-color: #8f9397 !important;\n}\n.border-secondary.border-lighten-1 {\n border: 1px solid #8f9397 !important;\n}\n.border-top-secondary.border-top-lighten-1 {\n border-top: 1px solid #8f9397 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-1 {\n border-bottom: 1px solid #8f9397 !important;\n}\n.border-left-secondary.border-left-lighten-1 {\n border-left: 1px solid #8f9397 !important;\n}\n.border-right-secondary.border-right-lighten-1 {\n border-right: 1px solid #8f9397 !important;\n}\n.overlay-secondary.overlay-lighten-1 {\n background: #8f9397; /* The Fallback */\n background: rgba(143, 147, 151, 0.6);\n}\n.bg-secondary {\n background-color: #82868b !important;\n}\n.bg-secondary .card-header,\n.bg-secondary .card-footer {\n background-color: transparent;\n}\n.alert-secondary {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}\n.alert-secondary .alert-heading {\n box-shadow: rgba(130, 134, 139, 0.4) 0px 6px 15px -7px;\n}\n.alert-secondary .alert-link {\n color: #75797e !important;\n}\n.alert-secondary .close {\n color: #82868b !important;\n}\n.bg-light-secondary {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}\n.bg-light-secondary.fc-h-event, .bg-light-secondary.fc-v-event {\n border-color: rgba(130, 134, 139, 0.1);\n}\n.bg-light-secondary .fc-list-event-dot,\n.bg-light-secondary .fc-daygrid-event-dot {\n border-color: #82868b !important;\n}\n.bg-light-secondary.fc-list-event:hover td {\n background: rgba(130, 134, 139, 0.1) !important;\n}\n.bg-light-secondary.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-secondary {\n color: #82868b !important;\n}\n.border-secondary {\n border: 1px solid #82868b !important;\n}\n.border-top-secondary {\n border-top: 1px solid #82868b;\n}\n.border-bottom-secondary {\n border-bottom: 1px solid #82868b;\n}\n.border-left-secondary {\n border-left: 1px solid #82868b;\n}\n.border-right-secondary {\n border-right: 1px solid #82868b;\n}\n.bg-secondary.badge-glow,\n.border-secondary.badge-glow,\n.badge-secondary.badge-glow {\n box-shadow: 0px 0px 10px #82868b;\n}\n.badge.badge-light-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n color: #82868b !important;\n}\n.overlay-secondary {\n background: #82868b; /* The Fallback */\n background: rgba(130, 134, 139, 0.6);\n}\n.btn-secondary {\n border-color: #82868b !important;\n background-color: #82868b !important;\n color: #fff !important;\n}\n.btn-secondary:focus, .btn-secondary:active, .btn-secondary.active {\n color: #fff;\n background-color: #75797e !important;\n}\n.btn-secondary:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #82868b;\n}\n.btn-secondary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-secondary {\n background-color: transparent;\n color: #82868b;\n}\n.btn-flat-secondary:hover {\n color: #82868b;\n}\n.btn-flat-secondary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.12);\n}\n.btn-flat-secondary:active, .btn-flat-secondary.active, .btn-flat-secondary:focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-flat-secondary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-secondary {\n background-color: #82868b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-secondary:hover:not(.disabled):not(:disabled) {\n background-color: #8f9397;\n}\n.btn-relief-secondary:active, .btn-relief-secondary.active, .btn-relief-secondary:focus {\n background-color: #75797e;\n}\n.btn-relief-secondary:hover {\n color: #fff;\n}\n.btn-relief-secondary:active, .btn-relief-secondary.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-secondary {\n border: 1px solid #82868b !important;\n background-color: transparent;\n color: #82868b;\n}\n.btn-outline-secondary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.04);\n color: #82868b;\n}\n.btn-outline-secondary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-outline-secondary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-secondary.dropdown-toggle {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-outline-secondary.waves-effect .waves-ripple,\n.btn-flat-secondary.waves-effect .waves-ripple {\n background: radial-gradient(rgba(130, 134, 139, 0.2) 0, rgba(130, 134, 139, 0.3) 40%, rgba(130, 134, 139, 0.4) 50%, rgba(130, 134, 139, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-secondary {\n background-color: #82868b;\n}\n.modal.modal-secondary .modal-header .modal-title {\n color: #82868b;\n}\n.modal.modal-secondary .modal-header .close {\n color: #82868b !important;\n}\n.pagination-secondary .page-item.active .page-link {\n background: #82868b !important;\n color: #fff;\n}\n.pagination-secondary .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-secondary .page-item .page-link:hover {\n color: #82868b;\n}\n.pagination-secondary .page-item.prev-item .page-link:hover, .pagination-secondary .page-item.next-item .page-link:hover {\n background: #82868b;\n color: #fff;\n}\n.pagination-secondary .page-item.next-item .page-link:active:after, .pagination-secondary .page-item.next-item .page-link:hover:after, .pagination-secondary .page-item.next .page-link:active:after, .pagination-secondary .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-secondary .page-item.prev-item .page-link:active:before, .pagination-secondary .page-item.prev-item .page-link:hover:before, .pagination-secondary .page-item.prev .page-link:active:before, .pagination-secondary .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-secondary .nav-item .nav-link.active {\n color: #fff;\n background-color: #82868b !important;\n border-color: #82868b;\n box-shadow: 0 4px 18px -4px rgba(130, 134, 139, 0.65);\n}\n.progress-bar-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n}\n.progress-bar-secondary .progress-bar {\n background-color: #82868b;\n}\n.timeline .timeline-point-secondary {\n border-color: #82868b !important;\n}\n.timeline .timeline-point-secondary i,\n.timeline .timeline-point-secondary svg {\n stroke: #82868b !important;\n}\n.timeline .timeline-point-secondary.timeline-point-indicator {\n background-color: #82868b !important;\n}\n.timeline .timeline-point-secondary.timeline-point-indicator:before {\n background: rgba(130, 134, 139, 0.12) !important;\n}\n.divider.divider-secondary .divider-text:before, .divider.divider-secondary .divider-text:after {\n border-color: #82868b !important;\n}\ninput:focus ~ .bg-secondary {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #82868b !important;\n}\n.custom-control-secondary .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary .custom-control-input:active ~ .custom-control-label::before {\n border-color: #82868b;\n background-color: #82868b;\n}\n.custom-control-secondary.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-secondary.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-secondary.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-secondary.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(130, 134, 139, 0.4) !important;\n}\n.custom-control-secondary .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(130, 134, 139, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-secondary .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #82868b !important;\n}\n.custom-switch-secondary .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #82868b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-secondary .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #82868b !important;\n border-color: #82868b !important;\n}\n.text-secondary.text-darken-1 {\n color: #75797e !important;\n}\n.bg-secondary.bg-darken-1 {\n background-color: #75797e !important;\n}\n.border-secondary.border-darken-1 {\n border: 1px solid #75797e !important;\n}\n.border-top-secondary.border-top-darken-1 {\n border-top: 1px solid #75797e !important;\n}\n.border-bottom-secondary.border-bottom-darken-1 {\n border-bottom: 1px solid #75797e !important;\n}\n.border-left-secondary.border-left-darken-1 {\n border-left: 1px solid #75797e !important;\n}\n.border-right-secondary.border-right-darken-1 {\n border-right: 1px solid #75797e !important;\n}\n.overlay-secondary.overlay-darken-1 {\n background: #75797e; /* The Fallback */\n background: rgba(117, 121, 126, 0.6);\n}\n.text-secondary.text-darken-2 {\n color: #696d71 !important;\n}\n.bg-secondary.bg-darken-2 {\n background-color: #696d71 !important;\n}\n.border-secondary.border-darken-2 {\n border: 1px solid #696d71 !important;\n}\n.border-top-secondary.border-top-darken-2 {\n border-top: 1px solid #696d71 !important;\n}\n.border-bottom-secondary.border-bottom-darken-2 {\n border-bottom: 1px solid #696d71 !important;\n}\n.border-left-secondary.border-left-darken-2 {\n border-left: 1px solid #696d71 !important;\n}\n.border-right-secondary.border-right-darken-2 {\n border-right: 1px solid #696d71 !important;\n}\n.overlay-secondary.overlay-darken-2 {\n background: #696d71; /* The Fallback */\n background: rgba(105, 109, 113, 0.6);\n}\n.text-secondary.text-darken-3 {\n color: #5d6064 !important;\n}\n.bg-secondary.bg-darken-3 {\n background-color: #5d6064 !important;\n}\n.border-secondary.border-darken-3 {\n border: 1px solid #5d6064 !important;\n}\n.border-top-secondary.border-top-darken-3 {\n border-top: 1px solid #5d6064 !important;\n}\n.border-bottom-secondary.border-bottom-darken-3 {\n border-bottom: 1px solid #5d6064 !important;\n}\n.border-left-secondary.border-left-darken-3 {\n border-left: 1px solid #5d6064 !important;\n}\n.border-right-secondary.border-right-darken-3 {\n border-right: 1px solid #5d6064 !important;\n}\n.overlay-secondary.overlay-darken-3 {\n background: #5d6064; /* The Fallback */\n background: rgba(93, 96, 100, 0.6);\n}\n.text-secondary.text-darken-4 {\n color: #505357 !important;\n}\n.bg-secondary.bg-darken-4 {\n background-color: #505357 !important;\n}\n.border-secondary.border-darken-4 {\n border: 1px solid #505357 !important;\n}\n.border-top-secondary.border-top-darken-4 {\n border-top: 1px solid #505357 !important;\n}\n.border-bottom-secondary.border-bottom-darken-4 {\n border-bottom: 1px solid #505357 !important;\n}\n.border-left-secondary.border-left-darken-4 {\n border-left: 1px solid #505357 !important;\n}\n.border-right-secondary.border-right-darken-4 {\n border-right: 1px solid #505357 !important;\n}\n.overlay-secondary.overlay-darken-4 {\n background: #505357; /* The Fallback */\n background: rgba(80, 83, 87, 0.6);\n}\n.text-success.text-lighten-5 {\n color: #88e7b2 !important;\n}\n.bg-success.bg-lighten-5 {\n background-color: #88e7b2 !important;\n}\n.border-success.border-lighten-5 {\n border: 1px solid #88e7b2 !important;\n}\n.border-top-success.border-top-lighten-5 {\n border-top: 1px solid #88e7b2 !important;\n}\n.border-bottom-success.border-bottom-lighten-5 {\n border-bottom: 1px solid #88e7b2 !important;\n}\n.border-left-success.border-left-lighten-5 {\n border-left: 1px solid #88e7b2 !important;\n}\n.border-right-success.border-right-lighten-5 {\n border-right: 1px solid #88e7b2 !important;\n}\n.overlay-success.overlay-lighten-5 {\n background: #88e7b2; /* The Fallback */\n background: rgba(136, 231, 178, 0.6);\n}\n.text-success.text-lighten-4 {\n color: #72e3a4 !important;\n}\n.bg-success.bg-lighten-4 {\n background-color: #72e3a4 !important;\n}\n.border-success.border-lighten-4 {\n border: 1px solid #72e3a4 !important;\n}\n.border-top-success.border-top-lighten-4 {\n border-top: 1px solid #72e3a4 !important;\n}\n.border-bottom-success.border-bottom-lighten-4 {\n border-bottom: 1px solid #72e3a4 !important;\n}\n.border-left-success.border-left-lighten-4 {\n border-left: 1px solid #72e3a4 !important;\n}\n.border-right-success.border-right-lighten-4 {\n border-right: 1px solid #72e3a4 !important;\n}\n.overlay-success.overlay-lighten-4 {\n background: #72e3a4; /* The Fallback */\n background: rgba(114, 227, 164, 0.6);\n}\n.text-success.text-lighten-3 {\n color: #5dde97 !important;\n}\n.bg-success.bg-lighten-3 {\n background-color: #5dde97 !important;\n}\n.border-success.border-lighten-3 {\n border: 1px solid #5dde97 !important;\n}\n.border-top-success.border-top-lighten-3 {\n border-top: 1px solid #5dde97 !important;\n}\n.border-bottom-success.border-bottom-lighten-3 {\n border-bottom: 1px solid #5dde97 !important;\n}\n.border-left-success.border-left-lighten-3 {\n border-left: 1px solid #5dde97 !important;\n}\n.border-right-success.border-right-lighten-3 {\n border-right: 1px solid #5dde97 !important;\n}\n.overlay-success.overlay-lighten-3 {\n background: #5dde97; /* The Fallback */\n background: rgba(93, 222, 151, 0.6);\n}\n.text-success.text-lighten-2 {\n color: #48da89 !important;\n}\n.bg-success.bg-lighten-2 {\n background-color: #48da89 !important;\n}\n.border-success.border-lighten-2 {\n border: 1px solid #48da89 !important;\n}\n.border-top-success.border-top-lighten-2 {\n border-top: 1px solid #48da89 !important;\n}\n.border-bottom-success.border-bottom-lighten-2 {\n border-bottom: 1px solid #48da89 !important;\n}\n.border-left-success.border-left-lighten-2 {\n border-left: 1px solid #48da89 !important;\n}\n.border-right-success.border-right-lighten-2 {\n border-right: 1px solid #48da89 !important;\n}\n.overlay-success.overlay-lighten-2 {\n background: #48da89; /* The Fallback */\n background: rgba(72, 218, 137, 0.6);\n}\n.text-success.text-lighten-1 {\n color: #33d67c !important;\n}\n.bg-success.bg-lighten-1 {\n background-color: #33d67c !important;\n}\n.border-success.border-lighten-1 {\n border: 1px solid #33d67c !important;\n}\n.border-top-success.border-top-lighten-1 {\n border-top: 1px solid #33d67c !important;\n}\n.border-bottom-success.border-bottom-lighten-1 {\n border-bottom: 1px solid #33d67c !important;\n}\n.border-left-success.border-left-lighten-1 {\n border-left: 1px solid #33d67c !important;\n}\n.border-right-success.border-right-lighten-1 {\n border-right: 1px solid #33d67c !important;\n}\n.overlay-success.overlay-lighten-1 {\n background: #33d67c; /* The Fallback */\n background: rgba(51, 214, 124, 0.6);\n}\n.bg-success {\n background-color: #28c76f !important;\n}\n.bg-success .card-header,\n.bg-success .card-footer {\n background-color: transparent;\n}\n.alert-success {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}\n.alert-success .alert-heading {\n box-shadow: rgba(40, 199, 111, 0.4) 0px 6px 15px -7px;\n}\n.alert-success .alert-link {\n color: #24b263 !important;\n}\n.alert-success .close {\n color: #28c76f !important;\n}\n.bg-light-success {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}\n.bg-light-success.fc-h-event, .bg-light-success.fc-v-event {\n border-color: rgba(40, 199, 111, 0.1);\n}\n.bg-light-success .fc-list-event-dot,\n.bg-light-success .fc-daygrid-event-dot {\n border-color: #28c76f !important;\n}\n.bg-light-success.fc-list-event:hover td {\n background: rgba(40, 199, 111, 0.1) !important;\n}\n.bg-light-success.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-success {\n color: #28c76f !important;\n}\n.border-success {\n border: 1px solid #28c76f !important;\n}\n.border-top-success {\n border-top: 1px solid #28c76f;\n}\n.border-bottom-success {\n border-bottom: 1px solid #28c76f;\n}\n.border-left-success {\n border-left: 1px solid #28c76f;\n}\n.border-right-success {\n border-right: 1px solid #28c76f;\n}\n.bg-success.badge-glow,\n.border-success.badge-glow,\n.badge-success.badge-glow {\n box-shadow: 0px 0px 10px #28c76f;\n}\n.badge.badge-light-success {\n background-color: rgba(40, 199, 111, 0.12);\n color: #28c76f !important;\n}\n.overlay-success {\n background: #28c76f; /* The Fallback */\n background: rgba(40, 199, 111, 0.6);\n}\n.btn-success {\n border-color: #28c76f !important;\n background-color: #28c76f !important;\n color: #fff !important;\n}\n.btn-success:focus, .btn-success:active, .btn-success.active {\n color: #fff;\n background-color: #24b263 !important;\n}\n.btn-success:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #28c76f;\n}\n.btn-success:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-success {\n background-color: transparent;\n color: #28c76f;\n}\n.btn-flat-success:hover {\n color: #28c76f;\n}\n.btn-flat-success:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.12);\n}\n.btn-flat-success:active, .btn-flat-success.active, .btn-flat-success:focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-flat-success.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-success {\n background-color: #28c76f;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-success:hover:not(.disabled):not(:disabled) {\n background-color: #33d67c;\n}\n.btn-relief-success:active, .btn-relief-success.active, .btn-relief-success:focus {\n background-color: #24b263;\n}\n.btn-relief-success:hover {\n color: #fff;\n}\n.btn-relief-success:active, .btn-relief-success.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-success {\n border: 1px solid #28c76f !important;\n background-color: transparent;\n color: #28c76f;\n}\n.btn-outline-success:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.04);\n color: #28c76f;\n}\n.btn-outline-success:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .btn-outline-success:not(:disabled):not(.disabled):focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-outline-success.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-success.dropdown-toggle {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-outline-success.waves-effect .waves-ripple,\n.btn-flat-success.waves-effect .waves-ripple {\n background: radial-gradient(rgba(40, 199, 111, 0.2) 0, rgba(40, 199, 111, 0.3) 40%, rgba(40, 199, 111, 0.4) 50%, rgba(40, 199, 111, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-success {\n background-color: #28c76f;\n}\n.modal.modal-success .modal-header .modal-title {\n color: #28c76f;\n}\n.modal.modal-success .modal-header .close {\n color: #28c76f !important;\n}\n.pagination-success .page-item.active .page-link {\n background: #28c76f !important;\n color: #fff;\n}\n.pagination-success .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-success .page-item .page-link:hover {\n color: #28c76f;\n}\n.pagination-success .page-item.prev-item .page-link:hover, .pagination-success .page-item.next-item .page-link:hover {\n background: #28c76f;\n color: #fff;\n}\n.pagination-success .page-item.next-item .page-link:active:after, .pagination-success .page-item.next-item .page-link:hover:after, .pagination-success .page-item.next .page-link:active:after, .pagination-success .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-success .page-item.prev-item .page-link:active:before, .pagination-success .page-item.prev-item .page-link:hover:before, .pagination-success .page-item.prev .page-link:active:before, .pagination-success .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-success .nav-item .nav-link.active {\n color: #fff;\n background-color: #28c76f !important;\n border-color: #28c76f;\n box-shadow: 0 4px 18px -4px rgba(40, 199, 111, 0.65);\n}\n.progress-bar-success {\n background-color: rgba(40, 199, 111, 0.12);\n}\n.progress-bar-success .progress-bar {\n background-color: #28c76f;\n}\n.timeline .timeline-point-success {\n border-color: #28c76f !important;\n}\n.timeline .timeline-point-success i,\n.timeline .timeline-point-success svg {\n stroke: #28c76f !important;\n}\n.timeline .timeline-point-success.timeline-point-indicator {\n background-color: #28c76f !important;\n}\n.timeline .timeline-point-success.timeline-point-indicator:before {\n background: rgba(40, 199, 111, 0.12) !important;\n}\n.divider.divider-success .divider-text:before, .divider.divider-success .divider-text:after {\n border-color: #28c76f !important;\n}\ninput:focus ~ .bg-success {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #28c76f !important;\n}\n.custom-control-success .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success .custom-control-input:active ~ .custom-control-label::before {\n border-color: #28c76f;\n background-color: #28c76f;\n}\n.custom-control-success.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-success.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-success.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-success.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(40, 199, 111, 0.4) !important;\n}\n.custom-control-success .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(40, 199, 111, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-success .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #28c76f !important;\n}\n.custom-switch-success .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #28c76f !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-success .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #28c76f !important;\n border-color: #28c76f !important;\n}\n.text-success.text-darken-1 {\n color: #24b263 !important;\n}\n.bg-success.bg-darken-1 {\n background-color: #24b263 !important;\n}\n.border-success.border-darken-1 {\n border: 1px solid #24b263 !important;\n}\n.border-top-success.border-top-darken-1 {\n border-top: 1px solid #24b263 !important;\n}\n.border-bottom-success.border-bottom-darken-1 {\n border-bottom: 1px solid #24b263 !important;\n}\n.border-left-success.border-left-darken-1 {\n border-left: 1px solid #24b263 !important;\n}\n.border-right-success.border-right-darken-1 {\n border-right: 1px solid #24b263 !important;\n}\n.overlay-success.overlay-darken-1 {\n background: #24b263; /* The Fallback */\n background: rgba(36, 178, 99, 0.6);\n}\n.text-success.text-darken-2 {\n color: #1f9d57 !important;\n}\n.bg-success.bg-darken-2 {\n background-color: #1f9d57 !important;\n}\n.border-success.border-darken-2 {\n border: 1px solid #1f9d57 !important;\n}\n.border-top-success.border-top-darken-2 {\n border-top: 1px solid #1f9d57 !important;\n}\n.border-bottom-success.border-bottom-darken-2 {\n border-bottom: 1px solid #1f9d57 !important;\n}\n.border-left-success.border-left-darken-2 {\n border-left: 1px solid #1f9d57 !important;\n}\n.border-right-success.border-right-darken-2 {\n border-right: 1px solid #1f9d57 !important;\n}\n.overlay-success.overlay-darken-2 {\n background: #1f9d57; /* The Fallback */\n background: rgba(31, 157, 87, 0.6);\n}\n.text-success.text-darken-3 {\n color: #1b874b !important;\n}\n.bg-success.bg-darken-3 {\n background-color: #1b874b !important;\n}\n.border-success.border-darken-3 {\n border: 1px solid #1b874b !important;\n}\n.border-top-success.border-top-darken-3 {\n border-top: 1px solid #1b874b !important;\n}\n.border-bottom-success.border-bottom-darken-3 {\n border-bottom: 1px solid #1b874b !important;\n}\n.border-left-success.border-left-darken-3 {\n border-left: 1px solid #1b874b !important;\n}\n.border-right-success.border-right-darken-3 {\n border-right: 1px solid #1b874b !important;\n}\n.overlay-success.overlay-darken-3 {\n background: #1b874b; /* The Fallback */\n background: rgba(27, 135, 75, 0.6);\n}\n.text-success.text-darken-4 {\n color: #177240 !important;\n}\n.bg-success.bg-darken-4 {\n background-color: #177240 !important;\n}\n.border-success.border-darken-4 {\n border: 1px solid #177240 !important;\n}\n.border-top-success.border-top-darken-4 {\n border-top: 1px solid #177240 !important;\n}\n.border-bottom-success.border-bottom-darken-4 {\n border-bottom: 1px solid #177240 !important;\n}\n.border-left-success.border-left-darken-4 {\n border-left: 1px solid #177240 !important;\n}\n.border-right-success.border-right-darken-4 {\n border-right: 1px solid #177240 !important;\n}\n.overlay-success.overlay-darken-4 {\n background: #177240; /* The Fallback */\n background: rgba(23, 114, 64, 0.6);\n}\n.text-success.text-accent-1 {\n color: #e1fff1 !important;\n}\n.bg-success.bg-accent-1 {\n background-color: #e1fff1 !important;\n}\n.border-success.border-accent-1 {\n border: 1px solid #e1fff1 !important;\n}\n.border-top-success.border-top-accent-1 {\n border-top: 1px solid #e1fff1 !important;\n}\n.border-bottom-success.border-bottom-accent-1 {\n border-bottom: 1px solid #e1fff1 !important;\n}\n.border-left-success.border-left-accent-1 {\n border-left: 1px solid #e1fff1 !important;\n}\n.border-right-success.border-right-accent-1 {\n border-right: 1px solid #e1fff1 !important;\n}\n.overlay-success.overlay-accent-1 {\n background: #e1fff1; /* The Fallback */\n background: rgba(225, 255, 241, 0.6);\n}\n.text-success.text-accent-2 {\n color: #aeffd9 !important;\n}\n.bg-success.bg-accent-2 {\n background-color: #aeffd9 !important;\n}\n.border-success.border-accent-2 {\n border: 1px solid #aeffd9 !important;\n}\n.border-top-success.border-top-accent-2 {\n border-top: 1px solid #aeffd9 !important;\n}\n.border-bottom-success.border-bottom-accent-2 {\n border-bottom: 1px solid #aeffd9 !important;\n}\n.border-left-success.border-left-accent-2 {\n border-left: 1px solid #aeffd9 !important;\n}\n.border-right-success.border-right-accent-2 {\n border-right: 1px solid #aeffd9 !important;\n}\n.overlay-success.overlay-accent-2 {\n background: #aeffd9; /* The Fallback */\n background: rgba(174, 255, 217, 0.6);\n}\n.text-success.text-accent-3 {\n color: #7bffc1 !important;\n}\n.bg-success.bg-accent-3 {\n background-color: #7bffc1 !important;\n}\n.border-success.border-accent-3 {\n border: 1px solid #7bffc1 !important;\n}\n.border-top-success.border-top-accent-3 {\n border-top: 1px solid #7bffc1 !important;\n}\n.border-bottom-success.border-bottom-accent-3 {\n border-bottom: 1px solid #7bffc1 !important;\n}\n.border-left-success.border-left-accent-3 {\n border-left: 1px solid #7bffc1 !important;\n}\n.border-right-success.border-right-accent-3 {\n border-right: 1px solid #7bffc1 !important;\n}\n.overlay-success.overlay-accent-3 {\n background: #7bffc1; /* The Fallback */\n background: rgba(123, 255, 193, 0.6);\n}\n.text-success.text-accent-4 {\n color: #62ffb5 !important;\n}\n.bg-success.bg-accent-4 {\n background-color: #62ffb5 !important;\n}\n.border-success.border-accent-4 {\n border: 1px solid #62ffb5 !important;\n}\n.border-top-success.border-top-accent-4 {\n border-top: 1px solid #62ffb5 !important;\n}\n.border-bottom-success.border-bottom-accent-4 {\n border-bottom: 1px solid #62ffb5 !important;\n}\n.border-left-success.border-left-accent-4 {\n border-left: 1px solid #62ffb5 !important;\n}\n.border-right-success.border-right-accent-4 {\n border-right: 1px solid #62ffb5 !important;\n}\n.overlay-success.overlay-accent-4 {\n background: #62ffb5; /* The Fallback */\n background: rgba(98, 255, 181, 0.6);\n}\n.text-info.text-lighten-5 {\n color: #69efff !important;\n}\n.bg-info.bg-lighten-5 {\n background-color: #69efff !important;\n}\n.border-info.border-lighten-5 {\n border: 1px solid #69efff !important;\n}\n.border-top-info.border-top-lighten-5 {\n border-top: 1px solid #69efff !important;\n}\n.border-bottom-info.border-bottom-lighten-5 {\n border-bottom: 1px solid #69efff !important;\n}\n.border-left-info.border-left-lighten-5 {\n border-left: 1px solid #69efff !important;\n}\n.border-right-info.border-right-lighten-5 {\n border-right: 1px solid #69efff !important;\n}\n.overlay-info.overlay-lighten-5 {\n background: #69efff; /* The Fallback */\n background: rgba(105, 239, 255, 0.6);\n}\n.text-info.text-lighten-4 {\n color: #4fecff !important;\n}\n.bg-info.bg-lighten-4 {\n background-color: #4fecff !important;\n}\n.border-info.border-lighten-4 {\n border: 1px solid #4fecff !important;\n}\n.border-top-info.border-top-lighten-4 {\n border-top: 1px solid #4fecff !important;\n}\n.border-bottom-info.border-bottom-lighten-4 {\n border-bottom: 1px solid #4fecff !important;\n}\n.border-left-info.border-left-lighten-4 {\n border-left: 1px solid #4fecff !important;\n}\n.border-right-info.border-right-lighten-4 {\n border-right: 1px solid #4fecff !important;\n}\n.overlay-info.overlay-lighten-4 {\n background: #4fecff; /* The Fallback */\n background: rgba(79, 236, 255, 0.6);\n}\n.text-info.text-lighten-3 {\n color: #36e9ff !important;\n}\n.bg-info.bg-lighten-3 {\n background-color: #36e9ff !important;\n}\n.border-info.border-lighten-3 {\n border: 1px solid #36e9ff !important;\n}\n.border-top-info.border-top-lighten-3 {\n border-top: 1px solid #36e9ff !important;\n}\n.border-bottom-info.border-bottom-lighten-3 {\n border-bottom: 1px solid #36e9ff !important;\n}\n.border-left-info.border-left-lighten-3 {\n border-left: 1px solid #36e9ff !important;\n}\n.border-right-info.border-right-lighten-3 {\n border-right: 1px solid #36e9ff !important;\n}\n.overlay-info.overlay-lighten-3 {\n background: #36e9ff; /* The Fallback */\n background: rgba(54, 233, 255, 0.6);\n}\n.text-info.text-lighten-2 {\n color: #1ce7ff !important;\n}\n.bg-info.bg-lighten-2 {\n background-color: #1ce7ff !important;\n}\n.border-info.border-lighten-2 {\n border: 1px solid #1ce7ff !important;\n}\n.border-top-info.border-top-lighten-2 {\n border-top: 1px solid #1ce7ff !important;\n}\n.border-bottom-info.border-bottom-lighten-2 {\n border-bottom: 1px solid #1ce7ff !important;\n}\n.border-left-info.border-left-lighten-2 {\n border-left: 1px solid #1ce7ff !important;\n}\n.border-right-info.border-right-lighten-2 {\n border-right: 1px solid #1ce7ff !important;\n}\n.overlay-info.overlay-lighten-2 {\n background: #1ce7ff; /* The Fallback */\n background: rgba(28, 231, 255, 0.6);\n}\n.text-info.text-lighten-1 {\n color: #03e4ff !important;\n}\n.bg-info.bg-lighten-1 {\n background-color: #03e4ff !important;\n}\n.border-info.border-lighten-1 {\n border: 1px solid #03e4ff !important;\n}\n.border-top-info.border-top-lighten-1 {\n border-top: 1px solid #03e4ff !important;\n}\n.border-bottom-info.border-bottom-lighten-1 {\n border-bottom: 1px solid #03e4ff !important;\n}\n.border-left-info.border-left-lighten-1 {\n border-left: 1px solid #03e4ff !important;\n}\n.border-right-info.border-right-lighten-1 {\n border-right: 1px solid #03e4ff !important;\n}\n.overlay-info.overlay-lighten-1 {\n background: #03e4ff; /* The Fallback */\n background: rgba(3, 228, 255, 0.6);\n}\n.bg-info {\n background-color: #00cfe8 !important;\n}\n.bg-info .card-header,\n.bg-info .card-footer {\n background-color: transparent;\n}\n.alert-info {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}\n.alert-info .alert-heading {\n box-shadow: rgba(0, 207, 232, 0.4) 0px 6px 15px -7px;\n}\n.alert-info .alert-link {\n color: #00b8cf !important;\n}\n.alert-info .close {\n color: #00cfe8 !important;\n}\n.bg-light-info {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}\n.bg-light-info.fc-h-event, .bg-light-info.fc-v-event {\n border-color: rgba(0, 207, 232, 0.1);\n}\n.bg-light-info .fc-list-event-dot,\n.bg-light-info .fc-daygrid-event-dot {\n border-color: #00cfe8 !important;\n}\n.bg-light-info.fc-list-event:hover td {\n background: rgba(0, 207, 232, 0.1) !important;\n}\n.bg-light-info.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-info {\n color: #00cfe8 !important;\n}\n.border-info {\n border: 1px solid #00cfe8 !important;\n}\n.border-top-info {\n border-top: 1px solid #00cfe8;\n}\n.border-bottom-info {\n border-bottom: 1px solid #00cfe8;\n}\n.border-left-info {\n border-left: 1px solid #00cfe8;\n}\n.border-right-info {\n border-right: 1px solid #00cfe8;\n}\n.bg-info.badge-glow,\n.border-info.badge-glow,\n.badge-info.badge-glow {\n box-shadow: 0px 0px 10px #00cfe8;\n}\n.badge.badge-light-info {\n background-color: rgba(0, 207, 232, 0.12);\n color: #00cfe8 !important;\n}\n.overlay-info {\n background: #00cfe8; /* The Fallback */\n background: rgba(0, 207, 232, 0.6);\n}\n.btn-info {\n border-color: #00cfe8 !important;\n background-color: #00cfe8 !important;\n color: #fff !important;\n}\n.btn-info:focus, .btn-info:active, .btn-info.active {\n color: #fff;\n background-color: #00b8cf !important;\n}\n.btn-info:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #00cfe8;\n}\n.btn-info:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-info {\n background-color: transparent;\n color: #00cfe8;\n}\n.btn-flat-info:hover {\n color: #00cfe8;\n}\n.btn-flat-info:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.12);\n}\n.btn-flat-info:active, .btn-flat-info.active, .btn-flat-info:focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-flat-info.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-info {\n background-color: #00cfe8;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-info:hover:not(.disabled):not(:disabled) {\n background-color: #03e4ff;\n}\n.btn-relief-info:active, .btn-relief-info.active, .btn-relief-info:focus {\n background-color: #00b8cf;\n}\n.btn-relief-info:hover {\n color: #fff;\n}\n.btn-relief-info:active, .btn-relief-info.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-info {\n border: 1px solid #00cfe8 !important;\n background-color: transparent;\n color: #00cfe8;\n}\n.btn-outline-info:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.04);\n color: #00cfe8;\n}\n.btn-outline-info:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-outline-info.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-info.dropdown-toggle {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-outline-info.waves-effect .waves-ripple,\n.btn-flat-info.waves-effect .waves-ripple {\n background: radial-gradient(rgba(0, 207, 232, 0.2) 0, rgba(0, 207, 232, 0.3) 40%, rgba(0, 207, 232, 0.4) 50%, rgba(0, 207, 232, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-info {\n background-color: #00cfe8;\n}\n.modal.modal-info .modal-header .modal-title {\n color: #00cfe8;\n}\n.modal.modal-info .modal-header .close {\n color: #00cfe8 !important;\n}\n.pagination-info .page-item.active .page-link {\n background: #00cfe8 !important;\n color: #fff;\n}\n.pagination-info .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-info .page-item .page-link:hover {\n color: #00cfe8;\n}\n.pagination-info .page-item.prev-item .page-link:hover, .pagination-info .page-item.next-item .page-link:hover {\n background: #00cfe8;\n color: #fff;\n}\n.pagination-info .page-item.next-item .page-link:active:after, .pagination-info .page-item.next-item .page-link:hover:after, .pagination-info .page-item.next .page-link:active:after, .pagination-info .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-info .page-item.prev-item .page-link:active:before, .pagination-info .page-item.prev-item .page-link:hover:before, .pagination-info .page-item.prev .page-link:active:before, .pagination-info .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-info .nav-item .nav-link.active {\n color: #fff;\n background-color: #00cfe8 !important;\n border-color: #00cfe8;\n box-shadow: 0 4px 18px -4px rgba(0, 207, 232, 0.65);\n}\n.progress-bar-info {\n background-color: rgba(0, 207, 232, 0.12);\n}\n.progress-bar-info .progress-bar {\n background-color: #00cfe8;\n}\n.timeline .timeline-point-info {\n border-color: #00cfe8 !important;\n}\n.timeline .timeline-point-info i,\n.timeline .timeline-point-info svg {\n stroke: #00cfe8 !important;\n}\n.timeline .timeline-point-info.timeline-point-indicator {\n background-color: #00cfe8 !important;\n}\n.timeline .timeline-point-info.timeline-point-indicator:before {\n background: rgba(0, 207, 232, 0.12) !important;\n}\n.divider.divider-info .divider-text:before, .divider.divider-info .divider-text:after {\n border-color: #00cfe8 !important;\n}\ninput:focus ~ .bg-info {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #00cfe8 !important;\n}\n.custom-control-info .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info .custom-control-input:active ~ .custom-control-label::before {\n border-color: #00cfe8;\n background-color: #00cfe8;\n}\n.custom-control-info.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-info.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-info.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-info.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(0, 207, 232, 0.4) !important;\n}\n.custom-control-info .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(0, 207, 232, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-info .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #00cfe8 !important;\n}\n.custom-switch-info .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #00cfe8 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-info .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #00cfe8 !important;\n border-color: #00cfe8 !important;\n}\n.text-info.text-darken-1 {\n color: #00b8cf !important;\n}\n.bg-info.bg-darken-1 {\n background-color: #00b8cf !important;\n}\n.border-info.border-darken-1 {\n border: 1px solid #00b8cf !important;\n}\n.border-top-info.border-top-darken-1 {\n border-top: 1px solid #00b8cf !important;\n}\n.border-bottom-info.border-bottom-darken-1 {\n border-bottom: 1px solid #00b8cf !important;\n}\n.border-left-info.border-left-darken-1 {\n border-left: 1px solid #00b8cf !important;\n}\n.border-right-info.border-right-darken-1 {\n border-right: 1px solid #00b8cf !important;\n}\n.overlay-info.overlay-darken-1 {\n background: #00b8cf; /* The Fallback */\n background: rgba(0, 184, 207, 0.6);\n}\n.text-info.text-darken-2 {\n color: #00a1b5 !important;\n}\n.bg-info.bg-darken-2 {\n background-color: #00a1b5 !important;\n}\n.border-info.border-darken-2 {\n border: 1px solid #00a1b5 !important;\n}\n.border-top-info.border-top-darken-2 {\n border-top: 1px solid #00a1b5 !important;\n}\n.border-bottom-info.border-bottom-darken-2 {\n border-bottom: 1px solid #00a1b5 !important;\n}\n.border-left-info.border-left-darken-2 {\n border-left: 1px solid #00a1b5 !important;\n}\n.border-right-info.border-right-darken-2 {\n border-right: 1px solid #00a1b5 !important;\n}\n.overlay-info.overlay-darken-2 {\n background: #00a1b5; /* The Fallback */\n background: rgba(0, 161, 181, 0.6);\n}\n.text-info.text-darken-3 {\n color: #008b9c !important;\n}\n.bg-info.bg-darken-3 {\n background-color: #008b9c !important;\n}\n.border-info.border-darken-3 {\n border: 1px solid #008b9c !important;\n}\n.border-top-info.border-top-darken-3 {\n border-top: 1px solid #008b9c !important;\n}\n.border-bottom-info.border-bottom-darken-3 {\n border-bottom: 1px solid #008b9c !important;\n}\n.border-left-info.border-left-darken-3 {\n border-left: 1px solid #008b9c !important;\n}\n.border-right-info.border-right-darken-3 {\n border-right: 1px solid #008b9c !important;\n}\n.overlay-info.overlay-darken-3 {\n background: #008b9c; /* The Fallback */\n background: rgba(0, 139, 156, 0.6);\n}\n.text-info.text-darken-4 {\n color: #007482 !important;\n}\n.bg-info.bg-darken-4 {\n background-color: #007482 !important;\n}\n.border-info.border-darken-4 {\n border: 1px solid #007482 !important;\n}\n.border-top-info.border-top-darken-4 {\n border-top: 1px solid #007482 !important;\n}\n.border-bottom-info.border-bottom-darken-4 {\n border-bottom: 1px solid #007482 !important;\n}\n.border-left-info.border-left-darken-4 {\n border-left: 1px solid #007482 !important;\n}\n.border-right-info.border-right-darken-4 {\n border-right: 1px solid #007482 !important;\n}\n.overlay-info.overlay-darken-4 {\n background: #007482; /* The Fallback */\n background: rgba(0, 116, 130, 0.6);\n}\n.text-info.text-accent-1 {\n color: #feffff !important;\n}\n.bg-info.bg-accent-1 {\n background-color: #feffff !important;\n}\n.border-info.border-accent-1 {\n border: 1px solid #feffff !important;\n}\n.border-top-info.border-top-accent-1 {\n border-top: 1px solid #feffff !important;\n}\n.border-bottom-info.border-bottom-accent-1 {\n border-bottom: 1px solid #feffff !important;\n}\n.border-left-info.border-left-accent-1 {\n border-left: 1px solid #feffff !important;\n}\n.border-right-info.border-right-accent-1 {\n border-right: 1px solid #feffff !important;\n}\n.overlay-info.overlay-accent-1 {\n background: #feffff; /* The Fallback */\n background: rgba(254, 255, 255, 0.6);\n}\n.text-info.text-accent-2 {\n color: #cbf5ff !important;\n}\n.bg-info.bg-accent-2 {\n background-color: #cbf5ff !important;\n}\n.border-info.border-accent-2 {\n border: 1px solid #cbf5ff !important;\n}\n.border-top-info.border-top-accent-2 {\n border-top: 1px solid #cbf5ff !important;\n}\n.border-bottom-info.border-bottom-accent-2 {\n border-bottom: 1px solid #cbf5ff !important;\n}\n.border-left-info.border-left-accent-2 {\n border-left: 1px solid #cbf5ff !important;\n}\n.border-right-info.border-right-accent-2 {\n border-right: 1px solid #cbf5ff !important;\n}\n.overlay-info.overlay-accent-2 {\n background: #cbf5ff; /* The Fallback */\n background: rgba(203, 245, 255, 0.6);\n}\n.text-info.text-accent-3 {\n color: #98ecff !important;\n}\n.bg-info.bg-accent-3 {\n background-color: #98ecff !important;\n}\n.border-info.border-accent-3 {\n border: 1px solid #98ecff !important;\n}\n.border-top-info.border-top-accent-3 {\n border-top: 1px solid #98ecff !important;\n}\n.border-bottom-info.border-bottom-accent-3 {\n border-bottom: 1px solid #98ecff !important;\n}\n.border-left-info.border-left-accent-3 {\n border-left: 1px solid #98ecff !important;\n}\n.border-right-info.border-right-accent-3 {\n border-right: 1px solid #98ecff !important;\n}\n.overlay-info.overlay-accent-3 {\n background: #98ecff; /* The Fallback */\n background: rgba(152, 236, 255, 0.6);\n}\n.text-info.text-accent-4 {\n color: #7fe7ff !important;\n}\n.bg-info.bg-accent-4 {\n background-color: #7fe7ff !important;\n}\n.border-info.border-accent-4 {\n border: 1px solid #7fe7ff !important;\n}\n.border-top-info.border-top-accent-4 {\n border-top: 1px solid #7fe7ff !important;\n}\n.border-bottom-info.border-bottom-accent-4 {\n border-bottom: 1px solid #7fe7ff !important;\n}\n.border-left-info.border-left-accent-4 {\n border-left: 1px solid #7fe7ff !important;\n}\n.border-right-info.border-right-accent-4 {\n border-right: 1px solid #7fe7ff !important;\n}\n.overlay-info.overlay-accent-4 {\n background: #7fe7ff; /* The Fallback */\n background: rgba(127, 231, 255, 0.6);\n}\n.text-warning.text-lighten-5 {\n color: #ffe0c3 !important;\n}\n.bg-warning.bg-lighten-5 {\n background-color: #ffe0c3 !important;\n}\n.border-warning.border-lighten-5 {\n border: 1px solid #ffe0c3 !important;\n}\n.border-top-warning.border-top-lighten-5 {\n border-top: 1px solid #ffe0c3 !important;\n}\n.border-bottom-warning.border-bottom-lighten-5 {\n border-bottom: 1px solid #ffe0c3 !important;\n}\n.border-left-warning.border-left-lighten-5 {\n border-left: 1px solid #ffe0c3 !important;\n}\n.border-right-warning.border-right-lighten-5 {\n border-right: 1px solid #ffe0c3 !important;\n}\n.overlay-warning.overlay-lighten-5 {\n background: #ffe0c3; /* The Fallback */\n background: rgba(255, 224, 195, 0.6);\n}\n.text-warning.text-lighten-4 {\n color: #ffd3a9 !important;\n}\n.bg-warning.bg-lighten-4 {\n background-color: #ffd3a9 !important;\n}\n.border-warning.border-lighten-4 {\n border: 1px solid #ffd3a9 !important;\n}\n.border-top-warning.border-top-lighten-4 {\n border-top: 1px solid #ffd3a9 !important;\n}\n.border-bottom-warning.border-bottom-lighten-4 {\n border-bottom: 1px solid #ffd3a9 !important;\n}\n.border-left-warning.border-left-lighten-4 {\n border-left: 1px solid #ffd3a9 !important;\n}\n.border-right-warning.border-right-lighten-4 {\n border-right: 1px solid #ffd3a9 !important;\n}\n.overlay-warning.overlay-lighten-4 {\n background: #ffd3a9; /* The Fallback */\n background: rgba(255, 211, 169, 0.6);\n}\n.text-warning.text-lighten-3 {\n color: #ffc690 !important;\n}\n.bg-warning.bg-lighten-3 {\n background-color: #ffc690 !important;\n}\n.border-warning.border-lighten-3 {\n border: 1px solid #ffc690 !important;\n}\n.border-top-warning.border-top-lighten-3 {\n border-top: 1px solid #ffc690 !important;\n}\n.border-bottom-warning.border-bottom-lighten-3 {\n border-bottom: 1px solid #ffc690 !important;\n}\n.border-left-warning.border-left-lighten-3 {\n border-left: 1px solid #ffc690 !important;\n}\n.border-right-warning.border-right-lighten-3 {\n border-right: 1px solid #ffc690 !important;\n}\n.overlay-warning.overlay-lighten-3 {\n background: #ffc690; /* The Fallback */\n background: rgba(255, 198, 144, 0.6);\n}\n.text-warning.text-lighten-2 {\n color: #ffb976 !important;\n}\n.bg-warning.bg-lighten-2 {\n background-color: #ffb976 !important;\n}\n.border-warning.border-lighten-2 {\n border: 1px solid #ffb976 !important;\n}\n.border-top-warning.border-top-lighten-2 {\n border-top: 1px solid #ffb976 !important;\n}\n.border-bottom-warning.border-bottom-lighten-2 {\n border-bottom: 1px solid #ffb976 !important;\n}\n.border-left-warning.border-left-lighten-2 {\n border-left: 1px solid #ffb976 !important;\n}\n.border-right-warning.border-right-lighten-2 {\n border-right: 1px solid #ffb976 !important;\n}\n.overlay-warning.overlay-lighten-2 {\n background: #ffb976; /* The Fallback */\n background: rgba(255, 185, 118, 0.6);\n}\n.text-warning.text-lighten-1 {\n color: #ffac5d !important;\n}\n.bg-warning.bg-lighten-1 {\n background-color: #ffac5d !important;\n}\n.border-warning.border-lighten-1 {\n border: 1px solid #ffac5d !important;\n}\n.border-top-warning.border-top-lighten-1 {\n border-top: 1px solid #ffac5d !important;\n}\n.border-bottom-warning.border-bottom-lighten-1 {\n border-bottom: 1px solid #ffac5d !important;\n}\n.border-left-warning.border-left-lighten-1 {\n border-left: 1px solid #ffac5d !important;\n}\n.border-right-warning.border-right-lighten-1 {\n border-right: 1px solid #ffac5d !important;\n}\n.overlay-warning.overlay-lighten-1 {\n background: #ffac5d; /* The Fallback */\n background: rgba(255, 172, 93, 0.6);\n}\n.bg-warning {\n background-color: #ff9f43 !important;\n}\n.bg-warning .card-header,\n.bg-warning .card-footer {\n background-color: transparent;\n}\n.alert-warning {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}\n.alert-warning .alert-heading {\n box-shadow: rgba(255, 159, 67, 0.4) 0px 6px 15px -7px;\n}\n.alert-warning .alert-link {\n color: #ff922a !important;\n}\n.alert-warning .close {\n color: #ff9f43 !important;\n}\n.bg-light-warning {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}\n.bg-light-warning.fc-h-event, .bg-light-warning.fc-v-event {\n border-color: rgba(255, 159, 67, 0.1);\n}\n.bg-light-warning .fc-list-event-dot,\n.bg-light-warning .fc-daygrid-event-dot {\n border-color: #ff9f43 !important;\n}\n.bg-light-warning.fc-list-event:hover td {\n background: rgba(255, 159, 67, 0.1) !important;\n}\n.bg-light-warning.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-warning {\n color: #ff9f43 !important;\n}\n.border-warning {\n border: 1px solid #ff9f43 !important;\n}\n.border-top-warning {\n border-top: 1px solid #ff9f43;\n}\n.border-bottom-warning {\n border-bottom: 1px solid #ff9f43;\n}\n.border-left-warning {\n border-left: 1px solid #ff9f43;\n}\n.border-right-warning {\n border-right: 1px solid #ff9f43;\n}\n.bg-warning.badge-glow,\n.border-warning.badge-glow,\n.badge-warning.badge-glow {\n box-shadow: 0px 0px 10px #ff9f43;\n}\n.badge.badge-light-warning {\n background-color: rgba(255, 159, 67, 0.12);\n color: #ff9f43 !important;\n}\n.overlay-warning {\n background: #ff9f43; /* The Fallback */\n background: rgba(255, 159, 67, 0.6);\n}\n.btn-warning {\n border-color: #ff9f43 !important;\n background-color: #ff9f43 !important;\n color: #fff !important;\n}\n.btn-warning:focus, .btn-warning:active, .btn-warning.active {\n color: #fff;\n background-color: #ff922a !important;\n}\n.btn-warning:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ff9f43;\n}\n.btn-warning:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-warning {\n background-color: transparent;\n color: #ff9f43;\n}\n.btn-flat-warning:hover {\n color: #ff9f43;\n}\n.btn-flat-warning:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.12);\n}\n.btn-flat-warning:active, .btn-flat-warning.active, .btn-flat-warning:focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-flat-warning.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-warning {\n background-color: #ff9f43;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-warning:hover:not(.disabled):not(:disabled) {\n background-color: #ffac5d;\n}\n.btn-relief-warning:active, .btn-relief-warning.active, .btn-relief-warning:focus {\n background-color: #ff922a;\n}\n.btn-relief-warning:hover {\n color: #fff;\n}\n.btn-relief-warning:active, .btn-relief-warning.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-warning {\n border: 1px solid #ff9f43 !important;\n background-color: transparent;\n color: #ff9f43;\n}\n.btn-outline-warning:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.04);\n color: #ff9f43;\n}\n.btn-outline-warning:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, .btn-outline-warning:not(:disabled):not(.disabled):focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-outline-warning.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-warning.dropdown-toggle {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-outline-warning.waves-effect .waves-ripple,\n.btn-flat-warning.waves-effect .waves-ripple {\n background: radial-gradient(rgba(255, 159, 67, 0.2) 0, rgba(255, 159, 67, 0.3) 40%, rgba(255, 159, 67, 0.4) 50%, rgba(255, 159, 67, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-warning {\n background-color: #ff9f43;\n}\n.modal.modal-warning .modal-header .modal-title {\n color: #ff9f43;\n}\n.modal.modal-warning .modal-header .close {\n color: #ff9f43 !important;\n}\n.pagination-warning .page-item.active .page-link {\n background: #ff9f43 !important;\n color: #fff;\n}\n.pagination-warning .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-warning .page-item .page-link:hover {\n color: #ff9f43;\n}\n.pagination-warning .page-item.prev-item .page-link:hover, .pagination-warning .page-item.next-item .page-link:hover {\n background: #ff9f43;\n color: #fff;\n}\n.pagination-warning .page-item.next-item .page-link:active:after, .pagination-warning .page-item.next-item .page-link:hover:after, .pagination-warning .page-item.next .page-link:active:after, .pagination-warning .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-warning .page-item.prev-item .page-link:active:before, .pagination-warning .page-item.prev-item .page-link:hover:before, .pagination-warning .page-item.prev .page-link:active:before, .pagination-warning .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-warning .nav-item .nav-link.active {\n color: #fff;\n background-color: #ff9f43 !important;\n border-color: #ff9f43;\n box-shadow: 0 4px 18px -4px rgba(255, 159, 67, 0.65);\n}\n.progress-bar-warning {\n background-color: rgba(255, 159, 67, 0.12);\n}\n.progress-bar-warning .progress-bar {\n background-color: #ff9f43;\n}\n.timeline .timeline-point-warning {\n border-color: #ff9f43 !important;\n}\n.timeline .timeline-point-warning i,\n.timeline .timeline-point-warning svg {\n stroke: #ff9f43 !important;\n}\n.timeline .timeline-point-warning.timeline-point-indicator {\n background-color: #ff9f43 !important;\n}\n.timeline .timeline-point-warning.timeline-point-indicator:before {\n background: rgba(255, 159, 67, 0.12) !important;\n}\n.divider.divider-warning .divider-text:before, .divider.divider-warning .divider-text:after {\n border-color: #ff9f43 !important;\n}\ninput:focus ~ .bg-warning {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ff9f43 !important;\n}\n.custom-control-warning .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning .custom-control-input:active ~ .custom-control-label::before {\n border-color: #ff9f43;\n background-color: #ff9f43;\n}\n.custom-control-warning.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-warning.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-warning.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-warning.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(255, 159, 67, 0.4) !important;\n}\n.custom-control-warning .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(255, 159, 67, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-warning .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #ff9f43 !important;\n}\n.custom-switch-warning .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #ff9f43 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-warning .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #ff9f43 !important;\n border-color: #ff9f43 !important;\n}\n.text-warning.text-darken-1 {\n color: #ff922a !important;\n}\n.bg-warning.bg-darken-1 {\n background-color: #ff922a !important;\n}\n.border-warning.border-darken-1 {\n border: 1px solid #ff922a !important;\n}\n.border-top-warning.border-top-darken-1 {\n border-top: 1px solid #ff922a !important;\n}\n.border-bottom-warning.border-bottom-darken-1 {\n border-bottom: 1px solid #ff922a !important;\n}\n.border-left-warning.border-left-darken-1 {\n border-left: 1px solid #ff922a !important;\n}\n.border-right-warning.border-right-darken-1 {\n border-right: 1px solid #ff922a !important;\n}\n.overlay-warning.overlay-darken-1 {\n background: #ff922a; /* The Fallback */\n background: rgba(255, 146, 42, 0.6);\n}\n.text-warning.text-darken-2 {\n color: #ff8510 !important;\n}\n.bg-warning.bg-darken-2 {\n background-color: #ff8510 !important;\n}\n.border-warning.border-darken-2 {\n border: 1px solid #ff8510 !important;\n}\n.border-top-warning.border-top-darken-2 {\n border-top: 1px solid #ff8510 !important;\n}\n.border-bottom-warning.border-bottom-darken-2 {\n border-bottom: 1px solid #ff8510 !important;\n}\n.border-left-warning.border-left-darken-2 {\n border-left: 1px solid #ff8510 !important;\n}\n.border-right-warning.border-right-darken-2 {\n border-right: 1px solid #ff8510 !important;\n}\n.overlay-warning.overlay-darken-2 {\n background: #ff8510; /* The Fallback */\n background: rgba(255, 133, 16, 0.6);\n}\n.text-warning.text-darken-3 {\n color: #f67800 !important;\n}\n.bg-warning.bg-darken-3 {\n background-color: #f67800 !important;\n}\n.border-warning.border-darken-3 {\n border: 1px solid #f67800 !important;\n}\n.border-top-warning.border-top-darken-3 {\n border-top: 1px solid #f67800 !important;\n}\n.border-bottom-warning.border-bottom-darken-3 {\n border-bottom: 1px solid #f67800 !important;\n}\n.border-left-warning.border-left-darken-3 {\n border-left: 1px solid #f67800 !important;\n}\n.border-right-warning.border-right-darken-3 {\n border-right: 1px solid #f67800 !important;\n}\n.overlay-warning.overlay-darken-3 {\n background: #f67800; /* The Fallback */\n background: rgba(246, 120, 0, 0.6);\n}\n.text-warning.text-darken-4 {\n color: #dc6c00 !important;\n}\n.bg-warning.bg-darken-4 {\n background-color: #dc6c00 !important;\n}\n.border-warning.border-darken-4 {\n border: 1px solid #dc6c00 !important;\n}\n.border-top-warning.border-top-darken-4 {\n border-top: 1px solid #dc6c00 !important;\n}\n.border-bottom-warning.border-bottom-darken-4 {\n border-bottom: 1px solid #dc6c00 !important;\n}\n.border-left-warning.border-left-darken-4 {\n border-left: 1px solid #dc6c00 !important;\n}\n.border-right-warning.border-right-darken-4 {\n border-right: 1px solid #dc6c00 !important;\n}\n.overlay-warning.overlay-darken-4 {\n background: #dc6c00; /* The Fallback */\n background: rgba(220, 108, 0, 0.6);\n}\n.text-warning.text-accent-1 {\n color: #fff5ef !important;\n}\n.bg-warning.bg-accent-1 {\n background-color: #fff5ef !important;\n}\n.border-warning.border-accent-1 {\n border: 1px solid #fff5ef !important;\n}\n.border-top-warning.border-top-accent-1 {\n border-top: 1px solid #fff5ef !important;\n}\n.border-bottom-warning.border-bottom-accent-1 {\n border-bottom: 1px solid #fff5ef !important;\n}\n.border-left-warning.border-left-accent-1 {\n border-left: 1px solid #fff5ef !important;\n}\n.border-right-warning.border-right-accent-1 {\n border-right: 1px solid #fff5ef !important;\n}\n.overlay-warning.overlay-accent-1 {\n background: #fff5ef; /* The Fallback */\n background: rgba(255, 245, 239, 0.6);\n}\n.text-warning.text-accent-2 {\n color: #ffe5d8 !important;\n}\n.bg-warning.bg-accent-2 {\n background-color: #ffe5d8 !important;\n}\n.border-warning.border-accent-2 {\n border: 1px solid #ffe5d8 !important;\n}\n.border-top-warning.border-top-accent-2 {\n border-top: 1px solid #ffe5d8 !important;\n}\n.border-bottom-warning.border-bottom-accent-2 {\n border-bottom: 1px solid #ffe5d8 !important;\n}\n.border-left-warning.border-left-accent-2 {\n border-left: 1px solid #ffe5d8 !important;\n}\n.border-right-warning.border-right-accent-2 {\n border-right: 1px solid #ffe5d8 !important;\n}\n.overlay-warning.overlay-accent-2 {\n background: #ffe5d8; /* The Fallback */\n background: rgba(255, 229, 216, 0.6);\n}\n.text-warning.text-accent-3 {\n color: #fff6f3 !important;\n}\n.bg-warning.bg-accent-3 {\n background-color: #fff6f3 !important;\n}\n.border-warning.border-accent-3 {\n border: 1px solid #fff6f3 !important;\n}\n.border-top-warning.border-top-accent-3 {\n border-top: 1px solid #fff6f3 !important;\n}\n.border-bottom-warning.border-bottom-accent-3 {\n border-bottom: 1px solid #fff6f3 !important;\n}\n.border-left-warning.border-left-accent-3 {\n border-left: 1px solid #fff6f3 !important;\n}\n.border-right-warning.border-right-accent-3 {\n border-right: 1px solid #fff6f3 !important;\n}\n.overlay-warning.overlay-accent-3 {\n background: #fff6f3; /* The Fallback */\n background: rgba(255, 246, 243, 0.6);\n}\n.text-warning.text-accent-4 {\n color: #ffe3da !important;\n}\n.bg-warning.bg-accent-4 {\n background-color: #ffe3da !important;\n}\n.border-warning.border-accent-4 {\n border: 1px solid #ffe3da !important;\n}\n.border-top-warning.border-top-accent-4 {\n border-top: 1px solid #ffe3da !important;\n}\n.border-bottom-warning.border-bottom-accent-4 {\n border-bottom: 1px solid #ffe3da !important;\n}\n.border-left-warning.border-left-accent-4 {\n border-left: 1px solid #ffe3da !important;\n}\n.border-right-warning.border-right-accent-4 {\n border-right: 1px solid #ffe3da !important;\n}\n.overlay-warning.overlay-accent-4 {\n background: #ffe3da; /* The Fallback */\n background: rgba(255, 227, 218, 0.6);\n}\n.text-danger.text-lighten-5 {\n color: #f8c6c6 !important;\n}\n.bg-danger.bg-lighten-5 {\n background-color: #f8c6c6 !important;\n}\n.border-danger.border-lighten-5 {\n border: 1px solid #f8c6c6 !important;\n}\n.border-top-danger.border-top-lighten-5 {\n border-top: 1px solid #f8c6c6 !important;\n}\n.border-bottom-danger.border-bottom-lighten-5 {\n border-bottom: 1px solid #f8c6c6 !important;\n}\n.border-left-danger.border-left-lighten-5 {\n border-left: 1px solid #f8c6c6 !important;\n}\n.border-right-danger.border-right-lighten-5 {\n border-right: 1px solid #f8c6c6 !important;\n}\n.overlay-danger.overlay-lighten-5 {\n background: #f8c6c6; /* The Fallback */\n background: rgba(248, 198, 198, 0.6);\n}\n.text-danger.text-lighten-4 {\n color: #f5afaf !important;\n}\n.bg-danger.bg-lighten-4 {\n background-color: #f5afaf !important;\n}\n.border-danger.border-lighten-4 {\n border: 1px solid #f5afaf !important;\n}\n.border-top-danger.border-top-lighten-4 {\n border-top: 1px solid #f5afaf !important;\n}\n.border-bottom-danger.border-bottom-lighten-4 {\n border-bottom: 1px solid #f5afaf !important;\n}\n.border-left-danger.border-left-lighten-4 {\n border-left: 1px solid #f5afaf !important;\n}\n.border-right-danger.border-right-lighten-4 {\n border-right: 1px solid #f5afaf !important;\n}\n.overlay-danger.overlay-lighten-4 {\n background: #f5afaf; /* The Fallback */\n background: rgba(245, 175, 175, 0.6);\n}\n.text-danger.text-lighten-3 {\n color: #f29899 !important;\n}\n.bg-danger.bg-lighten-3 {\n background-color: #f29899 !important;\n}\n.border-danger.border-lighten-3 {\n border: 1px solid #f29899 !important;\n}\n.border-top-danger.border-top-lighten-3 {\n border-top: 1px solid #f29899 !important;\n}\n.border-bottom-danger.border-bottom-lighten-3 {\n border-bottom: 1px solid #f29899 !important;\n}\n.border-left-danger.border-left-lighten-3 {\n border-left: 1px solid #f29899 !important;\n}\n.border-right-danger.border-right-lighten-3 {\n border-right: 1px solid #f29899 !important;\n}\n.overlay-danger.overlay-lighten-3 {\n background: #f29899; /* The Fallback */\n background: rgba(242, 152, 153, 0.6);\n}\n.text-danger.text-lighten-2 {\n color: #f08182 !important;\n}\n.bg-danger.bg-lighten-2 {\n background-color: #f08182 !important;\n}\n.border-danger.border-lighten-2 {\n border: 1px solid #f08182 !important;\n}\n.border-top-danger.border-top-lighten-2 {\n border-top: 1px solid #f08182 !important;\n}\n.border-bottom-danger.border-bottom-lighten-2 {\n border-bottom: 1px solid #f08182 !important;\n}\n.border-left-danger.border-left-lighten-2 {\n border-left: 1px solid #f08182 !important;\n}\n.border-right-danger.border-right-lighten-2 {\n border-right: 1px solid #f08182 !important;\n}\n.overlay-danger.overlay-lighten-2 {\n background: #f08182; /* The Fallback */\n background: rgba(240, 129, 130, 0.6);\n}\n.text-danger.text-lighten-1 {\n color: #ed6b6c !important;\n}\n.bg-danger.bg-lighten-1 {\n background-color: #ed6b6c !important;\n}\n.border-danger.border-lighten-1 {\n border: 1px solid #ed6b6c !important;\n}\n.border-top-danger.border-top-lighten-1 {\n border-top: 1px solid #ed6b6c !important;\n}\n.border-bottom-danger.border-bottom-lighten-1 {\n border-bottom: 1px solid #ed6b6c !important;\n}\n.border-left-danger.border-left-lighten-1 {\n border-left: 1px solid #ed6b6c !important;\n}\n.border-right-danger.border-right-lighten-1 {\n border-right: 1px solid #ed6b6c !important;\n}\n.overlay-danger.overlay-lighten-1 {\n background: #ed6b6c; /* The Fallback */\n background: rgba(237, 107, 108, 0.6);\n}\n.bg-danger {\n background-color: #ea5455 !important;\n}\n.bg-danger .card-header,\n.bg-danger .card-footer {\n background-color: transparent;\n}\n.alert-danger {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}\n.alert-danger .alert-heading {\n box-shadow: rgba(234, 84, 85, 0.4) 0px 6px 15px -7px;\n}\n.alert-danger .alert-link {\n color: #e73d3e !important;\n}\n.alert-danger .close {\n color: #ea5455 !important;\n}\n.bg-light-danger {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}\n.bg-light-danger.fc-h-event, .bg-light-danger.fc-v-event {\n border-color: rgba(234, 84, 85, 0.1);\n}\n.bg-light-danger .fc-list-event-dot,\n.bg-light-danger .fc-daygrid-event-dot {\n border-color: #ea5455 !important;\n}\n.bg-light-danger.fc-list-event:hover td {\n background: rgba(234, 84, 85, 0.1) !important;\n}\n.bg-light-danger.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-danger {\n color: #ea5455 !important;\n}\n.border-danger {\n border: 1px solid #ea5455 !important;\n}\n.border-top-danger {\n border-top: 1px solid #ea5455;\n}\n.border-bottom-danger {\n border-bottom: 1px solid #ea5455;\n}\n.border-left-danger {\n border-left: 1px solid #ea5455;\n}\n.border-right-danger {\n border-right: 1px solid #ea5455;\n}\n.bg-danger.badge-glow,\n.border-danger.badge-glow,\n.badge-danger.badge-glow {\n box-shadow: 0px 0px 10px #ea5455;\n}\n.badge.badge-light-danger {\n background-color: rgba(234, 84, 85, 0.12);\n color: #ea5455 !important;\n}\n.overlay-danger {\n background: #ea5455; /* The Fallback */\n background: rgba(234, 84, 85, 0.6);\n}\n.btn-danger {\n border-color: #ea5455 !important;\n background-color: #ea5455 !important;\n color: #fff !important;\n}\n.btn-danger:focus, .btn-danger:active, .btn-danger.active {\n color: #fff;\n background-color: #e73d3e !important;\n}\n.btn-danger:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ea5455;\n}\n.btn-danger:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-danger {\n background-color: transparent;\n color: #ea5455;\n}\n.btn-flat-danger:hover {\n color: #ea5455;\n}\n.btn-flat-danger:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.12);\n}\n.btn-flat-danger:active, .btn-flat-danger.active, .btn-flat-danger:focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-flat-danger.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-danger {\n background-color: #ea5455;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-danger:hover:not(.disabled):not(:disabled) {\n background-color: #ed6b6c;\n}\n.btn-relief-danger:active, .btn-relief-danger.active, .btn-relief-danger:focus {\n background-color: #e73d3e;\n}\n.btn-relief-danger:hover {\n color: #fff;\n}\n.btn-relief-danger:active, .btn-relief-danger.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-danger {\n border: 1px solid #ea5455 !important;\n background-color: transparent;\n color: #ea5455;\n}\n.btn-outline-danger:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.04);\n color: #ea5455;\n}\n.btn-outline-danger:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-outline-danger.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-danger.dropdown-toggle {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-outline-danger.waves-effect .waves-ripple,\n.btn-flat-danger.waves-effect .waves-ripple {\n background: radial-gradient(rgba(234, 84, 85, 0.2) 0, rgba(234, 84, 85, 0.3) 40%, rgba(234, 84, 85, 0.4) 50%, rgba(234, 84, 85, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-danger {\n background-color: #ea5455;\n}\n.modal.modal-danger .modal-header .modal-title {\n color: #ea5455;\n}\n.modal.modal-danger .modal-header .close {\n color: #ea5455 !important;\n}\n.pagination-danger .page-item.active .page-link {\n background: #ea5455 !important;\n color: #fff;\n}\n.pagination-danger .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-danger .page-item .page-link:hover {\n color: #ea5455;\n}\n.pagination-danger .page-item.prev-item .page-link:hover, .pagination-danger .page-item.next-item .page-link:hover {\n background: #ea5455;\n color: #fff;\n}\n.pagination-danger .page-item.next-item .page-link:active:after, .pagination-danger .page-item.next-item .page-link:hover:after, .pagination-danger .page-item.next .page-link:active:after, .pagination-danger .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-danger .page-item.prev-item .page-link:active:before, .pagination-danger .page-item.prev-item .page-link:hover:before, .pagination-danger .page-item.prev .page-link:active:before, .pagination-danger .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-danger .nav-item .nav-link.active {\n color: #fff;\n background-color: #ea5455 !important;\n border-color: #ea5455;\n box-shadow: 0 4px 18px -4px rgba(234, 84, 85, 0.65);\n}\n.progress-bar-danger {\n background-color: rgba(234, 84, 85, 0.12);\n}\n.progress-bar-danger .progress-bar {\n background-color: #ea5455;\n}\n.timeline .timeline-point-danger {\n border-color: #ea5455 !important;\n}\n.timeline .timeline-point-danger i,\n.timeline .timeline-point-danger svg {\n stroke: #ea5455 !important;\n}\n.timeline .timeline-point-danger.timeline-point-indicator {\n background-color: #ea5455 !important;\n}\n.timeline .timeline-point-danger.timeline-point-indicator:before {\n background: rgba(234, 84, 85, 0.12) !important;\n}\n.divider.divider-danger .divider-text:before, .divider.divider-danger .divider-text:after {\n border-color: #ea5455 !important;\n}\ninput:focus ~ .bg-danger {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ea5455 !important;\n}\n.custom-control-danger .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger .custom-control-input:active ~ .custom-control-label::before {\n border-color: #ea5455;\n background-color: #ea5455;\n}\n.custom-control-danger.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-danger.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-danger.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-danger.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(234, 84, 85, 0.4) !important;\n}\n.custom-control-danger .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(234, 84, 85, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-danger .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #ea5455 !important;\n}\n.custom-switch-danger .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #ea5455 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-danger .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #ea5455 !important;\n border-color: #ea5455 !important;\n}\n.text-danger.text-darken-1 {\n color: #e73d3e !important;\n}\n.bg-danger.bg-darken-1 {\n background-color: #e73d3e !important;\n}\n.border-danger.border-darken-1 {\n border: 1px solid #e73d3e !important;\n}\n.border-top-danger.border-top-darken-1 {\n border-top: 1px solid #e73d3e !important;\n}\n.border-bottom-danger.border-bottom-darken-1 {\n border-bottom: 1px solid #e73d3e !important;\n}\n.border-left-danger.border-left-darken-1 {\n border-left: 1px solid #e73d3e !important;\n}\n.border-right-danger.border-right-darken-1 {\n border-right: 1px solid #e73d3e !important;\n}\n.overlay-danger.overlay-darken-1 {\n background: #e73d3e; /* The Fallback */\n background: rgba(231, 61, 62, 0.6);\n}\n.text-danger.text-darken-2 {\n color: #e42728 !important;\n}\n.bg-danger.bg-darken-2 {\n background-color: #e42728 !important;\n}\n.border-danger.border-darken-2 {\n border: 1px solid #e42728 !important;\n}\n.border-top-danger.border-top-darken-2 {\n border-top: 1px solid #e42728 !important;\n}\n.border-bottom-danger.border-bottom-darken-2 {\n border-bottom: 1px solid #e42728 !important;\n}\n.border-left-danger.border-left-darken-2 {\n border-left: 1px solid #e42728 !important;\n}\n.border-right-danger.border-right-darken-2 {\n border-right: 1px solid #e42728 !important;\n}\n.overlay-danger.overlay-darken-2 {\n background: #e42728; /* The Fallback */\n background: rgba(228, 39, 40, 0.6);\n}\n.text-danger.text-darken-3 {\n color: #d71a1c !important;\n}\n.bg-danger.bg-darken-3 {\n background-color: #d71a1c !important;\n}\n.border-danger.border-darken-3 {\n border: 1px solid #d71a1c !important;\n}\n.border-top-danger.border-top-darken-3 {\n border-top: 1px solid #d71a1c !important;\n}\n.border-bottom-danger.border-bottom-darken-3 {\n border-bottom: 1px solid #d71a1c !important;\n}\n.border-left-danger.border-left-darken-3 {\n border-left: 1px solid #d71a1c !important;\n}\n.border-right-danger.border-right-darken-3 {\n border-right: 1px solid #d71a1c !important;\n}\n.overlay-danger.overlay-darken-3 {\n background: #d71a1c; /* The Fallback */\n background: rgba(215, 26, 28, 0.6);\n}\n.text-danger.text-darken-4 {\n color: #c01819 !important;\n}\n.bg-danger.bg-darken-4 {\n background-color: #c01819 !important;\n}\n.border-danger.border-darken-4 {\n border: 1px solid #c01819 !important;\n}\n.border-top-danger.border-top-darken-4 {\n border-top: 1px solid #c01819 !important;\n}\n.border-bottom-danger.border-bottom-darken-4 {\n border-bottom: 1px solid #c01819 !important;\n}\n.border-left-danger.border-left-darken-4 {\n border-left: 1px solid #c01819 !important;\n}\n.border-right-danger.border-right-darken-4 {\n border-right: 1px solid #c01819 !important;\n}\n.overlay-danger.overlay-darken-4 {\n background: #c01819; /* The Fallback */\n background: rgba(192, 24, 25, 0.6);\n}\n.text-danger.text-accent-1 {\n color: #ffeef1 !important;\n}\n.bg-danger.bg-accent-1 {\n background-color: #ffeef1 !important;\n}\n.border-danger.border-accent-1 {\n border: 1px solid #ffeef1 !important;\n}\n.border-top-danger.border-top-accent-1 {\n border-top: 1px solid #ffeef1 !important;\n}\n.border-bottom-danger.border-bottom-accent-1 {\n border-bottom: 1px solid #ffeef1 !important;\n}\n.border-left-danger.border-left-accent-1 {\n border-left: 1px solid #ffeef1 !important;\n}\n.border-right-danger.border-right-accent-1 {\n border-right: 1px solid #ffeef1 !important;\n}\n.overlay-danger.overlay-accent-1 {\n background: #ffeef1; /* The Fallback */\n background: rgba(255, 238, 241, 0.6);\n}\n.text-danger.text-accent-2 {\n color: #ffd6db !important;\n}\n.bg-danger.bg-accent-2 {\n background-color: #ffd6db !important;\n}\n.border-danger.border-accent-2 {\n border: 1px solid #ffd6db !important;\n}\n.border-top-danger.border-top-accent-2 {\n border-top: 1px solid #ffd6db !important;\n}\n.border-bottom-danger.border-bottom-accent-2 {\n border-bottom: 1px solid #ffd6db !important;\n}\n.border-left-danger.border-left-accent-2 {\n border-left: 1px solid #ffd6db !important;\n}\n.border-right-danger.border-right-accent-2 {\n border-right: 1px solid #ffd6db !important;\n}\n.overlay-danger.overlay-accent-2 {\n background: #ffd6db; /* The Fallback */\n background: rgba(255, 214, 219, 0.6);\n}\n.text-danger.text-accent-3 {\n color: #ffecee !important;\n}\n.bg-danger.bg-accent-3 {\n background-color: #ffecee !important;\n}\n.border-danger.border-accent-3 {\n border: 1px solid #ffecee !important;\n}\n.border-top-danger.border-top-accent-3 {\n border-top: 1px solid #ffecee !important;\n}\n.border-bottom-danger.border-bottom-accent-3 {\n border-bottom: 1px solid #ffecee !important;\n}\n.border-left-danger.border-left-accent-3 {\n border-left: 1px solid #ffecee !important;\n}\n.border-right-danger.border-right-accent-3 {\n border-right: 1px solid #ffecee !important;\n}\n.overlay-danger.overlay-accent-3 {\n background: #ffecee; /* The Fallback */\n background: rgba(255, 236, 238, 0.6);\n}\n.text-danger.text-accent-4 {\n color: #ffd3d7 !important;\n}\n.bg-danger.bg-accent-4 {\n background-color: #ffd3d7 !important;\n}\n.border-danger.border-accent-4 {\n border: 1px solid #ffd3d7 !important;\n}\n.border-top-danger.border-top-accent-4 {\n border-top: 1px solid #ffd3d7 !important;\n}\n.border-bottom-danger.border-bottom-accent-4 {\n border-bottom: 1px solid #ffd3d7 !important;\n}\n.border-left-danger.border-left-accent-4 {\n border-left: 1px solid #ffd3d7 !important;\n}\n.border-right-danger.border-right-accent-4 {\n border-right: 1px solid #ffd3d7 !important;\n}\n.overlay-danger.overlay-accent-4 {\n background: #ffd3d7; /* The Fallback */\n background: rgba(255, 211, 215, 0.6);\n}\n.bg-gradient-dark,\n.btn-gradient-dark {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #4b4b4b, #1e1e1e);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.dark-layout .bg-gradient-dark,\n.dark-layout .btn-gradient-dark {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-dark:hover, .bg-gradient-dark:active,\n.btn-gradient-dark:hover,\n.btn-gradient-dark:active {\n color: #fff;\n}\n.bg-gradient-dark:hover:not(.disabled):not(:disabled),\n.btn-gradient-dark:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-dark:active,\n.btn-gradient-dark:active {\n transform: translateY(0);\n}\n.bg-gradient-dark:active, .bg-gradient-dark:focus,\n.btn-gradient-dark:active,\n.btn-gradient-dark:focus {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-primary,\n.btn-gradient-primary {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #7367f0, #9e95f5);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-primary:hover, .bg-gradient-primary:active,\n.btn-gradient-primary:hover,\n.btn-gradient-primary:active {\n color: #fff;\n}\n.bg-gradient-primary:hover:not(.disabled):not(:disabled),\n.btn-gradient-primary:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-primary:active,\n.btn-gradient-primary:active {\n transform: translateY(0);\n}\n.bg-gradient-primary:active, .bg-gradient-primary:focus,\n.btn-gradient-primary:active,\n.btn-gradient-primary:focus {\n background-image: linear-gradient(47deg, #4839eb, #7367f0);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-secondary,\n.btn-gradient-secondary {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #82868b, #9ca0a4);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-secondary:hover, .bg-gradient-secondary:active,\n.btn-gradient-secondary:hover,\n.btn-gradient-secondary:active {\n color: #fff;\n}\n.bg-gradient-secondary:hover:not(.disabled):not(:disabled),\n.btn-gradient-secondary:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-secondary:active,\n.btn-gradient-secondary:active {\n transform: translateY(0);\n}\n.bg-gradient-secondary:active, .bg-gradient-secondary:focus,\n.btn-gradient-secondary:active,\n.btn-gradient-secondary:focus {\n background-image: linear-gradient(47deg, #696d71, #82868b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-success,\n.btn-gradient-success {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #28c76f, #48da89);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-success:hover, .bg-gradient-success:active,\n.btn-gradient-success:hover,\n.btn-gradient-success:active {\n color: #fff;\n}\n.bg-gradient-success:hover:not(.disabled):not(:disabled),\n.btn-gradient-success:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-success:active,\n.btn-gradient-success:active {\n transform: translateY(0);\n}\n.bg-gradient-success:active, .bg-gradient-success:focus,\n.btn-gradient-success:active,\n.btn-gradient-success:focus {\n background-image: linear-gradient(47deg, #1f9d57, #28c76f);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-info,\n.btn-gradient-info {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #00cfe8, #1ce7ff);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-info:hover, .bg-gradient-info:active,\n.btn-gradient-info:hover,\n.btn-gradient-info:active {\n color: #fff;\n}\n.bg-gradient-info:hover:not(.disabled):not(:disabled),\n.btn-gradient-info:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-info:active,\n.btn-gradient-info:active {\n transform: translateY(0);\n}\n.bg-gradient-info:active, .bg-gradient-info:focus,\n.btn-gradient-info:active,\n.btn-gradient-info:focus {\n background-image: linear-gradient(47deg, #00a1b5, #00cfe8);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-warning,\n.btn-gradient-warning {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ff9f43, #ffb976);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-warning:hover, .bg-gradient-warning:active,\n.btn-gradient-warning:hover,\n.btn-gradient-warning:active {\n color: #fff;\n}\n.bg-gradient-warning:hover:not(.disabled):not(:disabled),\n.btn-gradient-warning:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-warning:active,\n.btn-gradient-warning:active {\n transform: translateY(0);\n}\n.bg-gradient-warning:active, .bg-gradient-warning:focus,\n.btn-gradient-warning:active,\n.btn-gradient-warning:focus {\n background-image: linear-gradient(47deg, #ff8510, #ff9f43);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-danger,\n.btn-gradient-danger {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ea5455, #f08182);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-danger:hover, .bg-gradient-danger:active,\n.btn-gradient-danger:hover,\n.btn-gradient-danger:active {\n color: #fff;\n}\n.bg-gradient-danger:hover:not(.disabled):not(:disabled),\n.btn-gradient-danger:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-danger:active,\n.btn-gradient-danger:active {\n transform: translateY(0);\n}\n.bg-gradient-danger:active, .bg-gradient-danger:focus,\n.btn-gradient-danger:active,\n.btn-gradient-danger:focus {\n background-image: linear-gradient(47deg, #e42728, #ea5455);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.ng-select.ng-select-focused {\n outline: 0;\n box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1);\n}\n.ng-select.ng-select-focused .ng-select-container {\n border-color: #7367f0 !important;\n z-index: 2000 !important;\n box-shadow: none !important;\n color: #6e6b7b !important;\n min-height: 38px !important;\n}\n.ng-select .ng-select-container {\n color: #6e6b7b !important;\n min-height: 38px !important;\n}\n.ng-select.error .ng-select-container {\n border-color: #ea5455 !important;\n}\n.ng-select.ng-select-multiple .ng-value {\n background-color: #7367f0 !important;\n color: #fff;\n border: none !important;\n font-size: 0.8rem !important;\n border-radius: 4px !important;\n display: flex;\n align-items: center;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.right {\n border: 0 !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.left {\n border: 0 !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon:hover {\n background-color: transparent !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.left {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.right {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-multiple .ng-select-container .ng-placeholder {\n top: 8px !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container {\n min-height: 48px;\n font-size: 1.2rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value {\n font-size: 1.2rem !important;\n padding: 7px;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value .ng-value-icon.left {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value .ng-value-icon.right {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-clear-wrapper {\n height: 22px !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container {\n min-height: 28px !important;\n font-size: 0.75rem;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value {\n padding: 0px;\n font-size: 0.9em !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value .ng-value-icon.left {\n font-size: 0.9em !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value .ng-value-icon.right {\n font-size: 0.9em !important;\n}\n.ng-select .ng-option.ng-option-selected {\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.ng-select .ng-option.ng-option-selected.ng-option-marked {\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.ng-select .ng-option.ng-option-selected .ng-option-label {\n font-weight: inherit !important;\n}\n.ng-select .ng-option.ng-option-marked {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.ng-select .ng-option.ng-option-disabled {\n color: #b9b9c3 !important;\n}\n.ng-select .ng-arrow {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaBAMAAABbZFH9AAAAG1BMVEUAAACRkZGRkZGSkpKRkZGSkpKSkpKRkZGRkZHLso+9AAAACHRSTlMA+1JoWo0vLFQDmmkAAABlSURBVBjTY6ALSACTbBAOazOYsggAUxEdBkCSuaMVxGGX6BABUo4djQUgrmJHhwFQqkMIrJJJoqOZwaKjUQHIhkg6g6QggEWiQ7Cj0QHIgkpCpaA6wbrgkiAphKSgArJTXRhoBgB9GRPswyvBqAAAAABJRU5ErkJggg==\");\n background-size: 12px 12px, 10px 10px;\n background-repeat: no-repeat;\n height: 0.8rem !important;\n padding-right: 1.5rem;\n margin-left: 0;\n margin-top: 0;\n left: 0;\n border-style: none !important;\n}\n.ng-select.ng-select-opened > .ng-select-container .ng-arrow {\n top: 0px !important;\n}\n.ng-select .ng-clear-wrapper {\n height: 18px;\n}\n.dark-layout .ng-select-container {\n background-color: #283046;\n border-color: #3b4253;\n color: #676d7d;\n}\n.dark-layout .ng-select-container .ng-placeholder {\n color: #676d7d !important;\n}\n.dark-layout .ng-select.ng-select-multiple .ng-value {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.dark-layout .ng-dropdown-header {\n background-color: #161d31;\n border-color: #3b4253;\n}\n.dark-layout .ng-dropdown-footer {\n background-color: #161d31;\n border-color: #3b4253;\n}\n.dark-layout .ng-select.ng-select-opened > .ng-select-container {\n background-color: #161d31;\n}\n.dark-layout .ng-option {\n background-color: #283046 !important;\n color: #b4b7bd !important;\n}\n.dark-layout .ng-option.ng-option-disabled {\n color: #676d7d !important;\n}\n.dark-layout ng-dropdown-panel {\n border-color: #3b4253 !important;\n}\n.dark-layout ng-dropdown-panel .ng-dropdown-panel-items {\n background-color: #161d31 !important;\n}\n.dark-layout ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n color: #676d7d !important;\n}\n.tarjeta {\n width: 300px;\n /* Cambiar el valor seg\u00FAn el tama\u00F1o deseado */\n height: 300px;\n /* Cambiar el valor seg\u00FAn el tama\u00F1o deseado */\n margin: 5px;\n /* Puedes ajustar este valor seg\u00FAn el espacio deseado */\n padding: 1px 0;\n /* Puedes ajustar este valor seg\u00FAn el espacio vertical deseado */\n}\n.efecto-img {\n max-width: 100%;\n /* Adjust based on your design */\n text-align: center;\n margin: 0 auto;\n /* Center the container horizontally */\n}\n.efecto-img img {\n max-width: 100%;\n /* Image will not exceed container width */\n height: auto;\n /* Maintains aspect ratio */\n}\n.search-product {\n width: 100%; /* Ocupa el 100% del ancho disponible */\n max-width: 100%; /* Evita que se desborde */\n}\n/* Ajustar el contenedor del ng-select */\n.ng-select {\n display: flex;\n align-items: center; /* Alinear verticalmente */\n}\n/* Ajustar el placeholder */\n/* Ajustar el placeholder del ng-select */\n.ng-placeholder {\n line-height: 40px; /* Asegura que el texto est\u00E9 centrado verticalmente */\n padding-left: 12px; /* Asegura que el padding izquierdo sea el mismo que el input */\n color: #6c757d; /* Color del placeholder (gris) */\n}\n/* Estilo com\u00FAn para el input y el ng-select */\n.input-style {\n height: 40px;\n padding: 8px 12px;\n border: 1px solid #ccc;\n border-radius: 4px;\n width: 100%;\n}"], encapsulation: 2 }); } /***/ }), /***/ 70127: /*!*****************************************************************************!*\ !*** ./src/app/main/views/tools/api/register-api/register-api.component.ts ***! \*****************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "RegisterApiComponent": () => (/* binding */ RegisterApiComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var bs_stepper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! bs-stepper */ 63094); /* harmony import */ var bs_stepper__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(bs_stepper__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @ctrl/ngx-codemirror */ 1103); function RegisterApiComponent_span_50_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_50_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_50_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](49); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r2.errors.required); } } function RegisterApiComponent_span_56_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_56_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_56_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](55); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r4.errors.required); } } function RegisterApiComponent_span_62_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_62_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_62_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r6.errors.required); } } function RegisterApiComponent_span_69_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_69_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_69_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](68); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r8.errors.required); } } function RegisterApiComponent_span_75_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_75_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_75_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](74); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r10.errors.required); } } function RegisterApiComponent_span_82_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_82_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_82_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](81); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r12.errors.required); } } function RegisterApiComponent_span_92_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_92_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_92_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](91); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r14.errors.required); } } function RegisterApiComponent_span_99_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_99_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_99_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](98); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r16.errors.required); } } function RegisterApiComponent_span_105_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_105_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_105_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](104); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r18.errors.required); } } function RegisterApiComponent_span_112_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_112_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_112_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](111); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r20.errors.required); } } const _c0 = function () { return { standalone: true }; }; function RegisterApiComponent_div_126_Template(rf, ctx) { if (rf & 1) { const _r56 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 55)(1, "label", 115); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Puente"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "input", 116); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_126_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r56); const ctx_r55 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r55.xAPIDB.puente = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r23.xAPIDB.puente)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](2, _c0)); } } function RegisterApiComponent_div_127_Template(rf, ctx) { if (rf & 1) { const _r58 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 22)(1, "label", 115); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Metodo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 117); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_127_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r58); const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r57.onMetodo($event)); })("ngModelChange", function RegisterApiComponent_div_127_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r58); const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r59.xAPIDB.metodo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r24.metodo)("ngModel", ctx_r24.xAPIDB.metodo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c0)); } } function RegisterApiComponent_div_128_Template(rf, ctx) { if (rf & 1) { const _r61 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 43)(1, "label", 118); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Relacional"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 119); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_128_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r61); const ctx_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r60.xAPIDB.relacional = $event); })("ngModelChange", function RegisterApiComponent_div_128_Template_ng_select_ngModelChange_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r61); const ctx_r62 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r62.clickRelacional(ctx_r62.xAPIDB.relacional)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r25.relacional)("ngModel", ctx_r25.xAPIDB.relacional)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c0)); } } function RegisterApiComponent_div_129_Template(rf, ctx) { if (rf & 1) { const _r64 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 33)(1, "label", 120); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Colecci\u00F3n en caso de ser NOSQL"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "input", 121); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_129_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r64); const ctx_r63 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r63.xAPIDB.coleccion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r26.xAPIDB.coleccion)("disabled", ctx_r26.DisabledNoSql == true)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c0)); } } function RegisterApiComponent_div_131_Template(rf, ctx) { if (rf & 1) { const _r66 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 22)(1, "label", 122); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Nombre de la tabla"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 123); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_131_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r66); const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r65.tabla = $event); })("ngModelChange", function RegisterApiComponent_div_131_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r66); const ctx_r67 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r67.selectEventModulo($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r27.dataModulo)("ngModel", ctx_r27.tabla)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c0)); } } function RegisterApiComponent_div_132_Template(rf, ctx) { if (rf & 1) { const _r69 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 43)(1, "label", 124); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Tipo de Criterio"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 125); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_132_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r69); const ctx_r68 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r68.xdml = $event); })("ngModelChange", function RegisterApiComponent_div_132_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r69); const ctx_r70 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r70.onDml($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r28.lstDml)("ngModel", ctx_r28.xdml)("disabled", ctx_r28.DisabledTipoDato == true)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](4, _c0)); } } function RegisterApiComponent_div_133_Template(rf, ctx) { if (rf & 1) { const _r72 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 43)(1, "label", 40); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Valor por defecto"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "input", 126); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_133_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r72); const ctx_r71 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r71.defecto = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r29.defecto)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](2, _c0)); } } function RegisterApiComponent_div_134_Template(rf, ctx) { if (rf & 1) { const _r74 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 22)(1, "label", 44); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Condici\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 127); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_134_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r74); const ctx_r73 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r73.condicion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r30.lstcondicion)("disabled", ctx_r30.xcondicion == true)("ngModel", ctx_r30.condicion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](4, _c0)); } } function RegisterApiComponent_div_136_Template(rf, ctx) { if (rf & 1) { const _r76 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 22)(1, "label", 128); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Nombre del campo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 129); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_136_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r76); const ctx_r75 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r75.campo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r31.dataCampo)("ngModel", ctx_r31.campo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c0)); } } function RegisterApiComponent_div_137_Template(rf, ctx) { if (rf & 1) { const _r78 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 81)(1, "label", 130); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Alias"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "input", 131); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_137_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r78); const ctx_r77 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r77.alias = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r32.alias)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](2, _c0)); } } function RegisterApiComponent_div_138_Template(rf, ctx) { if (rf & 1) { const _r80 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 22)(1, "label", 132); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Tipo de dato"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 133); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_138_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r80); const ctx_r79 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r79.tipodato = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r33.lsttipodato)("ngModel", ctx_r33.tipodato)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c0)); } } function RegisterApiComponent_div_139_Template(rf, ctx) { if (rf & 1) { const _r82 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 134)(1, "button", 135); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function RegisterApiComponent_div_139_Template_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r82); const ctx_r81 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r81.agregarEntrada()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "+"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } } function RegisterApiComponent_div_153_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 33)(1, "label", 136); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Parametros"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](3, "input", 137); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_div_154_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 33)(1, "label", 138); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Valor Retorno"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](3, "ng-select", 139); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r37.retorn); } } function RegisterApiComponent_div_156_Template(rf, ctx) { if (rf & 1) { const _r84 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 33)(1, "label", 44); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Funciones de la prueba"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "ng-select", 140); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_156_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r84); const ctx_r83 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r83.funcionalidad = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx_r38.funciones)("ngModel", ctx_r38.funcionalidad)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](3, _c0)); } } function RegisterApiComponent_div_157_Template(rf, ctx) { if (rf & 1) { const _r86 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 33)(1, "label", 40); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](2, "Agregar columna de la consulta"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "input", 141); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_div_157_Template_input_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r86); const ctx_r85 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r85.xAPIDB.consumidores = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx_r39.xAPIDB.consumidores)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](2, _c0)); } } function RegisterApiComponent_span_176_small_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "small", 114); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Este campo es requerido!"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_span_176_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "span", 112); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](1, RegisterApiComponent_span_176_small_1_Template, 2, 0, "small", 113); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); const _r41 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](175); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r41.errors.required); } } function RegisterApiComponent_button_237_Template(rf, ctx) { if (rf & 1) { const _r89 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 142); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function RegisterApiComponent_button_237_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r89); const ctx_r88 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r88.UpdateAPI(ctx_r88.xAPIDB.funcion, ctx_r88.xAPIDB.entorno)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Actualizar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } function RegisterApiComponent_button_238_Template(rf, ctx) { if (rf & 1) { const _r91 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "button", 142); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function RegisterApiComponent_button_238_Template_button_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r91); const ctx_r90 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx_r90.RegistrarAPI()); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](1, "Guardar"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); } } const clave = "5412892DF0D2919B04ADD29EDEFABA30E30F6D7F5A62A9B84AD46BDE23B25491"; class RegisterApiComponent { rutaActiva; apiService; utilservice; router; // public contentHeader; ruta = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.apiUrl + environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.API + environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.Hash; ListaAplicaciones; driversID = ""; drivers; xAPI = { funcion: "", parametros: "", valores: {} }; apiUpdate = { funcion: "", entorno: "" }; codeJson = { theme: "material", mode: "application/ld+json", lineNumbers: true, lineWrapping: true, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter", "CodeMirror-lint-markers"], autoCloseBrackets: true, matchBrackets: true, lint: true }; codeSQL = { theme: "material", mode: "text/x-sql", lineNumbers: true, lineWrapping: true, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter", "CodeMirror-lint-markers"], autoCloseBrackets: true, matchBrackets: true, lint: true }; xAPIDB = { puertohttp: undefined, puertohttps: undefined, tipo: undefined, distribucion: 0, aplicacion: undefined, funcion: "", version: "0.0.1", categoria: undefined, funcionalidad: undefined, parametros: "", descripcion: "", metodo: undefined, relacional: undefined, coleccion: "", valores: undefined, consumidores: 100, cache: 0, logs: false, concurrencia: false, retorna: false, prioridad: "0", entorno: "desarrollo", accion: false, estatus: true, ruta: "", entradas: "", query: "", alias: "", driver: undefined, tiempoduracion: "20", tipoduracion: 0, bitacora: 0, respaldo: 0 }; xAPIAux = { puertohttp: undefined, puertohttps: undefined, tipo: undefined, distribucion: 0, aplicacion: undefined, funcion: "", version: "0.0.1", categoria: undefined, funcionalidad: undefined, parametros: "", descripcion: "", metodo: undefined, relacional: undefined, coleccion: "", valores: undefined, consumidores: 100, cache: 0, logs: false, concurrencia: false, retorna: false, prioridad: "0", entorno: "desarrollo", accion: false, estatus: true, ruta: "", entradas: "", query: "", alias: "", driver: undefined, tiempoduracion: "20", tipoduracion: 0 }; existe = false; duracion = [{ id: 0, name: "Segundos" }, { id: 1, name: "Minutos" }, { id: 2, name: "Horas" }]; http = [{ id: 8012, name: "8012" }, { id: 8013, name: "8013" }]; https = [{ id: 2286, name: "2286" }, { id: 2385, name: "2385" }]; estatus = [{ id: true, name: "ACTIVA" }, { id: false, name: "INACTIVA" }]; tipo = [{ id: "CODIGO", name: "GENERAR CODIGO" }, { id: "LOGICA", name: "LOGICA DE NEGOCIO" }, { id: "CONSULTA", name: "CONSULTA SLQ / NOSQL" }, { id: "INTERFAZ", name: "INTERFAZ" }, { id: "ARCHIVO", name: "ARCHIVO" }]; lsttipodato = [{ id: "boo", name: "LOGICO" }, { id: "string", name: "CADENA" }, { id: "date", name: "FECHA" }, { id: "int", name: "ENTERO" }, { id: "dbl", name: "DOBLE" }, { id: "sql", name: "SQL" }, { id: "cencrypt", name: "FICHERO CIFRADO" }, { id: "orcdt", name: "F./HORA ORACLE" }]; categoria = [{ id: "CORE", name: "CORE" }, { id: "APLICACIONES", name: "APLICACIONES" }]; LstDistribucion = [{ id: 1, name: "COMPARTIDA" }, { id: 0, name: "PRIVADA" }]; LstDecision = [{ id: 1, name: "SI" }, { id: 0, name: "NO" }]; funcionalidad = [{ id: "LOGICA", name: "LOGICA" }, { id: "FINANCIERA", name: "FINANCIERA" }, { id: "ARITMETICA", name: "ARITMETICA" }, { id: "INGENIERIA", name: "INGENIERIA" }, { id: "ESTADISTICA", name: "ESTADISTICA" }, { id: "SISTEMA", name: "SISTEMA" }]; cache = [{ id: 0, name: "NINGUNO" }, { id: 1, name: "INCLUSIVO" }, { id: 2, name: "EXCLUSIVO" }]; logs = [{ id: true, name: "SI" }, { id: false, name: "NO" }]; concurrente = [{ id: true, name: "SI" }, { id: false, name: "NO" }]; retorno = [{ id: true, name: "SI" }, { id: false, name: "NO" }]; retorn = [{ id: 1, name: "BOOL", descripcion: "LOGICO" }, { id: 2, name: "STRING", descripcion: "CADENA" }, { id: 3, name: "ARRAY", descripcion: "ARREGLO" }, { id: 4, name: "OBJECT", descripcion: "OBJETO" }, { id: 5, name: "FILE", descripcion: "ARCHIVO" }, { id: 6, name: "NULL", descripcion: "NULL" }]; prioridad = [{ id: "0", name: "BAJA" }, { id: "1", name: "MEDIA" }, { id: "2", name: "ALTA" }]; entorno = [{ id: "desarrollo", name: "DESARROLLO" }, { id: "calidad", name: "CALIDAD" }, { id: "produccion", name: "PRODUCCION" }]; funciones = [{ id: "SUM", name: "SUMA" }, { id: "PROM", name: "PROMEDIO" }]; waf = [{ id: true, name: "SI" }, { id: false, name: "NO" }]; lstcondicion = [{ id: "AND", name: "AND" }, { id: "OR", name: "OR" }, { id: "IN", name: "IN" }]; metodo = [{ id: "INSERTAR", name: "INSERTAR" }, { id: "CONSULTAR", name: "CONSULTAR" }, { id: "ACTUALIZAR", name: "ACTUALIZAR" }, { id: "ELIMINAR", name: "ELIMINAR" }]; relacional = [{ id: true, name: "SI" }, { id: false, name: "NO" }]; btnInterfaz = true; dataModulo = []; DisabledNoSql = false; lstDml = []; dataCampo = []; xcondicion = true; Xmetodo; DisabledTipoDato = true; campo = undefined; alias = ""; tipodato = undefined; tabla = undefined; xdml = undefined; defecto = ""; condicion = ""; getURL; IEntrada = []; //Detalles de la entrada DML = ["$values", "$set", "$where"]; //Listado general de entradas IEntradas = { $values: [], $set: [], $where: [] }; rutaURL = ""; urlControl = ""; driversAPP = ""; url = ""; Dml = [{ id: "$values", nombre: "VALUES", tipo: "INSERTAR" }, { id: "$set", nombre: "SET", tipo: "ACTUALIZAR" }, { id: "$where", nombre: "WHERE", tipo: "ACTUALIZAR" }, { id: "$where", nombre: "WHERE", tipo: "ELIMINAR" }]; constructor(rutaActiva, apiService, utilservice, router) { this.rutaActiva = rutaActiva; this.apiService = apiService; this.utilservice = utilservice; this.router = router; } horizontalWizardStepper; horizontalWizardStepperNext(data) { if (data.form.valid === true) { this.horizontalWizardStepper.next(); } } horizontalWizardStepperPrevious() { this.horizontalWizardStepper.previous(); } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.CargarDrivers(); _this.CargarListaAplicaciones(); _this.rutaURL = _this.rutaActiva.snapshot.params.id; _this.urlControl = _this.rutaActiva.snapshot.params.ruta; let url = ""; if (_this.urlControl != undefined) { let valor = atob(_this.urlControl).split("|"); _this.driversAPP = valor[0]; _this.url = valor[1]; url = "/" + _this.url; } _this.LeerAPI(_this.rutaURL); _this.getURL = _this.rutaActiva.snapshot.url[2].path; let funcion = _this.rutaActiva.snapshot.url[3].path; _this.horizontalWizardStepper = new (bs_stepper__WEBPACK_IMPORTED_MODULE_1___default())(document.querySelector("#stepper1"), {}); _this.contentHeader = { headerTitle: "Herramientas", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Aplicaciones", isLink: true, link: "/tools/applications" }, { name: "Api", isLink: true, link: "/tools/applications/" + _this.url }, { name: "Detalle", isLink: true, link: "/tools/applications/api-list/" + _this.urlControl }, { name: funcion, isLink: funcion != "Registrar" ? true : false, link: "/tools/applications/api-details/" + funcion + "/" + _this.urlControl }, { name: "Control", isLink: false }] } }; })(); } CargarDrivers() { this.xAPI.funcion = "LESBDrivers"; this.drivers = []; this.apiService.Ejecutar(this.xAPI).subscribe(datax => { this.drivers = datax.map(e => { e.name = e.descripcion + " - " + "(" + e.basedatos + ")"; return e; }); this.drivers.push({ id: "MGDBA", name: "Sandra Server MongoDB (MGDBA)", driver: "mongodb" }); // console.log(this.drivers) }, error => { console.log(error); }); } RegistrarAPI() { // this.xAPIDB.driver = this.driversID this.xAPIDB.puertohttp = parseInt(this.xAPIDB.puertohttp.toString()); this.xAPIDB.puertohttps = parseInt(this.xAPIDB.puertohttps.toString()); var obj = { coleccion: "apicore", objeto: this.xAPIDB, donde: `{\"funcion\":\"${this.xAPIDB.funcion}\"}`, driver: "MGDBA", upsert: true }; this.apiService.ExecColeccion(obj).subscribe(data => { this.router.navigate([`tools/applications/api-list/${this.urlControl}`]); this.utilservice.AlertMini("top-end", "success", `Tu (API) ha sido registrada codigo: ${data.UpsertedID}`, 3000); }, error => { this.utilservice.AlertMini("top-end", "error", "Error al Guardadar API", 3000); }); } LeerAPI(funcion) { this.existe = true; this.xAPI.funcion = "_SYS_R_ListarApisID"; this.xAPI.parametros = funcion; this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data != null) { this.xAPIDB = data[0]; this.xAPIAux = data[0]; } this.onTipo(this.xAPIDB.tipo); this.xAPIDB.version = this.existe ? this.validarVersion() : this.xAPI.version; }, error => { console.log(error); }); } UpdateAPI(funcion, entorno) { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.xAPIDB.puertohttp = parseInt(_this2.xAPIDB.puertohttp.toString()); _this2.xAPIDB.puertohttps = parseInt(_this2.xAPIDB.puertohttps.toString()); _this2.apiUpdate.entorno = entorno; _this2.apiUpdate.funcion = funcion; let jsonG = { coleccion: "apicore", relacional: false, tipo: "INSERTAR", entorno: entorno, valores: _this2.xAPIDB }; let sApi = "crud"; _this2.xAPI = {}; yield _this2.apiService.Guardar(jsonG, sApi).subscribe(data => { _this2.router.navigate([`tools/applications/api-details/${_this2.rutaURL}/${_this2.urlControl}`]); _this2.utilservice.AlertMini("top-end", "success", `Tu (API) ha sido actualizada`, 3000); }, errot => { _this2.utilservice.AlertMini("top-end", "error", "Fallo la conexión, con el API", 3000); }); })(); } validarVersion() { let version = this.xAPIDB.version.split("."); let mayor = parseInt(version[0]); let menor = parseInt(version[1]); let menor_aux = parseInt(version[2]); const _api = this.xAPIDB; const _aux = this.xAPIAux; if (_api.tipo != _aux.tipo || _api.driver != _aux.driver || _api.concurrencia != _aux.concurrencia || _api.entradas != _aux.entradas || _api.query != _aux.query) { mayor = parseInt(version[0]) + 1; } if (_api.logs != _aux.logs || _api.cache != _aux.cache || _api.prioridad != _aux.prioridad || _api.accion != _aux.accion) { menor = parseInt(version[1]) + 1; } if (_api.descripcion != _aux.descripcion || _api.categoria != _aux.categoria) { menor_aux = parseInt(version[2]) + 1; } // console.log(_api) // console.log(_aux) // console.log(mayor + '.' + menor + '.' + menor_aux) return mayor + "." + menor + "." + menor_aux; } onTipo(e) { console.log(e); // this._divInit() switch (this.xAPIDB.tipo) { case "CODIGO": // this.divCodigofuente = '' // this.divArchivosng = '' this.btnInterfaz = true; break; case "ARCHIVO": this.btnInterfaz = true; break; case "LOGICA": // this.divCodigofuente = '' // this.divArchivosng = '' this.btnInterfaz = true; break; case "CONSULTA": // this.divConsultang = '' // this.clickRefresh(0) this.btnInterfaz = true; break; case "INTERFAZ": this.btnInterfaz = false; break; default: break; } } selDataBase(valor) { this.driversID = valor.id; this.xAPIDB.driver = valor.id; this.xAPI.parametros = valor.basedatos; this.dataModulo = []; this.xAPI.funcion = ""; switch (valor.driver) { case "mysql8": this.xAPI.funcion = "_SYS_MYSQL"; break; case "mariadb": this.xAPI.funcion = "_SYS_MYSQL"; break; case "postgres13": this.xAPI.funcion = "_SYS_POSTGRES"; break; case "postgres96": this.xAPI.funcion = "_SYS_POSTGRES"; break; case "mongodb": break; case "puenteurl": break; case "sqlserver17": break; case "oracle19c": break; default: break; } if (this.xAPI.funcion != "") { this.apiService.Ejecutar(this.xAPI).subscribe(data => { let i = 0; this.dataModulo = data.Cuerpo.map(e => { i++; return { id: e.tabla, name: e.tabla, definicion: e.definicion }; }); }, error => { console.log(error); }); } } setEditorContent(event) {//console.log(event) } clickRefresh(event) { this.codeJson = { theme: "material", mode: "application/ld+json", lineNumbers: true, lineWrapping: true, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter", "CodeMirror-lint-markers"], autoCloseBrackets: true, matchBrackets: true, lint: true }; this.codeSQL = { theme: "material", mode: "text/x-sql", lineNumbers: true, lineWrapping: true, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter", "CodeMirror-lint-markers"], autoCloseBrackets: true, matchBrackets: true, lint: true }; } clickRelacional(valor) { if (valor == true) { this.DisabledNoSql = true; } else { this.DisabledNoSql = false; } } /** * Tabla * @param item */ selectEventModulo(item) { this.dataCampo = []; let i = 0; let campos = []; campos = JSON.parse(item.definicion); campos.map(e => { this.dataCampo.push({ id: e.col, name: e.col, tipo: e.tp, pos: i }); i++; }); } /** * Eliminar un campo de los elementos de las columnas de las tablas * @param name */ eliminarCampoModulo(name) { let aux = this.dataCampo.filter(e => { return e.name != name; }); this.dataCampo = aux; } onMetodo(ev) { this.lstDml = []; this.Dml.map(e => { if (ev != "CONSULTAR") { this.DisabledTipoDato = false; } else { this.DisabledTipoDato = true; } if (e.tipo == ev) { this.lstDml.push(e); } }); } onDml(ev) { this.xcondicion = true; if (ev == "$where") { this.xcondicion = false; } } CargarListaAplicaciones() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xAPI.funcion = "_SYS_LstAplicaciones"; _this3.xAPI.parametros = ""; yield _this3.apiService.Ejecutar(_this3.xAPI).subscribe(data => { _this3.ListaAplicaciones = data.Cuerpo.map(e => { e.name = e.nombre + " : " + e.VERSION; return e; }); }, error => { console.log(error); }); })(); } //agregarEntrada a los elementos de la interfaz de una API agregarEntrada() { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { if (_this4.xdml == "") { _this4.utilservice.AlertMini("top-end", "warning", "Debe registrar todos los campos requeridos seleccione el campo VALUES", 3000); return; } if (_this4.campo == "" || _this4.tipodato == "") { _this4.utilservice.AlertMini("top-end", "warning", "Debe registrar todos los campos requeridos; nombre, alias, tipo de dato", 3000); return; } var e = { campo: _this4.campo, defecto: _this4.defecto, alias: _this4.alias == "" ? _this4.campo : _this4.alias, tipo: _this4.tipodato }; console.log(_this4.xdml); _this4.IEntradas[_this4.xdml].push(e); var blAct = yield _this4.selEntradas().then(e => { return e; }); _this4.Xmetodo = _this4.xAPIDB.metodo; if (_this4.Xmetodo.name == "ACTUALIZAR" && blAct != true) { _this4.utilservice.AlertMini("top-end", "warning", "Es recomendable agragar un parametro para actualizar WHERE", 3000); } _this4.xAPIDB.entradas = JSON.stringify(_this4.IEntrada, null, "\t"); _this4.selMetodo(_this4.xAPIDB.metodo); _this4.clickRefresh(0); _this4.eliminarCampoModulo(_this4.campo); _this4.tipodato = ""; _this4.campo = ""; _this4.alias = ""; _this4.defecto = ""; })(); } selEntradas() { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { var blAct = false; //Actualizar var cond = undefined; _this5.IEntrada = []; yield _this5.DML.forEach(e => { if (_this5.IEntradas[e].length > 0) { if (e == "WHERE") { cond = _this5.condicion; blAct = true; } _this5.IEntrada.push({ dml: e, condicion: cond, entradas: _this5.IEntradas[e] }); } }); return blAct; })(); } selMetodo(metodo) { switch (metodo) { case "INSERTAR": this.xAPIDB.query = `INSERT INTO ${this.tabla.name} $exec`; break; case "ACTUALIZAR": this.xAPIDB.query = `UPDATE ${this.tabla.name} $exec`; break; case "DELETE": this.xAPIDB.query = `DELETE FROM ${this.tabla.name} $exec`; break; default: this.xAPIDB.query = `SELECT * FROM `; break; } } static ɵfac = function RegisterApiComponent_Factory(t) { return new (t || RegisterApiComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_9__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_9__.Router)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineComponent"]({ type: RegisterApiComponent, selectors: [["app-register-api"]], decls: 239, vars: 132, consts: [[1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "horizontal-wizard"], ["id", "stepper1", 1, "bs-stepper", "horizontal-wizard-example"], [1, "bs-stepper-header"], ["data-target", "#account-details", 1, "step"], [1, "step-trigger"], [1, "bs-stepper-box"], [1, "bs-stepper-label"], [1, "bs-stepper-title"], [1, "bs-stepper-subtitle"], [1, "line"], ["data-feather", "chevron-right", 1, "font-medium-2"], ["data-target", "#personal-info", 1, "step"], ["data-target", "#social-links", 1, "step"], [1, "bs-stepper-content"], [3, "ngSubmit"], ["HWForm", "ngForm"], ["id", "account-details", 1, "content"], ["accountDetailsForm", "ngForm"], [1, "row"], [1, "form-group", "col-md-4"], ["for", "http", 1, "form-label"], ["id", "http", "name", "http", "required", "", "bindLabel", "name", "bindId", "id", "bindValue", "name", "placeholder", "Seleccione Puerto HTTP", 3, "items", "ngModel", "ngModelChange"], ["httpx", "ngModel"], ["class", "invalid-form", 4, "ngIf"], ["for", "https", 1, "form-label"], ["id", "https", "name", "https", "required", "", "bindLabel", "name", "bindId", "id", "bindValue", "name", "placeholder", "Seleccione Puerto HTTPS", 3, "items", "ngModel", "ngModelChange"], ["httpsx", "ngModel"], ["for", "tipo", 1, "form-label"], ["id", "tipo", "name", "tipo", "required", "", "bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Tipo", 3, "items", "ngModel", "ngModelChange"], ["tipox", "ngModel"], [1, "form-group", "col-md-6"], ["for", "distribucion", 1, "form-label"], ["id", "distribucion", "name", "distribucion", "required", "", "bindLabel", "name", "bindId", "id", "bindValue", "id", "placeholder", "Seleccione Distribuci\u00F3n", 3, "items", "ngModel", "ngModelChange"], ["distribucionx", "ngModel"], ["for", "aplicacion", 1, "form-label"], ["id", "aplicacion", "name", "aplicacion", "required", "", "bindLabel", "name", "bindValue", "nombre", "placeholder", "Seleccione Aplicaci\u00F3n", 3, "items", "ngModel", "ngModelChange"], ["aplicacionx", "ngModel"], ["for", "funcion", 1, "form-label"], ["required", "", "type", "text", "name", "last-names", "id", "last-names", "id", "funcion", "name", "funcion", "required", "", 1, "form-control", 3, "ngModel", "ngModelChange"], ["funcionx", "ngModel"], [1, "form-group", "col-md-2"], ["for", "version", 1, "form-label"], ["required", "", "type", "text", "name", "last-namew", "id", "last-namew", 1, "form-control", 3, "ngModel", "ngModelOptions", "disabled", "ngModelChange"], ["for", "conexion", 1, "form-label"], ["id", "id", "name", "name", "required", "", "bindLabel", "name", "placeholder", "Seleccione Conexi\u00F3n", 3, "items", "ngModel", "ngModelChange"], ["driverx", "ngModel"], ["for", "categoria", 1, "form-label"], ["id", "categoria", "name", "categoria", "required", "", "bindLabel", "name", "bindId", "id", "bindValue", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Categoria", 3, "items", "ngModel", "ngModelChange"], ["categoriax", "ngModel"], ["for", "funcionalidad", 1, "form-label"], ["id", "funcionalidad", "name", "funcionalidad", "required", "", "bindLabel", "name", "bindId", "id", "bindValue", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Funcionalidad", 3, "items", "ngModel", "ngModelChange"], ["funcionalidadx", "ngModel"], [1, "form-group", "col-md-12"], ["for", "descripcion", 1, "form-label"], ["rows", "7", "id", "descripcion", "name", "descripcion", "required", "", "type", "text", "name", "last-namew", "id", "last-namew", 1, "form-control", 3, "ngModel", "ngModelChange"], ["descripcionx", "ngModel"], [1, "d-flex", "justify-content-between"], ["disabled", "", "rippleEffect", "", 1, "btn", "btn-outline-secondary", "btn-prev", 3, "click"], ["data-feather", "arrow-left", 1, "align-middle", "mr-sm-25", "mr-0"], [1, "align-middle", "d-sm-inline-block", "d-none"], ["type", "submit", "rippleEffect", "", 1, "btn", "btn-primary", "btn-next", 3, "click"], ["data-feather", "arrow-right", 1, "align-middle", "ml-sm-25", "ml-0"], ["id", "personal-info", 1, "content"], ["personalInfoForm", "ngForm"], ["class", "form-group col-md-12", 4, "ngIf"], ["class", "form-group col-md-4", 4, "ngIf"], ["class", "form-group col-md-2", 4, "ngIf"], ["class", "form-group col-md-6", 4, "ngIf"], ["class", "form-group col-md-3", 4, "ngIf"], ["class", "form-group col-md-1", "style", "margin-top: 24px;", 4, "ngIf"], [1, "form-group", "text-justify"], [3, "ngModelOptions", "ngModel", "options", "ngModelChange", "click"], ["aria-describedby", "login-codigo", "tabindex", "1", "autofocus", "", 3, "ngModelOptions", "ngModel", "options", "ngModelChange", "click"], ["codemirror", ""], ["type", "button", "rippleEffect", "", 1, "btn", "btn-primary", "btn-prev", 3, "click"], ["rippleEffect", "", 1, "btn", "btn-primary", "btn-next", 3, "click"], ["id", "social-links", 1, "content"], ["socialLinkForm", "ngForm"], [1, "form-group", "col-md-3"], ["for", "consumidores", 1, "form-label"], ["type", "number", "id", "consumidores", "name", "consumidores", "required", "", "placeholder", "Consumidores", 1, "form-control", 3, "ngModel", "ngModelChange"], ["consumidoresx", "ngModel"], ["for", "cache", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Cache", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "logs", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Logs", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "concurrente", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Concurrente", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "retorno", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Retorno", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "tiempoduracion", 1, "form-label"], ["type", "number", "placeholder", "Seleccione Tiempo", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["for", "tipoduracion", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Tipo Duraci\u00F3n", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "prioridad", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Prioridad", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "entorno", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Entorno", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "Waf", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Aplicar Waf", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "bitacora", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Bitacora", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "respaldo", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Respaldo", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "estatus", 1, "form-label"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Estatus", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "url", 1, "form-label"], ["required", "", "type", "text", "name", "last-namew", "id", "last-namew", 1, "form-control", 3, "disabled", "placeholder"], ["class", "btn btn-success btn-submit", "rippleEffect", "", 3, "click", 4, "ngIf"], [1, "invalid-form"], ["class", "form-text text-danger", 4, "ngIf"], [1, "form-text", "text-danger"], ["for", "metodo", 1, "form-label"], ["type", "text", "placeholder", "Puente", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Metodo", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "relacional", 1, "form-label"], ["bindLabel", "name", "bindId", "id", "bindValue", "id", "placeholder", "Seleccione Relacional", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "coleccion", 1, "form-label"], ["type", "text", "placeholder", "Coleccion", 1, "form-control", 3, "ngModel", "disabled", "ngModelOptions", "ngModelChange"], ["for", "nombretabla", 1, "form-label"], ["bindLabel", "name", "placeholder", "Seleccione Relacional", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "criterio", 1, "form-label"], ["bindLabel", "nombre", "bindValue", "id", "placeholder", "Seleccione Tipo de dato", 3, "items", "ngModel", "disabled", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Valor por defecto", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["bindLabel", "name", "bindId", "id", "bindValue", "name", "placeholder", "Seleccione Condici\u00F3n", 3, "items", "disabled", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "campo", 1, "form-label"], ["bindLabel", "name", "bindId", "id", "bindValue", "name", "placeholder", "Seleccione Campo", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "alias", 1, "form-label"], ["type", "text", "placeholder", "Alias", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["for", "tipodatox", 1, "form-label"], ["bindLabel", "name", "bindId", "id", "bindValue", "id", "placeholder", "Seleccione Tipo de dato", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-1", 2, "margin-top", "24px"], [1, "btn", "btn-success", 3, "click"], ["for", "parametros", 1, "form-label"], ["type", "text", "placeholder", "Parametros", 1, "form-control"], ["for", "login-valor-retorno", 1, "form-label"], ["bindLabel", "descripcion", "placeholder", "Seleccione Valor Retorno", "bindId", "id", 3, "items"], ["bindLabel", "name", "bindId", "id", "placeholder", "Seleccione Funciones", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["type", "text", "placeholder", "Agregar columna de la consulta", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["rippleEffect", "", 1, "btn", "btn-success", "btn-submit", 3, "click"]], template: function RegisterApiComponent_Template(rf, ctx) { if (rf & 1) { const _r92 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](0, "div", 0)(1, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](2, "app-content-header", 2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](3, "section", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6)(7, "button", 7)(8, "span", 8); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](9, "1"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](10, "span", 9)(11, "span", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](12, "Paso 1"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](13, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](14, "Definici\u00F3n y Clasificaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](15, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](16, "i", 13); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](17, "div", 14)(18, "button", 7)(19, "span", 8); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](20, "2"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](21, "span", 9)(22, "span", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](23, "Paso 2"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](24, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](25, "Tipo de Informaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](26, "nav"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](27, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](28, "i", 13); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](29, "div", 15)(30, "button", 7)(31, "span", 8); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](32, "3"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](33, "span", 9)(34, "span", 10); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](35, "Paso 3"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](36, "span", 11); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](37, "Configuraciones Generales"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](38, "div", 16)(39, "form", 17, 18); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngSubmit", function RegisterApiComponent_Template_form_ngSubmit_39_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r92); const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](40); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](_r0.form.valid); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](41, "div", 19)(42, "form", null, 20)(44, "div", 21)(45, "div", 22)(46, "label", 23); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](47, "HTTP / Puerto"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](48, "ng-select", 24, 25); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_48_listener($event) { return ctx.xAPIDB.puertohttp = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](50, RegisterApiComponent_span_50_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](51, "div", 22)(52, "label", 27); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](53, "HTTPS / Puerto"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](54, "ng-select", 28, 29); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_54_listener($event) { return ctx.xAPIDB.puertohttps = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](56, RegisterApiComponent_span_56_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](57, "div", 22)(58, "label", 30); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](59, "Tipo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](60, "ng-select", 31, 32); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_60_listener($event) { return ctx.xAPIDB.tipo = $event; })("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_60_listener($event) { return ctx.onTipo($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](62, RegisterApiComponent_span_62_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](63, "div", 21)(64, "div", 33)(65, "label", 34); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](66, "Distribuci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](67, "ng-select", 35, 36); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_67_listener($event) { return ctx.xAPIDB.distribucion = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](69, RegisterApiComponent_span_69_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](70, "div", 33)(71, "label", 37); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](72, "Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](73, "ng-select", 38, 39); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_73_listener($event) { return ctx.xAPIDB.aplicacion = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](75, RegisterApiComponent_span_75_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](76, "div", 21)(77, "div", 22)(78, "label", 40); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](79, "Funci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](80, "input", 41, 42); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_input_ngModelChange_80_listener($event) { return ctx.xAPIDB.funcion = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](82, RegisterApiComponent_span_82_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](83, "div", 43)(84, "label", 44); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](85, "Versi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](86, "input", 45); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_input_ngModelChange_86_listener($event) { return ctx.xAPIDB.version = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](87, "div", 33)(88, "label", 46); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](89, "Conexi\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](90, "ng-select", 47, 48); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_90_listener($event) { return ctx.xAPIDB.driver = $event; })("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_90_listener($event) { return ctx.selDataBase($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](92, RegisterApiComponent_span_92_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](93, "div", 21)(94, "div", 22)(95, "label", 49); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](96, "Categoria"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](97, "ng-select", 50, 51); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_97_listener($event) { return ctx.xAPIDB.categoria = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](99, RegisterApiComponent_span_99_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](100, "div", 22)(101, "label", 52); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](102, "Funcionalidad"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](103, "ng-select", 53, 54); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_103_listener($event) { return ctx.xAPIDB.funcionalidad = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](105, RegisterApiComponent_span_105_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](106, "div", 21)(107, "div", 55)(108, "label", 56); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](109, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](110, "textarea", 57, 58); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_textarea_ngModelChange_110_listener($event) { return ctx.xAPIDB.descripcion = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](112, RegisterApiComponent_span_112_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](113, "div", 59)(114, "button", 60); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function RegisterApiComponent_Template_button_click_114_listener() { return ctx.horizontalWizardStepperPrevious(); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](115, "i", 61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](116, "span", 62); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](117, "Atras"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](118, "button", 63); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function RegisterApiComponent_Template_button_click_118_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r92); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](43); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx.horizontalWizardStepperNext(_r1)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](119, "span", 62); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](120, "Siguiente"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](121, "i", 64); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](122, "div", 65)(123, "form", null, 66)(125, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](126, RegisterApiComponent_div_126_Template, 4, 3, "div", 67); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](127, RegisterApiComponent_div_127_Template, 4, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](128, RegisterApiComponent_div_128_Template, 4, 4, "div", 69); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](129, RegisterApiComponent_div_129_Template, 4, 4, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](130, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](131, RegisterApiComponent_div_131_Template, 4, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](132, RegisterApiComponent_div_132_Template, 4, 5, "div", 69); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](133, RegisterApiComponent_div_133_Template, 4, 3, "div", 69); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](134, RegisterApiComponent_div_134_Template, 4, 5, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](135, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](136, RegisterApiComponent_div_136_Template, 4, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](137, RegisterApiComponent_div_137_Template, 4, 3, "div", 71); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](138, RegisterApiComponent_div_138_Template, 4, 4, "div", 68); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](139, RegisterApiComponent_div_139_Template, 3, 0, "div", 72); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](140, "div", 21)(141, "div", 55)(142, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](143, "Esquema de entrada:"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](144, "div", 73)(145, "ngx-codemirror", 74); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ngx_codemirror_ngModelChange_145_listener($event) { return ctx.xAPIDB.entradas = $event; })("ngModelChange", function RegisterApiComponent_Template_ngx_codemirror_ngModelChange_145_listener($event) { return ctx.setEditorContent($event); })("click", function RegisterApiComponent_Template_ngx_codemirror_click_145_listener($event) { return ctx.clickRefresh($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](146, "div", 55)(147, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](148, "Consulta / SQL / NOSQL "); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](149, "div", 73)(150, "ngx-codemirror", 75, 76); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ngx_codemirror_ngModelChange_150_listener($event) { return ctx.xAPIDB.query = $event; })("ngModelChange", function RegisterApiComponent_Template_ngx_codemirror_ngModelChange_150_listener($event) { return ctx.setEditorContent($event); })("click", function RegisterApiComponent_Template_ngx_codemirror_click_150_listener($event) { return ctx.clickRefresh($event); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](152, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](153, RegisterApiComponent_div_153_Template, 4, 0, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](154, RegisterApiComponent_div_154_Template, 4, 1, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](155, "div", 21); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](156, RegisterApiComponent_div_156_Template, 4, 4, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](157, RegisterApiComponent_div_157_Template, 4, 3, "div", 70); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](158, "div", 59)(159, "button", 77); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function RegisterApiComponent_Template_button_click_159_listener() { return ctx.horizontalWizardStepperPrevious(); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](160, "i", 61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](161, "span", 62); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](162, "Atras"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](163, "button", 78); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function RegisterApiComponent_Template_button_click_163_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵrestoreView"](_r92); const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](124); return _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵresetView"](ctx.horizontalWizardStepperNext(_r22)); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](164, "span", 62); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](165, "Siguiente"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](166, "i", 64); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](167, "div", 79)(168, "form", null, 80)(170, "div", 21)(171, "div", 81)(172, "label", 82); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](173, "Consumidores"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](174, "input", 83, 84); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_input_ngModelChange_174_listener($event) { return ctx.xAPIDB.consumidores = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](176, RegisterApiComponent_span_176_Template, 2, 1, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](177, "div", 81)(178, "label", 85); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](179, "Cache"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](180, "ng-select", 86); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_180_listener($event) { return ctx.xAPIDB.cache = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](181, "div", 43)(182, "label", 87); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](183, "Logs"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](184, "ng-select", 88); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_184_listener($event) { return ctx.xAPIDB.logs = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](185, "div", 43)(186, "label", 89); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](187, "Concurrente"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](188, "ng-select", 90); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_188_listener($event) { return ctx.xAPIDB.concurrencia = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](189, "div", 43)(190, "label", 91); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](191, "Retorno"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](192, "ng-select", 92); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_192_listener($event) { return ctx.xAPIDB.retorna = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](193, "div", 21)(194, "div", 43)(195, "label", 93); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](196, "Tiempo de Duracion"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](197, "input", 94); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_input_ngModelChange_197_listener($event) { return ctx.xAPIDB.tiempoduracion = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](198, "div", 43)(199, "label", 95); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](200, "Tipo de Duraci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](201, "ng-select", 96); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_201_listener($event) { return ctx.xAPIDB.tipoduracion = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](202, "div", 43)(203, "label", 97); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](204, "Prioridad"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](205, "ng-select", 98); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_205_listener($event) { return ctx.xAPIDB.prioridad = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](206, "div", 81)(207, "label", 99); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](208, "Entorno"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](209, "ng-select", 100); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_209_listener($event) { return ctx.xAPIDB.entorno = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](210, "div", 81)(211, "label", 101); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](212, "Aplicar Waf"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](213, "ng-select", 102); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_213_listener($event) { return ctx.xAPIDB.accion = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](214, "div", 21)(215, "div", 81)(216, "label", 103); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](217, "Bitacora"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](218, "ng-select", 104); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_218_listener($event) { return ctx.xAPIDB.bitacora = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](219, "div", 81)(220, "label", 105); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](221, "Respaldo"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](222, "ng-select", 106); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_222_listener($event) { return ctx.xAPIDB.respaldo = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](223, "div", 81)(224, "label", 107); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](225, "Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](226, "ng-select", 108); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("ngModelChange", function RegisterApiComponent_Template_ng_select_ngModelChange_226_listener($event) { return ctx.xAPIDB.estatus = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](227, "div", 21)(228, "div", 55)(229, "label", 109); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](230, "URL"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](231, "input", 110); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](232, "div", 59)(233, "button", 77); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵlistener"]("click", function RegisterApiComponent_Template_button_click_233_listener() { return ctx.horizontalWizardStepperPrevious(); }); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelement"](234, "i", 61); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementStart"](235, "span", 62); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtext"](236, "Atras"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](237, RegisterApiComponent_button_237_Template, 2, 0, "button", 111); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵtemplate"](238, RegisterApiComponent_button_238_Template, 2, 0, "button", 111); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵelementEnd"]()()()()()()()()(); } if (rf & 2) { const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](43); const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](49); const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](55); const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](61); const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](68); const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](74); const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](81); const _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](91); const _r16 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](98); const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](104); const _r20 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](111); const _r40 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](169); const _r41 = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵreference"](175); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("contentHeader", ctx.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](46); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.http)("ngModel", ctx.xAPIDB.puertohttp); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r2.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.https)("ngModel", ctx.xAPIDB.puertohttps); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r4.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.tipo)("ngModel", ctx.xAPIDB.tipo); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r6.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.LstDistribucion)("ngModel", ctx.xAPIDB.distribucion); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r8.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.ListaAplicaciones)("ngModel", ctx.xAPIDB.aplicacion); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r10.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx.xAPIDB.funcion); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r12.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx.xAPIDB.version)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](117, _c0))("disabled", true); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.drivers)("ngModel", ctx.xAPIDB.driver); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r14.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.categoria)("ngModel", ctx.xAPIDB.categoria); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r16.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.funcionalidad)("ngModel", ctx.xAPIDB.funcionalidad); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r18.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r1.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx.xAPIDB.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r1.submitted && _r20.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](14); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", !ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](118, _c0))("ngModel", ctx.xAPIDB.entradas)("options", ctx.codeJson); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](119, _c0))("ngModel", ctx.xAPIDB.query)("options", ctx.codeSQL); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.btnInterfaz); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](17); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵclassProp"]("error", _r40.submitted); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx.xAPIDB.consumidores); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", _r40.submitted && _r41.invalid); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.cache)("ngModel", ctx.xAPIDB.cache)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](120, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.logs)("ngModel", ctx.xAPIDB.logs)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](121, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.concurrente)("ngModel", ctx.xAPIDB.concurrencia)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](122, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.retorno)("ngModel", ctx.xAPIDB.retorna)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](123, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngModel", ctx.xAPIDB.tiempoduracion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](124, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.duracion)("ngModel", ctx.xAPIDB.tipoduracion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](125, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.prioridad)("ngModel", ctx.xAPIDB.prioridad)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](126, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.entorno)("ngModel", ctx.xAPIDB.entorno)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](127, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.waf)("ngModel", ctx.xAPIDB.accion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](128, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.LstDecision)("ngModel", ctx.xAPIDB.bitacora)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](129, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.LstDecision)("ngModel", ctx.xAPIDB.respaldo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](130, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("items", ctx.estatus)("ngModel", ctx.xAPIDB.estatus)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵpureFunction0"](131, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("disabled", true)("placeholder", ctx.ruta); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.getURL == "update-api"); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵproperty"]("ngIf", ctx.getURL == "register-api"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_10__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_5__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_11__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_11__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NumberValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.RequiredValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgForm, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_12__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_6__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_7__.FeatherIconDirective, _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_13__.CodemirrorComponent], styles: [".bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;padding:20px;font-size:1rem;font-weight:700;line-height:1.5;color:#6c757d;text-align:center;text-decoration:none;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:transparent;border:none;border-radius:.25rem;transition:background-color .15s ease-out,color .15s ease-out}.bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:not(:disabled):not(.disabled){cursor:pointer}.bs-stepper[_ngcontent-%COMP%] .step-trigger.disabled[_ngcontent-%COMP%], .bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:disabled{pointer-events:none;opacity:.65}.bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:focus{color:#007bff;outline:0}.bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:hover{text-decoration:none;background-color:rgba(0,0,0,.06)}@media (max-width:520px){.bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]{flex-direction:column;padding:10px}}.bs-stepper-label[_ngcontent-%COMP%]{display:inline-block;margin:.25rem}.bs-stepper-header[_ngcontent-%COMP%]{display:flex;align-items:center}@media (max-width:520px){.bs-stepper-header[_ngcontent-%COMP%]{margin:0 -10px;text-align:center}}.bs-stepper[_ngcontent-%COMP%] .line[_ngcontent-%COMP%], .bs-stepper-line[_ngcontent-%COMP%]{flex:1 0 32px;min-width:1px;min-height:1px;margin:auto;background-color:rgba(0,0,0,.12)}@media (max-width:400px){.bs-stepper[_ngcontent-%COMP%] .line[_ngcontent-%COMP%], .bs-stepper-line[_ngcontent-%COMP%]{flex-basis:20px}}.bs-stepper-circle[_ngcontent-%COMP%]{display:inline-flex;align-content:center;justify-content:center;width:2em;height:2em;padding:.5em 0;margin:.25rem;line-height:1em;color:#fff;background-color:#6c757d;border-radius:1em}.active[_ngcontent-%COMP%] .bs-stepper-circle[_ngcontent-%COMP%]{background-color:#007bff}.bs-stepper-content[_ngcontent-%COMP%]{padding:0 20px 20px}@media (max-width:520px){.bs-stepper-content[_ngcontent-%COMP%]{padding:0}}.bs-stepper.vertical[_ngcontent-%COMP%]{display:flex}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;margin:0}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-pane[_ngcontent-%COMP%], .bs-stepper.vertical[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:block}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-pane[_ngcontent-%COMP%]:not(.fade), .bs-stepper.vertical[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.fade){display:block;visibility:hidden}.bs-stepper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.fade), .bs-stepper-pane[_ngcontent-%COMP%]:not(.fade){display:none}.bs-stepper[_ngcontent-%COMP%] .content.fade[_ngcontent-%COMP%], .bs-stepper-pane.fade[_ngcontent-%COMP%]{visibility:hidden;transition-duration:.3s;transition-property:opacity}.bs-stepper[_ngcontent-%COMP%] .content.fade.active[_ngcontent-%COMP%], .bs-stepper-pane.fade.active[_ngcontent-%COMP%]{visibility:visible;opacity:1}.bs-stepper[_ngcontent-%COMP%] .content.active[_ngcontent-%COMP%]:not(.fade), .bs-stepper-pane.active[_ngcontent-%COMP%]:not(.fade){display:block;visibility:visible}.bs-stepper[_ngcontent-%COMP%] .content.dstepper-block[_ngcontent-%COMP%], .bs-stepper-pane.dstepper-block[_ngcontent-%COMP%]{display:block}.bs-stepper[_ngcontent-%COMP%]:not(.vertical) .bs-stepper-pane.dstepper-none[_ngcontent-%COMP%], .bs-stepper[_ngcontent-%COMP%]:not(.vertical) .content.dstepper-none[_ngcontent-%COMP%]{display:none}.vertical[_ngcontent-%COMP%] .bs-stepper-pane.fade.dstepper-none[_ngcontent-%COMP%], .vertical[_ngcontent-%COMP%] .content.fade.dstepper-none[_ngcontent-%COMP%]{visibility:hidden}.ng-select.ng-select-opened[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%]{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.ng-select.ng-select-opened[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%]:hover{box-shadow:none}.ng-select.ng-select-opened[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%] .ng-arrow[_ngcontent-%COMP%]{top:-2px;border-color:transparent transparent #999;border-width:0 5px 5px}.ng-select.ng-select-opened[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%] .ng-arrow[_ngcontent-%COMP%]:hover{border-color:transparent transparent #333}.ng-select.ng-select-opened.ng-select-top[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%]{border-top-right-radius:0;border-top-left-radius:0}.ng-select.ng-select-opened.ng-select-right[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0}.ng-select.ng-select-opened.ng-select-bottom[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%]{border-bottom-right-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-opened.ng-select-left[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%]{border-top-left-radius:0;border-bottom-left-radius:0}.ng-select.ng-select-focused[_ngcontent-%COMP%]:not(.ng-select-opened) > .ng-select-container[_ngcontent-%COMP%]{border-color:#007eff;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 0 3px rgba(0,126,255,0.1)}.ng-select.ng-select-disabled[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%]{background-color:#f9f9f9}.ng-select[_ngcontent-%COMP%] .ng-has-value[_ngcontent-%COMP%] .ng-placeholder[_ngcontent-%COMP%]{display:none}.ng-select[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%]{color:#333;background-color:#fff;border-radius:4px;border:1px solid #ccc;min-height:36px;align-items:center}.ng-select[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%]:hover{box-shadow:0 1px 0 rgba(0,0,0,0.06)}.ng-select[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%]{align-items:center;padding-left:10px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%]{padding-right:10px;padding-left:0}.ng-select[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-placeholder[_ngcontent-%COMP%]{color:#999}.ng-select.ng-select-single[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%]{height:36px}.ng-select.ng-select-single[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-input[_ngcontent-%COMP%]{top:5px;left:0;padding-left:10px;padding-right:50px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select.ng-select-single[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-input[_ngcontent-%COMP%]{padding-right:10px;padding-left:50px}.ng-select.ng-select-multiple.ng-select-disabled[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%]{background-color:#f9f9f9;border:1px solid #e6e6e6}.ng-select.ng-select-multiple.ng-select-disabled[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-label[_ngcontent-%COMP%]{padding:0 5px}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%]{padding-top:5px;padding-left:7px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%]{padding-right:7px;padding-left:0}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%]{font-size:.9em;margin-bottom:5px;color:#333;background-color:#ebf5ff;border-radius:2px;margin-right:5px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%]{margin-right:0;margin-left:5px}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value.ng-value-disabled[_ngcontent-%COMP%]{background-color:#f9f9f9}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value.ng-value-disabled[_ngcontent-%COMP%] .ng-value-label[_ngcontent-%COMP%]{padding-left:5px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value.ng-value-disabled[_ngcontent-%COMP%] .ng-value-label[_ngcontent-%COMP%]{padding-left:0;padding-right:5px}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-label[_ngcontent-%COMP%]{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon[_ngcontent-%COMP%]{display:inline-block;padding:1px 5px}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon[_ngcontent-%COMP%]:hover{background-color:#d1e8ff}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.left[_ngcontent-%COMP%]{border-right:1px solid #b8dbff}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.left[_ngcontent-%COMP%]{border-left:1px solid #b8dbff;border-right:none}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.right[_ngcontent-%COMP%]{border-left:1px solid #b8dbff}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.right[_ngcontent-%COMP%]{border-left:0;border-right:1px solid #b8dbff}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-input[_ngcontent-%COMP%]{padding:0 0 3px 3px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-input[_ngcontent-%COMP%]{padding:0 3px 3px 0}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-input[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{color:#000}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-placeholder[_ngcontent-%COMP%]{top:5px;padding-bottom:5px;padding-left:3px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value-container[_ngcontent-%COMP%] .ng-placeholder[_ngcontent-%COMP%]{padding-right:3px;padding-left:0}.ng-select[_ngcontent-%COMP%] .ng-clear-wrapper[_ngcontent-%COMP%]{color:#999}.ng-select[_ngcontent-%COMP%] .ng-clear-wrapper[_ngcontent-%COMP%]:hover .ng-clear[_ngcontent-%COMP%]{color:#D0021B}.ng-select[_ngcontent-%COMP%] .ng-spinner-zone[_ngcontent-%COMP%]{padding:5px 5px 0 0}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%] .ng-spinner-zone[_ngcontent-%COMP%]{padding:5px 0 0 5px}.ng-select[_ngcontent-%COMP%] .ng-arrow-wrapper[_ngcontent-%COMP%]{width:25px;padding-right:5px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%] .ng-arrow-wrapper[_ngcontent-%COMP%]{padding-left:5px;padding-right:0}.ng-select[_ngcontent-%COMP%] .ng-arrow-wrapper[_ngcontent-%COMP%]:hover .ng-arrow[_ngcontent-%COMP%]{border-top-color:#666}.ng-select[_ngcontent-%COMP%] .ng-arrow-wrapper[_ngcontent-%COMP%] .ng-arrow[_ngcontent-%COMP%]{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}.ng-dropdown-panel[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px 0 rgba(0,0,0,0.06);left:0}.ng-dropdown-panel.ng-select-top[_ngcontent-%COMP%]{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-top[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option[_ngcontent-%COMP%]:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.ng-dropdown-panel.ng-select-right[_ngcontent-%COMP%]{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-right[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option[_ngcontent-%COMP%]:first-child{border-top-right-radius:4px}.ng-dropdown-panel.ng-select-bottom[_ngcontent-%COMP%]{top:100%;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-top-color:#e6e6e6;margin-top:-1px}.ng-dropdown-panel.ng-select-bottom[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.ng-dropdown-panel.ng-select-left[_ngcontent-%COMP%]{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}.ng-dropdown-panel.ng-select-left[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option[_ngcontent-%COMP%]:first-child{border-top-left-radius:4px}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-header[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;padding:5px 7px}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-footer[_ngcontent-%COMP%]{border-top:1px solid #ccc;padding:5px 7px}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-optgroup[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:rgba(0,0,0,0.54);cursor:pointer}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-optgroup.ng-option-disabled[_ngcontent-%COMP%]{cursor:default}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-optgroup.ng-option-marked[_ngcontent-%COMP%]{background-color:#f5faff}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-optgroup.ng-option-selected[_ngcontent-%COMP%], .ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-optgroup.ng-option-selected.ng-option-marked[_ngcontent-%COMP%]{color:rgba(0,0,0,0.54);background-color:#ebf5ff;font-weight:600}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option[_ngcontent-%COMP%]{background-color:#fff;color:rgba(0,0,0,0.87);padding:8px 10px}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option.ng-option-selected[_ngcontent-%COMP%], .ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option.ng-option-selected.ng-option-marked[_ngcontent-%COMP%]{color:#333;background-color:#ebf5ff}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option.ng-option-selected[_ngcontent-%COMP%] .ng-option-label[_ngcontent-%COMP%], .ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option.ng-option-selected.ng-option-marked[_ngcontent-%COMP%] .ng-option-label[_ngcontent-%COMP%]{font-weight:600}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option.ng-option-marked[_ngcontent-%COMP%]{background-color:#f5faff;color:#333}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option.ng-option-disabled[_ngcontent-%COMP%]{color:#ccc}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option.ng-option-child[_ngcontent-%COMP%]{padding-left:22px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option.ng-option-child[_ngcontent-%COMP%]{padding-right:22px;padding-left:0}.ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option[_ngcontent-%COMP%] .ng-tag-label[_ngcontent-%COMP%]{font-size:80%;font-weight:400;padding-right:5px}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-option[_ngcontent-%COMP%] .ng-tag-label[_ngcontent-%COMP%]{padding-left:5px;padding-right:0}[dir=\"rtl\"][_ngcontent-%COMP%] .ng-dropdown-panel[_ngcontent-%COMP%]{direction:rtl;text-align:right}.bs-stepper[_ngcontent-%COMP%] {\n background-color: #fff;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n border-radius: 0.5rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n padding: 1.5rem 1.5rem;\n flex-wrap: wrap;\n border-bottom: 1px solid rgba(34, 41, 47, 0.08);\n margin: 0;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] {\n flex: 0;\n min-width: auto;\n min-height: auto;\n background-color: transparent;\n margin: 0;\n padding: 0 1.75rem;\n color: #6e6b7b;\n font-size: 1.5rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] {\n margin-bottom: 0.25rem;\n margin-top: 0.25rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] {\n padding: 0;\n flex-wrap: nowrap;\n font-weight: normal;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 38px;\n height: 38px;\n padding: 0.5em 0;\n font-weight: 500;\n color: #babfc7;\n background-color: rgba(186, 191, 199, 0.12);\n border-radius: 0.35rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] {\n text-align: left;\n margin: 0;\n margin-top: 0.5rem;\n margin-left: 1rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n display: inherit;\n color: #6e6b7b;\n font-weight: 600;\n line-height: 1rem;\n margin-bottom: 0rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-subtitle[_ngcontent-%COMP%] {\n font-weight: 400;\n font-size: 0.85rem;\n color: #b9b9c3;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:hover {\n background-color: transparent;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #7367f0;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #b9b9c3;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] + .line[_ngcontent-%COMP%] {\n color: #7367f0;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n padding: 1.5rem 1.5rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n margin-left: 0;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-header[_ngcontent-%COMP%] {\n margin-bottom: 1rem;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border-right: 1px solid #ebe9f1;\n border-bottom: none;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] {\n padding: 1rem 0;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] {\n display: none;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n width: 100%;\n padding-top: 2.5rem;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.active) {\n display: none;\n}.bs-stepper.vertical.wizard-icons[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] {\n text-align: center;\n}.bs-stepper.wizard-modern[_ngcontent-%COMP%] {\n background-color: transparent;\n box-shadow: none;\n}.bs-stepper.wizard-modern[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border: none;\n}.bs-stepper.wizard-modern[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n background-color: #fff;\n border-radius: 0.5rem;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n}.horizontal-wizard[_ngcontent-%COMP%], .vertical-wizard[_ngcontent-%COMP%], .modern-horizontal-wizard[_ngcontent-%COMP%], .modern-vertical-wizard[_ngcontent-%COMP%] {\n margin-bottom: 2.2rem;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(59, 66, 83, 0.08);\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] {\n color: #b4b7bd;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n color: #babfc7;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #b4b7bd;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-subtitle[_ngcontent-%COMP%] {\n color: #676d7d;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #7367f0;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%], .dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #676d7d;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border-right-color: #3b4253;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper.wizard-modern[_ngcontent-%COMP%] {\n background-color: transparent;\n box-shadow: none;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper.wizard-modern[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border: none;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper.wizard-modern[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-prev[_ngcontent-%COMP%], html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-next[_ngcontent-%COMP%] {\n display: flex;\n}html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-prev[_ngcontent-%COMP%] i[_ngcontent-%COMP%], html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-prev[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-next[_ngcontent-%COMP%] i[_ngcontent-%COMP%], html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-next[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n transform: rotate(-180deg);\n}@media (max-width: 992px) {\n .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n flex-direction: column;\n align-items: flex-start;\n }\n .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] {\n padding: 0.5rem 0 !important;\n flex-direction: row;\n }\n .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] {\n display: none;\n }\n .bs-stepper.vertical[_ngcontent-%COMP%] {\n flex-direction: column;\n }\n .bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n align-items: flex-start;\n }\n .bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n padding-top: 1.5rem;\n }\n}.bg-white[_ngcontent-%COMP%] {\n background-color: #ffffff !important;\n}.bg-white[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-white[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.border-white[_ngcontent-%COMP%] {\n border: 1px solid #ffffff !important;\n}.border-top-white[_ngcontent-%COMP%] {\n border-top: 1px solid #ffffff;\n}.border-bottom-white[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffffff;\n}.border-left-white[_ngcontent-%COMP%] {\n border-left: 1px solid #ffffff;\n}.border-right-white[_ngcontent-%COMP%] {\n border-right: 1px solid #ffffff;\n}.bg-white.badge-glow[_ngcontent-%COMP%], .border-white.badge-glow[_ngcontent-%COMP%], .badge-white.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #ffffff;\n}.overlay-white[_ngcontent-%COMP%] {\n background: #ffffff; \n background: rgba(255, 255, 255, 0.6);\n}input[_ngcontent-%COMP%]:focus ~ .bg-white[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ffffff !important;\n}.bg-black[_ngcontent-%COMP%] {\n background-color: #000000 !important;\n}.bg-black[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-black[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.border-black[_ngcontent-%COMP%] {\n border: 1px solid #000000 !important;\n}.border-top-black[_ngcontent-%COMP%] {\n border-top: 1px solid #000000;\n}.border-bottom-black[_ngcontent-%COMP%] {\n border-bottom: 1px solid #000000;\n}.border-left-black[_ngcontent-%COMP%] {\n border-left: 1px solid #000000;\n}.border-right-black[_ngcontent-%COMP%] {\n border-right: 1px solid #000000;\n}.bg-black.badge-glow[_ngcontent-%COMP%], .border-black.badge-glow[_ngcontent-%COMP%], .badge-black.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #000000;\n}.overlay-black[_ngcontent-%COMP%] {\n background: #000000; \n background: rgba(0, 0, 0, 0.6);\n}input[_ngcontent-%COMP%]:focus ~ .bg-black[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #000000 !important;\n}.bg-dark[_ngcontent-%COMP%] {\n background-color: #4b4b4b !important;\n}.bg-dark[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-dark[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.alert-dark[_ngcontent-%COMP%] {\n background: rgba(75, 75, 75, 0.12) !important;\n color: #4b4b4b !important;\n}.alert-dark[_ngcontent-%COMP%] .alert-heading[_ngcontent-%COMP%] {\n box-shadow: rgba(75, 75, 75, 0.4) 0px 6px 15px -7px;\n}.alert-dark[_ngcontent-%COMP%] .alert-link[_ngcontent-%COMP%] {\n color: #3e3e3e !important;\n}.alert-dark[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #4b4b4b !important;\n}.border-dark[_ngcontent-%COMP%] {\n border: 1px solid #4b4b4b !important;\n}.border-top-dark[_ngcontent-%COMP%] {\n border-top: 1px solid #4b4b4b;\n}.border-bottom-dark[_ngcontent-%COMP%] {\n border-bottom: 1px solid #4b4b4b;\n}.border-left-dark[_ngcontent-%COMP%] {\n border-left: 1px solid #4b4b4b;\n}.border-right-dark[_ngcontent-%COMP%] {\n border-right: 1px solid #4b4b4b;\n}.bg-dark.badge-glow[_ngcontent-%COMP%], .border-dark.badge-glow[_ngcontent-%COMP%], .badge-dark.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #4b4b4b;\n}.badge.badge-light-dark[_ngcontent-%COMP%] {\n background-color: rgba(75, 75, 75, 0.12);\n color: #4b4b4b !important;\n}.overlay-dark[_ngcontent-%COMP%] {\n background: #4b4b4b; \n background: rgba(75, 75, 75, 0.6);\n}.btn-dark[_ngcontent-%COMP%] {\n border-color: #4b4b4b !important;\n background-color: #4b4b4b !important;\n color: #fff !important;\n}.btn-dark[_ngcontent-%COMP%]:focus, .btn-dark[_ngcontent-%COMP%]:active, .btn-dark.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #343434 !important;\n}.btn-dark[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #4b4b4b;\n}.btn-dark[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-dark[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #4b4b4b;\n}.btn-flat-dark[_ngcontent-%COMP%]:hover {\n color: #4b4b4b;\n}.btn-flat-dark[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.12);\n}.btn-flat-dark[_ngcontent-%COMP%]:active, .btn-flat-dark.active[_ngcontent-%COMP%], .btn-flat-dark[_ngcontent-%COMP%]:focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}.btn-flat-dark.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-dark[_ngcontent-%COMP%] {\n background-color: #4b4b4b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-dark[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: #626262;\n}.btn-relief-dark[_ngcontent-%COMP%]:active, .btn-relief-dark.active[_ngcontent-%COMP%], .btn-relief-dark[_ngcontent-%COMP%]:focus {\n background-color: #343434;\n}.btn-relief-dark[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.btn-relief-dark[_ngcontent-%COMP%]:active, .btn-relief-dark.active[_ngcontent-%COMP%] {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-dark[_ngcontent-%COMP%] {\n border: 1px solid #4b4b4b !important;\n background-color: transparent;\n color: #4b4b4b;\n}.btn-outline-dark[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.04);\n color: #4b4b4b;\n}.btn-outline-dark[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-dark[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-outline-dark[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .btn-outline-dark[_ngcontent-%COMP%]:not(:disabled):not(.disabled):focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}.btn-outline-dark.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show[_ngcontent-%COMP%] > .btn-outline-dark.dropdown-toggle[_ngcontent-%COMP%] {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}.btn-outline-dark.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%], .btn-flat-dark.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%] {\n background: radial-gradient(rgba(75, 75, 75, 0.2) 0, rgba(75, 75, 75, 0.3) 40%, rgba(75, 75, 75, 0.4) 50%, rgba(75, 75, 75, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-dark[_ngcontent-%COMP%] {\n background-color: #4b4b4b;\n}.modal.modal-dark[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n color: #4b4b4b;\n}.modal.modal-dark[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #4b4b4b !important;\n}.progress-bar-dark[_ngcontent-%COMP%] {\n background-color: rgba(75, 75, 75, 0.12);\n}.progress-bar-dark[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] {\n background-color: #4b4b4b;\n}.timeline[_ngcontent-%COMP%] .timeline-point-dark[_ngcontent-%COMP%] {\n border-color: #4b4b4b !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-dark[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .timeline[_ngcontent-%COMP%] .timeline-point-dark[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n stroke: #4b4b4b !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-dark.timeline-point-indicator[_ngcontent-%COMP%] {\n background-color: #4b4b4b !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-dark.timeline-point-indicator[_ngcontent-%COMP%]:before {\n background: rgba(75, 75, 75, 0.12) !important;\n}.divider.divider-dark[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:before, .divider.divider-dark[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:after {\n border-color: #4b4b4b !important;\n}input[_ngcontent-%COMP%]:focus ~ .bg-dark[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #4b4b4b !important;\n}.custom-control-dark[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-dark[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #4b4b4b;\n background-color: #4b4b4b;\n}.custom-control-dark.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-dark.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-dark.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-dark.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-dark.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-dark.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n box-shadow: 0 2px 4px 0 rgba(75, 75, 75, 0.4) !important;\n}.custom-control-dark[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:disabled:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: rgba(75, 75, 75, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-dark[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #4b4b4b !important;\n}.custom-switch-dark[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: #4b4b4b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-dark[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background: #4b4b4b !important;\n border-color: #4b4b4b !important;\n}.text-dark.text-darken-1[_ngcontent-%COMP%] {\n color: #343434 !important;\n}.bg-dark.bg-darken-1[_ngcontent-%COMP%] {\n background-color: #343434 !important;\n}.border-dark.border-darken-1[_ngcontent-%COMP%] {\n border: 1px solid #343434 !important;\n}.border-top-dark.border-top-darken-1[_ngcontent-%COMP%] {\n border-top: 1px solid #343434 !important;\n}.border-bottom-dark.border-bottom-darken-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #343434 !important;\n}.border-left-dark.border-left-darken-1[_ngcontent-%COMP%] {\n border-left: 1px solid #343434 !important;\n}.border-right-dark.border-right-darken-1[_ngcontent-%COMP%] {\n border-right: 1px solid #343434 !important;\n}.overlay-dark.overlay-darken-1[_ngcontent-%COMP%] {\n background: #343434; \n background: rgba(52, 52, 52, 0.6);\n}.text-dark.text-darken-2[_ngcontent-%COMP%] {\n color: #1e1e1e !important;\n}.bg-dark.bg-darken-2[_ngcontent-%COMP%] {\n background-color: #1e1e1e !important;\n}.border-dark.border-darken-2[_ngcontent-%COMP%] {\n border: 1px solid #1e1e1e !important;\n}.border-top-dark.border-top-darken-2[_ngcontent-%COMP%] {\n border-top: 1px solid #1e1e1e !important;\n}.border-bottom-dark.border-bottom-darken-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #1e1e1e !important;\n}.border-left-dark.border-left-darken-2[_ngcontent-%COMP%] {\n border-left: 1px solid #1e1e1e !important;\n}.border-right-dark.border-right-darken-2[_ngcontent-%COMP%] {\n border-right: 1px solid #1e1e1e !important;\n}.overlay-dark.overlay-darken-2[_ngcontent-%COMP%] {\n background: #1e1e1e; \n background: rgba(30, 30, 30, 0.6);\n}.text-dark.text-darken-3[_ngcontent-%COMP%] {\n color: #626262 !important;\n}.bg-dark.bg-darken-3[_ngcontent-%COMP%] {\n background-color: #626262 !important;\n}.border-dark.border-darken-3[_ngcontent-%COMP%] {\n border: 1px solid #626262 !important;\n}.border-top-dark.border-top-darken-3[_ngcontent-%COMP%] {\n border-top: 1px solid #626262 !important;\n}.border-bottom-dark.border-bottom-darken-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #626262 !important;\n}.border-left-dark.border-left-darken-3[_ngcontent-%COMP%] {\n border-left: 1px solid #626262 !important;\n}.border-right-dark.border-right-darken-3[_ngcontent-%COMP%] {\n border-right: 1px solid #626262 !important;\n}.overlay-dark.overlay-darken-3[_ngcontent-%COMP%] {\n background: #626262; \n background: rgba(98, 98, 98, 0.6);\n}.bg-light[_ngcontent-%COMP%] {\n background-color: #f6f6f6 !important;\n}.bg-light[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-light[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.border-light[_ngcontent-%COMP%] {\n border: 1px solid #f6f6f6 !important;\n}.border-top-light[_ngcontent-%COMP%] {\n border-top: 1px solid #f6f6f6;\n}.border-bottom-light[_ngcontent-%COMP%] {\n border-bottom: 1px solid #f6f6f6;\n}.border-left-light[_ngcontent-%COMP%] {\n border-left: 1px solid #f6f6f6;\n}.border-right-light[_ngcontent-%COMP%] {\n border-right: 1px solid #f6f6f6;\n}.bg-light.badge-glow[_ngcontent-%COMP%], .border-light.badge-glow[_ngcontent-%COMP%], .badge-light.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #f6f6f6;\n}.overlay-light[_ngcontent-%COMP%] {\n background: #f6f6f6; \n background: rgba(246, 246, 246, 0.6);\n}input[_ngcontent-%COMP%]:focus ~ .bg-light[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #f6f6f6 !important;\n}.text-primary.text-lighten-5[_ngcontent-%COMP%] {\n color: #dedbfb !important;\n}.bg-primary.bg-lighten-5[_ngcontent-%COMP%] {\n background-color: #dedbfb !important;\n}.border-primary.border-lighten-5[_ngcontent-%COMP%] {\n border: 1px solid #dedbfb !important;\n}.border-top-primary.border-top-lighten-5[_ngcontent-%COMP%] {\n border-top: 1px solid #dedbfb !important;\n}.border-bottom-primary.border-bottom-lighten-5[_ngcontent-%COMP%] {\n border-bottom: 1px solid #dedbfb !important;\n}.border-left-primary.border-left-lighten-5[_ngcontent-%COMP%] {\n border-left: 1px solid #dedbfb !important;\n}.border-right-primary.border-right-lighten-5[_ngcontent-%COMP%] {\n border-right: 1px solid #dedbfb !important;\n}.overlay-primary.overlay-lighten-5[_ngcontent-%COMP%] {\n background: #dedbfb; \n background: rgba(222, 219, 251, 0.6);\n}.text-primary.text-lighten-4[_ngcontent-%COMP%] {\n color: #c9c4f9 !important;\n}.bg-primary.bg-lighten-4[_ngcontent-%COMP%] {\n background-color: #c9c4f9 !important;\n}.border-primary.border-lighten-4[_ngcontent-%COMP%] {\n border: 1px solid #c9c4f9 !important;\n}.border-top-primary.border-top-lighten-4[_ngcontent-%COMP%] {\n border-top: 1px solid #c9c4f9 !important;\n}.border-bottom-primary.border-bottom-lighten-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #c9c4f9 !important;\n}.border-left-primary.border-left-lighten-4[_ngcontent-%COMP%] {\n border-left: 1px solid #c9c4f9 !important;\n}.border-right-primary.border-right-lighten-4[_ngcontent-%COMP%] {\n border-right: 1px solid #c9c4f9 !important;\n}.overlay-primary.overlay-lighten-4[_ngcontent-%COMP%] {\n background: #c9c4f9; \n background: rgba(201, 196, 249, 0.6);\n}.text-primary.text-lighten-3[_ngcontent-%COMP%] {\n color: #b3adf7 !important;\n}.bg-primary.bg-lighten-3[_ngcontent-%COMP%] {\n background-color: #b3adf7 !important;\n}.border-primary.border-lighten-3[_ngcontent-%COMP%] {\n border: 1px solid #b3adf7 !important;\n}.border-top-primary.border-top-lighten-3[_ngcontent-%COMP%] {\n border-top: 1px solid #b3adf7 !important;\n}.border-bottom-primary.border-bottom-lighten-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #b3adf7 !important;\n}.border-left-primary.border-left-lighten-3[_ngcontent-%COMP%] {\n border-left: 1px solid #b3adf7 !important;\n}.border-right-primary.border-right-lighten-3[_ngcontent-%COMP%] {\n border-right: 1px solid #b3adf7 !important;\n}.overlay-primary.overlay-lighten-3[_ngcontent-%COMP%] {\n background: #b3adf7; \n background: rgba(179, 173, 247, 0.6);\n}.text-primary.text-lighten-2[_ngcontent-%COMP%] {\n color: #9e95f5 !important;\n}.bg-primary.bg-lighten-2[_ngcontent-%COMP%] {\n background-color: #9e95f5 !important;\n}.border-primary.border-lighten-2[_ngcontent-%COMP%] {\n border: 1px solid #9e95f5 !important;\n}.border-top-primary.border-top-lighten-2[_ngcontent-%COMP%] {\n border-top: 1px solid #9e95f5 !important;\n}.border-bottom-primary.border-bottom-lighten-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #9e95f5 !important;\n}.border-left-primary.border-left-lighten-2[_ngcontent-%COMP%] {\n border-left: 1px solid #9e95f5 !important;\n}.border-right-primary.border-right-lighten-2[_ngcontent-%COMP%] {\n border-right: 1px solid #9e95f5 !important;\n}.overlay-primary.overlay-lighten-2[_ngcontent-%COMP%] {\n background: #9e95f5; \n background: rgba(158, 149, 245, 0.6);\n}.text-primary.text-lighten-1[_ngcontent-%COMP%] {\n color: #887ef2 !important;\n}.bg-primary.bg-lighten-1[_ngcontent-%COMP%] {\n background-color: #887ef2 !important;\n}.border-primary.border-lighten-1[_ngcontent-%COMP%] {\n border: 1px solid #887ef2 !important;\n}.border-top-primary.border-top-lighten-1[_ngcontent-%COMP%] {\n border-top: 1px solid #887ef2 !important;\n}.border-bottom-primary.border-bottom-lighten-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #887ef2 !important;\n}.border-left-primary.border-left-lighten-1[_ngcontent-%COMP%] {\n border-left: 1px solid #887ef2 !important;\n}.border-right-primary.border-right-lighten-1[_ngcontent-%COMP%] {\n border-right: 1px solid #887ef2 !important;\n}.overlay-primary.overlay-lighten-1[_ngcontent-%COMP%] {\n background: #887ef2; \n background: rgba(136, 126, 242, 0.6);\n}.bg-primary[_ngcontent-%COMP%] {\n background-color: #7367f0 !important;\n}.bg-primary[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-primary[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.alert-primary[_ngcontent-%COMP%] {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}.alert-primary[_ngcontent-%COMP%] .alert-heading[_ngcontent-%COMP%] {\n box-shadow: rgba(115, 103, 240, 0.4) 0px 6px 15px -7px;\n}.alert-primary[_ngcontent-%COMP%] .alert-link[_ngcontent-%COMP%] {\n color: #5e50ee !important;\n}.alert-primary[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #7367f0 !important;\n}.bg-light-primary[_ngcontent-%COMP%] {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}.bg-light-primary.fc-h-event[_ngcontent-%COMP%], .bg-light-primary.fc-v-event[_ngcontent-%COMP%] {\n border-color: rgba(115, 103, 240, 0.1);\n}.bg-light-primary[_ngcontent-%COMP%] .fc-list-event-dot[_ngcontent-%COMP%], .bg-light-primary[_ngcontent-%COMP%] .fc-daygrid-event-dot[_ngcontent-%COMP%] {\n border-color: #7367f0 !important;\n}.bg-light-primary.fc-list-event[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%] {\n background: rgba(115, 103, 240, 0.1) !important;\n}.bg-light-primary.fc-list-event[_ngcontent-%COMP%] .fc-list-event-title[_ngcontent-%COMP%] {\n color: #6e6b7b;\n}.avatar.bg-light-primary[_ngcontent-%COMP%] {\n color: #7367f0 !important;\n}.border-primary[_ngcontent-%COMP%] {\n border: 1px solid #7367f0 !important;\n}.border-top-primary[_ngcontent-%COMP%] {\n border-top: 1px solid #7367f0;\n}.border-bottom-primary[_ngcontent-%COMP%] {\n border-bottom: 1px solid #7367f0;\n}.border-left-primary[_ngcontent-%COMP%] {\n border-left: 1px solid #7367f0;\n}.border-right-primary[_ngcontent-%COMP%] {\n border-right: 1px solid #7367f0;\n}.bg-primary.badge-glow[_ngcontent-%COMP%], .border-primary.badge-glow[_ngcontent-%COMP%], .badge-primary.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #7367f0;\n}.badge.badge-light-primary[_ngcontent-%COMP%] {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}.overlay-primary[_ngcontent-%COMP%] {\n background: #7367f0; \n background: rgba(115, 103, 240, 0.6);\n}.btn-primary[_ngcontent-%COMP%] {\n border-color: #7367f0 !important;\n background-color: #7367f0 !important;\n color: #fff !important;\n}.btn-primary[_ngcontent-%COMP%]:focus, .btn-primary[_ngcontent-%COMP%]:active, .btn-primary.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #5e50ee !important;\n}.btn-primary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #7367f0;\n}.btn-primary[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-primary[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #7367f0;\n}.btn-flat-primary[_ngcontent-%COMP%]:hover {\n color: #7367f0;\n}.btn-flat-primary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.12);\n}.btn-flat-primary[_ngcontent-%COMP%]:active, .btn-flat-primary.active[_ngcontent-%COMP%], .btn-flat-primary[_ngcontent-%COMP%]:focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}.btn-flat-primary.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-primary[_ngcontent-%COMP%] {\n background-color: #7367f0;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-primary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: #887ef2;\n}.btn-relief-primary[_ngcontent-%COMP%]:active, .btn-relief-primary.active[_ngcontent-%COMP%], .btn-relief-primary[_ngcontent-%COMP%]:focus {\n background-color: #5e50ee;\n}.btn-relief-primary[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.btn-relief-primary[_ngcontent-%COMP%]:active, .btn-relief-primary.active[_ngcontent-%COMP%] {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-primary[_ngcontent-%COMP%] {\n border: 1px solid #7367f0 !important;\n background-color: transparent;\n color: #7367f0;\n}.btn-outline-primary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.04);\n color: #7367f0;\n}.btn-outline-primary[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-primary[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-outline-primary[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .btn-outline-primary[_ngcontent-%COMP%]:not(:disabled):not(.disabled):focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}.btn-outline-primary.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show[_ngcontent-%COMP%] > .btn-outline-primary.dropdown-toggle[_ngcontent-%COMP%] {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}.btn-outline-primary.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%], .btn-flat-primary.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%] {\n background: radial-gradient(rgba(115, 103, 240, 0.2) 0, rgba(115, 103, 240, 0.3) 40%, rgba(115, 103, 240, 0.4) 50%, rgba(115, 103, 240, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-primary[_ngcontent-%COMP%] {\n background-color: #7367f0;\n}.modal.modal-primary[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n color: #7367f0;\n}.modal.modal-primary[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #7367f0 !important;\n}.pagination-primary[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%] {\n background: #7367f0 !important;\n color: #fff;\n}.pagination-primary[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.pagination-primary[_ngcontent-%COMP%] .page-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #7367f0;\n}.pagination-primary[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover, .pagination-primary[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n background: #7367f0;\n color: #fff;\n}.pagination-primary[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-primary[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after, .pagination-primary[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-primary[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-primary[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-primary[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before, .pagination-primary[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-primary[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-primary[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #7367f0 !important;\n border-color: #7367f0;\n box-shadow: 0 4px 18px -4px rgba(115, 103, 240, 0.65);\n}.progress-bar-primary[_ngcontent-%COMP%] {\n background-color: rgba(115, 103, 240, 0.12);\n}.progress-bar-primary[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] {\n background-color: #7367f0;\n}.timeline[_ngcontent-%COMP%] .timeline-point-primary[_ngcontent-%COMP%] {\n border-color: #7367f0 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-primary[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .timeline[_ngcontent-%COMP%] .timeline-point-primary[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n stroke: #7367f0 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-primary.timeline-point-indicator[_ngcontent-%COMP%] {\n background-color: #7367f0 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-primary.timeline-point-indicator[_ngcontent-%COMP%]:before {\n background: rgba(115, 103, 240, 0.12) !important;\n}.divider.divider-primary[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:before, .divider.divider-primary[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:after {\n border-color: #7367f0 !important;\n}input[_ngcontent-%COMP%]:focus ~ .bg-primary[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #7367f0 !important;\n}.custom-control-primary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-primary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #7367f0;\n background-color: #7367f0;\n}.custom-control-primary.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-primary.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-primary.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-primary.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-primary.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-primary.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n box-shadow: 0 2px 4px 0 rgba(115, 103, 240, 0.4) !important;\n}.custom-control-primary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:disabled:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: rgba(115, 103, 240, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-primary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #7367f0 !important;\n}.custom-switch-primary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: #7367f0 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-primary[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background: #7367f0 !important;\n border-color: #7367f0 !important;\n}.text-primary.text-darken-1[_ngcontent-%COMP%] {\n color: #5e50ee !important;\n}.bg-primary.bg-darken-1[_ngcontent-%COMP%] {\n background-color: #5e50ee !important;\n}.border-primary.border-darken-1[_ngcontent-%COMP%] {\n border: 1px solid #5e50ee !important;\n}.border-top-primary.border-top-darken-1[_ngcontent-%COMP%] {\n border-top: 1px solid #5e50ee !important;\n}.border-bottom-primary.border-bottom-darken-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #5e50ee !important;\n}.border-left-primary.border-left-darken-1[_ngcontent-%COMP%] {\n border-left: 1px solid #5e50ee !important;\n}.border-right-primary.border-right-darken-1[_ngcontent-%COMP%] {\n border-right: 1px solid #5e50ee !important;\n}.overlay-primary.overlay-darken-1[_ngcontent-%COMP%] {\n background: #5e50ee; \n background: rgba(94, 80, 238, 0.6);\n}.text-primary.text-darken-2[_ngcontent-%COMP%] {\n color: #4839eb !important;\n}.bg-primary.bg-darken-2[_ngcontent-%COMP%] {\n background-color: #4839eb !important;\n}.border-primary.border-darken-2[_ngcontent-%COMP%] {\n border: 1px solid #4839eb !important;\n}.border-top-primary.border-top-darken-2[_ngcontent-%COMP%] {\n border-top: 1px solid #4839eb !important;\n}.border-bottom-primary.border-bottom-darken-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #4839eb !important;\n}.border-left-primary.border-left-darken-2[_ngcontent-%COMP%] {\n border-left: 1px solid #4839eb !important;\n}.border-right-primary.border-right-darken-2[_ngcontent-%COMP%] {\n border-right: 1px solid #4839eb !important;\n}.overlay-primary.overlay-darken-2[_ngcontent-%COMP%] {\n background: #4839eb; \n background: rgba(72, 57, 235, 0.6);\n}.text-primary.text-darken-3[_ngcontent-%COMP%] {\n color: #3321e9 !important;\n}.bg-primary.bg-darken-3[_ngcontent-%COMP%] {\n background-color: #3321e9 !important;\n}.border-primary.border-darken-3[_ngcontent-%COMP%] {\n border: 1px solid #3321e9 !important;\n}.border-top-primary.border-top-darken-3[_ngcontent-%COMP%] {\n border-top: 1px solid #3321e9 !important;\n}.border-bottom-primary.border-bottom-darken-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #3321e9 !important;\n}.border-left-primary.border-left-darken-3[_ngcontent-%COMP%] {\n border-left: 1px solid #3321e9 !important;\n}.border-right-primary.border-right-darken-3[_ngcontent-%COMP%] {\n border-right: 1px solid #3321e9 !important;\n}.overlay-primary.overlay-darken-3[_ngcontent-%COMP%] {\n background: #3321e9; \n background: rgba(51, 33, 233, 0.6);\n}.text-primary.text-darken-4[_ngcontent-%COMP%] {\n color: #2716db !important;\n}.bg-primary.bg-darken-4[_ngcontent-%COMP%] {\n background-color: #2716db !important;\n}.border-primary.border-darken-4[_ngcontent-%COMP%] {\n border: 1px solid #2716db !important;\n}.border-top-primary.border-top-darken-4[_ngcontent-%COMP%] {\n border-top: 1px solid #2716db !important;\n}.border-bottom-primary.border-bottom-darken-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #2716db !important;\n}.border-left-primary.border-left-darken-4[_ngcontent-%COMP%] {\n border-left: 1px solid #2716db !important;\n}.border-right-primary.border-right-darken-4[_ngcontent-%COMP%] {\n border-right: 1px solid #2716db !important;\n}.overlay-primary.overlay-darken-4[_ngcontent-%COMP%] {\n background: #2716db; \n background: rgba(39, 22, 219, 0.6);\n}.text-primary.text-accent-1[_ngcontent-%COMP%] {\n color: #bdfdff !important;\n}.bg-primary.bg-accent-1[_ngcontent-%COMP%] {\n background-color: #bdfdff !important;\n}.border-primary.border-accent-1[_ngcontent-%COMP%] {\n border: 1px solid #bdfdff !important;\n}.border-top-primary.border-top-accent-1[_ngcontent-%COMP%] {\n border-top: 1px solid #bdfdff !important;\n}.border-bottom-primary.border-bottom-accent-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #bdfdff !important;\n}.border-left-primary.border-left-accent-1[_ngcontent-%COMP%] {\n border-left: 1px solid #bdfdff !important;\n}.border-right-primary.border-right-accent-1[_ngcontent-%COMP%] {\n border-right: 1px solid #bdfdff !important;\n}.overlay-primary.overlay-accent-1[_ngcontent-%COMP%] {\n background: #bdfdff; \n background: rgba(189, 253, 255, 0.6);\n}.text-primary.text-accent-2[_ngcontent-%COMP%] {\n color: #8afbff !important;\n}.bg-primary.bg-accent-2[_ngcontent-%COMP%] {\n background-color: #8afbff !important;\n}.border-primary.border-accent-2[_ngcontent-%COMP%] {\n border: 1px solid #8afbff !important;\n}.border-top-primary.border-top-accent-2[_ngcontent-%COMP%] {\n border-top: 1px solid #8afbff !important;\n}.border-bottom-primary.border-bottom-accent-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #8afbff !important;\n}.border-left-primary.border-left-accent-2[_ngcontent-%COMP%] {\n border-left: 1px solid #8afbff !important;\n}.border-right-primary.border-right-accent-2[_ngcontent-%COMP%] {\n border-right: 1px solid #8afbff !important;\n}.overlay-primary.overlay-accent-2[_ngcontent-%COMP%] {\n background: #8afbff; \n background: rgba(138, 251, 255, 0.6);\n}.text-primary.text-accent-3[_ngcontent-%COMP%] {\n color: #57faff !important;\n}.bg-primary.bg-accent-3[_ngcontent-%COMP%] {\n background-color: #57faff !important;\n}.border-primary.border-accent-3[_ngcontent-%COMP%] {\n border: 1px solid #57faff !important;\n}.border-top-primary.border-top-accent-3[_ngcontent-%COMP%] {\n border-top: 1px solid #57faff !important;\n}.border-bottom-primary.border-bottom-accent-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #57faff !important;\n}.border-left-primary.border-left-accent-3[_ngcontent-%COMP%] {\n border-left: 1px solid #57faff !important;\n}.border-right-primary.border-right-accent-3[_ngcontent-%COMP%] {\n border-right: 1px solid #57faff !important;\n}.overlay-primary.overlay-accent-3[_ngcontent-%COMP%] {\n background: #57faff; \n background: rgba(87, 250, 255, 0.6);\n}.text-primary.text-accent-4[_ngcontent-%COMP%] {\n color: #3df9ff !important;\n}.bg-primary.bg-accent-4[_ngcontent-%COMP%] {\n background-color: #3df9ff !important;\n}.border-primary.border-accent-4[_ngcontent-%COMP%] {\n border: 1px solid #3df9ff !important;\n}.border-top-primary.border-top-accent-4[_ngcontent-%COMP%] {\n border-top: 1px solid #3df9ff !important;\n}.border-bottom-primary.border-bottom-accent-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #3df9ff !important;\n}.border-left-primary.border-left-accent-4[_ngcontent-%COMP%] {\n border-left: 1px solid #3df9ff !important;\n}.border-right-primary.border-right-accent-4[_ngcontent-%COMP%] {\n border-right: 1px solid #3df9ff !important;\n}.overlay-primary.overlay-accent-4[_ngcontent-%COMP%] {\n background: #3df9ff; \n background: rgba(61, 249, 255, 0.6);\n}.text-secondary.text-lighten-5[_ngcontent-%COMP%] {\n color: #c4c6c8 !important;\n}.bg-secondary.bg-lighten-5[_ngcontent-%COMP%] {\n background-color: #c4c6c8 !important;\n}.border-secondary.border-lighten-5[_ngcontent-%COMP%] {\n border: 1px solid #c4c6c8 !important;\n}.border-top-secondary.border-top-lighten-5[_ngcontent-%COMP%] {\n border-top: 1px solid #c4c6c8 !important;\n}.border-bottom-secondary.border-bottom-lighten-5[_ngcontent-%COMP%] {\n border-bottom: 1px solid #c4c6c8 !important;\n}.border-left-secondary.border-left-lighten-5[_ngcontent-%COMP%] {\n border-left: 1px solid #c4c6c8 !important;\n}.border-right-secondary.border-right-lighten-5[_ngcontent-%COMP%] {\n border-right: 1px solid #c4c6c8 !important;\n}.overlay-secondary.overlay-lighten-5[_ngcontent-%COMP%] {\n background: #c4c6c8; \n background: rgba(196, 198, 200, 0.6);\n}.text-secondary.text-lighten-4[_ngcontent-%COMP%] {\n color: #b7b9bc !important;\n}.bg-secondary.bg-lighten-4[_ngcontent-%COMP%] {\n background-color: #b7b9bc !important;\n}.border-secondary.border-lighten-4[_ngcontent-%COMP%] {\n border: 1px solid #b7b9bc !important;\n}.border-top-secondary.border-top-lighten-4[_ngcontent-%COMP%] {\n border-top: 1px solid #b7b9bc !important;\n}.border-bottom-secondary.border-bottom-lighten-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #b7b9bc !important;\n}.border-left-secondary.border-left-lighten-4[_ngcontent-%COMP%] {\n border-left: 1px solid #b7b9bc !important;\n}.border-right-secondary.border-right-lighten-4[_ngcontent-%COMP%] {\n border-right: 1px solid #b7b9bc !important;\n}.overlay-secondary.overlay-lighten-4[_ngcontent-%COMP%] {\n background: #b7b9bc; \n background: rgba(183, 185, 188, 0.6);\n}.text-secondary.text-lighten-3[_ngcontent-%COMP%] {\n color: #aaacb0 !important;\n}.bg-secondary.bg-lighten-3[_ngcontent-%COMP%] {\n background-color: #aaacb0 !important;\n}.border-secondary.border-lighten-3[_ngcontent-%COMP%] {\n border: 1px solid #aaacb0 !important;\n}.border-top-secondary.border-top-lighten-3[_ngcontent-%COMP%] {\n border-top: 1px solid #aaacb0 !important;\n}.border-bottom-secondary.border-bottom-lighten-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #aaacb0 !important;\n}.border-left-secondary.border-left-lighten-3[_ngcontent-%COMP%] {\n border-left: 1px solid #aaacb0 !important;\n}.border-right-secondary.border-right-lighten-3[_ngcontent-%COMP%] {\n border-right: 1px solid #aaacb0 !important;\n}.overlay-secondary.overlay-lighten-3[_ngcontent-%COMP%] {\n background: #aaacb0; \n background: rgba(170, 172, 176, 0.6);\n}.text-secondary.text-lighten-2[_ngcontent-%COMP%] {\n color: #9ca0a4 !important;\n}.bg-secondary.bg-lighten-2[_ngcontent-%COMP%] {\n background-color: #9ca0a4 !important;\n}.border-secondary.border-lighten-2[_ngcontent-%COMP%] {\n border: 1px solid #9ca0a4 !important;\n}.border-top-secondary.border-top-lighten-2[_ngcontent-%COMP%] {\n border-top: 1px solid #9ca0a4 !important;\n}.border-bottom-secondary.border-bottom-lighten-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #9ca0a4 !important;\n}.border-left-secondary.border-left-lighten-2[_ngcontent-%COMP%] {\n border-left: 1px solid #9ca0a4 !important;\n}.border-right-secondary.border-right-lighten-2[_ngcontent-%COMP%] {\n border-right: 1px solid #9ca0a4 !important;\n}.overlay-secondary.overlay-lighten-2[_ngcontent-%COMP%] {\n background: #9ca0a4; \n background: rgba(156, 160, 164, 0.6);\n}.text-secondary.text-lighten-1[_ngcontent-%COMP%] {\n color: #8f9397 !important;\n}.bg-secondary.bg-lighten-1[_ngcontent-%COMP%] {\n background-color: #8f9397 !important;\n}.border-secondary.border-lighten-1[_ngcontent-%COMP%] {\n border: 1px solid #8f9397 !important;\n}.border-top-secondary.border-top-lighten-1[_ngcontent-%COMP%] {\n border-top: 1px solid #8f9397 !important;\n}.border-bottom-secondary.border-bottom-lighten-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #8f9397 !important;\n}.border-left-secondary.border-left-lighten-1[_ngcontent-%COMP%] {\n border-left: 1px solid #8f9397 !important;\n}.border-right-secondary.border-right-lighten-1[_ngcontent-%COMP%] {\n border-right: 1px solid #8f9397 !important;\n}.overlay-secondary.overlay-lighten-1[_ngcontent-%COMP%] {\n background: #8f9397; \n background: rgba(143, 147, 151, 0.6);\n}.bg-secondary[_ngcontent-%COMP%] {\n background-color: #82868b !important;\n}.bg-secondary[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-secondary[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.alert-secondary[_ngcontent-%COMP%] {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}.alert-secondary[_ngcontent-%COMP%] .alert-heading[_ngcontent-%COMP%] {\n box-shadow: rgba(130, 134, 139, 0.4) 0px 6px 15px -7px;\n}.alert-secondary[_ngcontent-%COMP%] .alert-link[_ngcontent-%COMP%] {\n color: #75797e !important;\n}.alert-secondary[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #82868b !important;\n}.bg-light-secondary[_ngcontent-%COMP%] {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}.bg-light-secondary.fc-h-event[_ngcontent-%COMP%], .bg-light-secondary.fc-v-event[_ngcontent-%COMP%] {\n border-color: rgba(130, 134, 139, 0.1);\n}.bg-light-secondary[_ngcontent-%COMP%] .fc-list-event-dot[_ngcontent-%COMP%], .bg-light-secondary[_ngcontent-%COMP%] .fc-daygrid-event-dot[_ngcontent-%COMP%] {\n border-color: #82868b !important;\n}.bg-light-secondary.fc-list-event[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%] {\n background: rgba(130, 134, 139, 0.1) !important;\n}.bg-light-secondary.fc-list-event[_ngcontent-%COMP%] .fc-list-event-title[_ngcontent-%COMP%] {\n color: #6e6b7b;\n}.avatar.bg-light-secondary[_ngcontent-%COMP%] {\n color: #82868b !important;\n}.border-secondary[_ngcontent-%COMP%] {\n border: 1px solid #82868b !important;\n}.border-top-secondary[_ngcontent-%COMP%] {\n border-top: 1px solid #82868b;\n}.border-bottom-secondary[_ngcontent-%COMP%] {\n border-bottom: 1px solid #82868b;\n}.border-left-secondary[_ngcontent-%COMP%] {\n border-left: 1px solid #82868b;\n}.border-right-secondary[_ngcontent-%COMP%] {\n border-right: 1px solid #82868b;\n}.bg-secondary.badge-glow[_ngcontent-%COMP%], .border-secondary.badge-glow[_ngcontent-%COMP%], .badge-secondary.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #82868b;\n}.badge.badge-light-secondary[_ngcontent-%COMP%] {\n background-color: rgba(130, 134, 139, 0.12);\n color: #82868b !important;\n}.overlay-secondary[_ngcontent-%COMP%] {\n background: #82868b; \n background: rgba(130, 134, 139, 0.6);\n}.btn-secondary[_ngcontent-%COMP%] {\n border-color: #82868b !important;\n background-color: #82868b !important;\n color: #fff !important;\n}.btn-secondary[_ngcontent-%COMP%]:focus, .btn-secondary[_ngcontent-%COMP%]:active, .btn-secondary.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #75797e !important;\n}.btn-secondary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #82868b;\n}.btn-secondary[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-secondary[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #82868b;\n}.btn-flat-secondary[_ngcontent-%COMP%]:hover {\n color: #82868b;\n}.btn-flat-secondary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.12);\n}.btn-flat-secondary[_ngcontent-%COMP%]:active, .btn-flat-secondary.active[_ngcontent-%COMP%], .btn-flat-secondary[_ngcontent-%COMP%]:focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}.btn-flat-secondary.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-secondary[_ngcontent-%COMP%] {\n background-color: #82868b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-secondary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: #8f9397;\n}.btn-relief-secondary[_ngcontent-%COMP%]:active, .btn-relief-secondary.active[_ngcontent-%COMP%], .btn-relief-secondary[_ngcontent-%COMP%]:focus {\n background-color: #75797e;\n}.btn-relief-secondary[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.btn-relief-secondary[_ngcontent-%COMP%]:active, .btn-relief-secondary.active[_ngcontent-%COMP%] {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-secondary[_ngcontent-%COMP%] {\n border: 1px solid #82868b !important;\n background-color: transparent;\n color: #82868b;\n}.btn-outline-secondary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.04);\n color: #82868b;\n}.btn-outline-secondary[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-secondary[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-outline-secondary[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .btn-outline-secondary[_ngcontent-%COMP%]:not(:disabled):not(.disabled):focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}.btn-outline-secondary.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show[_ngcontent-%COMP%] > .btn-outline-secondary.dropdown-toggle[_ngcontent-%COMP%] {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}.btn-outline-secondary.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%], .btn-flat-secondary.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%] {\n background: radial-gradient(rgba(130, 134, 139, 0.2) 0, rgba(130, 134, 139, 0.3) 40%, rgba(130, 134, 139, 0.4) 50%, rgba(130, 134, 139, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-secondary[_ngcontent-%COMP%] {\n background-color: #82868b;\n}.modal.modal-secondary[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n color: #82868b;\n}.modal.modal-secondary[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #82868b !important;\n}.pagination-secondary[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%] {\n background: #82868b !important;\n color: #fff;\n}.pagination-secondary[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.pagination-secondary[_ngcontent-%COMP%] .page-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #82868b;\n}.pagination-secondary[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover, .pagination-secondary[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n background: #82868b;\n color: #fff;\n}.pagination-secondary[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-secondary[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after, .pagination-secondary[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-secondary[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-secondary[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-secondary[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before, .pagination-secondary[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-secondary[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-secondary[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #82868b !important;\n border-color: #82868b;\n box-shadow: 0 4px 18px -4px rgba(130, 134, 139, 0.65);\n}.progress-bar-secondary[_ngcontent-%COMP%] {\n background-color: rgba(130, 134, 139, 0.12);\n}.progress-bar-secondary[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] {\n background-color: #82868b;\n}.timeline[_ngcontent-%COMP%] .timeline-point-secondary[_ngcontent-%COMP%] {\n border-color: #82868b !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-secondary[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .timeline[_ngcontent-%COMP%] .timeline-point-secondary[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n stroke: #82868b !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-secondary.timeline-point-indicator[_ngcontent-%COMP%] {\n background-color: #82868b !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-secondary.timeline-point-indicator[_ngcontent-%COMP%]:before {\n background: rgba(130, 134, 139, 0.12) !important;\n}.divider.divider-secondary[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:before, .divider.divider-secondary[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:after {\n border-color: #82868b !important;\n}input[_ngcontent-%COMP%]:focus ~ .bg-secondary[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #82868b !important;\n}.custom-control-secondary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-secondary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #82868b;\n background-color: #82868b;\n}.custom-control-secondary.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-secondary.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-secondary.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-secondary.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-secondary.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-secondary.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n box-shadow: 0 2px 4px 0 rgba(130, 134, 139, 0.4) !important;\n}.custom-control-secondary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:disabled:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: rgba(130, 134, 139, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-secondary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #82868b !important;\n}.custom-switch-secondary[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: #82868b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-secondary[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background: #82868b !important;\n border-color: #82868b !important;\n}.text-secondary.text-darken-1[_ngcontent-%COMP%] {\n color: #75797e !important;\n}.bg-secondary.bg-darken-1[_ngcontent-%COMP%] {\n background-color: #75797e !important;\n}.border-secondary.border-darken-1[_ngcontent-%COMP%] {\n border: 1px solid #75797e !important;\n}.border-top-secondary.border-top-darken-1[_ngcontent-%COMP%] {\n border-top: 1px solid #75797e !important;\n}.border-bottom-secondary.border-bottom-darken-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #75797e !important;\n}.border-left-secondary.border-left-darken-1[_ngcontent-%COMP%] {\n border-left: 1px solid #75797e !important;\n}.border-right-secondary.border-right-darken-1[_ngcontent-%COMP%] {\n border-right: 1px solid #75797e !important;\n}.overlay-secondary.overlay-darken-1[_ngcontent-%COMP%] {\n background: #75797e; \n background: rgba(117, 121, 126, 0.6);\n}.text-secondary.text-darken-2[_ngcontent-%COMP%] {\n color: #696d71 !important;\n}.bg-secondary.bg-darken-2[_ngcontent-%COMP%] {\n background-color: #696d71 !important;\n}.border-secondary.border-darken-2[_ngcontent-%COMP%] {\n border: 1px solid #696d71 !important;\n}.border-top-secondary.border-top-darken-2[_ngcontent-%COMP%] {\n border-top: 1px solid #696d71 !important;\n}.border-bottom-secondary.border-bottom-darken-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #696d71 !important;\n}.border-left-secondary.border-left-darken-2[_ngcontent-%COMP%] {\n border-left: 1px solid #696d71 !important;\n}.border-right-secondary.border-right-darken-2[_ngcontent-%COMP%] {\n border-right: 1px solid #696d71 !important;\n}.overlay-secondary.overlay-darken-2[_ngcontent-%COMP%] {\n background: #696d71; \n background: rgba(105, 109, 113, 0.6);\n}.text-secondary.text-darken-3[_ngcontent-%COMP%] {\n color: #5d6064 !important;\n}.bg-secondary.bg-darken-3[_ngcontent-%COMP%] {\n background-color: #5d6064 !important;\n}.border-secondary.border-darken-3[_ngcontent-%COMP%] {\n border: 1px solid #5d6064 !important;\n}.border-top-secondary.border-top-darken-3[_ngcontent-%COMP%] {\n border-top: 1px solid #5d6064 !important;\n}.border-bottom-secondary.border-bottom-darken-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #5d6064 !important;\n}.border-left-secondary.border-left-darken-3[_ngcontent-%COMP%] {\n border-left: 1px solid #5d6064 !important;\n}.border-right-secondary.border-right-darken-3[_ngcontent-%COMP%] {\n border-right: 1px solid #5d6064 !important;\n}.overlay-secondary.overlay-darken-3[_ngcontent-%COMP%] {\n background: #5d6064; \n background: rgba(93, 96, 100, 0.6);\n}.text-secondary.text-darken-4[_ngcontent-%COMP%] {\n color: #505357 !important;\n}.bg-secondary.bg-darken-4[_ngcontent-%COMP%] {\n background-color: #505357 !important;\n}.border-secondary.border-darken-4[_ngcontent-%COMP%] {\n border: 1px solid #505357 !important;\n}.border-top-secondary.border-top-darken-4[_ngcontent-%COMP%] {\n border-top: 1px solid #505357 !important;\n}.border-bottom-secondary.border-bottom-darken-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #505357 !important;\n}.border-left-secondary.border-left-darken-4[_ngcontent-%COMP%] {\n border-left: 1px solid #505357 !important;\n}.border-right-secondary.border-right-darken-4[_ngcontent-%COMP%] {\n border-right: 1px solid #505357 !important;\n}.overlay-secondary.overlay-darken-4[_ngcontent-%COMP%] {\n background: #505357; \n background: rgba(80, 83, 87, 0.6);\n}.text-success.text-lighten-5[_ngcontent-%COMP%] {\n color: #88e7b2 !important;\n}.bg-success.bg-lighten-5[_ngcontent-%COMP%] {\n background-color: #88e7b2 !important;\n}.border-success.border-lighten-5[_ngcontent-%COMP%] {\n border: 1px solid #88e7b2 !important;\n}.border-top-success.border-top-lighten-5[_ngcontent-%COMP%] {\n border-top: 1px solid #88e7b2 !important;\n}.border-bottom-success.border-bottom-lighten-5[_ngcontent-%COMP%] {\n border-bottom: 1px solid #88e7b2 !important;\n}.border-left-success.border-left-lighten-5[_ngcontent-%COMP%] {\n border-left: 1px solid #88e7b2 !important;\n}.border-right-success.border-right-lighten-5[_ngcontent-%COMP%] {\n border-right: 1px solid #88e7b2 !important;\n}.overlay-success.overlay-lighten-5[_ngcontent-%COMP%] {\n background: #88e7b2; \n background: rgba(136, 231, 178, 0.6);\n}.text-success.text-lighten-4[_ngcontent-%COMP%] {\n color: #72e3a4 !important;\n}.bg-success.bg-lighten-4[_ngcontent-%COMP%] {\n background-color: #72e3a4 !important;\n}.border-success.border-lighten-4[_ngcontent-%COMP%] {\n border: 1px solid #72e3a4 !important;\n}.border-top-success.border-top-lighten-4[_ngcontent-%COMP%] {\n border-top: 1px solid #72e3a4 !important;\n}.border-bottom-success.border-bottom-lighten-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #72e3a4 !important;\n}.border-left-success.border-left-lighten-4[_ngcontent-%COMP%] {\n border-left: 1px solid #72e3a4 !important;\n}.border-right-success.border-right-lighten-4[_ngcontent-%COMP%] {\n border-right: 1px solid #72e3a4 !important;\n}.overlay-success.overlay-lighten-4[_ngcontent-%COMP%] {\n background: #72e3a4; \n background: rgba(114, 227, 164, 0.6);\n}.text-success.text-lighten-3[_ngcontent-%COMP%] {\n color: #5dde97 !important;\n}.bg-success.bg-lighten-3[_ngcontent-%COMP%] {\n background-color: #5dde97 !important;\n}.border-success.border-lighten-3[_ngcontent-%COMP%] {\n border: 1px solid #5dde97 !important;\n}.border-top-success.border-top-lighten-3[_ngcontent-%COMP%] {\n border-top: 1px solid #5dde97 !important;\n}.border-bottom-success.border-bottom-lighten-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #5dde97 !important;\n}.border-left-success.border-left-lighten-3[_ngcontent-%COMP%] {\n border-left: 1px solid #5dde97 !important;\n}.border-right-success.border-right-lighten-3[_ngcontent-%COMP%] {\n border-right: 1px solid #5dde97 !important;\n}.overlay-success.overlay-lighten-3[_ngcontent-%COMP%] {\n background: #5dde97; \n background: rgba(93, 222, 151, 0.6);\n}.text-success.text-lighten-2[_ngcontent-%COMP%] {\n color: #48da89 !important;\n}.bg-success.bg-lighten-2[_ngcontent-%COMP%] {\n background-color: #48da89 !important;\n}.border-success.border-lighten-2[_ngcontent-%COMP%] {\n border: 1px solid #48da89 !important;\n}.border-top-success.border-top-lighten-2[_ngcontent-%COMP%] {\n border-top: 1px solid #48da89 !important;\n}.border-bottom-success.border-bottom-lighten-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #48da89 !important;\n}.border-left-success.border-left-lighten-2[_ngcontent-%COMP%] {\n border-left: 1px solid #48da89 !important;\n}.border-right-success.border-right-lighten-2[_ngcontent-%COMP%] {\n border-right: 1px solid #48da89 !important;\n}.overlay-success.overlay-lighten-2[_ngcontent-%COMP%] {\n background: #48da89; \n background: rgba(72, 218, 137, 0.6);\n}.text-success.text-lighten-1[_ngcontent-%COMP%] {\n color: #33d67c !important;\n}.bg-success.bg-lighten-1[_ngcontent-%COMP%] {\n background-color: #33d67c !important;\n}.border-success.border-lighten-1[_ngcontent-%COMP%] {\n border: 1px solid #33d67c !important;\n}.border-top-success.border-top-lighten-1[_ngcontent-%COMP%] {\n border-top: 1px solid #33d67c !important;\n}.border-bottom-success.border-bottom-lighten-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #33d67c !important;\n}.border-left-success.border-left-lighten-1[_ngcontent-%COMP%] {\n border-left: 1px solid #33d67c !important;\n}.border-right-success.border-right-lighten-1[_ngcontent-%COMP%] {\n border-right: 1px solid #33d67c !important;\n}.overlay-success.overlay-lighten-1[_ngcontent-%COMP%] {\n background: #33d67c; \n background: rgba(51, 214, 124, 0.6);\n}.bg-success[_ngcontent-%COMP%] {\n background-color: #28c76f !important;\n}.bg-success[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-success[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.alert-success[_ngcontent-%COMP%] {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}.alert-success[_ngcontent-%COMP%] .alert-heading[_ngcontent-%COMP%] {\n box-shadow: rgba(40, 199, 111, 0.4) 0px 6px 15px -7px;\n}.alert-success[_ngcontent-%COMP%] .alert-link[_ngcontent-%COMP%] {\n color: #24b263 !important;\n}.alert-success[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #28c76f !important;\n}.bg-light-success[_ngcontent-%COMP%] {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}.bg-light-success.fc-h-event[_ngcontent-%COMP%], .bg-light-success.fc-v-event[_ngcontent-%COMP%] {\n border-color: rgba(40, 199, 111, 0.1);\n}.bg-light-success[_ngcontent-%COMP%] .fc-list-event-dot[_ngcontent-%COMP%], .bg-light-success[_ngcontent-%COMP%] .fc-daygrid-event-dot[_ngcontent-%COMP%] {\n border-color: #28c76f !important;\n}.bg-light-success.fc-list-event[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%] {\n background: rgba(40, 199, 111, 0.1) !important;\n}.bg-light-success.fc-list-event[_ngcontent-%COMP%] .fc-list-event-title[_ngcontent-%COMP%] {\n color: #6e6b7b;\n}.avatar.bg-light-success[_ngcontent-%COMP%] {\n color: #28c76f !important;\n}.border-success[_ngcontent-%COMP%] {\n border: 1px solid #28c76f !important;\n}.border-top-success[_ngcontent-%COMP%] {\n border-top: 1px solid #28c76f;\n}.border-bottom-success[_ngcontent-%COMP%] {\n border-bottom: 1px solid #28c76f;\n}.border-left-success[_ngcontent-%COMP%] {\n border-left: 1px solid #28c76f;\n}.border-right-success[_ngcontent-%COMP%] {\n border-right: 1px solid #28c76f;\n}.bg-success.badge-glow[_ngcontent-%COMP%], .border-success.badge-glow[_ngcontent-%COMP%], .badge-success.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #28c76f;\n}.badge.badge-light-success[_ngcontent-%COMP%] {\n background-color: rgba(40, 199, 111, 0.12);\n color: #28c76f !important;\n}.overlay-success[_ngcontent-%COMP%] {\n background: #28c76f; \n background: rgba(40, 199, 111, 0.6);\n}.btn-success[_ngcontent-%COMP%] {\n border-color: #28c76f !important;\n background-color: #28c76f !important;\n color: #fff !important;\n}.btn-success[_ngcontent-%COMP%]:focus, .btn-success[_ngcontent-%COMP%]:active, .btn-success.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #24b263 !important;\n}.btn-success[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #28c76f;\n}.btn-success[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-success[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #28c76f;\n}.btn-flat-success[_ngcontent-%COMP%]:hover {\n color: #28c76f;\n}.btn-flat-success[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.12);\n}.btn-flat-success[_ngcontent-%COMP%]:active, .btn-flat-success.active[_ngcontent-%COMP%], .btn-flat-success[_ngcontent-%COMP%]:focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}.btn-flat-success.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-success[_ngcontent-%COMP%] {\n background-color: #28c76f;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-success[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: #33d67c;\n}.btn-relief-success[_ngcontent-%COMP%]:active, .btn-relief-success.active[_ngcontent-%COMP%], .btn-relief-success[_ngcontent-%COMP%]:focus {\n background-color: #24b263;\n}.btn-relief-success[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.btn-relief-success[_ngcontent-%COMP%]:active, .btn-relief-success.active[_ngcontent-%COMP%] {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-success[_ngcontent-%COMP%] {\n border: 1px solid #28c76f !important;\n background-color: transparent;\n color: #28c76f;\n}.btn-outline-success[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.04);\n color: #28c76f;\n}.btn-outline-success[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-success[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-outline-success[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .btn-outline-success[_ngcontent-%COMP%]:not(:disabled):not(.disabled):focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}.btn-outline-success.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show[_ngcontent-%COMP%] > .btn-outline-success.dropdown-toggle[_ngcontent-%COMP%] {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}.btn-outline-success.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%], .btn-flat-success.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%] {\n background: radial-gradient(rgba(40, 199, 111, 0.2) 0, rgba(40, 199, 111, 0.3) 40%, rgba(40, 199, 111, 0.4) 50%, rgba(40, 199, 111, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-success[_ngcontent-%COMP%] {\n background-color: #28c76f;\n}.modal.modal-success[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n color: #28c76f;\n}.modal.modal-success[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #28c76f !important;\n}.pagination-success[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%] {\n background: #28c76f !important;\n color: #fff;\n}.pagination-success[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.pagination-success[_ngcontent-%COMP%] .page-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #28c76f;\n}.pagination-success[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover, .pagination-success[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n background: #28c76f;\n color: #fff;\n}.pagination-success[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-success[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after, .pagination-success[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-success[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-success[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-success[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before, .pagination-success[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-success[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-success[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #28c76f !important;\n border-color: #28c76f;\n box-shadow: 0 4px 18px -4px rgba(40, 199, 111, 0.65);\n}.progress-bar-success[_ngcontent-%COMP%] {\n background-color: rgba(40, 199, 111, 0.12);\n}.progress-bar-success[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] {\n background-color: #28c76f;\n}.timeline[_ngcontent-%COMP%] .timeline-point-success[_ngcontent-%COMP%] {\n border-color: #28c76f !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-success[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .timeline[_ngcontent-%COMP%] .timeline-point-success[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n stroke: #28c76f !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-success.timeline-point-indicator[_ngcontent-%COMP%] {\n background-color: #28c76f !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-success.timeline-point-indicator[_ngcontent-%COMP%]:before {\n background: rgba(40, 199, 111, 0.12) !important;\n}.divider.divider-success[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:before, .divider.divider-success[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:after {\n border-color: #28c76f !important;\n}input[_ngcontent-%COMP%]:focus ~ .bg-success[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #28c76f !important;\n}.custom-control-success[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-success[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #28c76f;\n background-color: #28c76f;\n}.custom-control-success.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-success.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-success.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-success.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-success.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-success.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n box-shadow: 0 2px 4px 0 rgba(40, 199, 111, 0.4) !important;\n}.custom-control-success[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:disabled:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: rgba(40, 199, 111, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-success[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #28c76f !important;\n}.custom-switch-success[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: #28c76f !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-success[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background: #28c76f !important;\n border-color: #28c76f !important;\n}.text-success.text-darken-1[_ngcontent-%COMP%] {\n color: #24b263 !important;\n}.bg-success.bg-darken-1[_ngcontent-%COMP%] {\n background-color: #24b263 !important;\n}.border-success.border-darken-1[_ngcontent-%COMP%] {\n border: 1px solid #24b263 !important;\n}.border-top-success.border-top-darken-1[_ngcontent-%COMP%] {\n border-top: 1px solid #24b263 !important;\n}.border-bottom-success.border-bottom-darken-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #24b263 !important;\n}.border-left-success.border-left-darken-1[_ngcontent-%COMP%] {\n border-left: 1px solid #24b263 !important;\n}.border-right-success.border-right-darken-1[_ngcontent-%COMP%] {\n border-right: 1px solid #24b263 !important;\n}.overlay-success.overlay-darken-1[_ngcontent-%COMP%] {\n background: #24b263; \n background: rgba(36, 178, 99, 0.6);\n}.text-success.text-darken-2[_ngcontent-%COMP%] {\n color: #1f9d57 !important;\n}.bg-success.bg-darken-2[_ngcontent-%COMP%] {\n background-color: #1f9d57 !important;\n}.border-success.border-darken-2[_ngcontent-%COMP%] {\n border: 1px solid #1f9d57 !important;\n}.border-top-success.border-top-darken-2[_ngcontent-%COMP%] {\n border-top: 1px solid #1f9d57 !important;\n}.border-bottom-success.border-bottom-darken-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #1f9d57 !important;\n}.border-left-success.border-left-darken-2[_ngcontent-%COMP%] {\n border-left: 1px solid #1f9d57 !important;\n}.border-right-success.border-right-darken-2[_ngcontent-%COMP%] {\n border-right: 1px solid #1f9d57 !important;\n}.overlay-success.overlay-darken-2[_ngcontent-%COMP%] {\n background: #1f9d57; \n background: rgba(31, 157, 87, 0.6);\n}.text-success.text-darken-3[_ngcontent-%COMP%] {\n color: #1b874b !important;\n}.bg-success.bg-darken-3[_ngcontent-%COMP%] {\n background-color: #1b874b !important;\n}.border-success.border-darken-3[_ngcontent-%COMP%] {\n border: 1px solid #1b874b !important;\n}.border-top-success.border-top-darken-3[_ngcontent-%COMP%] {\n border-top: 1px solid #1b874b !important;\n}.border-bottom-success.border-bottom-darken-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #1b874b !important;\n}.border-left-success.border-left-darken-3[_ngcontent-%COMP%] {\n border-left: 1px solid #1b874b !important;\n}.border-right-success.border-right-darken-3[_ngcontent-%COMP%] {\n border-right: 1px solid #1b874b !important;\n}.overlay-success.overlay-darken-3[_ngcontent-%COMP%] {\n background: #1b874b; \n background: rgba(27, 135, 75, 0.6);\n}.text-success.text-darken-4[_ngcontent-%COMP%] {\n color: #177240 !important;\n}.bg-success.bg-darken-4[_ngcontent-%COMP%] {\n background-color: #177240 !important;\n}.border-success.border-darken-4[_ngcontent-%COMP%] {\n border: 1px solid #177240 !important;\n}.border-top-success.border-top-darken-4[_ngcontent-%COMP%] {\n border-top: 1px solid #177240 !important;\n}.border-bottom-success.border-bottom-darken-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #177240 !important;\n}.border-left-success.border-left-darken-4[_ngcontent-%COMP%] {\n border-left: 1px solid #177240 !important;\n}.border-right-success.border-right-darken-4[_ngcontent-%COMP%] {\n border-right: 1px solid #177240 !important;\n}.overlay-success.overlay-darken-4[_ngcontent-%COMP%] {\n background: #177240; \n background: rgba(23, 114, 64, 0.6);\n}.text-success.text-accent-1[_ngcontent-%COMP%] {\n color: #e1fff1 !important;\n}.bg-success.bg-accent-1[_ngcontent-%COMP%] {\n background-color: #e1fff1 !important;\n}.border-success.border-accent-1[_ngcontent-%COMP%] {\n border: 1px solid #e1fff1 !important;\n}.border-top-success.border-top-accent-1[_ngcontent-%COMP%] {\n border-top: 1px solid #e1fff1 !important;\n}.border-bottom-success.border-bottom-accent-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e1fff1 !important;\n}.border-left-success.border-left-accent-1[_ngcontent-%COMP%] {\n border-left: 1px solid #e1fff1 !important;\n}.border-right-success.border-right-accent-1[_ngcontent-%COMP%] {\n border-right: 1px solid #e1fff1 !important;\n}.overlay-success.overlay-accent-1[_ngcontent-%COMP%] {\n background: #e1fff1; \n background: rgba(225, 255, 241, 0.6);\n}.text-success.text-accent-2[_ngcontent-%COMP%] {\n color: #aeffd9 !important;\n}.bg-success.bg-accent-2[_ngcontent-%COMP%] {\n background-color: #aeffd9 !important;\n}.border-success.border-accent-2[_ngcontent-%COMP%] {\n border: 1px solid #aeffd9 !important;\n}.border-top-success.border-top-accent-2[_ngcontent-%COMP%] {\n border-top: 1px solid #aeffd9 !important;\n}.border-bottom-success.border-bottom-accent-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #aeffd9 !important;\n}.border-left-success.border-left-accent-2[_ngcontent-%COMP%] {\n border-left: 1px solid #aeffd9 !important;\n}.border-right-success.border-right-accent-2[_ngcontent-%COMP%] {\n border-right: 1px solid #aeffd9 !important;\n}.overlay-success.overlay-accent-2[_ngcontent-%COMP%] {\n background: #aeffd9; \n background: rgba(174, 255, 217, 0.6);\n}.text-success.text-accent-3[_ngcontent-%COMP%] {\n color: #7bffc1 !important;\n}.bg-success.bg-accent-3[_ngcontent-%COMP%] {\n background-color: #7bffc1 !important;\n}.border-success.border-accent-3[_ngcontent-%COMP%] {\n border: 1px solid #7bffc1 !important;\n}.border-top-success.border-top-accent-3[_ngcontent-%COMP%] {\n border-top: 1px solid #7bffc1 !important;\n}.border-bottom-success.border-bottom-accent-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #7bffc1 !important;\n}.border-left-success.border-left-accent-3[_ngcontent-%COMP%] {\n border-left: 1px solid #7bffc1 !important;\n}.border-right-success.border-right-accent-3[_ngcontent-%COMP%] {\n border-right: 1px solid #7bffc1 !important;\n}.overlay-success.overlay-accent-3[_ngcontent-%COMP%] {\n background: #7bffc1; \n background: rgba(123, 255, 193, 0.6);\n}.text-success.text-accent-4[_ngcontent-%COMP%] {\n color: #62ffb5 !important;\n}.bg-success.bg-accent-4[_ngcontent-%COMP%] {\n background-color: #62ffb5 !important;\n}.border-success.border-accent-4[_ngcontent-%COMP%] {\n border: 1px solid #62ffb5 !important;\n}.border-top-success.border-top-accent-4[_ngcontent-%COMP%] {\n border-top: 1px solid #62ffb5 !important;\n}.border-bottom-success.border-bottom-accent-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #62ffb5 !important;\n}.border-left-success.border-left-accent-4[_ngcontent-%COMP%] {\n border-left: 1px solid #62ffb5 !important;\n}.border-right-success.border-right-accent-4[_ngcontent-%COMP%] {\n border-right: 1px solid #62ffb5 !important;\n}.overlay-success.overlay-accent-4[_ngcontent-%COMP%] {\n background: #62ffb5; \n background: rgba(98, 255, 181, 0.6);\n}.text-info.text-lighten-5[_ngcontent-%COMP%] {\n color: #69efff !important;\n}.bg-info.bg-lighten-5[_ngcontent-%COMP%] {\n background-color: #69efff !important;\n}.border-info.border-lighten-5[_ngcontent-%COMP%] {\n border: 1px solid #69efff !important;\n}.border-top-info.border-top-lighten-5[_ngcontent-%COMP%] {\n border-top: 1px solid #69efff !important;\n}.border-bottom-info.border-bottom-lighten-5[_ngcontent-%COMP%] {\n border-bottom: 1px solid #69efff !important;\n}.border-left-info.border-left-lighten-5[_ngcontent-%COMP%] {\n border-left: 1px solid #69efff !important;\n}.border-right-info.border-right-lighten-5[_ngcontent-%COMP%] {\n border-right: 1px solid #69efff !important;\n}.overlay-info.overlay-lighten-5[_ngcontent-%COMP%] {\n background: #69efff; \n background: rgba(105, 239, 255, 0.6);\n}.text-info.text-lighten-4[_ngcontent-%COMP%] {\n color: #4fecff !important;\n}.bg-info.bg-lighten-4[_ngcontent-%COMP%] {\n background-color: #4fecff !important;\n}.border-info.border-lighten-4[_ngcontent-%COMP%] {\n border: 1px solid #4fecff !important;\n}.border-top-info.border-top-lighten-4[_ngcontent-%COMP%] {\n border-top: 1px solid #4fecff !important;\n}.border-bottom-info.border-bottom-lighten-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #4fecff !important;\n}.border-left-info.border-left-lighten-4[_ngcontent-%COMP%] {\n border-left: 1px solid #4fecff !important;\n}.border-right-info.border-right-lighten-4[_ngcontent-%COMP%] {\n border-right: 1px solid #4fecff !important;\n}.overlay-info.overlay-lighten-4[_ngcontent-%COMP%] {\n background: #4fecff; \n background: rgba(79, 236, 255, 0.6);\n}.text-info.text-lighten-3[_ngcontent-%COMP%] {\n color: #36e9ff !important;\n}.bg-info.bg-lighten-3[_ngcontent-%COMP%] {\n background-color: #36e9ff !important;\n}.border-info.border-lighten-3[_ngcontent-%COMP%] {\n border: 1px solid #36e9ff !important;\n}.border-top-info.border-top-lighten-3[_ngcontent-%COMP%] {\n border-top: 1px solid #36e9ff !important;\n}.border-bottom-info.border-bottom-lighten-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #36e9ff !important;\n}.border-left-info.border-left-lighten-3[_ngcontent-%COMP%] {\n border-left: 1px solid #36e9ff !important;\n}.border-right-info.border-right-lighten-3[_ngcontent-%COMP%] {\n border-right: 1px solid #36e9ff !important;\n}.overlay-info.overlay-lighten-3[_ngcontent-%COMP%] {\n background: #36e9ff; \n background: rgba(54, 233, 255, 0.6);\n}.text-info.text-lighten-2[_ngcontent-%COMP%] {\n color: #1ce7ff !important;\n}.bg-info.bg-lighten-2[_ngcontent-%COMP%] {\n background-color: #1ce7ff !important;\n}.border-info.border-lighten-2[_ngcontent-%COMP%] {\n border: 1px solid #1ce7ff !important;\n}.border-top-info.border-top-lighten-2[_ngcontent-%COMP%] {\n border-top: 1px solid #1ce7ff !important;\n}.border-bottom-info.border-bottom-lighten-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #1ce7ff !important;\n}.border-left-info.border-left-lighten-2[_ngcontent-%COMP%] {\n border-left: 1px solid #1ce7ff !important;\n}.border-right-info.border-right-lighten-2[_ngcontent-%COMP%] {\n border-right: 1px solid #1ce7ff !important;\n}.overlay-info.overlay-lighten-2[_ngcontent-%COMP%] {\n background: #1ce7ff; \n background: rgba(28, 231, 255, 0.6);\n}.text-info.text-lighten-1[_ngcontent-%COMP%] {\n color: #03e4ff !important;\n}.bg-info.bg-lighten-1[_ngcontent-%COMP%] {\n background-color: #03e4ff !important;\n}.border-info.border-lighten-1[_ngcontent-%COMP%] {\n border: 1px solid #03e4ff !important;\n}.border-top-info.border-top-lighten-1[_ngcontent-%COMP%] {\n border-top: 1px solid #03e4ff !important;\n}.border-bottom-info.border-bottom-lighten-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #03e4ff !important;\n}.border-left-info.border-left-lighten-1[_ngcontent-%COMP%] {\n border-left: 1px solid #03e4ff !important;\n}.border-right-info.border-right-lighten-1[_ngcontent-%COMP%] {\n border-right: 1px solid #03e4ff !important;\n}.overlay-info.overlay-lighten-1[_ngcontent-%COMP%] {\n background: #03e4ff; \n background: rgba(3, 228, 255, 0.6);\n}.bg-info[_ngcontent-%COMP%] {\n background-color: #00cfe8 !important;\n}.bg-info[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-info[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.alert-info[_ngcontent-%COMP%] {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}.alert-info[_ngcontent-%COMP%] .alert-heading[_ngcontent-%COMP%] {\n box-shadow: rgba(0, 207, 232, 0.4) 0px 6px 15px -7px;\n}.alert-info[_ngcontent-%COMP%] .alert-link[_ngcontent-%COMP%] {\n color: #00b8cf !important;\n}.alert-info[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #00cfe8 !important;\n}.bg-light-info[_ngcontent-%COMP%] {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}.bg-light-info.fc-h-event[_ngcontent-%COMP%], .bg-light-info.fc-v-event[_ngcontent-%COMP%] {\n border-color: rgba(0, 207, 232, 0.1);\n}.bg-light-info[_ngcontent-%COMP%] .fc-list-event-dot[_ngcontent-%COMP%], .bg-light-info[_ngcontent-%COMP%] .fc-daygrid-event-dot[_ngcontent-%COMP%] {\n border-color: #00cfe8 !important;\n}.bg-light-info.fc-list-event[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%] {\n background: rgba(0, 207, 232, 0.1) !important;\n}.bg-light-info.fc-list-event[_ngcontent-%COMP%] .fc-list-event-title[_ngcontent-%COMP%] {\n color: #6e6b7b;\n}.avatar.bg-light-info[_ngcontent-%COMP%] {\n color: #00cfe8 !important;\n}.border-info[_ngcontent-%COMP%] {\n border: 1px solid #00cfe8 !important;\n}.border-top-info[_ngcontent-%COMP%] {\n border-top: 1px solid #00cfe8;\n}.border-bottom-info[_ngcontent-%COMP%] {\n border-bottom: 1px solid #00cfe8;\n}.border-left-info[_ngcontent-%COMP%] {\n border-left: 1px solid #00cfe8;\n}.border-right-info[_ngcontent-%COMP%] {\n border-right: 1px solid #00cfe8;\n}.bg-info.badge-glow[_ngcontent-%COMP%], .border-info.badge-glow[_ngcontent-%COMP%], .badge-info.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #00cfe8;\n}.badge.badge-light-info[_ngcontent-%COMP%] {\n background-color: rgba(0, 207, 232, 0.12);\n color: #00cfe8 !important;\n}.overlay-info[_ngcontent-%COMP%] {\n background: #00cfe8; \n background: rgba(0, 207, 232, 0.6);\n}.btn-info[_ngcontent-%COMP%] {\n border-color: #00cfe8 !important;\n background-color: #00cfe8 !important;\n color: #fff !important;\n}.btn-info[_ngcontent-%COMP%]:focus, .btn-info[_ngcontent-%COMP%]:active, .btn-info.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #00b8cf !important;\n}.btn-info[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #00cfe8;\n}.btn-info[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-info[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #00cfe8;\n}.btn-flat-info[_ngcontent-%COMP%]:hover {\n color: #00cfe8;\n}.btn-flat-info[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.12);\n}.btn-flat-info[_ngcontent-%COMP%]:active, .btn-flat-info.active[_ngcontent-%COMP%], .btn-flat-info[_ngcontent-%COMP%]:focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}.btn-flat-info.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-info[_ngcontent-%COMP%] {\n background-color: #00cfe8;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-info[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: #03e4ff;\n}.btn-relief-info[_ngcontent-%COMP%]:active, .btn-relief-info.active[_ngcontent-%COMP%], .btn-relief-info[_ngcontent-%COMP%]:focus {\n background-color: #00b8cf;\n}.btn-relief-info[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.btn-relief-info[_ngcontent-%COMP%]:active, .btn-relief-info.active[_ngcontent-%COMP%] {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-info[_ngcontent-%COMP%] {\n border: 1px solid #00cfe8 !important;\n background-color: transparent;\n color: #00cfe8;\n}.btn-outline-info[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.04);\n color: #00cfe8;\n}.btn-outline-info[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-info[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-outline-info[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .btn-outline-info[_ngcontent-%COMP%]:not(:disabled):not(.disabled):focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}.btn-outline-info.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show[_ngcontent-%COMP%] > .btn-outline-info.dropdown-toggle[_ngcontent-%COMP%] {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}.btn-outline-info.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%], .btn-flat-info.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%] {\n background: radial-gradient(rgba(0, 207, 232, 0.2) 0, rgba(0, 207, 232, 0.3) 40%, rgba(0, 207, 232, 0.4) 50%, rgba(0, 207, 232, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-info[_ngcontent-%COMP%] {\n background-color: #00cfe8;\n}.modal.modal-info[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n color: #00cfe8;\n}.modal.modal-info[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #00cfe8 !important;\n}.pagination-info[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%] {\n background: #00cfe8 !important;\n color: #fff;\n}.pagination-info[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.pagination-info[_ngcontent-%COMP%] .page-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #00cfe8;\n}.pagination-info[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover, .pagination-info[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n background: #00cfe8;\n color: #fff;\n}.pagination-info[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-info[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after, .pagination-info[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-info[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-info[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-info[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before, .pagination-info[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-info[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-info[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #00cfe8 !important;\n border-color: #00cfe8;\n box-shadow: 0 4px 18px -4px rgba(0, 207, 232, 0.65);\n}.progress-bar-info[_ngcontent-%COMP%] {\n background-color: rgba(0, 207, 232, 0.12);\n}.progress-bar-info[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] {\n background-color: #00cfe8;\n}.timeline[_ngcontent-%COMP%] .timeline-point-info[_ngcontent-%COMP%] {\n border-color: #00cfe8 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-info[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .timeline[_ngcontent-%COMP%] .timeline-point-info[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n stroke: #00cfe8 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-info.timeline-point-indicator[_ngcontent-%COMP%] {\n background-color: #00cfe8 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-info.timeline-point-indicator[_ngcontent-%COMP%]:before {\n background: rgba(0, 207, 232, 0.12) !important;\n}.divider.divider-info[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:before, .divider.divider-info[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:after {\n border-color: #00cfe8 !important;\n}input[_ngcontent-%COMP%]:focus ~ .bg-info[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #00cfe8 !important;\n}.custom-control-info[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-info[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #00cfe8;\n background-color: #00cfe8;\n}.custom-control-info.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-info.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-info.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-info.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-info.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-info.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n box-shadow: 0 2px 4px 0 rgba(0, 207, 232, 0.4) !important;\n}.custom-control-info[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:disabled:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: rgba(0, 207, 232, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-info[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #00cfe8 !important;\n}.custom-switch-info[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: #00cfe8 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-info[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background: #00cfe8 !important;\n border-color: #00cfe8 !important;\n}.text-info.text-darken-1[_ngcontent-%COMP%] {\n color: #00b8cf !important;\n}.bg-info.bg-darken-1[_ngcontent-%COMP%] {\n background-color: #00b8cf !important;\n}.border-info.border-darken-1[_ngcontent-%COMP%] {\n border: 1px solid #00b8cf !important;\n}.border-top-info.border-top-darken-1[_ngcontent-%COMP%] {\n border-top: 1px solid #00b8cf !important;\n}.border-bottom-info.border-bottom-darken-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #00b8cf !important;\n}.border-left-info.border-left-darken-1[_ngcontent-%COMP%] {\n border-left: 1px solid #00b8cf !important;\n}.border-right-info.border-right-darken-1[_ngcontent-%COMP%] {\n border-right: 1px solid #00b8cf !important;\n}.overlay-info.overlay-darken-1[_ngcontent-%COMP%] {\n background: #00b8cf; \n background: rgba(0, 184, 207, 0.6);\n}.text-info.text-darken-2[_ngcontent-%COMP%] {\n color: #00a1b5 !important;\n}.bg-info.bg-darken-2[_ngcontent-%COMP%] {\n background-color: #00a1b5 !important;\n}.border-info.border-darken-2[_ngcontent-%COMP%] {\n border: 1px solid #00a1b5 !important;\n}.border-top-info.border-top-darken-2[_ngcontent-%COMP%] {\n border-top: 1px solid #00a1b5 !important;\n}.border-bottom-info.border-bottom-darken-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #00a1b5 !important;\n}.border-left-info.border-left-darken-2[_ngcontent-%COMP%] {\n border-left: 1px solid #00a1b5 !important;\n}.border-right-info.border-right-darken-2[_ngcontent-%COMP%] {\n border-right: 1px solid #00a1b5 !important;\n}.overlay-info.overlay-darken-2[_ngcontent-%COMP%] {\n background: #00a1b5; \n background: rgba(0, 161, 181, 0.6);\n}.text-info.text-darken-3[_ngcontent-%COMP%] {\n color: #008b9c !important;\n}.bg-info.bg-darken-3[_ngcontent-%COMP%] {\n background-color: #008b9c !important;\n}.border-info.border-darken-3[_ngcontent-%COMP%] {\n border: 1px solid #008b9c !important;\n}.border-top-info.border-top-darken-3[_ngcontent-%COMP%] {\n border-top: 1px solid #008b9c !important;\n}.border-bottom-info.border-bottom-darken-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #008b9c !important;\n}.border-left-info.border-left-darken-3[_ngcontent-%COMP%] {\n border-left: 1px solid #008b9c !important;\n}.border-right-info.border-right-darken-3[_ngcontent-%COMP%] {\n border-right: 1px solid #008b9c !important;\n}.overlay-info.overlay-darken-3[_ngcontent-%COMP%] {\n background: #008b9c; \n background: rgba(0, 139, 156, 0.6);\n}.text-info.text-darken-4[_ngcontent-%COMP%] {\n color: #007482 !important;\n}.bg-info.bg-darken-4[_ngcontent-%COMP%] {\n background-color: #007482 !important;\n}.border-info.border-darken-4[_ngcontent-%COMP%] {\n border: 1px solid #007482 !important;\n}.border-top-info.border-top-darken-4[_ngcontent-%COMP%] {\n border-top: 1px solid #007482 !important;\n}.border-bottom-info.border-bottom-darken-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #007482 !important;\n}.border-left-info.border-left-darken-4[_ngcontent-%COMP%] {\n border-left: 1px solid #007482 !important;\n}.border-right-info.border-right-darken-4[_ngcontent-%COMP%] {\n border-right: 1px solid #007482 !important;\n}.overlay-info.overlay-darken-4[_ngcontent-%COMP%] {\n background: #007482; \n background: rgba(0, 116, 130, 0.6);\n}.text-info.text-accent-1[_ngcontent-%COMP%] {\n color: #feffff !important;\n}.bg-info.bg-accent-1[_ngcontent-%COMP%] {\n background-color: #feffff !important;\n}.border-info.border-accent-1[_ngcontent-%COMP%] {\n border: 1px solid #feffff !important;\n}.border-top-info.border-top-accent-1[_ngcontent-%COMP%] {\n border-top: 1px solid #feffff !important;\n}.border-bottom-info.border-bottom-accent-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #feffff !important;\n}.border-left-info.border-left-accent-1[_ngcontent-%COMP%] {\n border-left: 1px solid #feffff !important;\n}.border-right-info.border-right-accent-1[_ngcontent-%COMP%] {\n border-right: 1px solid #feffff !important;\n}.overlay-info.overlay-accent-1[_ngcontent-%COMP%] {\n background: #feffff; \n background: rgba(254, 255, 255, 0.6);\n}.text-info.text-accent-2[_ngcontent-%COMP%] {\n color: #cbf5ff !important;\n}.bg-info.bg-accent-2[_ngcontent-%COMP%] {\n background-color: #cbf5ff !important;\n}.border-info.border-accent-2[_ngcontent-%COMP%] {\n border: 1px solid #cbf5ff !important;\n}.border-top-info.border-top-accent-2[_ngcontent-%COMP%] {\n border-top: 1px solid #cbf5ff !important;\n}.border-bottom-info.border-bottom-accent-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #cbf5ff !important;\n}.border-left-info.border-left-accent-2[_ngcontent-%COMP%] {\n border-left: 1px solid #cbf5ff !important;\n}.border-right-info.border-right-accent-2[_ngcontent-%COMP%] {\n border-right: 1px solid #cbf5ff !important;\n}.overlay-info.overlay-accent-2[_ngcontent-%COMP%] {\n background: #cbf5ff; \n background: rgba(203, 245, 255, 0.6);\n}.text-info.text-accent-3[_ngcontent-%COMP%] {\n color: #98ecff !important;\n}.bg-info.bg-accent-3[_ngcontent-%COMP%] {\n background-color: #98ecff !important;\n}.border-info.border-accent-3[_ngcontent-%COMP%] {\n border: 1px solid #98ecff !important;\n}.border-top-info.border-top-accent-3[_ngcontent-%COMP%] {\n border-top: 1px solid #98ecff !important;\n}.border-bottom-info.border-bottom-accent-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #98ecff !important;\n}.border-left-info.border-left-accent-3[_ngcontent-%COMP%] {\n border-left: 1px solid #98ecff !important;\n}.border-right-info.border-right-accent-3[_ngcontent-%COMP%] {\n border-right: 1px solid #98ecff !important;\n}.overlay-info.overlay-accent-3[_ngcontent-%COMP%] {\n background: #98ecff; \n background: rgba(152, 236, 255, 0.6);\n}.text-info.text-accent-4[_ngcontent-%COMP%] {\n color: #7fe7ff !important;\n}.bg-info.bg-accent-4[_ngcontent-%COMP%] {\n background-color: #7fe7ff !important;\n}.border-info.border-accent-4[_ngcontent-%COMP%] {\n border: 1px solid #7fe7ff !important;\n}.border-top-info.border-top-accent-4[_ngcontent-%COMP%] {\n border-top: 1px solid #7fe7ff !important;\n}.border-bottom-info.border-bottom-accent-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #7fe7ff !important;\n}.border-left-info.border-left-accent-4[_ngcontent-%COMP%] {\n border-left: 1px solid #7fe7ff !important;\n}.border-right-info.border-right-accent-4[_ngcontent-%COMP%] {\n border-right: 1px solid #7fe7ff !important;\n}.overlay-info.overlay-accent-4[_ngcontent-%COMP%] {\n background: #7fe7ff; \n background: rgba(127, 231, 255, 0.6);\n}.text-warning.text-lighten-5[_ngcontent-%COMP%] {\n color: #ffe0c3 !important;\n}.bg-warning.bg-lighten-5[_ngcontent-%COMP%] {\n background-color: #ffe0c3 !important;\n}.border-warning.border-lighten-5[_ngcontent-%COMP%] {\n border: 1px solid #ffe0c3 !important;\n}.border-top-warning.border-top-lighten-5[_ngcontent-%COMP%] {\n border-top: 1px solid #ffe0c3 !important;\n}.border-bottom-warning.border-bottom-lighten-5[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffe0c3 !important;\n}.border-left-warning.border-left-lighten-5[_ngcontent-%COMP%] {\n border-left: 1px solid #ffe0c3 !important;\n}.border-right-warning.border-right-lighten-5[_ngcontent-%COMP%] {\n border-right: 1px solid #ffe0c3 !important;\n}.overlay-warning.overlay-lighten-5[_ngcontent-%COMP%] {\n background: #ffe0c3; \n background: rgba(255, 224, 195, 0.6);\n}.text-warning.text-lighten-4[_ngcontent-%COMP%] {\n color: #ffd3a9 !important;\n}.bg-warning.bg-lighten-4[_ngcontent-%COMP%] {\n background-color: #ffd3a9 !important;\n}.border-warning.border-lighten-4[_ngcontent-%COMP%] {\n border: 1px solid #ffd3a9 !important;\n}.border-top-warning.border-top-lighten-4[_ngcontent-%COMP%] {\n border-top: 1px solid #ffd3a9 !important;\n}.border-bottom-warning.border-bottom-lighten-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffd3a9 !important;\n}.border-left-warning.border-left-lighten-4[_ngcontent-%COMP%] {\n border-left: 1px solid #ffd3a9 !important;\n}.border-right-warning.border-right-lighten-4[_ngcontent-%COMP%] {\n border-right: 1px solid #ffd3a9 !important;\n}.overlay-warning.overlay-lighten-4[_ngcontent-%COMP%] {\n background: #ffd3a9; \n background: rgba(255, 211, 169, 0.6);\n}.text-warning.text-lighten-3[_ngcontent-%COMP%] {\n color: #ffc690 !important;\n}.bg-warning.bg-lighten-3[_ngcontent-%COMP%] {\n background-color: #ffc690 !important;\n}.border-warning.border-lighten-3[_ngcontent-%COMP%] {\n border: 1px solid #ffc690 !important;\n}.border-top-warning.border-top-lighten-3[_ngcontent-%COMP%] {\n border-top: 1px solid #ffc690 !important;\n}.border-bottom-warning.border-bottom-lighten-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffc690 !important;\n}.border-left-warning.border-left-lighten-3[_ngcontent-%COMP%] {\n border-left: 1px solid #ffc690 !important;\n}.border-right-warning.border-right-lighten-3[_ngcontent-%COMP%] {\n border-right: 1px solid #ffc690 !important;\n}.overlay-warning.overlay-lighten-3[_ngcontent-%COMP%] {\n background: #ffc690; \n background: rgba(255, 198, 144, 0.6);\n}.text-warning.text-lighten-2[_ngcontent-%COMP%] {\n color: #ffb976 !important;\n}.bg-warning.bg-lighten-2[_ngcontent-%COMP%] {\n background-color: #ffb976 !important;\n}.border-warning.border-lighten-2[_ngcontent-%COMP%] {\n border: 1px solid #ffb976 !important;\n}.border-top-warning.border-top-lighten-2[_ngcontent-%COMP%] {\n border-top: 1px solid #ffb976 !important;\n}.border-bottom-warning.border-bottom-lighten-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffb976 !important;\n}.border-left-warning.border-left-lighten-2[_ngcontent-%COMP%] {\n border-left: 1px solid #ffb976 !important;\n}.border-right-warning.border-right-lighten-2[_ngcontent-%COMP%] {\n border-right: 1px solid #ffb976 !important;\n}.overlay-warning.overlay-lighten-2[_ngcontent-%COMP%] {\n background: #ffb976; \n background: rgba(255, 185, 118, 0.6);\n}.text-warning.text-lighten-1[_ngcontent-%COMP%] {\n color: #ffac5d !important;\n}.bg-warning.bg-lighten-1[_ngcontent-%COMP%] {\n background-color: #ffac5d !important;\n}.border-warning.border-lighten-1[_ngcontent-%COMP%] {\n border: 1px solid #ffac5d !important;\n}.border-top-warning.border-top-lighten-1[_ngcontent-%COMP%] {\n border-top: 1px solid #ffac5d !important;\n}.border-bottom-warning.border-bottom-lighten-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffac5d !important;\n}.border-left-warning.border-left-lighten-1[_ngcontent-%COMP%] {\n border-left: 1px solid #ffac5d !important;\n}.border-right-warning.border-right-lighten-1[_ngcontent-%COMP%] {\n border-right: 1px solid #ffac5d !important;\n}.overlay-warning.overlay-lighten-1[_ngcontent-%COMP%] {\n background: #ffac5d; \n background: rgba(255, 172, 93, 0.6);\n}.bg-warning[_ngcontent-%COMP%] {\n background-color: #ff9f43 !important;\n}.bg-warning[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-warning[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.alert-warning[_ngcontent-%COMP%] {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}.alert-warning[_ngcontent-%COMP%] .alert-heading[_ngcontent-%COMP%] {\n box-shadow: rgba(255, 159, 67, 0.4) 0px 6px 15px -7px;\n}.alert-warning[_ngcontent-%COMP%] .alert-link[_ngcontent-%COMP%] {\n color: #ff922a !important;\n}.alert-warning[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #ff9f43 !important;\n}.bg-light-warning[_ngcontent-%COMP%] {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}.bg-light-warning.fc-h-event[_ngcontent-%COMP%], .bg-light-warning.fc-v-event[_ngcontent-%COMP%] {\n border-color: rgba(255, 159, 67, 0.1);\n}.bg-light-warning[_ngcontent-%COMP%] .fc-list-event-dot[_ngcontent-%COMP%], .bg-light-warning[_ngcontent-%COMP%] .fc-daygrid-event-dot[_ngcontent-%COMP%] {\n border-color: #ff9f43 !important;\n}.bg-light-warning.fc-list-event[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%] {\n background: rgba(255, 159, 67, 0.1) !important;\n}.bg-light-warning.fc-list-event[_ngcontent-%COMP%] .fc-list-event-title[_ngcontent-%COMP%] {\n color: #6e6b7b;\n}.avatar.bg-light-warning[_ngcontent-%COMP%] {\n color: #ff9f43 !important;\n}.border-warning[_ngcontent-%COMP%] {\n border: 1px solid #ff9f43 !important;\n}.border-top-warning[_ngcontent-%COMP%] {\n border-top: 1px solid #ff9f43;\n}.border-bottom-warning[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ff9f43;\n}.border-left-warning[_ngcontent-%COMP%] {\n border-left: 1px solid #ff9f43;\n}.border-right-warning[_ngcontent-%COMP%] {\n border-right: 1px solid #ff9f43;\n}.bg-warning.badge-glow[_ngcontent-%COMP%], .border-warning.badge-glow[_ngcontent-%COMP%], .badge-warning.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #ff9f43;\n}.badge.badge-light-warning[_ngcontent-%COMP%] {\n background-color: rgba(255, 159, 67, 0.12);\n color: #ff9f43 !important;\n}.overlay-warning[_ngcontent-%COMP%] {\n background: #ff9f43; \n background: rgba(255, 159, 67, 0.6);\n}.btn-warning[_ngcontent-%COMP%] {\n border-color: #ff9f43 !important;\n background-color: #ff9f43 !important;\n color: #fff !important;\n}.btn-warning[_ngcontent-%COMP%]:focus, .btn-warning[_ngcontent-%COMP%]:active, .btn-warning.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #ff922a !important;\n}.btn-warning[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ff9f43;\n}.btn-warning[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-warning[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #ff9f43;\n}.btn-flat-warning[_ngcontent-%COMP%]:hover {\n color: #ff9f43;\n}.btn-flat-warning[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.12);\n}.btn-flat-warning[_ngcontent-%COMP%]:active, .btn-flat-warning.active[_ngcontent-%COMP%], .btn-flat-warning[_ngcontent-%COMP%]:focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}.btn-flat-warning.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-warning[_ngcontent-%COMP%] {\n background-color: #ff9f43;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-warning[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: #ffac5d;\n}.btn-relief-warning[_ngcontent-%COMP%]:active, .btn-relief-warning.active[_ngcontent-%COMP%], .btn-relief-warning[_ngcontent-%COMP%]:focus {\n background-color: #ff922a;\n}.btn-relief-warning[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.btn-relief-warning[_ngcontent-%COMP%]:active, .btn-relief-warning.active[_ngcontent-%COMP%] {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-warning[_ngcontent-%COMP%] {\n border: 1px solid #ff9f43 !important;\n background-color: transparent;\n color: #ff9f43;\n}.btn-outline-warning[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.04);\n color: #ff9f43;\n}.btn-outline-warning[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-warning[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-outline-warning[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .btn-outline-warning[_ngcontent-%COMP%]:not(:disabled):not(.disabled):focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}.btn-outline-warning.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show[_ngcontent-%COMP%] > .btn-outline-warning.dropdown-toggle[_ngcontent-%COMP%] {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}.btn-outline-warning.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%], .btn-flat-warning.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%] {\n background: radial-gradient(rgba(255, 159, 67, 0.2) 0, rgba(255, 159, 67, 0.3) 40%, rgba(255, 159, 67, 0.4) 50%, rgba(255, 159, 67, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-warning[_ngcontent-%COMP%] {\n background-color: #ff9f43;\n}.modal.modal-warning[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n color: #ff9f43;\n}.modal.modal-warning[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #ff9f43 !important;\n}.pagination-warning[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%] {\n background: #ff9f43 !important;\n color: #fff;\n}.pagination-warning[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.pagination-warning[_ngcontent-%COMP%] .page-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #ff9f43;\n}.pagination-warning[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover, .pagination-warning[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n background: #ff9f43;\n color: #fff;\n}.pagination-warning[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-warning[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after, .pagination-warning[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-warning[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-warning[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-warning[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before, .pagination-warning[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-warning[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-warning[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #ff9f43 !important;\n border-color: #ff9f43;\n box-shadow: 0 4px 18px -4px rgba(255, 159, 67, 0.65);\n}.progress-bar-warning[_ngcontent-%COMP%] {\n background-color: rgba(255, 159, 67, 0.12);\n}.progress-bar-warning[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] {\n background-color: #ff9f43;\n}.timeline[_ngcontent-%COMP%] .timeline-point-warning[_ngcontent-%COMP%] {\n border-color: #ff9f43 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-warning[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .timeline[_ngcontent-%COMP%] .timeline-point-warning[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n stroke: #ff9f43 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-warning.timeline-point-indicator[_ngcontent-%COMP%] {\n background-color: #ff9f43 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-warning.timeline-point-indicator[_ngcontent-%COMP%]:before {\n background: rgba(255, 159, 67, 0.12) !important;\n}.divider.divider-warning[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:before, .divider.divider-warning[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:after {\n border-color: #ff9f43 !important;\n}input[_ngcontent-%COMP%]:focus ~ .bg-warning[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ff9f43 !important;\n}.custom-control-warning[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-warning[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #ff9f43;\n background-color: #ff9f43;\n}.custom-control-warning.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-warning.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-warning.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-warning.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-warning.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-warning.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n box-shadow: 0 2px 4px 0 rgba(255, 159, 67, 0.4) !important;\n}.custom-control-warning[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:disabled:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: rgba(255, 159, 67, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-warning[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #ff9f43 !important;\n}.custom-switch-warning[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: #ff9f43 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-warning[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background: #ff9f43 !important;\n border-color: #ff9f43 !important;\n}.text-warning.text-darken-1[_ngcontent-%COMP%] {\n color: #ff922a !important;\n}.bg-warning.bg-darken-1[_ngcontent-%COMP%] {\n background-color: #ff922a !important;\n}.border-warning.border-darken-1[_ngcontent-%COMP%] {\n border: 1px solid #ff922a !important;\n}.border-top-warning.border-top-darken-1[_ngcontent-%COMP%] {\n border-top: 1px solid #ff922a !important;\n}.border-bottom-warning.border-bottom-darken-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ff922a !important;\n}.border-left-warning.border-left-darken-1[_ngcontent-%COMP%] {\n border-left: 1px solid #ff922a !important;\n}.border-right-warning.border-right-darken-1[_ngcontent-%COMP%] {\n border-right: 1px solid #ff922a !important;\n}.overlay-warning.overlay-darken-1[_ngcontent-%COMP%] {\n background: #ff922a; \n background: rgba(255, 146, 42, 0.6);\n}.text-warning.text-darken-2[_ngcontent-%COMP%] {\n color: #ff8510 !important;\n}.bg-warning.bg-darken-2[_ngcontent-%COMP%] {\n background-color: #ff8510 !important;\n}.border-warning.border-darken-2[_ngcontent-%COMP%] {\n border: 1px solid #ff8510 !important;\n}.border-top-warning.border-top-darken-2[_ngcontent-%COMP%] {\n border-top: 1px solid #ff8510 !important;\n}.border-bottom-warning.border-bottom-darken-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ff8510 !important;\n}.border-left-warning.border-left-darken-2[_ngcontent-%COMP%] {\n border-left: 1px solid #ff8510 !important;\n}.border-right-warning.border-right-darken-2[_ngcontent-%COMP%] {\n border-right: 1px solid #ff8510 !important;\n}.overlay-warning.overlay-darken-2[_ngcontent-%COMP%] {\n background: #ff8510; \n background: rgba(255, 133, 16, 0.6);\n}.text-warning.text-darken-3[_ngcontent-%COMP%] {\n color: #f67800 !important;\n}.bg-warning.bg-darken-3[_ngcontent-%COMP%] {\n background-color: #f67800 !important;\n}.border-warning.border-darken-3[_ngcontent-%COMP%] {\n border: 1px solid #f67800 !important;\n}.border-top-warning.border-top-darken-3[_ngcontent-%COMP%] {\n border-top: 1px solid #f67800 !important;\n}.border-bottom-warning.border-bottom-darken-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #f67800 !important;\n}.border-left-warning.border-left-darken-3[_ngcontent-%COMP%] {\n border-left: 1px solid #f67800 !important;\n}.border-right-warning.border-right-darken-3[_ngcontent-%COMP%] {\n border-right: 1px solid #f67800 !important;\n}.overlay-warning.overlay-darken-3[_ngcontent-%COMP%] {\n background: #f67800; \n background: rgba(246, 120, 0, 0.6);\n}.text-warning.text-darken-4[_ngcontent-%COMP%] {\n color: #dc6c00 !important;\n}.bg-warning.bg-darken-4[_ngcontent-%COMP%] {\n background-color: #dc6c00 !important;\n}.border-warning.border-darken-4[_ngcontent-%COMP%] {\n border: 1px solid #dc6c00 !important;\n}.border-top-warning.border-top-darken-4[_ngcontent-%COMP%] {\n border-top: 1px solid #dc6c00 !important;\n}.border-bottom-warning.border-bottom-darken-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #dc6c00 !important;\n}.border-left-warning.border-left-darken-4[_ngcontent-%COMP%] {\n border-left: 1px solid #dc6c00 !important;\n}.border-right-warning.border-right-darken-4[_ngcontent-%COMP%] {\n border-right: 1px solid #dc6c00 !important;\n}.overlay-warning.overlay-darken-4[_ngcontent-%COMP%] {\n background: #dc6c00; \n background: rgba(220, 108, 0, 0.6);\n}.text-warning.text-accent-1[_ngcontent-%COMP%] {\n color: #fff5ef !important;\n}.bg-warning.bg-accent-1[_ngcontent-%COMP%] {\n background-color: #fff5ef !important;\n}.border-warning.border-accent-1[_ngcontent-%COMP%] {\n border: 1px solid #fff5ef !important;\n}.border-top-warning.border-top-accent-1[_ngcontent-%COMP%] {\n border-top: 1px solid #fff5ef !important;\n}.border-bottom-warning.border-bottom-accent-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #fff5ef !important;\n}.border-left-warning.border-left-accent-1[_ngcontent-%COMP%] {\n border-left: 1px solid #fff5ef !important;\n}.border-right-warning.border-right-accent-1[_ngcontent-%COMP%] {\n border-right: 1px solid #fff5ef !important;\n}.overlay-warning.overlay-accent-1[_ngcontent-%COMP%] {\n background: #fff5ef; \n background: rgba(255, 245, 239, 0.6);\n}.text-warning.text-accent-2[_ngcontent-%COMP%] {\n color: #ffe5d8 !important;\n}.bg-warning.bg-accent-2[_ngcontent-%COMP%] {\n background-color: #ffe5d8 !important;\n}.border-warning.border-accent-2[_ngcontent-%COMP%] {\n border: 1px solid #ffe5d8 !important;\n}.border-top-warning.border-top-accent-2[_ngcontent-%COMP%] {\n border-top: 1px solid #ffe5d8 !important;\n}.border-bottom-warning.border-bottom-accent-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffe5d8 !important;\n}.border-left-warning.border-left-accent-2[_ngcontent-%COMP%] {\n border-left: 1px solid #ffe5d8 !important;\n}.border-right-warning.border-right-accent-2[_ngcontent-%COMP%] {\n border-right: 1px solid #ffe5d8 !important;\n}.overlay-warning.overlay-accent-2[_ngcontent-%COMP%] {\n background: #ffe5d8; \n background: rgba(255, 229, 216, 0.6);\n}.text-warning.text-accent-3[_ngcontent-%COMP%] {\n color: #fff6f3 !important;\n}.bg-warning.bg-accent-3[_ngcontent-%COMP%] {\n background-color: #fff6f3 !important;\n}.border-warning.border-accent-3[_ngcontent-%COMP%] {\n border: 1px solid #fff6f3 !important;\n}.border-top-warning.border-top-accent-3[_ngcontent-%COMP%] {\n border-top: 1px solid #fff6f3 !important;\n}.border-bottom-warning.border-bottom-accent-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #fff6f3 !important;\n}.border-left-warning.border-left-accent-3[_ngcontent-%COMP%] {\n border-left: 1px solid #fff6f3 !important;\n}.border-right-warning.border-right-accent-3[_ngcontent-%COMP%] {\n border-right: 1px solid #fff6f3 !important;\n}.overlay-warning.overlay-accent-3[_ngcontent-%COMP%] {\n background: #fff6f3; \n background: rgba(255, 246, 243, 0.6);\n}.text-warning.text-accent-4[_ngcontent-%COMP%] {\n color: #ffe3da !important;\n}.bg-warning.bg-accent-4[_ngcontent-%COMP%] {\n background-color: #ffe3da !important;\n}.border-warning.border-accent-4[_ngcontent-%COMP%] {\n border: 1px solid #ffe3da !important;\n}.border-top-warning.border-top-accent-4[_ngcontent-%COMP%] {\n border-top: 1px solid #ffe3da !important;\n}.border-bottom-warning.border-bottom-accent-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffe3da !important;\n}.border-left-warning.border-left-accent-4[_ngcontent-%COMP%] {\n border-left: 1px solid #ffe3da !important;\n}.border-right-warning.border-right-accent-4[_ngcontent-%COMP%] {\n border-right: 1px solid #ffe3da !important;\n}.overlay-warning.overlay-accent-4[_ngcontent-%COMP%] {\n background: #ffe3da; \n background: rgba(255, 227, 218, 0.6);\n}.text-danger.text-lighten-5[_ngcontent-%COMP%] {\n color: #f8c6c6 !important;\n}.bg-danger.bg-lighten-5[_ngcontent-%COMP%] {\n background-color: #f8c6c6 !important;\n}.border-danger.border-lighten-5[_ngcontent-%COMP%] {\n border: 1px solid #f8c6c6 !important;\n}.border-top-danger.border-top-lighten-5[_ngcontent-%COMP%] {\n border-top: 1px solid #f8c6c6 !important;\n}.border-bottom-danger.border-bottom-lighten-5[_ngcontent-%COMP%] {\n border-bottom: 1px solid #f8c6c6 !important;\n}.border-left-danger.border-left-lighten-5[_ngcontent-%COMP%] {\n border-left: 1px solid #f8c6c6 !important;\n}.border-right-danger.border-right-lighten-5[_ngcontent-%COMP%] {\n border-right: 1px solid #f8c6c6 !important;\n}.overlay-danger.overlay-lighten-5[_ngcontent-%COMP%] {\n background: #f8c6c6; \n background: rgba(248, 198, 198, 0.6);\n}.text-danger.text-lighten-4[_ngcontent-%COMP%] {\n color: #f5afaf !important;\n}.bg-danger.bg-lighten-4[_ngcontent-%COMP%] {\n background-color: #f5afaf !important;\n}.border-danger.border-lighten-4[_ngcontent-%COMP%] {\n border: 1px solid #f5afaf !important;\n}.border-top-danger.border-top-lighten-4[_ngcontent-%COMP%] {\n border-top: 1px solid #f5afaf !important;\n}.border-bottom-danger.border-bottom-lighten-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #f5afaf !important;\n}.border-left-danger.border-left-lighten-4[_ngcontent-%COMP%] {\n border-left: 1px solid #f5afaf !important;\n}.border-right-danger.border-right-lighten-4[_ngcontent-%COMP%] {\n border-right: 1px solid #f5afaf !important;\n}.overlay-danger.overlay-lighten-4[_ngcontent-%COMP%] {\n background: #f5afaf; \n background: rgba(245, 175, 175, 0.6);\n}.text-danger.text-lighten-3[_ngcontent-%COMP%] {\n color: #f29899 !important;\n}.bg-danger.bg-lighten-3[_ngcontent-%COMP%] {\n background-color: #f29899 !important;\n}.border-danger.border-lighten-3[_ngcontent-%COMP%] {\n border: 1px solid #f29899 !important;\n}.border-top-danger.border-top-lighten-3[_ngcontent-%COMP%] {\n border-top: 1px solid #f29899 !important;\n}.border-bottom-danger.border-bottom-lighten-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #f29899 !important;\n}.border-left-danger.border-left-lighten-3[_ngcontent-%COMP%] {\n border-left: 1px solid #f29899 !important;\n}.border-right-danger.border-right-lighten-3[_ngcontent-%COMP%] {\n border-right: 1px solid #f29899 !important;\n}.overlay-danger.overlay-lighten-3[_ngcontent-%COMP%] {\n background: #f29899; \n background: rgba(242, 152, 153, 0.6);\n}.text-danger.text-lighten-2[_ngcontent-%COMP%] {\n color: #f08182 !important;\n}.bg-danger.bg-lighten-2[_ngcontent-%COMP%] {\n background-color: #f08182 !important;\n}.border-danger.border-lighten-2[_ngcontent-%COMP%] {\n border: 1px solid #f08182 !important;\n}.border-top-danger.border-top-lighten-2[_ngcontent-%COMP%] {\n border-top: 1px solid #f08182 !important;\n}.border-bottom-danger.border-bottom-lighten-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #f08182 !important;\n}.border-left-danger.border-left-lighten-2[_ngcontent-%COMP%] {\n border-left: 1px solid #f08182 !important;\n}.border-right-danger.border-right-lighten-2[_ngcontent-%COMP%] {\n border-right: 1px solid #f08182 !important;\n}.overlay-danger.overlay-lighten-2[_ngcontent-%COMP%] {\n background: #f08182; \n background: rgba(240, 129, 130, 0.6);\n}.text-danger.text-lighten-1[_ngcontent-%COMP%] {\n color: #ed6b6c !important;\n}.bg-danger.bg-lighten-1[_ngcontent-%COMP%] {\n background-color: #ed6b6c !important;\n}.border-danger.border-lighten-1[_ngcontent-%COMP%] {\n border: 1px solid #ed6b6c !important;\n}.border-top-danger.border-top-lighten-1[_ngcontent-%COMP%] {\n border-top: 1px solid #ed6b6c !important;\n}.border-bottom-danger.border-bottom-lighten-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ed6b6c !important;\n}.border-left-danger.border-left-lighten-1[_ngcontent-%COMP%] {\n border-left: 1px solid #ed6b6c !important;\n}.border-right-danger.border-right-lighten-1[_ngcontent-%COMP%] {\n border-right: 1px solid #ed6b6c !important;\n}.overlay-danger.overlay-lighten-1[_ngcontent-%COMP%] {\n background: #ed6b6c; \n background: rgba(237, 107, 108, 0.6);\n}.bg-danger[_ngcontent-%COMP%] {\n background-color: #ea5455 !important;\n}.bg-danger[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%], .bg-danger[_ngcontent-%COMP%] .card-footer[_ngcontent-%COMP%] {\n background-color: transparent;\n}.alert-danger[_ngcontent-%COMP%] {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}.alert-danger[_ngcontent-%COMP%] .alert-heading[_ngcontent-%COMP%] {\n box-shadow: rgba(234, 84, 85, 0.4) 0px 6px 15px -7px;\n}.alert-danger[_ngcontent-%COMP%] .alert-link[_ngcontent-%COMP%] {\n color: #e73d3e !important;\n}.alert-danger[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #ea5455 !important;\n}.bg-light-danger[_ngcontent-%COMP%] {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}.bg-light-danger.fc-h-event[_ngcontent-%COMP%], .bg-light-danger.fc-v-event[_ngcontent-%COMP%] {\n border-color: rgba(234, 84, 85, 0.1);\n}.bg-light-danger[_ngcontent-%COMP%] .fc-list-event-dot[_ngcontent-%COMP%], .bg-light-danger[_ngcontent-%COMP%] .fc-daygrid-event-dot[_ngcontent-%COMP%] {\n border-color: #ea5455 !important;\n}.bg-light-danger.fc-list-event[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%] {\n background: rgba(234, 84, 85, 0.1) !important;\n}.bg-light-danger.fc-list-event[_ngcontent-%COMP%] .fc-list-event-title[_ngcontent-%COMP%] {\n color: #6e6b7b;\n}.avatar.bg-light-danger[_ngcontent-%COMP%] {\n color: #ea5455 !important;\n}.border-danger[_ngcontent-%COMP%] {\n border: 1px solid #ea5455 !important;\n}.border-top-danger[_ngcontent-%COMP%] {\n border-top: 1px solid #ea5455;\n}.border-bottom-danger[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ea5455;\n}.border-left-danger[_ngcontent-%COMP%] {\n border-left: 1px solid #ea5455;\n}.border-right-danger[_ngcontent-%COMP%] {\n border-right: 1px solid #ea5455;\n}.bg-danger.badge-glow[_ngcontent-%COMP%], .border-danger.badge-glow[_ngcontent-%COMP%], .badge-danger.badge-glow[_ngcontent-%COMP%] {\n box-shadow: 0px 0px 10px #ea5455;\n}.badge.badge-light-danger[_ngcontent-%COMP%] {\n background-color: rgba(234, 84, 85, 0.12);\n color: #ea5455 !important;\n}.overlay-danger[_ngcontent-%COMP%] {\n background: #ea5455; \n background: rgba(234, 84, 85, 0.6);\n}.btn-danger[_ngcontent-%COMP%] {\n border-color: #ea5455 !important;\n background-color: #ea5455 !important;\n color: #fff !important;\n}.btn-danger[_ngcontent-%COMP%]:focus, .btn-danger[_ngcontent-%COMP%]:active, .btn-danger.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #e73d3e !important;\n}.btn-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ea5455;\n}.btn-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-flat-danger[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #ea5455;\n}.btn-flat-danger[_ngcontent-%COMP%]:hover {\n color: #ea5455;\n}.btn-flat-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.12);\n}.btn-flat-danger[_ngcontent-%COMP%]:active, .btn-flat-danger.active[_ngcontent-%COMP%], .btn-flat-danger[_ngcontent-%COMP%]:focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}.btn-flat-danger.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.btn-relief-danger[_ngcontent-%COMP%] {\n background-color: #ea5455;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}.btn-relief-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: #ed6b6c;\n}.btn-relief-danger[_ngcontent-%COMP%]:active, .btn-relief-danger.active[_ngcontent-%COMP%], .btn-relief-danger[_ngcontent-%COMP%]:focus {\n background-color: #e73d3e;\n}.btn-relief-danger[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.btn-relief-danger[_ngcontent-%COMP%]:active, .btn-relief-danger.active[_ngcontent-%COMP%] {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}.btn-outline-danger[_ngcontent-%COMP%] {\n border: 1px solid #ea5455 !important;\n background-color: transparent;\n color: #ea5455;\n}.btn-outline-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.04);\n color: #ea5455;\n}.btn-outline-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}.btn-outline-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-outline-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .btn-outline-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled):focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}.btn-outline-danger.dropdown-toggle[_ngcontent-%COMP%]::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}.show[_ngcontent-%COMP%] > .btn-outline-danger.dropdown-toggle[_ngcontent-%COMP%] {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}.btn-outline-danger.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%], .btn-flat-danger.waves-effect[_ngcontent-%COMP%] .waves-ripple[_ngcontent-%COMP%] {\n background: radial-gradient(rgba(234, 84, 85, 0.2) 0, rgba(234, 84, 85, 0.3) 40%, rgba(234, 84, 85, 0.4) 50%, rgba(234, 84, 85, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}.bullet.bullet-danger[_ngcontent-%COMP%] {\n background-color: #ea5455;\n}.modal.modal-danger[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n color: #ea5455;\n}.modal.modal-danger[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #ea5455 !important;\n}.pagination-danger[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%] {\n background: #ea5455 !important;\n color: #fff;\n}.pagination-danger[_ngcontent-%COMP%] .page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #fff;\n}.pagination-danger[_ngcontent-%COMP%] .page-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n color: #ea5455;\n}.pagination-danger[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover, .pagination-danger[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover {\n background: #ea5455;\n color: #fff;\n}.pagination-danger[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-danger[_ngcontent-%COMP%] .page-item.next-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after, .pagination-danger[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:after, .pagination-danger[_ngcontent-%COMP%] .page-item.next[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.pagination-danger[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-danger[_ngcontent-%COMP%] .page-item.prev-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before, .pagination-danger[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:active:before, .pagination-danger[_ngcontent-%COMP%] .page-item.prev[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}.nav-pill-danger[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #ea5455 !important;\n border-color: #ea5455;\n box-shadow: 0 4px 18px -4px rgba(234, 84, 85, 0.65);\n}.progress-bar-danger[_ngcontent-%COMP%] {\n background-color: rgba(234, 84, 85, 0.12);\n}.progress-bar-danger[_ngcontent-%COMP%] .progress-bar[_ngcontent-%COMP%] {\n background-color: #ea5455;\n}.timeline[_ngcontent-%COMP%] .timeline-point-danger[_ngcontent-%COMP%] {\n border-color: #ea5455 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-danger[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .timeline[_ngcontent-%COMP%] .timeline-point-danger[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n stroke: #ea5455 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-danger.timeline-point-indicator[_ngcontent-%COMP%] {\n background-color: #ea5455 !important;\n}.timeline[_ngcontent-%COMP%] .timeline-point-danger.timeline-point-indicator[_ngcontent-%COMP%]:before {\n background: rgba(234, 84, 85, 0.12) !important;\n}.divider.divider-danger[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:before, .divider.divider-danger[_ngcontent-%COMP%] .divider-text[_ngcontent-%COMP%]:after {\n border-color: #ea5455 !important;\n}input[_ngcontent-%COMP%]:focus ~ .bg-danger[_ngcontent-%COMP%] {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ea5455 !important;\n}.custom-control-danger[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-danger[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #ea5455;\n background-color: #ea5455;\n}.custom-control-danger.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-danger.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-danger.custom-checkbox[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-danger.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-danger.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:active ~ .custom-control-label[_ngcontent-%COMP%]::before, .custom-control-danger.custom-radio[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n box-shadow: 0 2px 4px 0 rgba(234, 84, 85, 0.4) !important;\n}.custom-control-danger[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:disabled:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: rgba(234, 84, 85, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}.custom-control-danger[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:focus ~ .custom-control-label[_ngcontent-%COMP%]::before {\n border-color: #ea5455 !important;\n}.custom-switch-danger[_ngcontent-%COMP%] .custom-control-input[_ngcontent-%COMP%]:checked ~ .custom-control-label[_ngcontent-%COMP%]::before {\n background-color: #ea5455 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}.select2-danger[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%] {\n background: #ea5455 !important;\n border-color: #ea5455 !important;\n}.text-danger.text-darken-1[_ngcontent-%COMP%] {\n color: #e73d3e !important;\n}.bg-danger.bg-darken-1[_ngcontent-%COMP%] {\n background-color: #e73d3e !important;\n}.border-danger.border-darken-1[_ngcontent-%COMP%] {\n border: 1px solid #e73d3e !important;\n}.border-top-danger.border-top-darken-1[_ngcontent-%COMP%] {\n border-top: 1px solid #e73d3e !important;\n}.border-bottom-danger.border-bottom-darken-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e73d3e !important;\n}.border-left-danger.border-left-darken-1[_ngcontent-%COMP%] {\n border-left: 1px solid #e73d3e !important;\n}.border-right-danger.border-right-darken-1[_ngcontent-%COMP%] {\n border-right: 1px solid #e73d3e !important;\n}.overlay-danger.overlay-darken-1[_ngcontent-%COMP%] {\n background: #e73d3e; \n background: rgba(231, 61, 62, 0.6);\n}.text-danger.text-darken-2[_ngcontent-%COMP%] {\n color: #e42728 !important;\n}.bg-danger.bg-darken-2[_ngcontent-%COMP%] {\n background-color: #e42728 !important;\n}.border-danger.border-darken-2[_ngcontent-%COMP%] {\n border: 1px solid #e42728 !important;\n}.border-top-danger.border-top-darken-2[_ngcontent-%COMP%] {\n border-top: 1px solid #e42728 !important;\n}.border-bottom-danger.border-bottom-darken-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e42728 !important;\n}.border-left-danger.border-left-darken-2[_ngcontent-%COMP%] {\n border-left: 1px solid #e42728 !important;\n}.border-right-danger.border-right-darken-2[_ngcontent-%COMP%] {\n border-right: 1px solid #e42728 !important;\n}.overlay-danger.overlay-darken-2[_ngcontent-%COMP%] {\n background: #e42728; \n background: rgba(228, 39, 40, 0.6);\n}.text-danger.text-darken-3[_ngcontent-%COMP%] {\n color: #d71a1c !important;\n}.bg-danger.bg-darken-3[_ngcontent-%COMP%] {\n background-color: #d71a1c !important;\n}.border-danger.border-darken-3[_ngcontent-%COMP%] {\n border: 1px solid #d71a1c !important;\n}.border-top-danger.border-top-darken-3[_ngcontent-%COMP%] {\n border-top: 1px solid #d71a1c !important;\n}.border-bottom-danger.border-bottom-darken-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #d71a1c !important;\n}.border-left-danger.border-left-darken-3[_ngcontent-%COMP%] {\n border-left: 1px solid #d71a1c !important;\n}.border-right-danger.border-right-darken-3[_ngcontent-%COMP%] {\n border-right: 1px solid #d71a1c !important;\n}.overlay-danger.overlay-darken-3[_ngcontent-%COMP%] {\n background: #d71a1c; \n background: rgba(215, 26, 28, 0.6);\n}.text-danger.text-darken-4[_ngcontent-%COMP%] {\n color: #c01819 !important;\n}.bg-danger.bg-darken-4[_ngcontent-%COMP%] {\n background-color: #c01819 !important;\n}.border-danger.border-darken-4[_ngcontent-%COMP%] {\n border: 1px solid #c01819 !important;\n}.border-top-danger.border-top-darken-4[_ngcontent-%COMP%] {\n border-top: 1px solid #c01819 !important;\n}.border-bottom-danger.border-bottom-darken-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #c01819 !important;\n}.border-left-danger.border-left-darken-4[_ngcontent-%COMP%] {\n border-left: 1px solid #c01819 !important;\n}.border-right-danger.border-right-darken-4[_ngcontent-%COMP%] {\n border-right: 1px solid #c01819 !important;\n}.overlay-danger.overlay-darken-4[_ngcontent-%COMP%] {\n background: #c01819; \n background: rgba(192, 24, 25, 0.6);\n}.text-danger.text-accent-1[_ngcontent-%COMP%] {\n color: #ffeef1 !important;\n}.bg-danger.bg-accent-1[_ngcontent-%COMP%] {\n background-color: #ffeef1 !important;\n}.border-danger.border-accent-1[_ngcontent-%COMP%] {\n border: 1px solid #ffeef1 !important;\n}.border-top-danger.border-top-accent-1[_ngcontent-%COMP%] {\n border-top: 1px solid #ffeef1 !important;\n}.border-bottom-danger.border-bottom-accent-1[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffeef1 !important;\n}.border-left-danger.border-left-accent-1[_ngcontent-%COMP%] {\n border-left: 1px solid #ffeef1 !important;\n}.border-right-danger.border-right-accent-1[_ngcontent-%COMP%] {\n border-right: 1px solid #ffeef1 !important;\n}.overlay-danger.overlay-accent-1[_ngcontent-%COMP%] {\n background: #ffeef1; \n background: rgba(255, 238, 241, 0.6);\n}.text-danger.text-accent-2[_ngcontent-%COMP%] {\n color: #ffd6db !important;\n}.bg-danger.bg-accent-2[_ngcontent-%COMP%] {\n background-color: #ffd6db !important;\n}.border-danger.border-accent-2[_ngcontent-%COMP%] {\n border: 1px solid #ffd6db !important;\n}.border-top-danger.border-top-accent-2[_ngcontent-%COMP%] {\n border-top: 1px solid #ffd6db !important;\n}.border-bottom-danger.border-bottom-accent-2[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffd6db !important;\n}.border-left-danger.border-left-accent-2[_ngcontent-%COMP%] {\n border-left: 1px solid #ffd6db !important;\n}.border-right-danger.border-right-accent-2[_ngcontent-%COMP%] {\n border-right: 1px solid #ffd6db !important;\n}.overlay-danger.overlay-accent-2[_ngcontent-%COMP%] {\n background: #ffd6db; \n background: rgba(255, 214, 219, 0.6);\n}.text-danger.text-accent-3[_ngcontent-%COMP%] {\n color: #ffecee !important;\n}.bg-danger.bg-accent-3[_ngcontent-%COMP%] {\n background-color: #ffecee !important;\n}.border-danger.border-accent-3[_ngcontent-%COMP%] {\n border: 1px solid #ffecee !important;\n}.border-top-danger.border-top-accent-3[_ngcontent-%COMP%] {\n border-top: 1px solid #ffecee !important;\n}.border-bottom-danger.border-bottom-accent-3[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffecee !important;\n}.border-left-danger.border-left-accent-3[_ngcontent-%COMP%] {\n border-left: 1px solid #ffecee !important;\n}.border-right-danger.border-right-accent-3[_ngcontent-%COMP%] {\n border-right: 1px solid #ffecee !important;\n}.overlay-danger.overlay-accent-3[_ngcontent-%COMP%] {\n background: #ffecee; \n background: rgba(255, 236, 238, 0.6);\n}.text-danger.text-accent-4[_ngcontent-%COMP%] {\n color: #ffd3d7 !important;\n}.bg-danger.bg-accent-4[_ngcontent-%COMP%] {\n background-color: #ffd3d7 !important;\n}.border-danger.border-accent-4[_ngcontent-%COMP%] {\n border: 1px solid #ffd3d7 !important;\n}.border-top-danger.border-top-accent-4[_ngcontent-%COMP%] {\n border-top: 1px solid #ffd3d7 !important;\n}.border-bottom-danger.border-bottom-accent-4[_ngcontent-%COMP%] {\n border-bottom: 1px solid #ffd3d7 !important;\n}.border-left-danger.border-left-accent-4[_ngcontent-%COMP%] {\n border-left: 1px solid #ffd3d7 !important;\n}.border-right-danger.border-right-accent-4[_ngcontent-%COMP%] {\n border-right: 1px solid #ffd3d7 !important;\n}.overlay-danger.overlay-accent-4[_ngcontent-%COMP%] {\n background: #ffd3d7; \n background: rgba(255, 211, 215, 0.6);\n}.bg-gradient-dark[_ngcontent-%COMP%], .btn-gradient-dark[_ngcontent-%COMP%] {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #4b4b4b, #1e1e1e);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.dark-layout[_ngcontent-%COMP%] .bg-gradient-dark[_ngcontent-%COMP%], .dark-layout[_ngcontent-%COMP%] .btn-gradient-dark[_ngcontent-%COMP%] {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-dark[_ngcontent-%COMP%]:hover, .bg-gradient-dark[_ngcontent-%COMP%]:active, .btn-gradient-dark[_ngcontent-%COMP%]:hover, .btn-gradient-dark[_ngcontent-%COMP%]:active {\n color: #fff;\n}.bg-gradient-dark[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .btn-gradient-dark[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-dark[_ngcontent-%COMP%]:active, .btn-gradient-dark[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}.bg-gradient-dark[_ngcontent-%COMP%]:active, .bg-gradient-dark[_ngcontent-%COMP%]:focus, .btn-gradient-dark[_ngcontent-%COMP%]:active, .btn-gradient-dark[_ngcontent-%COMP%]:focus {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-primary[_ngcontent-%COMP%], .btn-gradient-primary[_ngcontent-%COMP%] {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #7367f0, #9e95f5);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-primary[_ngcontent-%COMP%]:hover, .bg-gradient-primary[_ngcontent-%COMP%]:active, .btn-gradient-primary[_ngcontent-%COMP%]:hover, .btn-gradient-primary[_ngcontent-%COMP%]:active {\n color: #fff;\n}.bg-gradient-primary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .btn-gradient-primary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-primary[_ngcontent-%COMP%]:active, .btn-gradient-primary[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}.bg-gradient-primary[_ngcontent-%COMP%]:active, .bg-gradient-primary[_ngcontent-%COMP%]:focus, .btn-gradient-primary[_ngcontent-%COMP%]:active, .btn-gradient-primary[_ngcontent-%COMP%]:focus {\n background-image: linear-gradient(47deg, #4839eb, #7367f0);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-secondary[_ngcontent-%COMP%], .btn-gradient-secondary[_ngcontent-%COMP%] {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #82868b, #9ca0a4);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-secondary[_ngcontent-%COMP%]:hover, .bg-gradient-secondary[_ngcontent-%COMP%]:active, .btn-gradient-secondary[_ngcontent-%COMP%]:hover, .btn-gradient-secondary[_ngcontent-%COMP%]:active {\n color: #fff;\n}.bg-gradient-secondary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .btn-gradient-secondary[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-secondary[_ngcontent-%COMP%]:active, .btn-gradient-secondary[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}.bg-gradient-secondary[_ngcontent-%COMP%]:active, .bg-gradient-secondary[_ngcontent-%COMP%]:focus, .btn-gradient-secondary[_ngcontent-%COMP%]:active, .btn-gradient-secondary[_ngcontent-%COMP%]:focus {\n background-image: linear-gradient(47deg, #696d71, #82868b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-success[_ngcontent-%COMP%], .btn-gradient-success[_ngcontent-%COMP%] {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #28c76f, #48da89);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-success[_ngcontent-%COMP%]:hover, .bg-gradient-success[_ngcontent-%COMP%]:active, .btn-gradient-success[_ngcontent-%COMP%]:hover, .btn-gradient-success[_ngcontent-%COMP%]:active {\n color: #fff;\n}.bg-gradient-success[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .btn-gradient-success[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-success[_ngcontent-%COMP%]:active, .btn-gradient-success[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}.bg-gradient-success[_ngcontent-%COMP%]:active, .bg-gradient-success[_ngcontent-%COMP%]:focus, .btn-gradient-success[_ngcontent-%COMP%]:active, .btn-gradient-success[_ngcontent-%COMP%]:focus {\n background-image: linear-gradient(47deg, #1f9d57, #28c76f);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-info[_ngcontent-%COMP%], .btn-gradient-info[_ngcontent-%COMP%] {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #00cfe8, #1ce7ff);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-info[_ngcontent-%COMP%]:hover, .bg-gradient-info[_ngcontent-%COMP%]:active, .btn-gradient-info[_ngcontent-%COMP%]:hover, .btn-gradient-info[_ngcontent-%COMP%]:active {\n color: #fff;\n}.bg-gradient-info[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .btn-gradient-info[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-info[_ngcontent-%COMP%]:active, .btn-gradient-info[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}.bg-gradient-info[_ngcontent-%COMP%]:active, .bg-gradient-info[_ngcontent-%COMP%]:focus, .btn-gradient-info[_ngcontent-%COMP%]:active, .btn-gradient-info[_ngcontent-%COMP%]:focus {\n background-image: linear-gradient(47deg, #00a1b5, #00cfe8);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-warning[_ngcontent-%COMP%], .btn-gradient-warning[_ngcontent-%COMP%] {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ff9f43, #ffb976);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-warning[_ngcontent-%COMP%]:hover, .bg-gradient-warning[_ngcontent-%COMP%]:active, .btn-gradient-warning[_ngcontent-%COMP%]:hover, .btn-gradient-warning[_ngcontent-%COMP%]:active {\n color: #fff;\n}.bg-gradient-warning[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .btn-gradient-warning[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-warning[_ngcontent-%COMP%]:active, .btn-gradient-warning[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}.bg-gradient-warning[_ngcontent-%COMP%]:active, .bg-gradient-warning[_ngcontent-%COMP%]:focus, .btn-gradient-warning[_ngcontent-%COMP%]:active, .btn-gradient-warning[_ngcontent-%COMP%]:focus {\n background-image: linear-gradient(47deg, #ff8510, #ff9f43);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-danger[_ngcontent-%COMP%], .btn-gradient-danger[_ngcontent-%COMP%] {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ea5455, #f08182);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.bg-gradient-danger[_ngcontent-%COMP%]:hover, .bg-gradient-danger[_ngcontent-%COMP%]:active, .btn-gradient-danger[_ngcontent-%COMP%]:hover, .btn-gradient-danger[_ngcontent-%COMP%]:active {\n color: #fff;\n}.bg-gradient-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled), .btn-gradient-danger[_ngcontent-%COMP%]:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}.bg-gradient-danger[_ngcontent-%COMP%]:active, .btn-gradient-danger[_ngcontent-%COMP%]:active {\n transform: translateY(0);\n}.bg-gradient-danger[_ngcontent-%COMP%]:active, .bg-gradient-danger[_ngcontent-%COMP%]:focus, .btn-gradient-danger[_ngcontent-%COMP%]:active, .btn-gradient-danger[_ngcontent-%COMP%]:focus {\n background-image: linear-gradient(47deg, #e42728, #ea5455);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}.ng-select.ng-select-focused[_ngcontent-%COMP%] {\n outline: 0;\n box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1);\n}.ng-select.ng-select-focused[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] {\n border-color: #7367f0 !important;\n z-index: 2000 !important;\n box-shadow: none !important;\n color: #6e6b7b !important;\n min-height: 38px !important;\n}.ng-select[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] {\n color: #6e6b7b !important;\n min-height: 38px !important;\n}.ng-select.error[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] {\n border-color: #ea5455 !important;\n}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] {\n background-color: #7367f0 !important;\n color: #fff;\n border: none !important;\n font-size: 0.8rem !important;\n border-radius: 4px !important;\n display: flex;\n align-items: center;\n}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.right[_ngcontent-%COMP%] {\n border: 0 !important;\n}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.left[_ngcontent-%COMP%] {\n border: 0 !important;\n}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon[_ngcontent-%COMP%]:hover {\n background-color: transparent !important;\n}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.left[_ngcontent-%COMP%] {\n font-size: 1.1rem !important;\n}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.right[_ngcontent-%COMP%] {\n font-size: 1.1rem !important;\n}.ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-placeholder[_ngcontent-%COMP%] {\n top: 8px !important;\n}.ng-select.ng-select-size-lg[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] {\n min-height: 48px;\n font-size: 1.2rem !important;\n}.ng-select.ng-select-size-lg[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] {\n font-size: 1.2rem !important;\n padding: 7px;\n}.ng-select.ng-select-size-lg[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.left[_ngcontent-%COMP%] {\n font-size: 1.1rem !important;\n}.ng-select.ng-select-size-lg[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.right[_ngcontent-%COMP%] {\n font-size: 1.1rem !important;\n}.ng-select.ng-select-size-lg[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-clear-wrapper[_ngcontent-%COMP%] {\n height: 22px !important;\n}.ng-select.ng-select-size-sm[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] {\n min-height: 28px !important;\n font-size: 0.75rem;\n}.ng-select.ng-select-size-sm[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] {\n padding: 0px;\n font-size: 0.9em !important;\n}.ng-select.ng-select-size-sm[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.left[_ngcontent-%COMP%] {\n font-size: 0.9em !important;\n}.ng-select.ng-select-size-sm[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] .ng-value-icon.right[_ngcontent-%COMP%] {\n font-size: 0.9em !important;\n}.ng-select[_ngcontent-%COMP%] .ng-option.ng-option-selected[_ngcontent-%COMP%] {\n background-color: #7367f0 !important;\n color: #fff !important;\n}.ng-select[_ngcontent-%COMP%] .ng-option.ng-option-selected.ng-option-marked[_ngcontent-%COMP%] {\n background-color: #7367f0 !important;\n color: #fff !important;\n}.ng-select[_ngcontent-%COMP%] .ng-option.ng-option-selected[_ngcontent-%COMP%] .ng-option-label[_ngcontent-%COMP%] {\n font-weight: inherit !important;\n}.ng-select[_ngcontent-%COMP%] .ng-option.ng-option-marked[_ngcontent-%COMP%] {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}.ng-select[_ngcontent-%COMP%] .ng-option.ng-option-disabled[_ngcontent-%COMP%] {\n color: #b9b9c3 !important;\n}.ng-select[_ngcontent-%COMP%] .ng-arrow[_ngcontent-%COMP%] {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaBAMAAABbZFH9AAAAG1BMVEUAAACRkZGRkZGSkpKRkZGSkpKSkpKRkZGRkZHLso+9AAAACHRSTlMA+1JoWo0vLFQDmmkAAABlSURBVBjTY6ALSACTbBAOazOYsggAUxEdBkCSuaMVxGGX6BABUo4djQUgrmJHhwFQqkMIrJJJoqOZwaKjUQHIhkg6g6QggEWiQ7Cj0QHIgkpCpaA6wbrgkiAphKSgArJTXRhoBgB9GRPswyvBqAAAAABJRU5ErkJggg==\");\n background-size: 12px 12px, 10px 10px;\n background-repeat: no-repeat;\n height: 0.8rem !important;\n padding-right: 1.5rem;\n margin-left: 0;\n margin-top: 0;\n left: 0;\n border-style: none !important;\n}.ng-select.ng-select-opened[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%] .ng-arrow[_ngcontent-%COMP%] {\n top: 0px !important;\n}.ng-select[_ngcontent-%COMP%] .ng-clear-wrapper[_ngcontent-%COMP%] {\n height: 18px;\n}.dark-layout[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] {\n background-color: #283046;\n border-color: #3b4253;\n color: #676d7d;\n}.dark-layout[_ngcontent-%COMP%] .ng-select-container[_ngcontent-%COMP%] .ng-placeholder[_ngcontent-%COMP%] {\n color: #676d7d !important;\n}.dark-layout[_ngcontent-%COMP%] .ng-select.ng-select-multiple[_ngcontent-%COMP%] .ng-value[_ngcontent-%COMP%] {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}.dark-layout[_ngcontent-%COMP%] .ng-dropdown-header[_ngcontent-%COMP%] {\n background-color: #161d31;\n border-color: #3b4253;\n}.dark-layout[_ngcontent-%COMP%] .ng-dropdown-footer[_ngcontent-%COMP%] {\n background-color: #161d31;\n border-color: #3b4253;\n}.dark-layout[_ngcontent-%COMP%] .ng-select.ng-select-opened[_ngcontent-%COMP%] > .ng-select-container[_ngcontent-%COMP%] {\n background-color: #161d31;\n}.dark-layout[_ngcontent-%COMP%] .ng-option[_ngcontent-%COMP%] {\n background-color: #283046 !important;\n color: #b4b7bd !important;\n}.dark-layout[_ngcontent-%COMP%] .ng-option.ng-option-disabled[_ngcontent-%COMP%] {\n color: #676d7d !important;\n}.dark-layout[_ngcontent-%COMP%] ng-dropdown-panel[_ngcontent-%COMP%] {\n border-color: #3b4253 !important;\n}.dark-layout[_ngcontent-%COMP%] ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] {\n background-color: #161d31 !important;\n}.dark-layout[_ngcontent-%COMP%] ng-dropdown-panel[_ngcontent-%COMP%] .ng-dropdown-panel-items[_ngcontent-%COMP%] .ng-optgroup[_ngcontent-%COMP%] {\n color: #676d7d !important;\n}\n/*# sourceMappingURL=register-api.component.scss.map */"] }); } /***/ }), /***/ 28582: /*!*************************************************************************!*\ !*** ./src/app/main/views/tools/applications/applications.component.ts ***! \*************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ApplicationsComponent": () => (/* binding */ ApplicationsComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/pipes/filter.pipe */ 69671); function ApplicationsComponent_div_11_Template(rf, ctx) { if (rf & 1) { const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 22)(1, "div", 23)(2, "input", 24); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("ngModelChange", function ApplicationsComponent_div_11_Template_input_ngModelChange_2_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r9); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r8.searchText = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](3, "div", 25)(4, "span", 26); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](5, "i", 27); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngModel", ctx_r0.searchText); } } function ApplicationsComponent_div_12_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 30)(1, "div", 31)(2, "h5", 32); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "h6", 33); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](6, "p", 34); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()(); } if (rf & 2) { const item_r11 = ctx.item; _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](item_r11.funcion); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](item_r11.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate2"](" ", item_r11.tipo, " --- ", item_r11.aplicacion, " "); } } function ApplicationsComponent_div_12_Template(rf, ctx) { if (rf & 1) { const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 22)(1, "ng-select", 28); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("ngModelChange", function ApplicationsComponent_div_12_Template_ng_select_ngModelChange_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r15); const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r14.selectCustomSelected = $event); })("change", function ApplicationsComponent_div_12_Template_ng_select_change_1_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵrestoreView"](_r15); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵresetView"](ctx_r16.LinkRuta($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](2, ApplicationsComponent_div_12_ng_template_2_Template, 8, 4, "ng-template", 29); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("items", ctx_r1.rowData)("ngModel", ctx_r1.selectCustomSelected)("searchable", true)("hideSelected", false); } } const _c0 = function (a0, a1) { return { "badge-success": a0, "badge-danger": a1 }; }; function ApplicationsComponent_div_15_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 35)(1, "a", 36)(2, "div", 37); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](3, "img", 38); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](4, "div", 31)(5, "div", 39)(6, "div", 40)(7, "div", 41); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](9, "div", 42)(10, "h6", 43); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](11); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](12, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](13, "p", 44)(14, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](15); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](16); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const product_r17 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("routerLink", "/tools/applications/" + product_r17.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpureFunction2"](8, _c0, product_r17.status === "1", product_r17.status === "0")); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" ", product_r17.status === "1" ? "Activo" : "Inactivo", " "); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind1"](12, 6, product_r17.nombre)); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate"](product_r17.basedatos); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" - ", product_r17.fecha, " "); } } function ApplicationsComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 45); } } function ApplicationsComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 46); } } function ApplicationsComponent_ng_template_28_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](0); } if (rf & 2) { const page_r18 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtextInterpolate1"](" ", page_r18, " "); } } function ApplicationsComponent_ng_template_29_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 47); } } function ApplicationsComponent_ng_template_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](0, "span", 48); } } class ApplicationsComponent { ruta; apiService; searchType = "conexiones"; // Valor inicial del select searchText = ''; // Para el input de búsqueda normal selectCustomSelected = []; // Para el ng-select contentHeader; closeResult = ''; codeTypeJs = ''; ListaAplicaciones = []; xAPI = { funcion: '', parametros: '', valores: '' }; page = 1; pageSize = 8; pageBasic = 1; drivers = []; developer = []; rowData = []; tempData = []; constructor(ruta, config, apiService) { this.ruta = ruta; this.apiService = apiService; config.backdrop = false; config.keyboard = false; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { // this.CargarDrivers() yield _this.ListarApis(); yield _this.CargarListaAplicaciones(); _this.contentHeader = { headerTitle: 'Herramientas', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Aplicaciones', isLink: false }] } }; })(); } onSelectChange(event) {// console.log('Selección cambiada:', event) } ListarApis() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.developer = []; _this2.xAPI.funcion = "_SYS_R_ListarTodasApis"; _this2.xAPI.parametros = ''; _this2.xAPI.valores = ''; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe( /*#__PURE__*/function () { var _ref = (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (data) { if (data == null) return; yield data.map(e => { e.descripcion = e.descripcion == undefined ? '' : e.descripcion; _this2.selectCustomSelected.push(e); }); _this2.rowData = _this2.selectCustomSelected; _this2.tempData = _this2.rowData; }); return function (_x) { return _ref.apply(this, arguments); }; }(), error => { console.error(error); }); })(); } LinkRuta(e) { let url = btoa(e.driver + "|" + e.aplicacion); let surl = "tools/applications/api-details/" + e.funcion + "/" + url; this.ruta.navigate([surl]); } CargarListaAplicaciones() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xAPI.funcion = "_SYS_LstAplicaciones"; _this3.xAPI.parametros = ''; _this3.ListaAplicaciones = []; yield _this3.apiService.Ejecutar(_this3.xAPI).subscribe(data => { data.Cuerpo.map(e => { _this3.ListaAplicaciones.push(e); }); }, error => { console.log(error); }); })(); } irA(base, ruta) { this.ruta.navigate([base, ruta]); } CargarDrivers() { this.xAPI.funcion = "_SYS_R_ListarDriver"; this.xAPI.parametros = ''; this.xAPI.valores = ''; this.drivers = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { data.map(e => { e.ruta = e.id; this.drivers.push(e); }); }, error => { console.log(error); }); } static ɵfac = function ApplicationsComponent_Factory(t) { return new (t || ApplicationsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_6__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbModalConfig), _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_1__.ApiService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineComponent"]({ type: ApplicationsComponent, selectors: [["app-applications"]], hostAttrs: [1, "ecommerce-application"], decls: 31, vars: 24, consts: [[1, "content-wrapper", "container-xxl", "p-0"], [3, "contentHeader"], [1, "content-body"], ["id", "ecommerce-searchbar", 1, "ecommerce-searchbar"], [1, "row", "mt-1"], [1, "col-sm-3"], [1, "form-control", 2, "height", "40px", 3, "ngModel", "ngModelChange"], ["value", "conexiones"], ["value", "api"], ["class", "col-sm-9", 4, "ngIf"], ["id", "wishlist", 1, "grid-view", "wishlist-items"], ["class", "card ecommerce-card tarjeta", 4, "ngFor", "ngForOf"], ["id", "ecommerce-pagination"], [1, "row"], [1, "col-sm-12"], [1, "d-flex", "justify-content-center"], ["aria-label", "Pagination", 3, "collectionSize", "page", "pageSize", "maxSize", "rotate", "ellipses", "boundaryLinks", "pageChange"], ["ngbPaginationFirst", ""], ["ngbPaginationPrevious", ""], ["ngbPaginationNumber", ""], ["ngbPaginationNext", ""], ["ngbPaginationLast", ""], [1, "col-sm-9"], [1, "input-group", "input-group-merge"], ["type", "text", "id", "shop-search", "placeholder", "Buscar", "aria-label", "Search...", "aria-describedby", "shop-search", 1, "form-control", "search-product", 2, "height", "40px", 3, "ngModel", "ngModelChange"], [1, "input-group-append"], [1, "input-group-text", 2, "height", "40px"], ["data-feather", "search", 1, "text-muted"], ["bindLabel", "funcion", "bindValue", "id", "placeholder", "Seleccione API", 2, "height", "40px", "border", "1px solid #ccc", "border-radius", "4px", 3, "items", "ngModel", "searchable", "hideSelected", "ngModelChange", "change"], ["ng-option-tmp", ""], [1, "card", 2, "margin", "10px 0"], [1, "card-body"], [1, "card-title"], [1, "card-subtitle", "mb-2", "text-muted"], [1, "card-text"], [1, "card", "ecommerce-card", "tarjeta"], [3, "routerLink"], [1, "item-img", "text-center", "efecto-img"], ["src", "assets/images/logo/logo.png", "alt", "img-placeholder", 1, "img-fluid"], [1, "item-wrapper"], [1, "item-rating"], [1, "badge", 3, "ngClass"], [1, "item-cost"], [1, "item-price"], [1, "card-text", "item-description"], ["data-feather", "chevrons-left", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevron-left", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevron-right", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"], ["data-feather", "chevrons-right", 1, "font-weight-bolder", 2, "width", "18px", "height", "18px"]], template: function ApplicationsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](0, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](1, "app-content-header", 1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](2, "div", 2)(3, "section", 3)(4, "div", 4)(5, "div", 5)(6, "select", 6); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("ngModelChange", function ApplicationsComponent_Template_select_ngModelChange_6_listener($event) { return ctx.searchType = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](7, "option", 7); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](8, "Buscar por Conexiones"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](9, "option", 8); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtext"](10, "Buscar por API"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](11, ApplicationsComponent_div_11_Template, 6, 1, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](12, ApplicationsComponent_div_12_Template, 3, 4, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](13, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](14, "section", 10); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](15, ApplicationsComponent_div_15_Template, 17, 11, "div", 11); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](16, "slice"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](17, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelement"](18, "br")(19, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementStart"](20, "section", 12)(21, "div", 13)(22, "div", 14)(23, "div", 15)(24, "ngb-pagination", 16); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵlistener"]("pageChange", function ApplicationsComponent_Template_ngb_pagination_pageChange_24_listener($event) { return ctx.page = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipe"](25, "filter"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](26, ApplicationsComponent_ng_template_26_Template, 1, 0, "ng-template", 17); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](27, ApplicationsComponent_ng_template_27_Template, 1, 0, "ng-template", 18); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](28, ApplicationsComponent_ng_template_28_Template, 1, 1, "ng-template", 19); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](29, ApplicationsComponent_ng_template_29_Template, 1, 0, "ng-template", 20); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵtemplate"](30, ApplicationsComponent_ng_template_30_Template, 1, 0, "ng-template", 21); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵelementEnd"]()()()()()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("contentHeader", ctx.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngModel", ctx.searchType); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.searchType === "conexiones"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngIf", ctx.searchType === "api"); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](16, 12, _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](17, 16, ctx.ListaAplicaciones, ctx.searchText, "nombre"), (ctx.page - 1) * ctx.pageSize, ctx.page * ctx.pageSize)); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵproperty"]("collectionSize", _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵpipeBind3"](25, 20, ctx.ListaAplicaciones, ctx.searchText, "nombre").length)("page", ctx.page)("pageSize", ctx.pageSize)("maxSize", 5)("rotate", true)("ellipses", false)("boundaryLinks", true); } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_6__.RouterLinkWithHref, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_9__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_9__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_9__.NgModel, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPagination, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationFirst, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationLast, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationNext, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationNumber, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__.NgbPaginationPrevious, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__.NgSelectComponent, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__.NgOptionTemplateDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_3__.FeatherIconDirective, _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_11__.DefaultClassDirective, _angular_common__WEBPACK_IMPORTED_MODULE_8__.UpperCasePipe, _angular_common__WEBPACK_IMPORTED_MODULE_8__.SlicePipe, _core_pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_4__.FilterPipe], styles: ["@charset \"UTF-8\";\n.ecommerce-application .content-body {\n position: relative;\n}\n.ecommerce-application .body-content-overlay {\n position: fixed !important;\n z-index: 12 !important;\n}\n.ecommerce-application .sidebar-shop {\n margin-top: 0.85rem;\n width: 260px;\n z-index: 998;\n}\n.ecommerce-application .sidebar-shop .filter-heading {\n margin-bottom: 1.75rem;\n}\n.ecommerce-application .sidebar-shop .filter-title {\n margin-bottom: 1rem;\n margin-top: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .price-range li:not(:last-child),\n.ecommerce-application .sidebar-shop .categories-list li:not(:last-child) {\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .brand-list li {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip {\n opacity: 0;\n transform: translate(-50%, -15%);\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip:before {\n content: \"$ \";\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle:active .noUi-tooltip {\n opacity: 1;\n}\n.ecommerce-application .sidebar-shop .ratings-list {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list:last-child {\n margin-bottom: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul {\n margin-bottom: 0;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item svg,\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item i {\n width: 1.25rem;\n height: 1.25rem;\n font-size: 1.25rem;\n}\n.ecommerce-application .filled-star {\n fill: #ff9f43;\n stroke: #ff9f43;\n color: #ff9f43;\n}\n.ecommerce-application .unfilled-star {\n stroke: #babfc7;\n color: #babfc7;\n}\n.ecommerce-application .ecommerce-header-items {\n display: flex;\n justify-content: space-between;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler {\n padding-left: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:active, .ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:focus {\n outline: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon {\n height: auto;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon i,\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon svg {\n color: #6e6b7b;\n height: 1.5rem;\n width: 1.5rem;\n font-size: 1.5rem;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n font-weight: 500;\n color: #5e5873;\n}\n.ecommerce-application .ecommerce-searchbar .input-group {\n box-shadow: 0 2px 8px 0 rgba(34, 41, 47, 0.14);\n border-radius: 0.3rem;\n}\n.ecommerce-application .search-product,\n.ecommerce-application .input-group-text {\n height: 48px;\n border: none;\n font-size: 0.95rem;\n padding-left: 1.25rem;\n}\n.ecommerce-application .search-product::placeholder,\n.ecommerce-application .input-group-text::placeholder {\n font-size: 0.95rem;\n}\n.ecommerce-application .ecommerce-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 4px 25px 0 rgba(34, 41, 47, 0.25);\n}\n.ecommerce-application .ecommerce-card .item-rating ul {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-rating svg,\n.ecommerce-application .ecommerce-card .item-rating i {\n height: 1.143rem;\n width: 1.143rem;\n font-size: 1.143rem;\n}\n.ecommerce-application .ecommerce-card .item-name {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-name a {\n font-weight: 600;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .ecommerce-card .item-description {\n font-size: 0.875rem;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist span,\n.ecommerce-application .ecommerce-card .btn-cart span {\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i,\n.ecommerce-application .ecommerce-card .btn-wishlist svg,\n.ecommerce-application .ecommerce-card .btn-cart i,\n.ecommerce-application .ecommerce-card .btn-cart svg {\n margin-right: 0.25rem;\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i.text-danger,\n.ecommerce-application .ecommerce-card .btn-wishlist svg.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart i.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart svg.text-danger {\n fill: #ea5455;\n}\n.ecommerce-application .grid-view:not(.wishlist-items),\n.ecommerce-application .list-view:not(.wishlist-items) {\n margin-top: 2rem;\n}\n.ecommerce-application .grid-view {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n column-gap: 2rem;\n}\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n}\n.ecommerce-application .grid-view .ecommerce-card {\n overflow: hidden;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-img {\n padding-top: 0.5rem;\n min-height: 15.85rem;\n display: flex;\n align-items: center;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n.ecommerce-application .grid-view .ecommerce-card .shipping,\n.ecommerce-application .grid-view .ecommerce-card .item-company,\n.ecommerce-application .grid-view .ecommerce-card .item-options .item-price {\n display: none;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options {\n display: flex;\n flex-wrap: wrap;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-cart,\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-wishlist {\n flex-grow: 1;\n border-radius: 0;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-name {\n margin-top: 0.75rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-description {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 0.2rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-price {\n font-weight: 600;\n}\n.ecommerce-application .grid-view .ecommerce-card .card-body {\n padding: 1rem;\n}\n.ecommerce-application .list-view {\n display: grid;\n grid-template-columns: 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card {\n overflow: hidden;\n display: grid;\n grid-template-columns: 1fr 2fr 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card .item-img {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 50px;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body {\n padding: 1.5rem 1rem;\n border-right: 1px solid #ebe9f1;\n display: flex;\n flex-direction: column;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-wrapper {\n order: 2;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-name {\n order: 1;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-description {\n order: 3;\n display: -webkit-box;\n -webkit-line-clamp: 5;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-price {\n display: none;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-rating {\n margin-bottom: 0.3rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company {\n display: inline-flex;\n font-weight: 400;\n margin: 0.3rem 0 0.5rem;\n font-size: 0.875rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company .company-name {\n font-weight: 600;\n margin-left: 0.25rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options {\n padding: 1rem;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper {\n position: relative;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper .item-cost .item-price {\n color: #7367f0;\n margin-bottom: 0;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .shipping {\n margin-top: 0.75rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-wishlist,\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-cart {\n margin-top: 1rem;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header,\n.ecommerce-application .checkout-tab-steps .bs-stepper-content {\n padding: 0;\n margin: 0;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-img img {\n width: 100px;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-name {\n order: 0 !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-company,\n.ecommerce-application .checkout-items .ecommerce-card .item-rating {\n margin-bottom: 0.4rem !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-quantity {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .checkout-items .ecommerce-card .delivery-date {\n margin-top: 1.2rem;\n margin-bottom: 0.25rem;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-options .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ecommerce-application .checkout-options .coupons:focus-within {\n box-shadow: none;\n}\n.ecommerce-application .checkout-options .coupons input {\n border: none;\n padding-left: 0;\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons input::placeholder {\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons .input-group-append {\n margin: 0;\n}\n.ecommerce-application .checkout-options .coupons .input-group-text {\n height: auto;\n font-weight: 600;\n padding: inherit;\n}\n.ecommerce-application .checkout-options .price-details .price-title {\n font-weight: 600;\n margin-bottom: 0.75rem;\n margin-top: 1.5rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail .detail-title.detail-total {\n font-weight: 600;\n}\n.ecommerce-application .payment-type .gift-card {\n cursor: pointer;\n}\n.ecommerce-application .checkout-tab-steps {\n background-color: transparent !important;\n box-shadow: none !important;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header {\n border: none;\n}\n@media (min-width: 992px) {\n .ecommerce-application .ecommerce-header-items .shop-sidebar-toggler {\n display: none;\n }\n .ecommerce-application .product-checkout.list-view {\n grid-template-columns: 2fr 1fr;\n column-gap: 2rem;\n }\n}\n@media (max-width: 1199.98px) {\n .ecommerce-application .ecommerce-header-items .btn-group {\n align-items: center;\n }\n .ecommerce-application .ecommerce-header-items .btn-group .btn-icon {\n padding: 0.6rem 0.736rem;\n }\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr;\n }\n .ecommerce-application .body-content-overlay {\n position: fixed;\n opacity: 0;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n .ecommerce-application .body-content-overlay.show {\n opacity: 1;\n }\n .ecommerce-application.horizontal-layout .body-content-overlay {\n z-index: 998 !important;\n }\n .ecommerce-application.horizontal-layout .sidebar-shop {\n z-index: 999 !important;\n }\n}\n@media (max-width: 991.98px) {\n .ecommerce-application .sidebar-left .sidebar .card {\n border-radius: 0;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop {\n transform: translateX(-112%);\n transition: all 0.25s ease;\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n overflow-y: scroll;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop.show {\n transition: all 0.25s ease;\n transform: translateX(0);\n }\n .ecommerce-application .grid-view {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n display: none;\n }\n}\n@media (max-width: 767.98px) {\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card {\n grid-template-columns: 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card .item-img {\n padding-top: 2rem;\n padding-bottom: 2rem;\n }\n .ecommerce-application .list-view .ecommerce-card .card-body {\n border: none;\n }\n}\n@media (max-width: 575.98px) {\n .ecommerce-application .grid-view,\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr;\n }\n}\n/* Asegurar que el grid-view sea responsivo */\n.grid-view.wishlist-items {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Ajusta el ancho m\u00EDnimo de las tarjetas */\n gap: 15px; /* Espacio entre tarjetas */\n padding: 0 15px; /* Padding lateral para evitar que toquen los bordes */\n width: 100%;\n margin: 0 auto;\n}\n.efecto-img img {\n max-width: 120px; /* Tama\u00F1o m\u00E1ximo deseado */\n max-height: 120px; /* Altura m\u00E1xima deseada */\n width: auto;\n height: auto;\n object-fit: contain; /* Mantiene la proporci\u00F3n de la imagen */\n}\n/* Tarjeta responsiva */\n.tarjeta {\n width: 100%; /* Ocupa todo el ancho del grid cell */\n height: auto; /* Altura autom\u00E1tica para que se ajuste al contenido */\n min-height: 300px; /* Altura m\u00EDnima */\n margin: 0; /* Elimina el margen ya que usamos gap en el grid */\n transition: transform 0.3s ease; /* Efecto hover opcional */\n}\n.tarjeta:hover {\n transform: translateY(-5px); /* Efecto hover opcional */\n box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Efecto hover opcional */\n}\n/* Ajustes para pantallas m\u00E1s peque\u00F1as */\n@media (max-width: 768px) {\n .grid-view.wishlist-items {\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Tarjetas m\u00E1s estrechas en m\u00F3viles */\n }\n}\n@media (max-width: 576px) {\n .grid-view.wishlist-items {\n grid-template-columns: 1fr; /* Una columna en pantallas muy peque\u00F1as */\n }\n}\n.content-body {\n overflow-x: hidden; /* Previene desbordamiento horizontal */\n width: 100%;\n}\n.efecto-img {\n justify-content: center;\n align-items: center;\n max-width: 100%;\n /* Adjust based on your design */\n text-align: center;\n margin: 0 auto;\n /* Center the container horizontally */\n}\n.efecto-img img {\n max-width: 100%;\n /* Image will not exceed container width */\n height: auto;\n /* Maintains aspect ratio */\n}\n/* search-bar.component.css */\n.ecommerce-searchbar {\n padding: 10px;\n background-color: #f8f9fa;\n border-radius: 5px;\n}\n/* Asegurar que el select, input y ng-select tengan el mismo estilo */\nselect.form-control,\ninput.form-control,\nng-select.form-control {\n height: 40px;\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 8px;\n font-size: 14px; /* Asegurar que el texto tenga el mismo tama\u00F1o */\n}\n/* Ajustar el \u00EDcono de b\u00FAsqueda */\n.input-group-text {\n height: 40px;\n background-color: #fff;\n border-left: none;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n/* Estilos espec\u00EDficos para ng-select */\nng-select.form-control .ng-select-container {\n height: 40px;\n border: 1px solid #ccc;\n border-radius: 4px;\n padding: 8px;\n}\n/* Asegurar que no haya superposici\u00F3n */\n.col-sm-4, .col-sm-8 {\n padding-right: 5px;\n padding-left: 5px;\n}"], encapsulation: 2 }); } /***/ }), /***/ 15317: /*!*******************************************************************!*\ !*** ./src/app/main/views/tools/functions/functions.component.ts ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "FunctionsComponent": () => (/* binding */ FunctionsComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! tslib */ 97582); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! environments/environment */ 92340); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/websockets/wsockets.service */ 1442); /* harmony import */ var _services_apicore_task_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @services/apicore/task.service */ 46930); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/flex-layout/extended */ 24784); /* harmony import */ var _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @ctrl/ngx-codemirror */ 1103); /* harmony import */ var _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @core/pipes/initials.pipe */ 16516); function FunctionsComponent_div_0_ng_template_42_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "img", 45); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { const row_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpropertyInterpolate"]("src", row_r19.avatar, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeUrl"]); } } const _c0 = function (a0, a1) { return { "bg-light-success": a0, "bg-light-danger": a1 }; }; function FunctionsComponent_div_0_ng_template_42_ng_template_2_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 46)(1, "div", 47); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](3, "initials"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction2"](4, _c0, row_r19.estatus == true, row_r19.estatus == false)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](3, 2, row_r19.nombre.toUpperCase())); } } function FunctionsComponent_div_0_ng_template_42_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 16); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](1, FunctionsComponent_div_0_ng_template_42_div_1_Template, 2, 1, "div", 40); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](2, FunctionsComponent_div_0_ng_template_42_ng_template_2_Template, 4, 7, "ng-template", null, 41, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "div", 42)(5, "span", 43)(6, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](7); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](8, "span", 44)(9, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](10); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](11, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const row_r19 = ctx.row; const _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](3); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r19.length > 0)("ngIfElse", _r22); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate"](row_r19.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate1"]("V ", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](11, 4, row_r19.version), ""); } } const _c1 = function (a0, a1, a2, a3, a4, a5, a6, a7, a8) { return { "badge-success": a0, "badge-warning": a1, "badge-primary": a2, "badge-secondary": a3, "badge-info": a4, "badge-primary": a5, "badge-danger": a6, "badge-danger": a7, "badge-warning": a8 }; }; function FunctionsComponent_div_0_ng_template_44_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div")(1, "span", 48)(2, "div", 49); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); } if (rf & 2) { const row_r26 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunctionV"](2, _c1, [row_r26.lenguaje == "PHP", row_r26.lenguaje == "PYTHON", row_r26.lenguaje == "RUST", row_r26.lenguaje == "BASH", row_r26.lenguaje == "SHELL", row_r26.lenguaje == "NJS", row_r26.lenguaje == "GO", row_r26.lenguaje == "C++", row_r26.lenguaje == "RDN"])); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate1"](" ", row_r26.lenguaje, " "); } } function FunctionsComponent_div_0_ng_template_46_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div")(1, "span", 48); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const descripcion_r27 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate1"]("", descripcion_r27.slice(0, 100), " ... "); } } function FunctionsComponent_div_0_ng_template_48_a_7_Template(rf, ctx) { if (rf & 1) { const _r31 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "a", 53); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_div_0_ng_template_48_a_7_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r31); const row_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().row; const ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r30.ModalConfig(_r5, row_r28)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](1, "span", 54); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, " Configurar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "settings")("size", 16); } } function FunctionsComponent_div_0_ng_template_48_Template(rf, ctx) { if (rf & 1) { const _r34 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 50)(1, "button", 51); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](2, "span", 23); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "div", 52)(4, "a", 53); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_div_0_ng_template_48_Template_a_click_4_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r34); const row_r28 = restoredCtx.row; const ctx_r33 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](8); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r33.ModalEdit(_r7, row_r28)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](5, "span", 54); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](6, " Editar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](7, FunctionsComponent_div_0_ng_template_48_a_7_Template, 3, 4, "a", 55); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const row_r28 = ctx.row; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "edit")("size", 16); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", row_r28.tiempo != ""); } } function FunctionsComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r36 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 8)(1, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](2, "app-content-header", 10); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "section", 11)(4, "div", 12)(5, "div", 13)(6, "div", 14)(7, "div", 15)(8, "div", 16)(9, "label", 16); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](10, "Mostrar "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](11, "select", 17); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_div_0_Template_select_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r36); const ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r35.basicSelectedOption = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](12, "option", 18); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](13, "10"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](14, "option", 19); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](15, "25"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](16, "option", 20); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](17, "50"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](18, "option", 21); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](19, "100"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](20, "button", 22); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_div_0_Template_button_click_20_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r36); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r37.ModalAdd(_r1)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](21, "span", 23); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](22, " Agregar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](23, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](24, "button", 24); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_div_0_Template_button_click_24_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r36); const ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](14); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r38.ModalExportarArchivo(_r13)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](25, "span", 23); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](26, " Exportar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](27, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](28, "button", 25); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_div_0_Template_button_click_28_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r36); const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); const _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](12); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r39.ModalSubirArchivo(_r11)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](29, "span", 23); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](30, " Importar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](31, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](32, "div", 26)(33, "div", 27)(34, "div", 28)(35, "label", 29)(36, "input", 30); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_div_0_Template_input_ngModelChange_36_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r36); const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r40.searchValue = $event); })("keyup", function FunctionsComponent_div_0_Template_input_keyup_36_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r36); const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r41.filterUpdate($event)); })("search", function FunctionsComponent_div_0_Template_input_search_36_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r36); const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r42.filterUpdate($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](37, "div", 31)(38, "fieldset", 32)(39, "ng-select", 33); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("change", function FunctionsComponent_div_0_Template_ng_select_change_39_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r36); const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r43.filterStatus($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](40, "ngx-datatable", 34)(41, "ngx-datatable-column", 35); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](42, FunctionsComponent_div_0_ng_template_42_Template, 12, 6, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](43, "ngx-datatable-column", 37); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](44, FunctionsComponent_div_0_ng_template_44_Template, 4, 12, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](45, "ngx-datatable-column", 38); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](46, FunctionsComponent_div_0_ng_template_46_Template, 3, 1, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](47, "ngx-datatable-column", 39); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](48, FunctionsComponent_div_0_ng_template_48_Template, 8, 8, "ng-template", 36); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "plus"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "database"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("data-feather", "database"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r0.searchValue); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r0.status); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("rows", ctx_r0.rowData)("rowHeight", 58)("limit", 10)("columnMode", ctx_r0.ColumnMode.force)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("limit", ctx_r0.basicSelectedOption); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 150); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 50); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 500); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("width", 5)("sortable", false); } } function FunctionsComponent_ng_template_1_div_22_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](1, "Nombre Funcion es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } } function FunctionsComponent_ng_template_1_div_22_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 95); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](1, FunctionsComponent_ng_template_1_div_22_div_1_Template, 2, 0, "div", 96); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r45 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", ctx_r45.f.nombre.errors.required); } } function FunctionsComponent_ng_template_1_div_47_Template(rf, ctx) { if (rf & 1) { const _r52 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 76)(1, "label", 97); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Especificaci\u00F3n del tiempo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](3, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "div", 98); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_1_div_47_Template_div_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r52); const ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r51.openHelp(_r3)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](5, "small"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](6, "Ayuda?"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](7, "input", 99); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } } function FunctionsComponent_ng_template_1_div_52_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](1, "Descripci\u00F3n es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } } function FunctionsComponent_ng_template_1_div_52_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 95); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](1, FunctionsComponent_ng_template_1_div_52_div_1_Template, 2, 0, "div", 96); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r47 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", ctx_r47.f.descripcion.errors.required); } } function FunctionsComponent_ng_template_1_div_58_div_1_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](1, "Codigo es requerido"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } } function FunctionsComponent_ng_template_1_div_58_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 95); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](1, FunctionsComponent_ng_template_1_div_58_div_1_Template, 2, 0, "div", 96); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } if (rf & 2) { const ctx_r49 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", ctx_r49.f.codigo.errors.required); } } const _c2 = function (a0) { return { "is-invalid": a0 }; }; const _c3 = function () { return { standalone: true }; }; function FunctionsComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) { const _r56 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Agregar Funci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_1_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r56); const modal_r44 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r44.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "form", 60); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngSubmit", function FunctionsComponent_ng_template_1_Template_form_ngSubmit_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r56); const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r57.GuardarFuncion()); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](7, "div", 61)(8, "div", 62)(9, "div", 13)(10, "div", 63)(11, "label", 64); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](12, "Id del proceso"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](13, "input", 65); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](14, "div", 63)(15, "label", 66); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](16, "Tipo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](17, "ng-select", 67); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](18, "div", 68)(19, "label", 69); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](20, "Nombre Funci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](21, "input", 70); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](22, FunctionsComponent_ng_template_1_div_22_Template, 2, 1, "div", 71); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](23, "div", 63)(24, "label", 72); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](25, "Version"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](26, "input", 73); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](27, "div", 63)(28, "label", 74); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](29, "Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](30, "ng-select", 75); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](31, "div", 76)(32, "label", 77); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](33, "Lenguaje"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](34, "ng-select", 78); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](35, "div", 76)(36, "label", 79); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](37, "Categoria"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](38, "ng-select", 80); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_1_Template_ng_select_ngModelChange_38_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r56); const ctx_r58 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r58.btnCategoria = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](39, "div", 76)(40, "label", 81); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](41, "Valor Retorno"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](42, "ng-select", 82); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](43, "div", 76)(44, "label", 83); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](45, "Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](46, "ng-select", 84); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_1_Template_ng_select_ngModelChange_46_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r56); const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r59.xAPI.prefijo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](47, FunctionsComponent_ng_template_1_div_47_Template, 8, 0, "div", 85); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](48, "div", 86)(49, "label", 87); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](50, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](51, "textarea", 88); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](52, FunctionsComponent_ng_template_1_div_52_Template, 2, 1, "div", 71); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](53, "div", 86)(54, "label", 89); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](55, "Escribir codigo fuente"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](56, "ngx-codemirror", 90, 91); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](58, FunctionsComponent_ng_template_1_div_58_Template, 2, 1, "div", 71); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](59, "div", 92)(60, "button", 93); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](61, "Guardar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](62, "button", 94); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_1_Template_button_click_62_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r56); const modal_r44 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r44.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](63, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("formGroup", ctx_r2.loginForm); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r2.tipo); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction1"](22, _c2, ctx_r2.submitted && ctx_r2.f.nombre.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.nombre.errors); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r2.estatus); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵattribute"]("disabled", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r2.lenguaje); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r2.categoria)("ngModel", ctx_r2.btnCategoria)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](24, _c3))("ngModelChange", ctx_r2.SeleccionarPrograma()); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r2.retorno); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r2.ListaAplicaciones)("ngModel", ctx_r2.xAPI.prefijo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](25, _c3)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", ctx_r2.divTiempo); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction1"](26, _c2, ctx_r2.submitted && ctx_r2.f.descripcion.errors)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.descripcion.errors); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("options", ctx_r2.codeMirrorOptions); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", ctx_r2.submitted && ctx_r2.f.codigo.errors); } } function FunctionsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) { const _r63 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Opciones del tiempo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_3_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r63); const modal_r61 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r61.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "div", 61)(7, "div", 62); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](8, " Cron es un administrador regular de procesos en segundo plano."); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](9, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](10, " Los procesos que deben ejecutarse y la hora a la que deben hacerlo se especifican en"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](11, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](12, " la funcion. El nombre cron proviene del griego chronos que significa \"tiempo\"."); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](13, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](14, " .--------------- minuto (0-59)"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](15, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](16, " | .------------ hora (0-23)"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](17, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](18, " | | .--------- d\u00EDa del mes (1-31)"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](19, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](20, " | | | .------ mes (1-12) o jan,feb,mar,apr,may,jun,jul..."); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](21, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](22, " | | | | .--- d\u00EDa de la semana (0-6) (domingo=0 o 7)"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](23, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](24, " | | | | |"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](25, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](26, " * * * * * comando a ejecutar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](27, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](28, " */5 * * * * se ejecuta cada 5 minutos."); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](29, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](30, "div", 92)(31, "button", 94); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_3_Template_button_click_31_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r63); const modal_r61 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r61.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](32, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } } function FunctionsComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) { const _r67 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Ejecuci\u00F3n de funciones"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_5_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r67); const modal_r65 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r65.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "form", 100)(7, "div", 61)(8, "div", 62)(9, "div", 13)(10, "div", 76)(11, "label", 64); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](12, "Id del proceso"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](13, "input", 65); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](14, "div", 76)(15, "label", 66); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](16, "Tipo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](17, "ng-select", 101); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](18, "div", 76)(19, "label", 69); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](20, "Nombre Funci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](21, "input", 102); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](22, "div", 76)(23, "label", 72); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](24, "Version"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](25, "input", 103); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](26, "div", 68)(27, "label", 77); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](28, "Lenguaje"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](29, "ng-select", 104); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_5_Template_ng_select_ngModelChange_29_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r67); const ctx_r68 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r68.cambiarModo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](30, "div", 68)(31, "label", 79); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](32, "Categoria"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](33, "ng-select", 105); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_5_Template_ng_select_ngModelChange_33_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r67); const ctx_r69 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r69.btnCategoria = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](34, "div", 68)(35, "label", 81); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](36, "Valor Retorno"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](37, "ng-select", 106); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](38, "div", 86)(39, "label", 87); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](40, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](41, "textarea", 107); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](42, "div", 108)(43, "label", 97); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](44, "Especificaci\u00F3n del tiempo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](45, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](46, "input", 109); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](47, "div", 108)(48, "label", 74); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](49, "Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](50, "ng-select", 75); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](51, "div", 92)(52, "button", 93); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](53, "Procesar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](54, "button", 94); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_5_Template_button_click_54_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r67); const modal_r65 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r65.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](55, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("formGroup", ctx_r6.loginForm); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r6.tipo)("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true)("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r6.lenguaje)("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r6.categoria)("readonly", true)("ngModel", ctx_r6.btnCategoria)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](19, _c3)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r6.retorno)("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r6.estatus); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵattribute"]("disabled", true); } } function FunctionsComponent_ng_template_7_div_42_Template(rf, ctx) { if (rf & 1) { const _r75 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 76)(1, "label", 97); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Especificaci\u00F3n del tiempo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](3, "\u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "div", 98); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_7_div_42_Template_div_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r75); const ctx_r74 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](2); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵreference"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r74.openHelp(_r3)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](5, "small"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](6, "Ayuda?"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](7, "input", 99); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); } } function FunctionsComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) { const _r77 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Editar Funci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_7_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r77); const modal_r71 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r71.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "form", 60); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngSubmit", function FunctionsComponent_ng_template_7_Template_form_ngSubmit_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r77); const ctx_r78 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r78.Editarfuncion()); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](7, "div", 61)(8, "div", 62)(9, "div", 13)(10, "div", 63)(11, "label", 64); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](12, "Id del proceso"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](13, "input", 65); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](14, "div", 63)(15, "label", 66); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](16, "Tipo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](17, "ng-select", 67); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](18, "div", 68)(19, "label", 69); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](20, "Nombre Funci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](21, "input", 110); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](22, "div", 63)(23, "label", 72); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](24, "Version"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](25, "input", 103); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](26, "div", 63)(27, "label", 74); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](28, "Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](29, "ng-select", 75); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](30, "div", 76)(31, "label", 77); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](32, "Lenguaje"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](33, "ng-select", 111); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_7_Template_ng_select_ngModelChange_33_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r77); const ctx_r79 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r79.cambiarModo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](34, "div", 76)(35, "label", 79); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](36, "Categoria"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](37, "ng-select", 80); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_7_Template_ng_select_ngModelChange_37_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r77); const ctx_r80 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r80.btnCategoria = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](38, "div", 76)(39, "label", 81); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](40, "Valor Retorno"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](41, "ng-select", 82); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](42, FunctionsComponent_ng_template_7_div_42_Template, 8, 0, "div", 85); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](43, "div", 86)(44, "label", 87); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](45, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](46, "textarea", 112); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](47, "div", 86)(48, "label", 89); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](49, "Escribir codigo fuente"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](50, "ngx-codemirror", 90, 113); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](52, "div", 92)(53, "button", 93); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](54, "Guardar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](55, "button", 94); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_7_Template_button_click_55_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r77); const modal_r71 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r71.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](56, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); } if (rf & 2) { const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("formGroup", ctx_r8.loginForm); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r8.tipo); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("readonly", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r8.estatus); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵattribute"]("disabled", true); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r8.lenguaje); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r8.categoria)("ngModel", ctx_r8.btnCategoria)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](14, _c3))("ngModelChange", ctx_r8.SeleccionarPrograma()); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("items", ctx_r8.retorno); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngIf", ctx_r8.divTiempo); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("options", ctx_r8.codeMirrorOptions); } } function FunctionsComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) { const _r84 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Escaneando de Redes"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_9_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r84); const modal_r82 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r82.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "div", 61)(7, "div", 62)(8, "div", 13)(9, "div", 114)(10, "div", 115)(11, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](12, "Resultado"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](13, "div", 116)(14, "textarea", 117); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_9_Template_textarea_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r84); const ctx_r85 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r85.xrs = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](15, "div", 92)(16, "button", 118); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_9_Template_button_click_16_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r84); const ctx_r86 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r86.ScanRed()); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](17, "Escanear"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](18, "button", 94); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_9_Template_button_click_18_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r84); const modal_r82 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r82.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](19, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](14); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpropertyInterpolate"]("value", ctx_r10.xrs); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](3, _c3))("ngModel", ctx_r10.xrs); } } function FunctionsComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) { const _r90 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Credenciales: Subir Archivo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_11_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r90); const modal_r88 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r88.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "div", 61)(7, "div", 62)(8, "div", 119); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](9, "div", 120); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](10, "div", 120)(11, "form", 121); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](12, "input", 122); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](13, "div", 13)(14, "div", 114)(15, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](16, "Nombre de Usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](17, "input", 123); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_11_Template_input_ngModelChange_17_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r90); const ctx_r91 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r91.IExport.usuario = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](18, "div", 114)(19, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](20, "Constrase\u00F1a"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](21, "input", 124); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_11_Template_input_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r90); const ctx_r92 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r92.IExport.clave = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](22, "div", 114)(23, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](24, "Cargar Archivo .zip"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](25, "div", 125)(26, "input", 126); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("change", function FunctionsComponent_ng_template_11_Template_input_change_26_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r90); const ctx_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r93.fileSelected($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](27, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](28, "div", 92)(29, "button", 118); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_11_Template_button_click_29_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r90); const ctx_r94 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r94.SubirArchivo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](30, "Subir Archivo"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](31, "button", 94); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_11_Template_button_click_31_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r90); const modal_r88 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r88.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](32, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](12); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpropertyInterpolate"]("value", ctx_r12.hashcontrol); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r12.IExport.usuario)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](5, _c3)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r12.IExport.clave)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](6, _c3)); } } function FunctionsComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) { const _r98 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 56)(1, "h5", 57); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](2, "Credenciales: Exportar Funciones"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](3, "button", 58); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_13_Template_button_click_3_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r98); const modal_r96 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r96.dismiss("Cross click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](4, "span", 59); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](6, "div", 61)(7, "div", 62)(8, "div", 119); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](9, "div", 120); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](10, "div", 120)(11, "form", 127)(12, "div", 13)(13, "div", 114)(14, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](15, "Nombre de Usuario"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](16, "input", 123); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_13_Template_input_ngModelChange_16_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r98); const ctx_r99 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r99.IExport.usuario = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](17, "div", 114)(18, "label"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](19, "Constrase\u00F1a"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](20, "input", 124); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("ngModelChange", function FunctionsComponent_ng_template_13_Template_input_ngModelChange_20_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r98); const ctx_r100 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r100.IExport.clave = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](21, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](22, "div", 92)(23, "button", 118); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_13_Template_button_click_23_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r98); const ctx_r101 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](ctx_r101.ExportFunciones()); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](24, "Exportar Funciones"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](25, "button", 94); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function FunctionsComponent_ng_template_13_Template_button_click_25_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r98); const modal_r96 = restoredCtx.$implicit; return _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵresetView"](modal_r96.close("Accept click")); }); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](26, "Cerrar"); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](16); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r14.IExport.usuario)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](4, _c3)); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngModel", ctx_r14.IExport.clave)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction0"](5, _c3)); } } class FunctionsComponent { apiService; modalService; _formBuilder; utilservice; msjService; taskService; table; blockUI; sectionBlockUI; codeMirrorOptions = { theme: "material", mode: "text/x-sh", lineNumbers: true, lineWrapping: true, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter", "CodeMirror-lint-markers"], autoCloseBrackets: true, matchBrackets: true, lint: true, indentUnit: 2, tabSize: 2, indentWithTabs: true }; xAPI = { funcion: "", parametros: "", relacional: false, concurrencia: false, protocolo: "", ruta: "", retorna: false, migrar: false, modulo: "", valores: {}, coleccion: "", http: 0, https: 0, consumidores: 0, puertohttp: 0, puertohttps: 0, driver: "", query: "", metodo: "", tipo: "", prioridad: "", entorno: "", logs: false }; existe = false; fecha = new Date().toISOString(); Fnx = { id: "", tipo: "S", nombre: "", version: "0.0.1", lenguaje: "S", categoria: "S", retorno: "S", codigo: "", descripcion: "", parametros: "", fecha: this.fecha, tiempo: "", estatus: 0 }; FnxAux = { id: "", tipo: "S", nombre: "", version: "0.0.1", lenguaje: "S", categoria: "S", retorno: "S", codigo: "", descripcion: "", parametros: "", fecha: this.fecha, tiempo: "", estatus: 0 }; divTiempo = false; // Private lbd = "Base de Datos"; count; isReload = false; showBaseDatos = false; showPuente = false; ListaFunciones = []; tempData = []; rowData = []; driver = undefined; drivers = []; hosts = []; tipo = [{ id: 1, name: "LOGICA" }, { id: 2, name: "MATEMATICAS" }, { id: 3, name: "BASEDATOS" }]; estatus = [{ id: 0, name: "INACTIVO", disabled: false }, { id: 1, name: "ACTIVO", disabled: false }, { id: 2, name: "EJECUTANDOSE", disabled: true }, { id: 3, name: "FINALIZADO", disabled: true }, { id: 4, name: "ZOMBIE", disabled: true }]; lenguaje = [{ id: 1, name: "PHP", descripcion: "PHP +7" }, { id: 2, name: "PYTHON", descripcion: "PYTHON" }, { id: 3, name: "RUST", descripcion: "RUST" }, { id: 4, name: "BASH", descripcion: "SCRIPT BASH" }, { id: 5, name: "SHELL", descripcion: "SHELL COMMANDS" }, { id: 6, name: "NJS", descripcion: "NODE JS" }, { id: 7, name: "GO", descripcion: "GOLANG" }, { id: 8, name: "C++", descripcion: "C++" }, { id: 9, name: "RDN", descripcion: "REGLAS DE NEGOCIOS" }]; categoria = [{ id: 1, name: "EXEC", descripcion: "EJECUCION" }, { id: 2, name: "PROGRAM", descripcion: "TAREA PROGRAMADA" }, { id: 3, name: "ESCALAR", descripcion: "ESCALABILIDAD" }]; retorno = [{ id: 1, name: "BOOL", descripcion: "LOGICO" }, { id: 2, name: "STRING", descripcion: "CADENA" }, { id: 3, name: "ARRAY", descripcion: "ARREGLO" }, { id: 4, name: "OBJECT", descripcion: "OBJETO" }, { id: 5, name: "FILE", descripcion: "ARCHIVO" }, { id: 6, name: "NULL", descripcion: "NULL" }]; obj; btnCategoria; // public mac; data; xrs = ""; host = ""; submitted = false; loginForm; contentHeader; selected = []; kitchenSinkRows; basicSelectedOption = 10; ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.ColumnMode; SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.SelectionType; xRestore = { nombre: "", ruta: "", pass: "", basedatos: "", coleccion: "", funcion: "", user: "", file_name: "" }; IExport = { usuario: "", clave: "" }; ListaAplicaciones; fnx; driversAPP; pID = { id: "", estatus: false, mensaje: "", segundos: "", contenido: "" }; llave; hashcontrol; archivos = []; constructor(apiService, modalService, _formBuilder, utilservice, msjService, taskService) { this.apiService = apiService; this.modalService = modalService; this._formBuilder = _formBuilder; this.utilservice = utilservice; this.msjService = msjService; this.taskService = taskService; } // convenience getter for easy access to form fields get f() { return this.loginForm.controls; } ngOnInit() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.llave = _this.utilservice.GenerarUnicId(); _this.hashcontrol = btoa("XING" + _this.llave); yield _this.CargarListaFunciones(); _this.CargarListaAplicaciones(); _this.loginForm = _this._formBuilder.group({ id: [_this.utilservice.GenerarUnicId(), [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], tipo: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], nombre: [""], version: [_this.Fnx.version, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], estatus: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], lenguaje: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], categoria: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], retorno: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], descripcion: ["", [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], codigo: ["", [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], tiempo: [""], fecha: [_this.Fnx.fecha] }); _this.contentHeader = { headerTitle: "Herramientas", actionButton: true, breadcrumb: { type: "", links: [{ name: "Home", isLink: true, link: "/home" }, { name: "Herramientas", isLink: false }, { name: "Funciones", isLink: false }] } }; })(); } validarVersion() { let version = this.Fnx.version.split("."); let mayor = parseInt(version[0]); let menor = parseInt(version[1]); let menor_aux = parseInt(version[2]); const _fnx = this.Fnx; const _aux = this.FnxAux; if (_fnx.retorno != _aux.retorno || _fnx.lenguaje != _aux.lenguaje || _fnx.nombre != _aux.nombre) { mayor = parseInt(version[0]) + 1; } if (_fnx.tipo != _aux.tipo || _fnx.categoria != _aux.categoria) { menor = parseInt(version[1]) + 1; } if (_fnx.descripcion != _aux.descripcion || _fnx.codigo != _aux.codigo) { menor_aux = parseInt(version[2]) + 1; } return mayor + "." + menor + "." + menor_aux; } clickRefresh(event) { this.codeMirrorOptions = { theme: "material", mode: "text/x-sh", lineNumbers: true, lineWrapping: true, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter", "CodeMirror-lint-markers"], autoCloseBrackets: true, matchBrackets: true, lint: true, indentUnit: 2, tabSize: 2, height: "80px", indentWithTabs: true }; } cambiarModo() { var idioma = "text/x-idn"; switch (this.loginForm.value.lenguaje) { case "GO": idioma = "text/x-go"; break; case "PHP": idioma = "text/x-php"; break; case "SHELL": idioma = "text/x-sh"; break; case "BASH": idioma = "text/x-sh"; break; case "PYTHON": idioma = "text/x-python"; break; case "RUST": idioma = "text/x-rustsrc"; break; case "RDN": idioma = "text/x-idn"; break; } this.codeMirrorOptions.mode = idioma; console.log("edicion"); return idioma; } filterUpdate(event) { const val = event.target.value.toLowerCase(); const temp = this.tempData.filter(function (d) { return d.nombre.toLowerCase().indexOf(val) !== -1 || !val; }); this.rowData = temp; this.count = this.rowData.length; this.table.offset = 0; } filterStatus(event) { const val = event.id ? event.id : ""; const temp = this.tempData.filter(function (d) { return d.estatus.indexOf(val) !== -1 || !val; }); this.rowData = temp; this.count = this.rowData.length; this.table.offset = 0; } LimpiarForm() { this.loginForm = this._formBuilder.group({ id: ["", [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], tipo: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], nombre: ["", [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], version: ["0.0.1", [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], estatus: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], lenguaje: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], categoria: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], retorno: [undefined, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], descripcion: ["", [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], codigo: ["", [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], tiempo: [""], fecha: [this.Fnx.fecha] }); } CargarListaFunciones() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.LISTAR_FUNCIONES; _this2.xAPI.parametros = ""; _this2.xAPI.valores = ""; _this2.ListaFunciones = []; _this2.count = 0; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { data.map(e => { _this2.ListaFunciones.push(e); }); _this2.rowData = _this2.ListaFunciones; _this2.count = _this2.rowData.length; _this2.tempData = _this2.rowData; }, error => { console.log(error); }); })(); } ModalEdit(modal, data) { this.clickRefresh(0); this.existe = false; this.btnCategoria = data.categoria; this.loginForm = this._formBuilder.group({ id: [data.id, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], tipo: [data.tipo, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], nombre: [data.nombre], version: [data.version, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], estatus: [data.estatus, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], lenguaje: [data.lenguaje, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], categoria: [data.categoria, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], retorno: [data.retorno, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], descripcion: [data.descripcion, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], codigo: [data.codigo, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], tiempo: [data.tiempo], fecha: [this.loginForm.value.fecha] }); this.modalService.open(modal, { centered: true, size: "xl", backdrop: false, keyboard: false, windowClass: "fondo-modal" }); } ModalAdd(modal) { this.modalService.open(modal, { centered: true, size: "xl", backdrop: false, keyboard: false, windowClass: "fondo-modal" }); } CargarListaAplicaciones() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.LISTAR_APLICACIONES; _this3.xAPI.parametros = ""; yield _this3.apiService.Ejecutar(_this3.xAPI).subscribe(data => { _this3.ListaAplicaciones = data.Cuerpo.map(e => { e.name = e.nombre + " : " + e.VERSION; return e; }); }, error => { console.log(error); }); })(); } GuardarFuncion() { this.submitted = true; if (this.loginForm.invalid) { return; } else { this.loginForm.value.version = this.existe ? this.validarVersion() : this.loginForm.value.version; var obj = { coleccion: "sys-function", objeto: this.loginForm.value, donde: `{\"id\":\"${this.loginForm.value.id}\"}`, driver: "MGDBA", upsert: true }; this.rowData.push(this.ListaFunciones); this.apiService.ExecColeccion(obj).subscribe(data => { this.ListaFunciones = []; this.CargarListaFunciones(); this.modalService.dismissAll("Close"); this.utilservice.AlertMini("top-end", "success", `Tu (Función) ha sido registrada codigo: ${data.UpsertedID}`, 3000); this.LimpiarForm(); }, error => { this.utilservice.AlertMini("top-end", "error", "Error al Guardadar los Datos", 3000); }); } } SeleccionarPrograma() { this.divTiempo = false; switch (this.btnCategoria) { case "PROGRAM": this.divTiempo = true; break; default: break; } } openHelp(modal) { this.modalService.open(modal, { centered: true, size: "lg", backdrop: false, keyboard: false, windowClass: "fondo-modal" }); } ModalExePlay(modal, data) { this.modalService.open(modal, { centered: true, size: "lg", backdrop: false, keyboard: false, windowClass: "fondo-modal" }); } ModalConfig(modal, data) { this.btnCategoria = data.categoria; this.loginForm = this._formBuilder.group({ id: [data.id, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], tipo: [data.tipo, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], nombre: [data.nombre], version: [data.version, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], estatus: [data.estatus, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], lenguaje: [data.lenguaje, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], categoria: [data.categoria, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], retorno: [data.retorno, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], descripcion: [data.descripcion, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], codigo: [data.codigo, [_angular_forms__WEBPACK_IMPORTED_MODULE_13__.Validators.required]], tiempo: [data.tiempo], fecha: [this.loginForm.value.fecha] }); this.modalService.open(modal, { centered: true, size: "lg", backdrop: false, keyboard: false, windowClass: "fondo-modal" }); } Editarfuncion() { this.loginForm.value.version = this.existe ? this.validarVersion() : this.loginForm.value.version; this.submitted = true; if (this.loginForm.invalid) { return; } else { var obj = { coleccion: "sys-function", objeto: this.loginForm.value, donde: `{\"id\":\"${this.loginForm.value.id}\"}`, driver: "MGDBA", upsert: true }; this.rowData.push(this.ListaFunciones); this.apiService.ExecColeccion(obj).subscribe(data => { this.ListaFunciones = []; this.CargarListaFunciones(); this.modalService.dismissAll("Close"); this.utilservice.AlertMini("top-end", "success", `Tu (Función) ha sido actualizada`, 3000); this.LimpiarForm(); }, error => { this.utilservice.AlertMini("top-end", "error", "Error al Guardadar los Datos", 3000); // console.log(error) }); } } ModalExportarArchivo(modal) { this.modalService.open(modal, { centered: true, size: "sm", backdrop: false, keyboard: false, windowClass: "fondo-modal" }); } ModalSubirArchivo(modal) { this.modalService.open(modal, { centered: true, size: "lg", backdrop: false, keyboard: false, windowClass: "fondo-modal" }); } ExportFunciones() { var _this4 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { let nameFnx = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.EXPORTAR_FUNCIONES; _this4.fnx = { funcion: nameFnx, basedatos: environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.BD, user: _this4.IExport.usuario, pass: _this4.IExport.clave, driver: environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.colecciones.SYS_FNX_NAME, file_name: environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.colecciones.SYS_FNX_NAME }; yield sweetalert2__WEBPACK_IMPORTED_MODULE_1___default().fire({ title: `Va a descargar la coleccion de Funciones `, text: "Estó puede durar varios segundos, dependiendo de su conexión a internet!", icon: "warning", showCancelButton: true, confirmButtonColor: "#3085d6", cancelButtonText: "Cancelar", cancelButtonColor: "#d33", confirmButtonText: "Si, Descargar!" }).then(result => { if (result.isConfirmed) { _this4.apiService.ExecFnx(_this4.fnx).subscribe(data => { // console.log(data) _this4.pID.id = data.contenido.id; _this4.pID.estatus = true; _this4.msjService.lstpid$.emit(_this4.pID); _this4.modalService.dismissAll(); _this4.taskService.set(data.contenido.id, nameFnx, "Descargando funciones").then(e => { _this4.apiService.ConsultarPidRecursivo(data.contenido.id, "Descargando funciones"); }).catch(e => console.log(e)); }, error => { console.log(error); }); } }); })(); } fileSelected(e) { this.archivos.push(e.target.files[0]); } SubirArchivo(e) { var _this5 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { console.log(document.getElementById('identificador')); var frm = new FormData(document.forms.namedItem("forma")); try { yield _this5.apiService.EnviarArchivos(frm).subscribe(data => { _this5.ValoresMasivos(); }); } catch (error) { console.error(error); } })(); } ValoresMasivos() { let cargaMasiva = { codigo: this.llave, ruta: this.hashcontrol, nombre: this.archivos[0].name, funcion: "SetPath", inicio: this.utilservice.FechaActual(0), fin: this.utilservice.FechaActual(0), tipo: 'ZIP', sistema: 'CORE', contenido: 'Importar Funciones', cantidad: 0, estatus: 0, usuario: environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.Hash }; this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.INSERT_FILE_PATH; this.xAPI.parametros = ""; this.xAPI.valores = JSON.stringify(cargaMasiva); this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data.tipo == 1) { this.ObtenerNombreArchivo(); document.forms.namedItem("forma").reset(); this.modalService.dismissAll('Close'); this.utilservice.AlertMini('top-end', 'success', 'Archivo Subido Exitosamente', 3000); } else { this.utilservice.AlertMini('top-end', 'error', 'El archivo no pudo ser subido, por favor verifica e intente de nuevo', 3000); } }, errot => { console.log(errot); this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); }); } ObtenerNombreArchivo() { this.xAPI.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.OBTENER_NOMBRE_ARCHIVO; this.xAPI.parametros = this.llave; this.xAPI.valores = ""; this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data.Cuerpo.length > 0) { this.xRestore.nombre = data.Cuerpo[0].nomb; this.xRestore.ruta = data.Cuerpo[0].ruta; this.xRestore.pass = this.IExport.clave; this.xRestore.user = this.IExport.usuario; this.xRestore.file_name = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.colecciones.SYS_FNX_NAME; this.xRestore.basedatos = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.driver.DATA_BASE; this.xRestore.coleccion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.colecciones.SYS_FNX_NAME; this.ejecutarFuncion(); } }, errot => { console.log(errot); this.utilservice.AlertMini('top-end', 'error', 'Error al Guardadar los Datos', 3000); }); } ejecutarFuncion() { let nameFnx = 'Restaurar Funciones'; this.xRestore.funcion = environments_environment__WEBPACK_IMPORTED_MODULE_2__.environment.functions.RESTAURAR_FUNCIONES; this.apiService.ExecFnx(this.xRestore).subscribe(data => { // console.log(data); this.pID.id = data.contenido.id; this.pID.estatus = true; this.msjService.lstpid$.emit(this.pID); this.modalService.dismissAll(); this.taskService.set(data.contenido.id, nameFnx, 'Restaurando funciones').then(e => { this.apiService.ConsultarPidRecursivo(data.contenido.id, 'Restaurando funciones'); }).catch(e => console.log(e)); }, error => { console.log(error); }); } static ɵfac = function FunctionsComponent_Factory(t) { return new (t || FunctionsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbModal), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_13__.UntypedFormBuilder), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_4__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_services_websockets_wsockets_service__WEBPACK_IMPORTED_MODULE_5__.WsocketsService), _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdirectiveInject"](_services_apicore_task_service__WEBPACK_IMPORTED_MODULE_6__.TaskService)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵdefineComponent"]({ type: FunctionsComponent, selectors: [["app-functions"]], viewQuery: function FunctionsComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, features: [_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵProvidersFeature"]([_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbModalConfig, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbModal])], decls: 15, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], ["ModalAddFunction", ""], ["ModalHelp", ""], ["ModalConfigFunction", ""], ["ModalEditFunction", ""], ["ModalPlay", ""], ["ModalSubir", ""], ["ModalExportar", ""], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "row"], [1, "col-md-6", "col-12"], [1, "d-flex", "justify-content-between", "align-items-center", "m-1"], [1, "d-flex", "align-items-center"], [1, "form-control", "mx-25", 3, "ngModel", "ngModelChange"], ["value", "10"], ["value", "25"], ["value", "50"], ["value", "100"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-info", 2, "height", "38px", "margin-top", "-4px", 3, "click"], [3, "data-feather"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-primary", 2, "height", "38px", "margin-top", "-4px", 3, "click"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-icon", "btn-warning", 2, "height", "38px", "margin-top", "-4px", 3, "click"], [1, "col-md-6", "col-lg-4", "col-12", "d-flex", "justify-content-start", "justify-content-md-end", "align-items-center", "offset-lg-2"], [1, "row", "pr-1", "pb-1", "pb-md-0", "align-items-center", "w-100"], [1, "col-10", "col-md-6", "pr-0"], [1, "d-flex", "align-items-center", "mb-0", "ml-1", "ml-md-0"], ["name", "searchValue", "type", "search", "placeholder", "Buscar...", 1, "form-control", 3, "ngModel", "ngModelChange", "keyup", "search"], [1, "col-10", "col-md-6", "mt-2", "ml-1", "ml-md-0", "mt-md-0"], [1, "form-group", "mb-0"], ["bindLabel", "name", "bindId", "id", "bindValue", "id", "placeholder", "Seleccione Status", 3, "items", "change"], [1, "bootstrap", "core-bootstrap", 3, "rows", "rowHeight", "limit", "columnMode", "headerHeight", "footerHeight", "scrollbarH"], ["name", "DRIVER", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "Lenguaje", 3, "width"], ["name", "DESCRIPCI\u00D3N", "prop", "descripcion", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], [4, "ngIf", "ngIfElse"], ["customAvatar", ""], [1, "cell-line-height"], [1, "font-weight-bold", "d-block"], [1, "text-muted", "font-small-2"], ["height", "32", "width", "32", "alt", "datatable-avatar", 1, "rounded-circle", "mr-1", 3, "src"], [1, "avatar", "mr-1", "ml-0", 3, "ngClass"], [1, "avatar-content"], [1, "font-weight-bold"], [1, "badge", "badge-glow", 3, "ngClass"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], ["ngbDropdownMenu", ""], ["ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"], ["ngbDropdownItem", "", 3, "click", 4, "ngIf"], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "auth-login-form", "mt-2", 3, "formGroup", "ngSubmit"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], [1, "col-xl-12", "col-md-12", "col-12"], [1, "col-md-2", "col-12", "mb-1"], ["for", "login-id", 1, "form-label"], ["type", "text", "formControlName", "id", "placeholder", "Id de proceso", "aria-describedby", "login-basedatos", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "readonly"], ["for", "login-tipo", 1, "form-label"], ["formControlName", "tipo", "bindLabel", "name", "placeholder", "Seleccione Tipo", "bindValue", "name", 3, "items"], [1, "col-md-4", "col-12", "mb-1"], ["for", "login-nombre", 1, "form-label"], ["type", "text", "formControlName", "nombre", "placeholder", "Ingrese Nombre", "aria-describedby", "login-nombre", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["class", "invalid-feedback", 4, "ngIf"], ["for", "login-version", 1, "form-label"], ["type", "text", "formControlName", "version", "placeholder", "Version", "aria-describedby", "login-basedatos", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "readonly"], ["for", "login-estatus", 1, "form-label"], ["formControlName", "estatus", "placeholder", "Seleccione Estatus", "bindLabel", "name", "bindValue", "id", 3, "items"], [1, "col-md-3", "col-12", "mb-1"], ["for", "login-lenguaje", 1, "form-label"], ["formControlName", "lenguaje", "bindLabel", "descripcion", "placeholder", "Seleccione Lenguaje", "bindValue", "name", 3, "items"], ["for", "login-categoria", 1, "form-label"], ["formControlName", "categoria", "formControlName", "categoria", "bindLabel", "descripcion", "placeholder", "Seleccione Categoria", "bindValue", "name", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["for", "login-valor-retorno", 1, "form-label"], ["formControlName", "retorno", "bindLabel", "descripcion", "placeholder", "Seleccione Valor Retorno", "bindValue", "name", 3, "items"], ["for", "http", 1, "form-label"], ["bindLabel", "name", "bindId", "id", "bindValue", "name", "bindLabel", "name", "bindValue", "id", "placeholder", "Seleccione Aplicaci\u00F3n", 3, "items", "ngModel", "ngModelOptions", "ngModelChange"], ["class", "col-md-3 col-12 mb-1", 4, "ngIf"], [1, "col-md-12", "col-12", "mb-1"], ["for", "login-descripcion", 1, "form-label"], ["type", "text", "formControlName", "descripcion", "rows", "3", "placeholder", "Ingrese Descripci\u00F3n", "aria-describedby", "login-descripcion", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "ngClass"], ["for", "login-codigo", 1, "form-label"], ["aria-describedby", "login-codigo", "tabindex", "1", "autofocus", "", "formControlName", "codigo", 3, "options"], ["codemirror", ""], [1, "modal-footer"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success"], ["type", "button", "rippleEffect", "", 1, "btn", "btn-danger", 3, "click"], [1, "invalid-feedback"], [4, "ngIf"], ["for", "login-tiempo", 1, "form-label"], [1, "badge", "badge-warning", 3, "click"], ["type", "text", "formControlName", "tiempo", "placeholder", "Ingrese Especificacion", "aria-describedby", "login-tiempo", "tabindex", "1", "autofocus", "", 1, "form-control"], [1, "auth-login-form", "mt-2", 3, "formGroup"], ["formControlName", "tipo", "bindLabel", "name", "placeholder", "Seleccione Tipo", "bindValue", "name", 3, "items", "readonly"], ["type", "text", "formControlName", "nombre", "placeholder", "Ingrese Nombre", "aria-describedby", "login-nombre", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "readonly"], ["type", "text", "formControlName", "version", "placeholder", "Version", "aria-describedby", "login-version", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "readonly"], ["formControlName", "lenguaje", "bindLabel", "descripcion", "placeholder", "Seleccione Lenguaje", "bindValue", "name", 3, "items", "readonly", "ngModelChange"], ["formControlName", "categoria", "formControlName", "categoria", "bindLabel", "descripcion", "placeholder", "Seleccione Categoria", "bindValue", "name", 3, "items", "readonly", "ngModel", "ngModelOptions", "ngModelChange"], ["formControlName", "retorno", "bindLabel", "descripcion", "placeholder", "Seleccione Valor Retorno", "bindValue", "name", 3, "items", "readonly"], ["type", "text", "formControlName", "descripcion", "rows", "3", "placeholder", "Ingrese Descripci\u00F3n", "aria-describedby", "login-descripcion", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "readonly"], [1, "col-md-6", "col-12", "mb-1"], ["type", "text", "formControlName", "tiempo", "placeholder", "Ingrese Especificacion", "aria-describedby", "login-tiempo", "tabindex", "1", "autofocus", "", 1, "form-control", 3, "readonly"], ["type", "text", "formControlName", "nombre", "placeholder", "Ingrese Nombre", "aria-describedby", "login-nombre", "tabindex", "1", "autofocus", "", 1, "form-control"], ["formControlName", "lenguaje", "bindLabel", "descripcion", "placeholder", "Seleccione Lenguaje", "bindValue", "name", 3, "items", "ngModelChange"], ["type", "text", "formControlName", "descripcion", "rows", "3", "placeholder", "Ingrese Descripci\u00F3n", "aria-describedby", "login-descripcion", "tabindex", "1", "autofocus", "", 1, "form-control"], ["codeEditor", ""], [1, "col-md-12"], [1, "form-group"], [2, "width", "100%", "height", "400px", "overflow", "scroll"], ["id", "xrs", 2, "font-size", "11px", "width", "100%", "height", "400px", 3, "ngModelOptions", "ngModel", "value", "ngModelChange"], ["tabindex", "4", "rippleEffect", "", 1, "btn", "btn-success", 3, "click"], [1, "form-row"], [1, "form-group", "col-md-12"], ["method", "post", "enctype", "multipart/form-data", "id", "forma", "name", "forma"], ["type", "hidden", "name", "identificador", 3, "value"], ["type", "text", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "password", 1, "form-control", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "input_container"], ["id", "fileUpload", "type", "file", "name", "archivos", "accept", ".zip, .gz", 3, "change"], ["method", "post", "id", "frmExport", "name", "frmExport"]], template: function FunctionsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](0, FunctionsComponent_div_0_Template, 49, 20, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](1, FunctionsComponent_ng_template_1_Template, 64, 28, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](3, FunctionsComponent_ng_template_3_Template, 33, 0, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](5, FunctionsComponent_ng_template_5_Template, 56, 20, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](7, FunctionsComponent_ng_template_7_Template, 57, 15, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](9, FunctionsComponent_ng_template_9_Template, 20, 4, "ng-template", null, 5, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](11, FunctionsComponent_ng_template_11_Template, 33, 7, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](13, FunctionsComponent_ng_template_13_Template, 27, 6, "ng-template", null, 7, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplateRefExtractor"]); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_15__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_15__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_7__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_13__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgSelectOption, _angular_forms__WEBPACK_IMPORTED_MODULE_13__["ɵNgSelectMultipleOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.SelectControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgForm, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.FormGroupDirective, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.FormControlName, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_12__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_14__.NgbDropdownItem, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__.NgSelectComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_8__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_9__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_17__["ɵf"], _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_18__.DefaultClassDirective, _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_19__.CodemirrorComponent, _angular_common__WEBPACK_IMPORTED_MODULE_15__.UpperCasePipe, _core_pipes_initials_pipe__WEBPACK_IMPORTED_MODULE_10__.InitialsPipe], styles: ["@charset \"UTF-8\";\n.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;touch-action:none;user-select:none;box-sizing:border-box}\n.noUi-target{position:relative}\n.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}\n.noUi-connects{overflow:hidden;z-index:0}\n.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}\n.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}\n.noUi-vertical .noUi-origin{top:-100%;width:0}\n.noUi-horizontal .noUi-origin{height:0}\n.noUi-handle{backface-visibility:hidden;position:absolute}\n.noUi-touch-area{height:100%;width:100%}\n.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{transition:transform .3s}\n.noUi-state-drag *{cursor:inherit!important}\n.noUi-horizontal{height:18px}\n.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}\n.noUi-vertical{width:18px}\n.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}\n.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}\n.noUi-target{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}\n.noUi-connects{border-radius:3px}\n.noUi-connect{background:#3FB8AF}\n.noUi-draggable{cursor:ew-resize}\n.noUi-vertical .noUi-draggable{cursor:ns-resize}\n.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}\n.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}\n.noUi-handle:after,.noUi-handle:before{content:\"\";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}\n.noUi-handle:after{left:17px}\n.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}\n.noUi-vertical .noUi-handle:after{top:17px}\n[disabled] .noUi-connect{background:#B8B8B8}\n[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}\n.noUi-pips,.noUi-pips *{box-sizing:border-box}\n.noUi-pips{position:absolute;color:#999}\n.noUi-value{position:absolute;white-space:nowrap;text-align:center}\n.noUi-value-sub{color:#ccc;font-size:10px}\n.noUi-marker{position:absolute;background:#CCC}\n.noUi-marker-sub{background:#AAA}\n.noUi-marker-large{background:#AAA}\n.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}\n.noUi-value-horizontal{transform:translate(-50%,50%)}\n.noUi-rtl .noUi-value-horizontal{transform:translate(50%,50%)}\n.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}\n.noUi-marker-horizontal.noUi-marker-sub{height:10px}\n.noUi-marker-horizontal.noUi-marker-large{height:15px}\n.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}\n.noUi-value-vertical{transform:translate(0,-50%);padding-left:25px}\n.noUi-rtl .noUi-value-vertical{transform:translate(0,50%)}\n.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}\n.noUi-marker-vertical.noUi-marker-sub{width:10px}\n.noUi-marker-vertical.noUi-marker-large{width:15px}\n.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}\n.noUi-horizontal .noUi-tooltip{transform:translate(-50%,0);left:50%;bottom:120%}\n.noUi-vertical .noUi-tooltip{transform:translate(0,-50%);top:50%;right:120%}\n.noUi-horizontal .noUi-origin>.noUi-tooltip{transform:translate(50%,0);left:auto;bottom:10px}\n.noUi-vertical .noUi-origin>.noUi-tooltip{transform:translate(0,-18px);top:auto;right:28px}\n/*!\r\n * bsStepper v1.7.0 (https://github.com/Johann-S/bs-stepper)\r\n * Copyright 2018 - 2019 Johann-S \r\n * Licensed under MIT (https://github.com/Johann-S/bs-stepper/blob/master/LICENSE)\r\n */\n.bs-stepper .step-trigger{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;padding:20px;font-size:1rem;font-weight:700;line-height:1.5;color:#6c757d;text-align:center;text-decoration:none;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:transparent;border:none;border-radius:.25rem;transition:background-color .15s ease-out,color .15s ease-out}\n.bs-stepper .step-trigger:not(:disabled):not(.disabled){cursor:pointer}\n.bs-stepper .step-trigger.disabled,.bs-stepper .step-trigger:disabled{pointer-events:none;opacity:.65}\n.bs-stepper .step-trigger:focus{color:#007bff;outline:0}\n.bs-stepper .step-trigger:hover{text-decoration:none;background-color:rgba(0,0,0,.06)}\n@media (max-width:520px){.bs-stepper .step-trigger{flex-direction:column;padding:10px}}\n.bs-stepper-label{display:inline-block;margin:.25rem}\n.bs-stepper-header{display:flex;align-items:center}\n@media (max-width:520px){.bs-stepper-header{margin:0 -10px;text-align:center}}\n.bs-stepper .line,.bs-stepper-line{flex:1 0 32px;min-width:1px;min-height:1px;margin:auto;background-color:rgba(0,0,0,.12)}\n@media (max-width:400px){.bs-stepper .line,.bs-stepper-line{flex-basis:20px}}\n.bs-stepper-circle{display:inline-flex;align-content:center;justify-content:center;width:2em;height:2em;padding:.5em 0;margin:.25rem;line-height:1em;color:#fff;background-color:#6c757d;border-radius:1em}\n.active .bs-stepper-circle{background-color:#007bff}\n.bs-stepper-content{padding:0 20px 20px}\n@media (max-width:520px){.bs-stepper-content{padding:0}}\n.bs-stepper.vertical{display:flex}\n.bs-stepper.vertical .bs-stepper-header{flex-direction:column;align-items:stretch;margin:0}\n.bs-stepper.vertical .bs-stepper-pane,.bs-stepper.vertical .content{display:block}\n.bs-stepper.vertical .bs-stepper-pane:not(.fade),.bs-stepper.vertical .content:not(.fade){display:block;visibility:hidden}\n.bs-stepper .content:not(.fade),.bs-stepper-pane:not(.fade){display:none}\n.bs-stepper .content.fade,.bs-stepper-pane.fade{visibility:hidden;transition-duration:.3s;transition-property:opacity}\n.bs-stepper .content.fade.active,.bs-stepper-pane.fade.active{visibility:visible;opacity:1}\n.bs-stepper .content.active:not(.fade),.bs-stepper-pane.active:not(.fade){display:block;visibility:visible}\n.bs-stepper .content.dstepper-block,.bs-stepper-pane.dstepper-block{display:block}\n.bs-stepper:not(.vertical) .bs-stepper-pane.dstepper-none,.bs-stepper:not(.vertical) .content.dstepper-none{display:none}\n.vertical .bs-stepper-pane.fade.dstepper-none,.vertical .content.fade.dstepper-none{visibility:hidden}\n.ng-select.ng-select-opened>.ng-select-container{background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}\n.ng-select.ng-select-opened>.ng-select-container:hover{box-shadow:none}\n.ng-select.ng-select-opened>.ng-select-container .ng-arrow{top:-2px;border-color:transparent transparent #999;border-width:0 5px 5px}\n.ng-select.ng-select-opened>.ng-select-container .ng-arrow:hover{border-color:transparent transparent #333}\n.ng-select.ng-select-opened.ng-select-top>.ng-select-container{border-top-right-radius:0;border-top-left-radius:0}\n.ng-select.ng-select-opened.ng-select-right>.ng-select-container{border-top-right-radius:0;border-bottom-right-radius:0}\n.ng-select.ng-select-opened.ng-select-bottom>.ng-select-container{border-bottom-right-radius:0;border-bottom-left-radius:0}\n.ng-select.ng-select-opened.ng-select-left>.ng-select-container{border-top-left-radius:0;border-bottom-left-radius:0}\n.ng-select.ng-select-focused:not(.ng-select-opened)>.ng-select-container{border-color:#007eff;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 0 3px rgba(0,126,255,0.1)}\n.ng-select.ng-select-disabled>.ng-select-container{background-color:#f9f9f9}\n.ng-select .ng-has-value .ng-placeholder{display:none}\n.ng-select .ng-select-container{color:#333;background-color:#fff;border-radius:4px;border:1px solid #ccc;min-height:36px;align-items:center}\n.ng-select .ng-select-container:hover{box-shadow:0 1px 0 rgba(0,0,0,0.06)}\n.ng-select .ng-select-container .ng-value-container{align-items:center;padding-left:10px}\n[dir=\"rtl\"] .ng-select .ng-select-container .ng-value-container{padding-right:10px;padding-left:0}\n.ng-select .ng-select-container .ng-value-container .ng-placeholder{color:#999}\n.ng-select.ng-select-single .ng-select-container{height:36px}\n.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{top:5px;left:0;padding-left:10px;padding-right:50px}\n[dir=\"rtl\"] .ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{padding-right:10px;padding-left:50px}\n.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value{background-color:#f9f9f9;border:1px solid #e6e6e6}\n.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-label{padding:0 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-top:5px;padding-left:7px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container{padding-right:7px;padding-left:0}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{font-size:.9em;margin-bottom:5px;color:#333;background-color:#ebf5ff;border-radius:2px;margin-right:5px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:0;margin-left:5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled{background-color:#f9f9f9}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:5px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-label{padding-left:0;padding-right:5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;padding:1px 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;padding:1px 5px}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon:hover{background-color:#d1e8ff}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-right:1px solid #b8dbff}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{border-left:1px solid #b8dbff;border-right:none}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:1px solid #b8dbff}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{border-left:0;border-right:1px solid #b8dbff}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 0 3px 3px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{padding:0 3px 3px 0}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input>input{color:#000}\n.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{top:5px;padding-bottom:5px;padding-left:3px}\n[dir=\"rtl\"] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{padding-right:3px;padding-left:0}\n.ng-select .ng-clear-wrapper{color:#999}\n.ng-select .ng-clear-wrapper:hover .ng-clear{color:#D0021B}\n.ng-select .ng-spinner-zone{padding:5px 5px 0 0}\n[dir=\"rtl\"] .ng-select .ng-spinner-zone{padding:5px 0 0 5px}\n.ng-select .ng-arrow-wrapper{width:25px;padding-right:5px}\n[dir=\"rtl\"] .ng-select .ng-arrow-wrapper{padding-left:5px;padding-right:0}\n.ng-select .ng-arrow-wrapper:hover .ng-arrow{border-top-color:#666}\n.ng-select .ng-arrow-wrapper .ng-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px}\n.ng-dropdown-panel{background-color:#fff;border:1px solid #ccc;box-shadow:0 1px 0 rgba(0,0,0,0.06);left:0}\n.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px;border-top-left-radius:4px}\n.ng-dropdown-panel.ng-select-right{left:100%;top:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-right .ng-dropdown-panel-items .ng-option:first-child{border-top-right-radius:4px}\n.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-top-color:#e6e6e6;margin-top:-1px}\n.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}\n.ng-dropdown-panel.ng-select-left{left:-100%;top:0;border-top-left-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-color:#e6e6e6;margin-bottom:-1px}\n.ng-dropdown-panel.ng-select-left .ng-dropdown-panel-items .ng-option:first-child{border-top-left-radius:4px}\n.ng-dropdown-panel .ng-dropdown-header{border-bottom:1px solid #ccc;padding:5px 7px}\n.ng-dropdown-panel .ng-dropdown-footer{border-top:1px solid #ccc;padding:5px 7px}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{-webkit-user-select:none;user-select:none;padding:8px 10px;font-weight:500;color:rgba(0,0,0,0.54);cursor:pointer}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-marked{background-color:#f5faff}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-selected.ng-option-marked{color:rgba(0,0,0,0.54);background-color:#ebf5ff;font-weight:600}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{background-color:#fff;color:rgba(0,0,0,0.87);padding:8px 10px}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked{color:#333;background-color:#ebf5ff}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected .ng-option-label,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-selected.ng-option-marked .ng-option-label{font-weight:600}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-marked{background-color:#f5faff;color:#333}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-disabled{color:#ccc}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:22px}\n[dir=\"rtl\"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:22px;padding-left:0}\n.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{font-size:80%;font-weight:400;padding-right:5px}\n[dir=\"rtl\"] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}\n[dir=\"rtl\"] .ng-dropdown-panel{direction:rtl;text-align:right}\n.ecommerce-application .content-body {\n position: relative;\n}\n.ecommerce-application .body-content-overlay {\n position: fixed !important;\n z-index: 12 !important;\n}\n.ecommerce-application .sidebar-shop {\n margin-top: 0.85rem;\n width: 260px;\n z-index: 998;\n}\n.ecommerce-application .sidebar-shop .filter-heading {\n margin-bottom: 1.75rem;\n}\n.ecommerce-application .sidebar-shop .filter-title {\n margin-bottom: 1rem;\n margin-top: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .price-range li:not(:last-child),\n.ecommerce-application .sidebar-shop .categories-list li:not(:last-child) {\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .brand-list li {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip {\n opacity: 0;\n transform: translate(-50%, -15%);\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle .noUi-tooltip:before {\n content: \"$ \";\n}\n.ecommerce-application .sidebar-shop .range-slider.noUi-horizontal .noUi-handle:active .noUi-tooltip {\n opacity: 1;\n}\n.ecommerce-application .sidebar-shop .ratings-list {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list:last-child {\n margin-bottom: 2.5rem;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul {\n margin-bottom: 0;\n}\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item svg,\n.ecommerce-application .sidebar-shop .ratings-list ul .ratings-list-item i {\n width: 1.25rem;\n height: 1.25rem;\n font-size: 1.25rem;\n}\n.ecommerce-application .filled-star {\n fill: #ff9f43;\n stroke: #ff9f43;\n color: #ff9f43;\n}\n.ecommerce-application .unfilled-star {\n stroke: #babfc7;\n color: #babfc7;\n}\n.ecommerce-application .ecommerce-header-items {\n display: flex;\n justify-content: space-between;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler {\n padding-left: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:active, .ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler:focus {\n outline: 0;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon {\n height: auto;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon i,\n.ecommerce-application .ecommerce-header-items .result-toggler .shop-sidebar-toggler .navbar-toggler-icon svg {\n color: #6e6b7b;\n height: 1.5rem;\n width: 1.5rem;\n font-size: 1.5rem;\n}\n.ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n font-weight: 500;\n color: #5e5873;\n}\n.ecommerce-application .ecommerce-searchbar .input-group {\n box-shadow: 0 2px 8px 0 rgba(34, 41, 47, 0.14);\n border-radius: 0.3rem;\n}\n.ecommerce-application .search-product,\n.ecommerce-application .input-group-text {\n height: 48px;\n border: none;\n font-size: 0.95rem;\n padding-left: 1.25rem;\n}\n.ecommerce-application .search-product::placeholder,\n.ecommerce-application .input-group-text::placeholder {\n font-size: 0.95rem;\n}\n.ecommerce-application .ecommerce-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 4px 25px 0 rgba(34, 41, 47, 0.25);\n}\n.ecommerce-application .ecommerce-card .item-rating ul {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-rating svg,\n.ecommerce-application .ecommerce-card .item-rating i {\n height: 1.143rem;\n width: 1.143rem;\n font-size: 1.143rem;\n}\n.ecommerce-application .ecommerce-card .item-name {\n margin-bottom: 0;\n}\n.ecommerce-application .ecommerce-card .item-name a {\n font-weight: 600;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .ecommerce-card .item-description {\n font-size: 0.875rem;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist span,\n.ecommerce-application .ecommerce-card .btn-cart span {\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i,\n.ecommerce-application .ecommerce-card .btn-wishlist svg,\n.ecommerce-application .ecommerce-card .btn-cart i,\n.ecommerce-application .ecommerce-card .btn-cart svg {\n margin-right: 0.25rem;\n vertical-align: text-top;\n}\n.ecommerce-application .ecommerce-card .btn-wishlist i.text-danger,\n.ecommerce-application .ecommerce-card .btn-wishlist svg.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart i.text-danger,\n.ecommerce-application .ecommerce-card .btn-cart svg.text-danger {\n fill: #ea5455;\n}\n.ecommerce-application .grid-view:not(.wishlist-items),\n.ecommerce-application .list-view:not(.wishlist-items) {\n margin-top: 2rem;\n}\n.ecommerce-application .grid-view {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n column-gap: 2rem;\n}\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr 1fr;\n}\n.ecommerce-application .grid-view .ecommerce-card {\n overflow: hidden;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-img {\n padding-top: 0.5rem;\n min-height: 15.85rem;\n display: flex;\n align-items: center;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-wrapper {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n}\n.ecommerce-application .grid-view .ecommerce-card .shipping,\n.ecommerce-application .grid-view .ecommerce-card .item-company,\n.ecommerce-application .grid-view .ecommerce-card .item-options .item-price {\n display: none;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options {\n display: flex;\n flex-wrap: wrap;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-cart,\n.ecommerce-application .grid-view .ecommerce-card .item-options .btn-wishlist {\n flex-grow: 1;\n border-radius: 0;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-name {\n margin-top: 0.75rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-description {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 0.2rem;\n}\n.ecommerce-application .grid-view .ecommerce-card .item-price {\n font-weight: 600;\n}\n.ecommerce-application .grid-view .ecommerce-card .card-body {\n padding: 1rem;\n}\n.ecommerce-application .list-view {\n display: grid;\n grid-template-columns: 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card {\n overflow: hidden;\n display: grid;\n grid-template-columns: 1fr 2fr 1fr;\n}\n.ecommerce-application .list-view .ecommerce-card .item-img {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 50px;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body {\n padding: 1.5rem 1rem;\n border-right: 1px solid #ebe9f1;\n display: flex;\n flex-direction: column;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-wrapper {\n order: 2;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-name {\n order: 1;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-description {\n order: 3;\n display: -webkit-box;\n -webkit-line-clamp: 5;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-price {\n display: none;\n}\n.ecommerce-application .list-view .ecommerce-card .card-body .item-rating {\n margin-bottom: 0.3rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company {\n display: inline-flex;\n font-weight: 400;\n margin: 0.3rem 0 0.5rem;\n font-size: 0.875rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-company .company-name {\n font-weight: 600;\n margin-left: 0.25rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options {\n padding: 1rem;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper {\n position: relative;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .item-wrapper .item-cost .item-price {\n color: #7367f0;\n margin-bottom: 0;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .shipping {\n margin-top: 0.75rem;\n}\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-wishlist,\n.ecommerce-application .list-view .ecommerce-card .item-options .btn-cart {\n margin-top: 1rem;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header,\n.ecommerce-application .checkout-tab-steps .bs-stepper-content {\n padding: 0;\n margin: 0;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-img img {\n width: 100px;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-name {\n order: 0 !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-company,\n.ecommerce-application .checkout-items .ecommerce-card .item-rating {\n margin-bottom: 0.4rem !important;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-quantity {\n display: flex;\n align-items: center;\n}\n.ecommerce-application .checkout-items .ecommerce-card .delivery-date {\n margin-top: 1.2rem;\n margin-bottom: 0.25rem;\n}\n.ecommerce-application .checkout-items .ecommerce-card .item-options .btn {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.ecommerce-application .checkout-options .coupons:focus-within {\n box-shadow: none;\n}\n.ecommerce-application .checkout-options .coupons input {\n border: none;\n padding-left: 0;\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons input::placeholder {\n color: #6e6b7b;\n font-weight: 600;\n}\n.ecommerce-application .checkout-options .coupons .input-group-append {\n margin: 0;\n}\n.ecommerce-application .checkout-options .coupons .input-group-text {\n height: auto;\n font-weight: 600;\n padding: inherit;\n}\n.ecommerce-application .checkout-options .price-details .price-title {\n font-weight: 600;\n margin-bottom: 0.75rem;\n margin-top: 1.5rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail {\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.75rem;\n}\n.ecommerce-application .checkout-options .price-details .price-detail .detail-title.detail-total {\n font-weight: 600;\n}\n.ecommerce-application .payment-type .gift-card {\n cursor: pointer;\n}\n.ecommerce-application .checkout-tab-steps {\n background-color: transparent !important;\n box-shadow: none !important;\n}\n.ecommerce-application .checkout-tab-steps .bs-stepper-header {\n border: none;\n}\n@media (min-width: 992px) {\n .ecommerce-application .ecommerce-header-items .shop-sidebar-toggler {\n display: none;\n }\n .ecommerce-application .product-checkout.list-view {\n grid-template-columns: 2fr 1fr;\n column-gap: 2rem;\n }\n}\n@media (max-width: 1199.98px) {\n .ecommerce-application .ecommerce-header-items .btn-group {\n align-items: center;\n }\n .ecommerce-application .ecommerce-header-items .btn-group .btn-icon {\n padding: 0.6rem 0.736rem;\n }\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr 1fr;\n }\n .ecommerce-application .body-content-overlay {\n position: fixed;\n opacity: 0;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n .ecommerce-application .body-content-overlay.show {\n opacity: 1;\n }\n .ecommerce-application.horizontal-layout .body-content-overlay {\n z-index: 998 !important;\n }\n .ecommerce-application.horizontal-layout .sidebar-shop {\n z-index: 999 !important;\n }\n}\n@media (max-width: 991.98px) {\n .ecommerce-application .sidebar-left .sidebar .card {\n border-radius: 0;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop {\n transform: translateX(-112%);\n transition: all 0.25s ease;\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n overflow-y: scroll;\n margin: 0;\n }\n .ecommerce-application .sidebar-left .sidebar .sidebar-shop.show {\n transition: all 0.25s ease;\n transform: translateX(0);\n }\n .ecommerce-application .grid-view {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .ecommerce-header-items .result-toggler .search-results {\n display: none;\n }\n}\n@media (max-width: 767.98px) {\n .ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card {\n grid-template-columns: 1fr;\n }\n .ecommerce-application .list-view .ecommerce-card .item-img {\n padding-top: 2rem;\n padding-bottom: 2rem;\n }\n .ecommerce-application .list-view .ecommerce-card .card-body {\n border: none;\n }\n}\n@media (max-width: 575.98px) {\n .ecommerce-application .grid-view,\n.ecommerce-application .grid-view.wishlist-items {\n grid-template-columns: 1fr;\n }\n}\n.noUi-target {\n background-color: rgba(115, 103, 240, 0.12);\n border-width: 0;\n box-shadow: none;\n border-radius: 1rem;\n}\n.noUi-target.noUi-connect {\n box-shadow: none;\n}\n.noUi-horizontal {\n height: 6px;\n}\n.noUi-horizontal .noUi-handle {\n width: 1rem;\n height: 1rem;\n cursor: pointer;\n right: -0.5rem;\n top: -4px;\n}\n.noUi-horizontal .noUi-tooltip {\n bottom: 135% !important;\n}\n.noUi-pips {\n color: #b9b9c3;\n}\n.noUi-marker {\n background: #ebe9f1;\n}\n.noUi-value {\n font-size: 0.857rem;\n}\n.noUi-marker-horizontal.noUi-marker,\n.noUi-marker-horizontal.noUi-marker-large {\n height: 8px;\n}\n.noUi-handle {\n box-shadow: none;\n border: none;\n border-radius: 50%;\n background: #fff;\n border: 2px solid #7367f0;\n}\n.noUi-handle:after, .noUi-handle:before {\n display: none;\n}\n.noUi-connect {\n background: #7367f0;\n box-shadow: none;\n}\n.noUi-tooltip {\n transform: translate(-10%, -50%);\n font-size: 0.857rem;\n border: none;\n color: #6e6b7b;\n background-color: #f8f8f8;\n padding: 0.1718rem 0.35rem;\n font-weight: 500;\n}\n.noUi-vertical {\n display: inline-block;\n width: 6px;\n}\n.noUi-vertical .noUi-origin {\n right: auto;\n}\n.noUi-vertical .noUi-handle {\n width: 1rem;\n height: 1rem;\n top: -0.375rem;\n left: -0.3rem;\n}\n.noUi-vertical .noUi-tooltip {\n right: 135% !important;\n}\n.hover_val {\n font: 400 12px Arial;\n color: #6e6b7b;\n display: block;\n margin: 15px 0;\n}\n.noUi-handle:focus {\n outline: 0;\n}\n_:-ms-lang(x),\n.slider-select {\n flex: 0 0 10%;\n max-width: 10%;\n}\n.dark-layout .noUi-handle {\n background-color: #283046;\n}\n.dark-layout .noUi-tooltip {\n background-color: #161d31;\n color: #b4b7bd;\n}\n.dark-layout .noUi-pips,\n.dark-layout .noUi-value {\n color: #b4b7bd;\n}\n.dark-layout .noUi-marker {\n background: #3b4253;\n}\n[data-textdirection=rtl] .noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {\n right: auto;\n}\n[data-textdirection=rtl] .noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {\n left: -3px;\n}\n.slider-white {\n background-color: rgba(255, 255, 255, 0.12);\n}\n.slider-white .noUi-connect {\n background: #ffffff !important;\n}\n.slider-white.noUi-connect {\n background: #ffffff !important;\n}\n.slider-white .noUi-handle {\n border-color: #ffffff !important;\n}\n.slider-black {\n background-color: rgba(0, 0, 0, 0.12);\n}\n.slider-black .noUi-connect {\n background: #000000 !important;\n}\n.slider-black.noUi-connect {\n background: #000000 !important;\n}\n.slider-black .noUi-handle {\n border-color: #000000 !important;\n}\n.slider-dark {\n background-color: rgba(75, 75, 75, 0.12);\n}\n.slider-dark .noUi-connect {\n background: #4b4b4b !important;\n}\n.slider-dark.noUi-connect {\n background: #4b4b4b !important;\n}\n.slider-dark .noUi-handle {\n border-color: #4b4b4b !important;\n}\n.slider-light {\n background-color: rgba(246, 246, 246, 0.12);\n}\n.slider-light .noUi-connect {\n background: #f6f6f6 !important;\n}\n.slider-light.noUi-connect {\n background: #f6f6f6 !important;\n}\n.slider-light .noUi-handle {\n border-color: #f6f6f6 !important;\n}\n.slider-primary {\n background-color: rgba(115, 103, 240, 0.12);\n}\n.slider-primary .noUi-connect {\n background: #7367f0 !important;\n}\n.slider-primary.noUi-connect {\n background: #7367f0 !important;\n}\n.slider-primary .noUi-handle {\n border-color: #7367f0 !important;\n}\n.slider-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n}\n.slider-secondary .noUi-connect {\n background: #82868b !important;\n}\n.slider-secondary.noUi-connect {\n background: #82868b !important;\n}\n.slider-secondary .noUi-handle {\n border-color: #82868b !important;\n}\n.slider-success {\n background-color: rgba(40, 199, 111, 0.12);\n}\n.slider-success .noUi-connect {\n background: #28c76f !important;\n}\n.slider-success.noUi-connect {\n background: #28c76f !important;\n}\n.slider-success .noUi-handle {\n border-color: #28c76f !important;\n}\n.slider-info {\n background-color: rgba(0, 207, 232, 0.12);\n}\n.slider-info .noUi-connect {\n background: #00cfe8 !important;\n}\n.slider-info.noUi-connect {\n background: #00cfe8 !important;\n}\n.slider-info .noUi-handle {\n border-color: #00cfe8 !important;\n}\n.slider-warning {\n background-color: rgba(255, 159, 67, 0.12);\n}\n.slider-warning .noUi-connect {\n background: #ff9f43 !important;\n}\n.slider-warning.noUi-connect {\n background: #ff9f43 !important;\n}\n.slider-warning .noUi-handle {\n border-color: #ff9f43 !important;\n}\n.slider-danger {\n background-color: rgba(234, 84, 85, 0.12);\n}\n.slider-danger .noUi-connect {\n background: #ea5455 !important;\n}\n.slider-danger.noUi-connect {\n background: #ea5455 !important;\n}\n.slider-danger .noUi-handle {\n border-color: #ea5455 !important;\n}\n.noUi-vertical {\n height: 200px;\n display: inline-block !important;\n}\n.bs-stepper {\n background-color: #fff;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n border-radius: 0.5rem;\n}\n.bs-stepper .bs-stepper-header {\n padding: 1.5rem 1.5rem;\n flex-wrap: wrap;\n border-bottom: 1px solid rgba(34, 41, 47, 0.08);\n margin: 0;\n}\n.bs-stepper .bs-stepper-header .line {\n flex: 0;\n min-width: auto;\n min-height: auto;\n background-color: transparent;\n margin: 0;\n padding: 0 1.75rem;\n color: #6e6b7b;\n font-size: 1.5rem;\n}\n.bs-stepper .bs-stepper-header .step {\n margin-bottom: 0.25rem;\n margin-top: 0.25rem;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger {\n padding: 0;\n flex-wrap: nowrap;\n font-weight: normal;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-box {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 38px;\n height: 38px;\n padding: 0.5em 0;\n font-weight: 500;\n color: #babfc7;\n background-color: rgba(186, 191, 199, 0.12);\n border-radius: 0.35rem;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label {\n text-align: left;\n margin: 0;\n margin-top: 0.5rem;\n margin-left: 1rem;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-title {\n display: inherit;\n color: #6e6b7b;\n font-weight: 600;\n line-height: 1rem;\n margin-bottom: 0rem;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-subtitle {\n font-weight: 400;\n font-size: 0.85rem;\n color: #b9b9c3;\n}\n.bs-stepper .bs-stepper-header .step .step-trigger:hover {\n background-color: transparent;\n}\n.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}\n.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #7367f0;\n}\n.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-box {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}\n.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #b9b9c3;\n}\n.bs-stepper .bs-stepper-header .step.crossed + .line {\n color: #7367f0;\n}\n.bs-stepper .bs-stepper-content {\n padding: 1.5rem 1.5rem;\n}\n.bs-stepper .bs-stepper-content .content {\n margin-left: 0;\n}\n.bs-stepper .bs-stepper-content .content .content-header {\n margin-bottom: 1rem;\n}\n.bs-stepper.vertical .bs-stepper-header {\n border-right: 1px solid #ebe9f1;\n border-bottom: none;\n}\n.bs-stepper.vertical .bs-stepper-header .step .step-trigger {\n padding: 1rem 0;\n}\n.bs-stepper.vertical .bs-stepper-header .line {\n display: none;\n}\n.bs-stepper.vertical .bs-stepper-content {\n width: 100%;\n padding-top: 2.5rem;\n}\n.bs-stepper.vertical .bs-stepper-content .content:not(.active) {\n display: none;\n}\n.bs-stepper.vertical.wizard-icons .step {\n text-align: center;\n}\n.bs-stepper.wizard-modern {\n background-color: transparent;\n box-shadow: none;\n}\n.bs-stepper.wizard-modern .bs-stepper-header {\n border: none;\n}\n.bs-stepper.wizard-modern .bs-stepper-content {\n background-color: #fff;\n border-radius: 0.5rem;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n}\n.horizontal-wizard,\n.vertical-wizard,\n.modern-horizontal-wizard,\n.modern-vertical-wizard {\n margin-bottom: 2.2rem;\n}\n.dark-layout .bs-stepper {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}\n.dark-layout .bs-stepper .bs-stepper-header {\n border-bottom: 1px solid rgba(59, 66, 83, 0.08);\n}\n.dark-layout .bs-stepper .bs-stepper-header .line {\n color: #b4b7bd;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-box {\n color: #babfc7;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #b4b7bd;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step .step-trigger .bs-stepper-label .bs-stepper-subtitle {\n color: #676d7d;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}\n.dark-layout .bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title {\n color: #7367f0;\n}\n.dark-layout .bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-label,\n.dark-layout .bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-title {\n color: #676d7d;\n}\n.dark-layout .bs-stepper.vertical .bs-stepper-header {\n border-right-color: #3b4253;\n}\n.dark-layout .bs-stepper.wizard-modern {\n background-color: transparent;\n box-shadow: none;\n}\n.dark-layout .bs-stepper.wizard-modern .bs-stepper-header {\n border: none;\n}\n.dark-layout .bs-stepper.wizard-modern .bs-stepper-content {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}\nhtml[data-textdirection=rtl] .btn-prev,\nhtml[data-textdirection=rtl] .btn-next {\n display: flex;\n}\nhtml[data-textdirection=rtl] .btn-prev i,\nhtml[data-textdirection=rtl] .btn-prev svg,\nhtml[data-textdirection=rtl] .btn-next i,\nhtml[data-textdirection=rtl] .btn-next svg {\n transform: rotate(-180deg);\n}\n@media (max-width: 992px) {\n .bs-stepper .bs-stepper-header {\n flex-direction: column;\n align-items: flex-start;\n }\n .bs-stepper .bs-stepper-header .step .step-trigger {\n padding: 0.5rem 0 !important;\n flex-direction: row;\n }\n .bs-stepper .bs-stepper-header .line {\n display: none;\n }\n .bs-stepper.vertical {\n flex-direction: column;\n }\n .bs-stepper.vertical .bs-stepper-header {\n align-items: flex-start;\n }\n .bs-stepper.vertical .bs-stepper-content {\n padding-top: 1.5rem;\n }\n}\n.bg-white {\n background-color: #ffffff !important;\n}\n.bg-white .card-header,\n.bg-white .card-footer {\n background-color: transparent;\n}\n.border-white {\n border: 1px solid #ffffff !important;\n}\n.border-top-white {\n border-top: 1px solid #ffffff;\n}\n.border-bottom-white {\n border-bottom: 1px solid #ffffff;\n}\n.border-left-white {\n border-left: 1px solid #ffffff;\n}\n.border-right-white {\n border-right: 1px solid #ffffff;\n}\n.bg-white.badge-glow,\n.border-white.badge-glow,\n.badge-white.badge-glow {\n box-shadow: 0px 0px 10px #ffffff;\n}\n.overlay-white {\n background: #ffffff; /* The Fallback */\n background: rgba(255, 255, 255, 0.6);\n}\ninput:focus ~ .bg-white {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ffffff !important;\n}\n.bg-black {\n background-color: #000000 !important;\n}\n.bg-black .card-header,\n.bg-black .card-footer {\n background-color: transparent;\n}\n.border-black {\n border: 1px solid #000000 !important;\n}\n.border-top-black {\n border-top: 1px solid #000000;\n}\n.border-bottom-black {\n border-bottom: 1px solid #000000;\n}\n.border-left-black {\n border-left: 1px solid #000000;\n}\n.border-right-black {\n border-right: 1px solid #000000;\n}\n.bg-black.badge-glow,\n.border-black.badge-glow,\n.badge-black.badge-glow {\n box-shadow: 0px 0px 10px #000000;\n}\n.overlay-black {\n background: #000000; /* The Fallback */\n background: rgba(0, 0, 0, 0.6);\n}\ninput:focus ~ .bg-black {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #000000 !important;\n}\n.bg-dark {\n background-color: #4b4b4b !important;\n}\n.bg-dark .card-header,\n.bg-dark .card-footer {\n background-color: transparent;\n}\n.alert-dark {\n background: rgba(75, 75, 75, 0.12) !important;\n color: #4b4b4b !important;\n}\n.alert-dark .alert-heading {\n box-shadow: rgba(75, 75, 75, 0.4) 0px 6px 15px -7px;\n}\n.alert-dark .alert-link {\n color: #3e3e3e !important;\n}\n.alert-dark .close {\n color: #4b4b4b !important;\n}\n.border-dark {\n border: 1px solid #4b4b4b !important;\n}\n.border-top-dark {\n border-top: 1px solid #4b4b4b;\n}\n.border-bottom-dark {\n border-bottom: 1px solid #4b4b4b;\n}\n.border-left-dark {\n border-left: 1px solid #4b4b4b;\n}\n.border-right-dark {\n border-right: 1px solid #4b4b4b;\n}\n.bg-dark.badge-glow,\n.border-dark.badge-glow,\n.badge-dark.badge-glow {\n box-shadow: 0px 0px 10px #4b4b4b;\n}\n.badge.badge-light-dark {\n background-color: rgba(75, 75, 75, 0.12);\n color: #4b4b4b !important;\n}\n.overlay-dark {\n background: #4b4b4b; /* The Fallback */\n background: rgba(75, 75, 75, 0.6);\n}\n.btn-dark {\n border-color: #4b4b4b !important;\n background-color: #4b4b4b !important;\n color: #fff !important;\n}\n.btn-dark:focus, .btn-dark:active, .btn-dark.active {\n color: #fff;\n background-color: #343434 !important;\n}\n.btn-dark:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #4b4b4b;\n}\n.btn-dark:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-dark {\n background-color: transparent;\n color: #4b4b4b;\n}\n.btn-flat-dark:hover {\n color: #4b4b4b;\n}\n.btn-flat-dark:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.12);\n}\n.btn-flat-dark:active, .btn-flat-dark.active, .btn-flat-dark:focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-flat-dark.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-dark {\n background-color: #4b4b4b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-dark:hover:not(.disabled):not(:disabled) {\n background-color: #626262;\n}\n.btn-relief-dark:active, .btn-relief-dark.active, .btn-relief-dark:focus {\n background-color: #343434;\n}\n.btn-relief-dark:hover {\n color: #fff;\n}\n.btn-relief-dark:active, .btn-relief-dark.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-dark {\n border: 1px solid #4b4b4b !important;\n background-color: transparent;\n color: #4b4b4b;\n}\n.btn-outline-dark:hover:not(.disabled):not(:disabled) {\n background-color: rgba(75, 75, 75, 0.04);\n color: #4b4b4b;\n}\n.btn-outline-dark:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, .btn-outline-dark:not(:disabled):not(.disabled):focus {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-outline-dark.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b4b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-dark.dropdown-toggle {\n background-color: rgba(75, 75, 75, 0.2);\n color: #4b4b4b;\n}\n.btn-outline-dark.waves-effect .waves-ripple,\n.btn-flat-dark.waves-effect .waves-ripple {\n background: radial-gradient(rgba(75, 75, 75, 0.2) 0, rgba(75, 75, 75, 0.3) 40%, rgba(75, 75, 75, 0.4) 50%, rgba(75, 75, 75, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-dark {\n background-color: #4b4b4b;\n}\n.modal.modal-dark .modal-header .modal-title {\n color: #4b4b4b;\n}\n.modal.modal-dark .modal-header .close {\n color: #4b4b4b !important;\n}\n.progress-bar-dark {\n background-color: rgba(75, 75, 75, 0.12);\n}\n.progress-bar-dark .progress-bar {\n background-color: #4b4b4b;\n}\n.timeline .timeline-point-dark {\n border-color: #4b4b4b !important;\n}\n.timeline .timeline-point-dark i,\n.timeline .timeline-point-dark svg {\n stroke: #4b4b4b !important;\n}\n.timeline .timeline-point-dark.timeline-point-indicator {\n background-color: #4b4b4b !important;\n}\n.timeline .timeline-point-dark.timeline-point-indicator:before {\n background: rgba(75, 75, 75, 0.12) !important;\n}\n.divider.divider-dark .divider-text:before, .divider.divider-dark .divider-text:after {\n border-color: #4b4b4b !important;\n}\ninput:focus ~ .bg-dark {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #4b4b4b !important;\n}\n.custom-control-dark .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark .custom-control-input:active ~ .custom-control-label::before {\n border-color: #4b4b4b;\n background-color: #4b4b4b;\n}\n.custom-control-dark.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-dark.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-dark.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-dark.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-dark.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(75, 75, 75, 0.4) !important;\n}\n.custom-control-dark .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(75, 75, 75, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-dark .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #4b4b4b !important;\n}\n.custom-switch-dark .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #4b4b4b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-dark .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #4b4b4b !important;\n border-color: #4b4b4b !important;\n}\n.text-dark.text-darken-1 {\n color: #343434 !important;\n}\n.bg-dark.bg-darken-1 {\n background-color: #343434 !important;\n}\n.border-dark.border-darken-1 {\n border: 1px solid #343434 !important;\n}\n.border-top-dark.border-top-darken-1 {\n border-top: 1px solid #343434 !important;\n}\n.border-bottom-dark.border-bottom-darken-1 {\n border-bottom: 1px solid #343434 !important;\n}\n.border-left-dark.border-left-darken-1 {\n border-left: 1px solid #343434 !important;\n}\n.border-right-dark.border-right-darken-1 {\n border-right: 1px solid #343434 !important;\n}\n.overlay-dark.overlay-darken-1 {\n background: #343434; /* The Fallback */\n background: rgba(52, 52, 52, 0.6);\n}\n.text-dark.text-darken-2 {\n color: #1e1e1e !important;\n}\n.bg-dark.bg-darken-2 {\n background-color: #1e1e1e !important;\n}\n.border-dark.border-darken-2 {\n border: 1px solid #1e1e1e !important;\n}\n.border-top-dark.border-top-darken-2 {\n border-top: 1px solid #1e1e1e !important;\n}\n.border-bottom-dark.border-bottom-darken-2 {\n border-bottom: 1px solid #1e1e1e !important;\n}\n.border-left-dark.border-left-darken-2 {\n border-left: 1px solid #1e1e1e !important;\n}\n.border-right-dark.border-right-darken-2 {\n border-right: 1px solid #1e1e1e !important;\n}\n.overlay-dark.overlay-darken-2 {\n background: #1e1e1e; /* The Fallback */\n background: rgba(30, 30, 30, 0.6);\n}\n.text-dark.text-darken-3 {\n color: #626262 !important;\n}\n.bg-dark.bg-darken-3 {\n background-color: #626262 !important;\n}\n.border-dark.border-darken-3 {\n border: 1px solid #626262 !important;\n}\n.border-top-dark.border-top-darken-3 {\n border-top: 1px solid #626262 !important;\n}\n.border-bottom-dark.border-bottom-darken-3 {\n border-bottom: 1px solid #626262 !important;\n}\n.border-left-dark.border-left-darken-3 {\n border-left: 1px solid #626262 !important;\n}\n.border-right-dark.border-right-darken-3 {\n border-right: 1px solid #626262 !important;\n}\n.overlay-dark.overlay-darken-3 {\n background: #626262; /* The Fallback */\n background: rgba(98, 98, 98, 0.6);\n}\n.bg-light {\n background-color: #f6f6f6 !important;\n}\n.bg-light .card-header,\n.bg-light .card-footer {\n background-color: transparent;\n}\n.border-light {\n border: 1px solid #f6f6f6 !important;\n}\n.border-top-light {\n border-top: 1px solid #f6f6f6;\n}\n.border-bottom-light {\n border-bottom: 1px solid #f6f6f6;\n}\n.border-left-light {\n border-left: 1px solid #f6f6f6;\n}\n.border-right-light {\n border-right: 1px solid #f6f6f6;\n}\n.bg-light.badge-glow,\n.border-light.badge-glow,\n.badge-light.badge-glow {\n box-shadow: 0px 0px 10px #f6f6f6;\n}\n.overlay-light {\n background: #f6f6f6; /* The Fallback */\n background: rgba(246, 246, 246, 0.6);\n}\ninput:focus ~ .bg-light {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #f6f6f6 !important;\n}\n.text-primary.text-lighten-5 {\n color: #dedbfb !important;\n}\n.bg-primary.bg-lighten-5 {\n background-color: #dedbfb !important;\n}\n.border-primary.border-lighten-5 {\n border: 1px solid #dedbfb !important;\n}\n.border-top-primary.border-top-lighten-5 {\n border-top: 1px solid #dedbfb !important;\n}\n.border-bottom-primary.border-bottom-lighten-5 {\n border-bottom: 1px solid #dedbfb !important;\n}\n.border-left-primary.border-left-lighten-5 {\n border-left: 1px solid #dedbfb !important;\n}\n.border-right-primary.border-right-lighten-5 {\n border-right: 1px solid #dedbfb !important;\n}\n.overlay-primary.overlay-lighten-5 {\n background: #dedbfb; /* The Fallback */\n background: rgba(222, 219, 251, 0.6);\n}\n.text-primary.text-lighten-4 {\n color: #c9c4f9 !important;\n}\n.bg-primary.bg-lighten-4 {\n background-color: #c9c4f9 !important;\n}\n.border-primary.border-lighten-4 {\n border: 1px solid #c9c4f9 !important;\n}\n.border-top-primary.border-top-lighten-4 {\n border-top: 1px solid #c9c4f9 !important;\n}\n.border-bottom-primary.border-bottom-lighten-4 {\n border-bottom: 1px solid #c9c4f9 !important;\n}\n.border-left-primary.border-left-lighten-4 {\n border-left: 1px solid #c9c4f9 !important;\n}\n.border-right-primary.border-right-lighten-4 {\n border-right: 1px solid #c9c4f9 !important;\n}\n.overlay-primary.overlay-lighten-4 {\n background: #c9c4f9; /* The Fallback */\n background: rgba(201, 196, 249, 0.6);\n}\n.text-primary.text-lighten-3 {\n color: #b3adf7 !important;\n}\n.bg-primary.bg-lighten-3 {\n background-color: #b3adf7 !important;\n}\n.border-primary.border-lighten-3 {\n border: 1px solid #b3adf7 !important;\n}\n.border-top-primary.border-top-lighten-3 {\n border-top: 1px solid #b3adf7 !important;\n}\n.border-bottom-primary.border-bottom-lighten-3 {\n border-bottom: 1px solid #b3adf7 !important;\n}\n.border-left-primary.border-left-lighten-3 {\n border-left: 1px solid #b3adf7 !important;\n}\n.border-right-primary.border-right-lighten-3 {\n border-right: 1px solid #b3adf7 !important;\n}\n.overlay-primary.overlay-lighten-3 {\n background: #b3adf7; /* The Fallback */\n background: rgba(179, 173, 247, 0.6);\n}\n.text-primary.text-lighten-2 {\n color: #9e95f5 !important;\n}\n.bg-primary.bg-lighten-2 {\n background-color: #9e95f5 !important;\n}\n.border-primary.border-lighten-2 {\n border: 1px solid #9e95f5 !important;\n}\n.border-top-primary.border-top-lighten-2 {\n border-top: 1px solid #9e95f5 !important;\n}\n.border-bottom-primary.border-bottom-lighten-2 {\n border-bottom: 1px solid #9e95f5 !important;\n}\n.border-left-primary.border-left-lighten-2 {\n border-left: 1px solid #9e95f5 !important;\n}\n.border-right-primary.border-right-lighten-2 {\n border-right: 1px solid #9e95f5 !important;\n}\n.overlay-primary.overlay-lighten-2 {\n background: #9e95f5; /* The Fallback */\n background: rgba(158, 149, 245, 0.6);\n}\n.text-primary.text-lighten-1 {\n color: #887ef2 !important;\n}\n.bg-primary.bg-lighten-1 {\n background-color: #887ef2 !important;\n}\n.border-primary.border-lighten-1 {\n border: 1px solid #887ef2 !important;\n}\n.border-top-primary.border-top-lighten-1 {\n border-top: 1px solid #887ef2 !important;\n}\n.border-bottom-primary.border-bottom-lighten-1 {\n border-bottom: 1px solid #887ef2 !important;\n}\n.border-left-primary.border-left-lighten-1 {\n border-left: 1px solid #887ef2 !important;\n}\n.border-right-primary.border-right-lighten-1 {\n border-right: 1px solid #887ef2 !important;\n}\n.overlay-primary.overlay-lighten-1 {\n background: #887ef2; /* The Fallback */\n background: rgba(136, 126, 242, 0.6);\n}\n.bg-primary {\n background-color: #7367f0 !important;\n}\n.bg-primary .card-header,\n.bg-primary .card-footer {\n background-color: transparent;\n}\n.alert-primary {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.alert-primary .alert-heading {\n box-shadow: rgba(115, 103, 240, 0.4) 0px 6px 15px -7px;\n}\n.alert-primary .alert-link {\n color: #5e50ee !important;\n}\n.alert-primary .close {\n color: #7367f0 !important;\n}\n.bg-light-primary {\n background: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.bg-light-primary.fc-h-event, .bg-light-primary.fc-v-event {\n border-color: rgba(115, 103, 240, 0.1);\n}\n.bg-light-primary .fc-list-event-dot,\n.bg-light-primary .fc-daygrid-event-dot {\n border-color: #7367f0 !important;\n}\n.bg-light-primary.fc-list-event:hover td {\n background: rgba(115, 103, 240, 0.1) !important;\n}\n.bg-light-primary.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-primary {\n color: #7367f0 !important;\n}\n.border-primary {\n border: 1px solid #7367f0 !important;\n}\n.border-top-primary {\n border-top: 1px solid #7367f0;\n}\n.border-bottom-primary {\n border-bottom: 1px solid #7367f0;\n}\n.border-left-primary {\n border-left: 1px solid #7367f0;\n}\n.border-right-primary {\n border-right: 1px solid #7367f0;\n}\n.bg-primary.badge-glow,\n.border-primary.badge-glow,\n.badge-primary.badge-glow {\n box-shadow: 0px 0px 10px #7367f0;\n}\n.badge.badge-light-primary {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}\n.overlay-primary {\n background: #7367f0; /* The Fallback */\n background: rgba(115, 103, 240, 0.6);\n}\n.btn-primary {\n border-color: #7367f0 !important;\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.btn-primary:focus, .btn-primary:active, .btn-primary.active {\n color: #fff;\n background-color: #5e50ee !important;\n}\n.btn-primary:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #7367f0;\n}\n.btn-primary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-primary {\n background-color: transparent;\n color: #7367f0;\n}\n.btn-flat-primary:hover {\n color: #7367f0;\n}\n.btn-flat-primary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.12);\n}\n.btn-flat-primary:active, .btn-flat-primary.active, .btn-flat-primary:focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-flat-primary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-primary {\n background-color: #7367f0;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-primary:hover:not(.disabled):not(:disabled) {\n background-color: #887ef2;\n}\n.btn-relief-primary:active, .btn-relief-primary.active, .btn-relief-primary:focus {\n background-color: #5e50ee;\n}\n.btn-relief-primary:hover {\n color: #fff;\n}\n.btn-relief-primary:active, .btn-relief-primary.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-primary {\n border: 1px solid #7367f0 !important;\n background-color: transparent;\n color: #7367f0;\n}\n.btn-outline-primary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(115, 103, 240, 0.04);\n color: #7367f0;\n}\n.btn-outline-primary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):focus {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-outline-primary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-primary.dropdown-toggle {\n background-color: rgba(115, 103, 240, 0.2);\n color: #7367f0;\n}\n.btn-outline-primary.waves-effect .waves-ripple,\n.btn-flat-primary.waves-effect .waves-ripple {\n background: radial-gradient(rgba(115, 103, 240, 0.2) 0, rgba(115, 103, 240, 0.3) 40%, rgba(115, 103, 240, 0.4) 50%, rgba(115, 103, 240, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-primary {\n background-color: #7367f0;\n}\n.modal.modal-primary .modal-header .modal-title {\n color: #7367f0;\n}\n.modal.modal-primary .modal-header .close {\n color: #7367f0 !important;\n}\n.pagination-primary .page-item.active .page-link {\n background: #7367f0 !important;\n color: #fff;\n}\n.pagination-primary .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-primary .page-item .page-link:hover {\n color: #7367f0;\n}\n.pagination-primary .page-item.prev-item .page-link:hover, .pagination-primary .page-item.next-item .page-link:hover {\n background: #7367f0;\n color: #fff;\n}\n.pagination-primary .page-item.next-item .page-link:active:after, .pagination-primary .page-item.next-item .page-link:hover:after, .pagination-primary .page-item.next .page-link:active:after, .pagination-primary .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-primary .page-item.prev-item .page-link:active:before, .pagination-primary .page-item.prev-item .page-link:hover:before, .pagination-primary .page-item.prev .page-link:active:before, .pagination-primary .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237367f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-primary .nav-item .nav-link.active {\n color: #fff;\n background-color: #7367f0 !important;\n border-color: #7367f0;\n box-shadow: 0 4px 18px -4px rgba(115, 103, 240, 0.65);\n}\n.progress-bar-primary {\n background-color: rgba(115, 103, 240, 0.12);\n}\n.progress-bar-primary .progress-bar {\n background-color: #7367f0;\n}\n.timeline .timeline-point-primary {\n border-color: #7367f0 !important;\n}\n.timeline .timeline-point-primary i,\n.timeline .timeline-point-primary svg {\n stroke: #7367f0 !important;\n}\n.timeline .timeline-point-primary.timeline-point-indicator {\n background-color: #7367f0 !important;\n}\n.timeline .timeline-point-primary.timeline-point-indicator:before {\n background: rgba(115, 103, 240, 0.12) !important;\n}\n.divider.divider-primary .divider-text:before, .divider.divider-primary .divider-text:after {\n border-color: #7367f0 !important;\n}\ninput:focus ~ .bg-primary {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #7367f0 !important;\n}\n.custom-control-primary .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary .custom-control-input:active ~ .custom-control-label::before {\n border-color: #7367f0;\n background-color: #7367f0;\n}\n.custom-control-primary.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-primary.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-primary.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-primary.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-primary.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(115, 103, 240, 0.4) !important;\n}\n.custom-control-primary .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(115, 103, 240, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-primary .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #7367f0 !important;\n}\n.custom-switch-primary .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #7367f0 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-primary .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #7367f0 !important;\n border-color: #7367f0 !important;\n}\n.text-primary.text-darken-1 {\n color: #5e50ee !important;\n}\n.bg-primary.bg-darken-1 {\n background-color: #5e50ee !important;\n}\n.border-primary.border-darken-1 {\n border: 1px solid #5e50ee !important;\n}\n.border-top-primary.border-top-darken-1 {\n border-top: 1px solid #5e50ee !important;\n}\n.border-bottom-primary.border-bottom-darken-1 {\n border-bottom: 1px solid #5e50ee !important;\n}\n.border-left-primary.border-left-darken-1 {\n border-left: 1px solid #5e50ee !important;\n}\n.border-right-primary.border-right-darken-1 {\n border-right: 1px solid #5e50ee !important;\n}\n.overlay-primary.overlay-darken-1 {\n background: #5e50ee; /* The Fallback */\n background: rgba(94, 80, 238, 0.6);\n}\n.text-primary.text-darken-2 {\n color: #4839eb !important;\n}\n.bg-primary.bg-darken-2 {\n background-color: #4839eb !important;\n}\n.border-primary.border-darken-2 {\n border: 1px solid #4839eb !important;\n}\n.border-top-primary.border-top-darken-2 {\n border-top: 1px solid #4839eb !important;\n}\n.border-bottom-primary.border-bottom-darken-2 {\n border-bottom: 1px solid #4839eb !important;\n}\n.border-left-primary.border-left-darken-2 {\n border-left: 1px solid #4839eb !important;\n}\n.border-right-primary.border-right-darken-2 {\n border-right: 1px solid #4839eb !important;\n}\n.overlay-primary.overlay-darken-2 {\n background: #4839eb; /* The Fallback */\n background: rgba(72, 57, 235, 0.6);\n}\n.text-primary.text-darken-3 {\n color: #3321e9 !important;\n}\n.bg-primary.bg-darken-3 {\n background-color: #3321e9 !important;\n}\n.border-primary.border-darken-3 {\n border: 1px solid #3321e9 !important;\n}\n.border-top-primary.border-top-darken-3 {\n border-top: 1px solid #3321e9 !important;\n}\n.border-bottom-primary.border-bottom-darken-3 {\n border-bottom: 1px solid #3321e9 !important;\n}\n.border-left-primary.border-left-darken-3 {\n border-left: 1px solid #3321e9 !important;\n}\n.border-right-primary.border-right-darken-3 {\n border-right: 1px solid #3321e9 !important;\n}\n.overlay-primary.overlay-darken-3 {\n background: #3321e9; /* The Fallback */\n background: rgba(51, 33, 233, 0.6);\n}\n.text-primary.text-darken-4 {\n color: #2716db !important;\n}\n.bg-primary.bg-darken-4 {\n background-color: #2716db !important;\n}\n.border-primary.border-darken-4 {\n border: 1px solid #2716db !important;\n}\n.border-top-primary.border-top-darken-4 {\n border-top: 1px solid #2716db !important;\n}\n.border-bottom-primary.border-bottom-darken-4 {\n border-bottom: 1px solid #2716db !important;\n}\n.border-left-primary.border-left-darken-4 {\n border-left: 1px solid #2716db !important;\n}\n.border-right-primary.border-right-darken-4 {\n border-right: 1px solid #2716db !important;\n}\n.overlay-primary.overlay-darken-4 {\n background: #2716db; /* The Fallback */\n background: rgba(39, 22, 219, 0.6);\n}\n.text-primary.text-accent-1 {\n color: #bdfdff !important;\n}\n.bg-primary.bg-accent-1 {\n background-color: #bdfdff !important;\n}\n.border-primary.border-accent-1 {\n border: 1px solid #bdfdff !important;\n}\n.border-top-primary.border-top-accent-1 {\n border-top: 1px solid #bdfdff !important;\n}\n.border-bottom-primary.border-bottom-accent-1 {\n border-bottom: 1px solid #bdfdff !important;\n}\n.border-left-primary.border-left-accent-1 {\n border-left: 1px solid #bdfdff !important;\n}\n.border-right-primary.border-right-accent-1 {\n border-right: 1px solid #bdfdff !important;\n}\n.overlay-primary.overlay-accent-1 {\n background: #bdfdff; /* The Fallback */\n background: rgba(189, 253, 255, 0.6);\n}\n.text-primary.text-accent-2 {\n color: #8afbff !important;\n}\n.bg-primary.bg-accent-2 {\n background-color: #8afbff !important;\n}\n.border-primary.border-accent-2 {\n border: 1px solid #8afbff !important;\n}\n.border-top-primary.border-top-accent-2 {\n border-top: 1px solid #8afbff !important;\n}\n.border-bottom-primary.border-bottom-accent-2 {\n border-bottom: 1px solid #8afbff !important;\n}\n.border-left-primary.border-left-accent-2 {\n border-left: 1px solid #8afbff !important;\n}\n.border-right-primary.border-right-accent-2 {\n border-right: 1px solid #8afbff !important;\n}\n.overlay-primary.overlay-accent-2 {\n background: #8afbff; /* The Fallback */\n background: rgba(138, 251, 255, 0.6);\n}\n.text-primary.text-accent-3 {\n color: #57faff !important;\n}\n.bg-primary.bg-accent-3 {\n background-color: #57faff !important;\n}\n.border-primary.border-accent-3 {\n border: 1px solid #57faff !important;\n}\n.border-top-primary.border-top-accent-3 {\n border-top: 1px solid #57faff !important;\n}\n.border-bottom-primary.border-bottom-accent-3 {\n border-bottom: 1px solid #57faff !important;\n}\n.border-left-primary.border-left-accent-3 {\n border-left: 1px solid #57faff !important;\n}\n.border-right-primary.border-right-accent-3 {\n border-right: 1px solid #57faff !important;\n}\n.overlay-primary.overlay-accent-3 {\n background: #57faff; /* The Fallback */\n background: rgba(87, 250, 255, 0.6);\n}\n.text-primary.text-accent-4 {\n color: #3df9ff !important;\n}\n.bg-primary.bg-accent-4 {\n background-color: #3df9ff !important;\n}\n.border-primary.border-accent-4 {\n border: 1px solid #3df9ff !important;\n}\n.border-top-primary.border-top-accent-4 {\n border-top: 1px solid #3df9ff !important;\n}\n.border-bottom-primary.border-bottom-accent-4 {\n border-bottom: 1px solid #3df9ff !important;\n}\n.border-left-primary.border-left-accent-4 {\n border-left: 1px solid #3df9ff !important;\n}\n.border-right-primary.border-right-accent-4 {\n border-right: 1px solid #3df9ff !important;\n}\n.overlay-primary.overlay-accent-4 {\n background: #3df9ff; /* The Fallback */\n background: rgba(61, 249, 255, 0.6);\n}\n.text-secondary.text-lighten-5 {\n color: #c4c6c8 !important;\n}\n.bg-secondary.bg-lighten-5 {\n background-color: #c4c6c8 !important;\n}\n.border-secondary.border-lighten-5 {\n border: 1px solid #c4c6c8 !important;\n}\n.border-top-secondary.border-top-lighten-5 {\n border-top: 1px solid #c4c6c8 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-5 {\n border-bottom: 1px solid #c4c6c8 !important;\n}\n.border-left-secondary.border-left-lighten-5 {\n border-left: 1px solid #c4c6c8 !important;\n}\n.border-right-secondary.border-right-lighten-5 {\n border-right: 1px solid #c4c6c8 !important;\n}\n.overlay-secondary.overlay-lighten-5 {\n background: #c4c6c8; /* The Fallback */\n background: rgba(196, 198, 200, 0.6);\n}\n.text-secondary.text-lighten-4 {\n color: #b7b9bc !important;\n}\n.bg-secondary.bg-lighten-4 {\n background-color: #b7b9bc !important;\n}\n.border-secondary.border-lighten-4 {\n border: 1px solid #b7b9bc !important;\n}\n.border-top-secondary.border-top-lighten-4 {\n border-top: 1px solid #b7b9bc !important;\n}\n.border-bottom-secondary.border-bottom-lighten-4 {\n border-bottom: 1px solid #b7b9bc !important;\n}\n.border-left-secondary.border-left-lighten-4 {\n border-left: 1px solid #b7b9bc !important;\n}\n.border-right-secondary.border-right-lighten-4 {\n border-right: 1px solid #b7b9bc !important;\n}\n.overlay-secondary.overlay-lighten-4 {\n background: #b7b9bc; /* The Fallback */\n background: rgba(183, 185, 188, 0.6);\n}\n.text-secondary.text-lighten-3 {\n color: #aaacb0 !important;\n}\n.bg-secondary.bg-lighten-3 {\n background-color: #aaacb0 !important;\n}\n.border-secondary.border-lighten-3 {\n border: 1px solid #aaacb0 !important;\n}\n.border-top-secondary.border-top-lighten-3 {\n border-top: 1px solid #aaacb0 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-3 {\n border-bottom: 1px solid #aaacb0 !important;\n}\n.border-left-secondary.border-left-lighten-3 {\n border-left: 1px solid #aaacb0 !important;\n}\n.border-right-secondary.border-right-lighten-3 {\n border-right: 1px solid #aaacb0 !important;\n}\n.overlay-secondary.overlay-lighten-3 {\n background: #aaacb0; /* The Fallback */\n background: rgba(170, 172, 176, 0.6);\n}\n.text-secondary.text-lighten-2 {\n color: #9ca0a4 !important;\n}\n.bg-secondary.bg-lighten-2 {\n background-color: #9ca0a4 !important;\n}\n.border-secondary.border-lighten-2 {\n border: 1px solid #9ca0a4 !important;\n}\n.border-top-secondary.border-top-lighten-2 {\n border-top: 1px solid #9ca0a4 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-2 {\n border-bottom: 1px solid #9ca0a4 !important;\n}\n.border-left-secondary.border-left-lighten-2 {\n border-left: 1px solid #9ca0a4 !important;\n}\n.border-right-secondary.border-right-lighten-2 {\n border-right: 1px solid #9ca0a4 !important;\n}\n.overlay-secondary.overlay-lighten-2 {\n background: #9ca0a4; /* The Fallback */\n background: rgba(156, 160, 164, 0.6);\n}\n.text-secondary.text-lighten-1 {\n color: #8f9397 !important;\n}\n.bg-secondary.bg-lighten-1 {\n background-color: #8f9397 !important;\n}\n.border-secondary.border-lighten-1 {\n border: 1px solid #8f9397 !important;\n}\n.border-top-secondary.border-top-lighten-1 {\n border-top: 1px solid #8f9397 !important;\n}\n.border-bottom-secondary.border-bottom-lighten-1 {\n border-bottom: 1px solid #8f9397 !important;\n}\n.border-left-secondary.border-left-lighten-1 {\n border-left: 1px solid #8f9397 !important;\n}\n.border-right-secondary.border-right-lighten-1 {\n border-right: 1px solid #8f9397 !important;\n}\n.overlay-secondary.overlay-lighten-1 {\n background: #8f9397; /* The Fallback */\n background: rgba(143, 147, 151, 0.6);\n}\n.bg-secondary {\n background-color: #82868b !important;\n}\n.bg-secondary .card-header,\n.bg-secondary .card-footer {\n background-color: transparent;\n}\n.alert-secondary {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}\n.alert-secondary .alert-heading {\n box-shadow: rgba(130, 134, 139, 0.4) 0px 6px 15px -7px;\n}\n.alert-secondary .alert-link {\n color: #75797e !important;\n}\n.alert-secondary .close {\n color: #82868b !important;\n}\n.bg-light-secondary {\n background: rgba(130, 134, 139, 0.12) !important;\n color: #82868b !important;\n}\n.bg-light-secondary.fc-h-event, .bg-light-secondary.fc-v-event {\n border-color: rgba(130, 134, 139, 0.1);\n}\n.bg-light-secondary .fc-list-event-dot,\n.bg-light-secondary .fc-daygrid-event-dot {\n border-color: #82868b !important;\n}\n.bg-light-secondary.fc-list-event:hover td {\n background: rgba(130, 134, 139, 0.1) !important;\n}\n.bg-light-secondary.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-secondary {\n color: #82868b !important;\n}\n.border-secondary {\n border: 1px solid #82868b !important;\n}\n.border-top-secondary {\n border-top: 1px solid #82868b;\n}\n.border-bottom-secondary {\n border-bottom: 1px solid #82868b;\n}\n.border-left-secondary {\n border-left: 1px solid #82868b;\n}\n.border-right-secondary {\n border-right: 1px solid #82868b;\n}\n.bg-secondary.badge-glow,\n.border-secondary.badge-glow,\n.badge-secondary.badge-glow {\n box-shadow: 0px 0px 10px #82868b;\n}\n.badge.badge-light-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n color: #82868b !important;\n}\n.overlay-secondary {\n background: #82868b; /* The Fallback */\n background: rgba(130, 134, 139, 0.6);\n}\n.btn-secondary {\n border-color: #82868b !important;\n background-color: #82868b !important;\n color: #fff !important;\n}\n.btn-secondary:focus, .btn-secondary:active, .btn-secondary.active {\n color: #fff;\n background-color: #75797e !important;\n}\n.btn-secondary:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #82868b;\n}\n.btn-secondary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-secondary {\n background-color: transparent;\n color: #82868b;\n}\n.btn-flat-secondary:hover {\n color: #82868b;\n}\n.btn-flat-secondary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.12);\n}\n.btn-flat-secondary:active, .btn-flat-secondary.active, .btn-flat-secondary:focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-flat-secondary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-secondary {\n background-color: #82868b;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-secondary:hover:not(.disabled):not(:disabled) {\n background-color: #8f9397;\n}\n.btn-relief-secondary:active, .btn-relief-secondary.active, .btn-relief-secondary:focus {\n background-color: #75797e;\n}\n.btn-relief-secondary:hover {\n color: #fff;\n}\n.btn-relief-secondary:active, .btn-relief-secondary.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-secondary {\n border: 1px solid #82868b !important;\n background-color: transparent;\n color: #82868b;\n}\n.btn-outline-secondary:hover:not(.disabled):not(:disabled) {\n background-color: rgba(130, 134, 139, 0.04);\n color: #82868b;\n}\n.btn-outline-secondary:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .btn-outline-secondary:not(:disabled):not(.disabled):focus {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-outline-secondary.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-secondary.dropdown-toggle {\n background-color: rgba(130, 134, 139, 0.2);\n color: #82868b;\n}\n.btn-outline-secondary.waves-effect .waves-ripple,\n.btn-flat-secondary.waves-effect .waves-ripple {\n background: radial-gradient(rgba(130, 134, 139, 0.2) 0, rgba(130, 134, 139, 0.3) 40%, rgba(130, 134, 139, 0.4) 50%, rgba(130, 134, 139, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-secondary {\n background-color: #82868b;\n}\n.modal.modal-secondary .modal-header .modal-title {\n color: #82868b;\n}\n.modal.modal-secondary .modal-header .close {\n color: #82868b !important;\n}\n.pagination-secondary .page-item.active .page-link {\n background: #82868b !important;\n color: #fff;\n}\n.pagination-secondary .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-secondary .page-item .page-link:hover {\n color: #82868b;\n}\n.pagination-secondary .page-item.prev-item .page-link:hover, .pagination-secondary .page-item.next-item .page-link:hover {\n background: #82868b;\n color: #fff;\n}\n.pagination-secondary .page-item.next-item .page-link:active:after, .pagination-secondary .page-item.next-item .page-link:hover:after, .pagination-secondary .page-item.next .page-link:active:after, .pagination-secondary .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-secondary .page-item.prev-item .page-link:active:before, .pagination-secondary .page-item.prev-item .page-link:hover:before, .pagination-secondary .page-item.prev .page-link:active:before, .pagination-secondary .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-secondary .nav-item .nav-link.active {\n color: #fff;\n background-color: #82868b !important;\n border-color: #82868b;\n box-shadow: 0 4px 18px -4px rgba(130, 134, 139, 0.65);\n}\n.progress-bar-secondary {\n background-color: rgba(130, 134, 139, 0.12);\n}\n.progress-bar-secondary .progress-bar {\n background-color: #82868b;\n}\n.timeline .timeline-point-secondary {\n border-color: #82868b !important;\n}\n.timeline .timeline-point-secondary i,\n.timeline .timeline-point-secondary svg {\n stroke: #82868b !important;\n}\n.timeline .timeline-point-secondary.timeline-point-indicator {\n background-color: #82868b !important;\n}\n.timeline .timeline-point-secondary.timeline-point-indicator:before {\n background: rgba(130, 134, 139, 0.12) !important;\n}\n.divider.divider-secondary .divider-text:before, .divider.divider-secondary .divider-text:after {\n border-color: #82868b !important;\n}\ninput:focus ~ .bg-secondary {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #82868b !important;\n}\n.custom-control-secondary .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary .custom-control-input:active ~ .custom-control-label::before {\n border-color: #82868b;\n background-color: #82868b;\n}\n.custom-control-secondary.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-secondary.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-secondary.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-secondary.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-secondary.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(130, 134, 139, 0.4) !important;\n}\n.custom-control-secondary .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(130, 134, 139, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-secondary .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #82868b !important;\n}\n.custom-switch-secondary .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #82868b !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-secondary .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #82868b !important;\n border-color: #82868b !important;\n}\n.text-secondary.text-darken-1 {\n color: #75797e !important;\n}\n.bg-secondary.bg-darken-1 {\n background-color: #75797e !important;\n}\n.border-secondary.border-darken-1 {\n border: 1px solid #75797e !important;\n}\n.border-top-secondary.border-top-darken-1 {\n border-top: 1px solid #75797e !important;\n}\n.border-bottom-secondary.border-bottom-darken-1 {\n border-bottom: 1px solid #75797e !important;\n}\n.border-left-secondary.border-left-darken-1 {\n border-left: 1px solid #75797e !important;\n}\n.border-right-secondary.border-right-darken-1 {\n border-right: 1px solid #75797e !important;\n}\n.overlay-secondary.overlay-darken-1 {\n background: #75797e; /* The Fallback */\n background: rgba(117, 121, 126, 0.6);\n}\n.text-secondary.text-darken-2 {\n color: #696d71 !important;\n}\n.bg-secondary.bg-darken-2 {\n background-color: #696d71 !important;\n}\n.border-secondary.border-darken-2 {\n border: 1px solid #696d71 !important;\n}\n.border-top-secondary.border-top-darken-2 {\n border-top: 1px solid #696d71 !important;\n}\n.border-bottom-secondary.border-bottom-darken-2 {\n border-bottom: 1px solid #696d71 !important;\n}\n.border-left-secondary.border-left-darken-2 {\n border-left: 1px solid #696d71 !important;\n}\n.border-right-secondary.border-right-darken-2 {\n border-right: 1px solid #696d71 !important;\n}\n.overlay-secondary.overlay-darken-2 {\n background: #696d71; /* The Fallback */\n background: rgba(105, 109, 113, 0.6);\n}\n.text-secondary.text-darken-3 {\n color: #5d6064 !important;\n}\n.bg-secondary.bg-darken-3 {\n background-color: #5d6064 !important;\n}\n.border-secondary.border-darken-3 {\n border: 1px solid #5d6064 !important;\n}\n.border-top-secondary.border-top-darken-3 {\n border-top: 1px solid #5d6064 !important;\n}\n.border-bottom-secondary.border-bottom-darken-3 {\n border-bottom: 1px solid #5d6064 !important;\n}\n.border-left-secondary.border-left-darken-3 {\n border-left: 1px solid #5d6064 !important;\n}\n.border-right-secondary.border-right-darken-3 {\n border-right: 1px solid #5d6064 !important;\n}\n.overlay-secondary.overlay-darken-3 {\n background: #5d6064; /* The Fallback */\n background: rgba(93, 96, 100, 0.6);\n}\n.text-secondary.text-darken-4 {\n color: #505357 !important;\n}\n.bg-secondary.bg-darken-4 {\n background-color: #505357 !important;\n}\n.border-secondary.border-darken-4 {\n border: 1px solid #505357 !important;\n}\n.border-top-secondary.border-top-darken-4 {\n border-top: 1px solid #505357 !important;\n}\n.border-bottom-secondary.border-bottom-darken-4 {\n border-bottom: 1px solid #505357 !important;\n}\n.border-left-secondary.border-left-darken-4 {\n border-left: 1px solid #505357 !important;\n}\n.border-right-secondary.border-right-darken-4 {\n border-right: 1px solid #505357 !important;\n}\n.overlay-secondary.overlay-darken-4 {\n background: #505357; /* The Fallback */\n background: rgba(80, 83, 87, 0.6);\n}\n.text-success.text-lighten-5 {\n color: #88e7b2 !important;\n}\n.bg-success.bg-lighten-5 {\n background-color: #88e7b2 !important;\n}\n.border-success.border-lighten-5 {\n border: 1px solid #88e7b2 !important;\n}\n.border-top-success.border-top-lighten-5 {\n border-top: 1px solid #88e7b2 !important;\n}\n.border-bottom-success.border-bottom-lighten-5 {\n border-bottom: 1px solid #88e7b2 !important;\n}\n.border-left-success.border-left-lighten-5 {\n border-left: 1px solid #88e7b2 !important;\n}\n.border-right-success.border-right-lighten-5 {\n border-right: 1px solid #88e7b2 !important;\n}\n.overlay-success.overlay-lighten-5 {\n background: #88e7b2; /* The Fallback */\n background: rgba(136, 231, 178, 0.6);\n}\n.text-success.text-lighten-4 {\n color: #72e3a4 !important;\n}\n.bg-success.bg-lighten-4 {\n background-color: #72e3a4 !important;\n}\n.border-success.border-lighten-4 {\n border: 1px solid #72e3a4 !important;\n}\n.border-top-success.border-top-lighten-4 {\n border-top: 1px solid #72e3a4 !important;\n}\n.border-bottom-success.border-bottom-lighten-4 {\n border-bottom: 1px solid #72e3a4 !important;\n}\n.border-left-success.border-left-lighten-4 {\n border-left: 1px solid #72e3a4 !important;\n}\n.border-right-success.border-right-lighten-4 {\n border-right: 1px solid #72e3a4 !important;\n}\n.overlay-success.overlay-lighten-4 {\n background: #72e3a4; /* The Fallback */\n background: rgba(114, 227, 164, 0.6);\n}\n.text-success.text-lighten-3 {\n color: #5dde97 !important;\n}\n.bg-success.bg-lighten-3 {\n background-color: #5dde97 !important;\n}\n.border-success.border-lighten-3 {\n border: 1px solid #5dde97 !important;\n}\n.border-top-success.border-top-lighten-3 {\n border-top: 1px solid #5dde97 !important;\n}\n.border-bottom-success.border-bottom-lighten-3 {\n border-bottom: 1px solid #5dde97 !important;\n}\n.border-left-success.border-left-lighten-3 {\n border-left: 1px solid #5dde97 !important;\n}\n.border-right-success.border-right-lighten-3 {\n border-right: 1px solid #5dde97 !important;\n}\n.overlay-success.overlay-lighten-3 {\n background: #5dde97; /* The Fallback */\n background: rgba(93, 222, 151, 0.6);\n}\n.text-success.text-lighten-2 {\n color: #48da89 !important;\n}\n.bg-success.bg-lighten-2 {\n background-color: #48da89 !important;\n}\n.border-success.border-lighten-2 {\n border: 1px solid #48da89 !important;\n}\n.border-top-success.border-top-lighten-2 {\n border-top: 1px solid #48da89 !important;\n}\n.border-bottom-success.border-bottom-lighten-2 {\n border-bottom: 1px solid #48da89 !important;\n}\n.border-left-success.border-left-lighten-2 {\n border-left: 1px solid #48da89 !important;\n}\n.border-right-success.border-right-lighten-2 {\n border-right: 1px solid #48da89 !important;\n}\n.overlay-success.overlay-lighten-2 {\n background: #48da89; /* The Fallback */\n background: rgba(72, 218, 137, 0.6);\n}\n.text-success.text-lighten-1 {\n color: #33d67c !important;\n}\n.bg-success.bg-lighten-1 {\n background-color: #33d67c !important;\n}\n.border-success.border-lighten-1 {\n border: 1px solid #33d67c !important;\n}\n.border-top-success.border-top-lighten-1 {\n border-top: 1px solid #33d67c !important;\n}\n.border-bottom-success.border-bottom-lighten-1 {\n border-bottom: 1px solid #33d67c !important;\n}\n.border-left-success.border-left-lighten-1 {\n border-left: 1px solid #33d67c !important;\n}\n.border-right-success.border-right-lighten-1 {\n border-right: 1px solid #33d67c !important;\n}\n.overlay-success.overlay-lighten-1 {\n background: #33d67c; /* The Fallback */\n background: rgba(51, 214, 124, 0.6);\n}\n.bg-success {\n background-color: #28c76f !important;\n}\n.bg-success .card-header,\n.bg-success .card-footer {\n background-color: transparent;\n}\n.alert-success {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}\n.alert-success .alert-heading {\n box-shadow: rgba(40, 199, 111, 0.4) 0px 6px 15px -7px;\n}\n.alert-success .alert-link {\n color: #24b263 !important;\n}\n.alert-success .close {\n color: #28c76f !important;\n}\n.bg-light-success {\n background: rgba(40, 199, 111, 0.12) !important;\n color: #28c76f !important;\n}\n.bg-light-success.fc-h-event, .bg-light-success.fc-v-event {\n border-color: rgba(40, 199, 111, 0.1);\n}\n.bg-light-success .fc-list-event-dot,\n.bg-light-success .fc-daygrid-event-dot {\n border-color: #28c76f !important;\n}\n.bg-light-success.fc-list-event:hover td {\n background: rgba(40, 199, 111, 0.1) !important;\n}\n.bg-light-success.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-success {\n color: #28c76f !important;\n}\n.border-success {\n border: 1px solid #28c76f !important;\n}\n.border-top-success {\n border-top: 1px solid #28c76f;\n}\n.border-bottom-success {\n border-bottom: 1px solid #28c76f;\n}\n.border-left-success {\n border-left: 1px solid #28c76f;\n}\n.border-right-success {\n border-right: 1px solid #28c76f;\n}\n.bg-success.badge-glow,\n.border-success.badge-glow,\n.badge-success.badge-glow {\n box-shadow: 0px 0px 10px #28c76f;\n}\n.badge.badge-light-success {\n background-color: rgba(40, 199, 111, 0.12);\n color: #28c76f !important;\n}\n.overlay-success {\n background: #28c76f; /* The Fallback */\n background: rgba(40, 199, 111, 0.6);\n}\n.btn-success {\n border-color: #28c76f !important;\n background-color: #28c76f !important;\n color: #fff !important;\n}\n.btn-success:focus, .btn-success:active, .btn-success.active {\n color: #fff;\n background-color: #24b263 !important;\n}\n.btn-success:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #28c76f;\n}\n.btn-success:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-success {\n background-color: transparent;\n color: #28c76f;\n}\n.btn-flat-success:hover {\n color: #28c76f;\n}\n.btn-flat-success:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.12);\n}\n.btn-flat-success:active, .btn-flat-success.active, .btn-flat-success:focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-flat-success.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-success {\n background-color: #28c76f;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-success:hover:not(.disabled):not(:disabled) {\n background-color: #33d67c;\n}\n.btn-relief-success:active, .btn-relief-success.active, .btn-relief-success:focus {\n background-color: #24b263;\n}\n.btn-relief-success:hover {\n color: #fff;\n}\n.btn-relief-success:active, .btn-relief-success.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-success {\n border: 1px solid #28c76f !important;\n background-color: transparent;\n color: #28c76f;\n}\n.btn-outline-success:hover:not(.disabled):not(:disabled) {\n background-color: rgba(40, 199, 111, 0.04);\n color: #28c76f;\n}\n.btn-outline-success:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .btn-outline-success:not(:disabled):not(.disabled):focus {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-outline-success.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-success.dropdown-toggle {\n background-color: rgba(40, 199, 111, 0.2);\n color: #28c76f;\n}\n.btn-outline-success.waves-effect .waves-ripple,\n.btn-flat-success.waves-effect .waves-ripple {\n background: radial-gradient(rgba(40, 199, 111, 0.2) 0, rgba(40, 199, 111, 0.3) 40%, rgba(40, 199, 111, 0.4) 50%, rgba(40, 199, 111, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-success {\n background-color: #28c76f;\n}\n.modal.modal-success .modal-header .modal-title {\n color: #28c76f;\n}\n.modal.modal-success .modal-header .close {\n color: #28c76f !important;\n}\n.pagination-success .page-item.active .page-link {\n background: #28c76f !important;\n color: #fff;\n}\n.pagination-success .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-success .page-item .page-link:hover {\n color: #28c76f;\n}\n.pagination-success .page-item.prev-item .page-link:hover, .pagination-success .page-item.next-item .page-link:hover {\n background: #28c76f;\n color: #fff;\n}\n.pagination-success .page-item.next-item .page-link:active:after, .pagination-success .page-item.next-item .page-link:hover:after, .pagination-success .page-item.next .page-link:active:after, .pagination-success .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-success .page-item.prev-item .page-link:active:before, .pagination-success .page-item.prev-item .page-link:hover:before, .pagination-success .page-item.prev .page-link:active:before, .pagination-success .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c76f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-success .nav-item .nav-link.active {\n color: #fff;\n background-color: #28c76f !important;\n border-color: #28c76f;\n box-shadow: 0 4px 18px -4px rgba(40, 199, 111, 0.65);\n}\n.progress-bar-success {\n background-color: rgba(40, 199, 111, 0.12);\n}\n.progress-bar-success .progress-bar {\n background-color: #28c76f;\n}\n.timeline .timeline-point-success {\n border-color: #28c76f !important;\n}\n.timeline .timeline-point-success i,\n.timeline .timeline-point-success svg {\n stroke: #28c76f !important;\n}\n.timeline .timeline-point-success.timeline-point-indicator {\n background-color: #28c76f !important;\n}\n.timeline .timeline-point-success.timeline-point-indicator:before {\n background: rgba(40, 199, 111, 0.12) !important;\n}\n.divider.divider-success .divider-text:before, .divider.divider-success .divider-text:after {\n border-color: #28c76f !important;\n}\ninput:focus ~ .bg-success {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #28c76f !important;\n}\n.custom-control-success .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success .custom-control-input:active ~ .custom-control-label::before {\n border-color: #28c76f;\n background-color: #28c76f;\n}\n.custom-control-success.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-success.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-success.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-success.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-success.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(40, 199, 111, 0.4) !important;\n}\n.custom-control-success .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(40, 199, 111, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-success .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #28c76f !important;\n}\n.custom-switch-success .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #28c76f !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-success .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #28c76f !important;\n border-color: #28c76f !important;\n}\n.text-success.text-darken-1 {\n color: #24b263 !important;\n}\n.bg-success.bg-darken-1 {\n background-color: #24b263 !important;\n}\n.border-success.border-darken-1 {\n border: 1px solid #24b263 !important;\n}\n.border-top-success.border-top-darken-1 {\n border-top: 1px solid #24b263 !important;\n}\n.border-bottom-success.border-bottom-darken-1 {\n border-bottom: 1px solid #24b263 !important;\n}\n.border-left-success.border-left-darken-1 {\n border-left: 1px solid #24b263 !important;\n}\n.border-right-success.border-right-darken-1 {\n border-right: 1px solid #24b263 !important;\n}\n.overlay-success.overlay-darken-1 {\n background: #24b263; /* The Fallback */\n background: rgba(36, 178, 99, 0.6);\n}\n.text-success.text-darken-2 {\n color: #1f9d57 !important;\n}\n.bg-success.bg-darken-2 {\n background-color: #1f9d57 !important;\n}\n.border-success.border-darken-2 {\n border: 1px solid #1f9d57 !important;\n}\n.border-top-success.border-top-darken-2 {\n border-top: 1px solid #1f9d57 !important;\n}\n.border-bottom-success.border-bottom-darken-2 {\n border-bottom: 1px solid #1f9d57 !important;\n}\n.border-left-success.border-left-darken-2 {\n border-left: 1px solid #1f9d57 !important;\n}\n.border-right-success.border-right-darken-2 {\n border-right: 1px solid #1f9d57 !important;\n}\n.overlay-success.overlay-darken-2 {\n background: #1f9d57; /* The Fallback */\n background: rgba(31, 157, 87, 0.6);\n}\n.text-success.text-darken-3 {\n color: #1b874b !important;\n}\n.bg-success.bg-darken-3 {\n background-color: #1b874b !important;\n}\n.border-success.border-darken-3 {\n border: 1px solid #1b874b !important;\n}\n.border-top-success.border-top-darken-3 {\n border-top: 1px solid #1b874b !important;\n}\n.border-bottom-success.border-bottom-darken-3 {\n border-bottom: 1px solid #1b874b !important;\n}\n.border-left-success.border-left-darken-3 {\n border-left: 1px solid #1b874b !important;\n}\n.border-right-success.border-right-darken-3 {\n border-right: 1px solid #1b874b !important;\n}\n.overlay-success.overlay-darken-3 {\n background: #1b874b; /* The Fallback */\n background: rgba(27, 135, 75, 0.6);\n}\n.text-success.text-darken-4 {\n color: #177240 !important;\n}\n.bg-success.bg-darken-4 {\n background-color: #177240 !important;\n}\n.border-success.border-darken-4 {\n border: 1px solid #177240 !important;\n}\n.border-top-success.border-top-darken-4 {\n border-top: 1px solid #177240 !important;\n}\n.border-bottom-success.border-bottom-darken-4 {\n border-bottom: 1px solid #177240 !important;\n}\n.border-left-success.border-left-darken-4 {\n border-left: 1px solid #177240 !important;\n}\n.border-right-success.border-right-darken-4 {\n border-right: 1px solid #177240 !important;\n}\n.overlay-success.overlay-darken-4 {\n background: #177240; /* The Fallback */\n background: rgba(23, 114, 64, 0.6);\n}\n.text-success.text-accent-1 {\n color: #e1fff1 !important;\n}\n.bg-success.bg-accent-1 {\n background-color: #e1fff1 !important;\n}\n.border-success.border-accent-1 {\n border: 1px solid #e1fff1 !important;\n}\n.border-top-success.border-top-accent-1 {\n border-top: 1px solid #e1fff1 !important;\n}\n.border-bottom-success.border-bottom-accent-1 {\n border-bottom: 1px solid #e1fff1 !important;\n}\n.border-left-success.border-left-accent-1 {\n border-left: 1px solid #e1fff1 !important;\n}\n.border-right-success.border-right-accent-1 {\n border-right: 1px solid #e1fff1 !important;\n}\n.overlay-success.overlay-accent-1 {\n background: #e1fff1; /* The Fallback */\n background: rgba(225, 255, 241, 0.6);\n}\n.text-success.text-accent-2 {\n color: #aeffd9 !important;\n}\n.bg-success.bg-accent-2 {\n background-color: #aeffd9 !important;\n}\n.border-success.border-accent-2 {\n border: 1px solid #aeffd9 !important;\n}\n.border-top-success.border-top-accent-2 {\n border-top: 1px solid #aeffd9 !important;\n}\n.border-bottom-success.border-bottom-accent-2 {\n border-bottom: 1px solid #aeffd9 !important;\n}\n.border-left-success.border-left-accent-2 {\n border-left: 1px solid #aeffd9 !important;\n}\n.border-right-success.border-right-accent-2 {\n border-right: 1px solid #aeffd9 !important;\n}\n.overlay-success.overlay-accent-2 {\n background: #aeffd9; /* The Fallback */\n background: rgba(174, 255, 217, 0.6);\n}\n.text-success.text-accent-3 {\n color: #7bffc1 !important;\n}\n.bg-success.bg-accent-3 {\n background-color: #7bffc1 !important;\n}\n.border-success.border-accent-3 {\n border: 1px solid #7bffc1 !important;\n}\n.border-top-success.border-top-accent-3 {\n border-top: 1px solid #7bffc1 !important;\n}\n.border-bottom-success.border-bottom-accent-3 {\n border-bottom: 1px solid #7bffc1 !important;\n}\n.border-left-success.border-left-accent-3 {\n border-left: 1px solid #7bffc1 !important;\n}\n.border-right-success.border-right-accent-3 {\n border-right: 1px solid #7bffc1 !important;\n}\n.overlay-success.overlay-accent-3 {\n background: #7bffc1; /* The Fallback */\n background: rgba(123, 255, 193, 0.6);\n}\n.text-success.text-accent-4 {\n color: #62ffb5 !important;\n}\n.bg-success.bg-accent-4 {\n background-color: #62ffb5 !important;\n}\n.border-success.border-accent-4 {\n border: 1px solid #62ffb5 !important;\n}\n.border-top-success.border-top-accent-4 {\n border-top: 1px solid #62ffb5 !important;\n}\n.border-bottom-success.border-bottom-accent-4 {\n border-bottom: 1px solid #62ffb5 !important;\n}\n.border-left-success.border-left-accent-4 {\n border-left: 1px solid #62ffb5 !important;\n}\n.border-right-success.border-right-accent-4 {\n border-right: 1px solid #62ffb5 !important;\n}\n.overlay-success.overlay-accent-4 {\n background: #62ffb5; /* The Fallback */\n background: rgba(98, 255, 181, 0.6);\n}\n.text-info.text-lighten-5 {\n color: #69efff !important;\n}\n.bg-info.bg-lighten-5 {\n background-color: #69efff !important;\n}\n.border-info.border-lighten-5 {\n border: 1px solid #69efff !important;\n}\n.border-top-info.border-top-lighten-5 {\n border-top: 1px solid #69efff !important;\n}\n.border-bottom-info.border-bottom-lighten-5 {\n border-bottom: 1px solid #69efff !important;\n}\n.border-left-info.border-left-lighten-5 {\n border-left: 1px solid #69efff !important;\n}\n.border-right-info.border-right-lighten-5 {\n border-right: 1px solid #69efff !important;\n}\n.overlay-info.overlay-lighten-5 {\n background: #69efff; /* The Fallback */\n background: rgba(105, 239, 255, 0.6);\n}\n.text-info.text-lighten-4 {\n color: #4fecff !important;\n}\n.bg-info.bg-lighten-4 {\n background-color: #4fecff !important;\n}\n.border-info.border-lighten-4 {\n border: 1px solid #4fecff !important;\n}\n.border-top-info.border-top-lighten-4 {\n border-top: 1px solid #4fecff !important;\n}\n.border-bottom-info.border-bottom-lighten-4 {\n border-bottom: 1px solid #4fecff !important;\n}\n.border-left-info.border-left-lighten-4 {\n border-left: 1px solid #4fecff !important;\n}\n.border-right-info.border-right-lighten-4 {\n border-right: 1px solid #4fecff !important;\n}\n.overlay-info.overlay-lighten-4 {\n background: #4fecff; /* The Fallback */\n background: rgba(79, 236, 255, 0.6);\n}\n.text-info.text-lighten-3 {\n color: #36e9ff !important;\n}\n.bg-info.bg-lighten-3 {\n background-color: #36e9ff !important;\n}\n.border-info.border-lighten-3 {\n border: 1px solid #36e9ff !important;\n}\n.border-top-info.border-top-lighten-3 {\n border-top: 1px solid #36e9ff !important;\n}\n.border-bottom-info.border-bottom-lighten-3 {\n border-bottom: 1px solid #36e9ff !important;\n}\n.border-left-info.border-left-lighten-3 {\n border-left: 1px solid #36e9ff !important;\n}\n.border-right-info.border-right-lighten-3 {\n border-right: 1px solid #36e9ff !important;\n}\n.overlay-info.overlay-lighten-3 {\n background: #36e9ff; /* The Fallback */\n background: rgba(54, 233, 255, 0.6);\n}\n.text-info.text-lighten-2 {\n color: #1ce7ff !important;\n}\n.bg-info.bg-lighten-2 {\n background-color: #1ce7ff !important;\n}\n.border-info.border-lighten-2 {\n border: 1px solid #1ce7ff !important;\n}\n.border-top-info.border-top-lighten-2 {\n border-top: 1px solid #1ce7ff !important;\n}\n.border-bottom-info.border-bottom-lighten-2 {\n border-bottom: 1px solid #1ce7ff !important;\n}\n.border-left-info.border-left-lighten-2 {\n border-left: 1px solid #1ce7ff !important;\n}\n.border-right-info.border-right-lighten-2 {\n border-right: 1px solid #1ce7ff !important;\n}\n.overlay-info.overlay-lighten-2 {\n background: #1ce7ff; /* The Fallback */\n background: rgba(28, 231, 255, 0.6);\n}\n.text-info.text-lighten-1 {\n color: #03e4ff !important;\n}\n.bg-info.bg-lighten-1 {\n background-color: #03e4ff !important;\n}\n.border-info.border-lighten-1 {\n border: 1px solid #03e4ff !important;\n}\n.border-top-info.border-top-lighten-1 {\n border-top: 1px solid #03e4ff !important;\n}\n.border-bottom-info.border-bottom-lighten-1 {\n border-bottom: 1px solid #03e4ff !important;\n}\n.border-left-info.border-left-lighten-1 {\n border-left: 1px solid #03e4ff !important;\n}\n.border-right-info.border-right-lighten-1 {\n border-right: 1px solid #03e4ff !important;\n}\n.overlay-info.overlay-lighten-1 {\n background: #03e4ff; /* The Fallback */\n background: rgba(3, 228, 255, 0.6);\n}\n.bg-info {\n background-color: #00cfe8 !important;\n}\n.bg-info .card-header,\n.bg-info .card-footer {\n background-color: transparent;\n}\n.alert-info {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}\n.alert-info .alert-heading {\n box-shadow: rgba(0, 207, 232, 0.4) 0px 6px 15px -7px;\n}\n.alert-info .alert-link {\n color: #00b8cf !important;\n}\n.alert-info .close {\n color: #00cfe8 !important;\n}\n.bg-light-info {\n background: rgba(0, 207, 232, 0.12) !important;\n color: #00cfe8 !important;\n}\n.bg-light-info.fc-h-event, .bg-light-info.fc-v-event {\n border-color: rgba(0, 207, 232, 0.1);\n}\n.bg-light-info .fc-list-event-dot,\n.bg-light-info .fc-daygrid-event-dot {\n border-color: #00cfe8 !important;\n}\n.bg-light-info.fc-list-event:hover td {\n background: rgba(0, 207, 232, 0.1) !important;\n}\n.bg-light-info.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-info {\n color: #00cfe8 !important;\n}\n.border-info {\n border: 1px solid #00cfe8 !important;\n}\n.border-top-info {\n border-top: 1px solid #00cfe8;\n}\n.border-bottom-info {\n border-bottom: 1px solid #00cfe8;\n}\n.border-left-info {\n border-left: 1px solid #00cfe8;\n}\n.border-right-info {\n border-right: 1px solid #00cfe8;\n}\n.bg-info.badge-glow,\n.border-info.badge-glow,\n.badge-info.badge-glow {\n box-shadow: 0px 0px 10px #00cfe8;\n}\n.badge.badge-light-info {\n background-color: rgba(0, 207, 232, 0.12);\n color: #00cfe8 !important;\n}\n.overlay-info {\n background: #00cfe8; /* The Fallback */\n background: rgba(0, 207, 232, 0.6);\n}\n.btn-info {\n border-color: #00cfe8 !important;\n background-color: #00cfe8 !important;\n color: #fff !important;\n}\n.btn-info:focus, .btn-info:active, .btn-info.active {\n color: #fff;\n background-color: #00b8cf !important;\n}\n.btn-info:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #00cfe8;\n}\n.btn-info:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-info {\n background-color: transparent;\n color: #00cfe8;\n}\n.btn-flat-info:hover {\n color: #00cfe8;\n}\n.btn-flat-info:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.12);\n}\n.btn-flat-info:active, .btn-flat-info.active, .btn-flat-info:focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-flat-info.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-info {\n background-color: #00cfe8;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-info:hover:not(.disabled):not(:disabled) {\n background-color: #03e4ff;\n}\n.btn-relief-info:active, .btn-relief-info.active, .btn-relief-info:focus {\n background-color: #00b8cf;\n}\n.btn-relief-info:hover {\n color: #fff;\n}\n.btn-relief-info:active, .btn-relief-info.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-info {\n border: 1px solid #00cfe8 !important;\n background-color: transparent;\n color: #00cfe8;\n}\n.btn-outline-info:hover:not(.disabled):not(:disabled) {\n background-color: rgba(0, 207, 232, 0.04);\n color: #00cfe8;\n}\n.btn-outline-info:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):focus {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-outline-info.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-info.dropdown-toggle {\n background-color: rgba(0, 207, 232, 0.2);\n color: #00cfe8;\n}\n.btn-outline-info.waves-effect .waves-ripple,\n.btn-flat-info.waves-effect .waves-ripple {\n background: radial-gradient(rgba(0, 207, 232, 0.2) 0, rgba(0, 207, 232, 0.3) 40%, rgba(0, 207, 232, 0.4) 50%, rgba(0, 207, 232, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-info {\n background-color: #00cfe8;\n}\n.modal.modal-info .modal-header .modal-title {\n color: #00cfe8;\n}\n.modal.modal-info .modal-header .close {\n color: #00cfe8 !important;\n}\n.pagination-info .page-item.active .page-link {\n background: #00cfe8 !important;\n color: #fff;\n}\n.pagination-info .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-info .page-item .page-link:hover {\n color: #00cfe8;\n}\n.pagination-info .page-item.prev-item .page-link:hover, .pagination-info .page-item.next-item .page-link:hover {\n background: #00cfe8;\n color: #fff;\n}\n.pagination-info .page-item.next-item .page-link:active:after, .pagination-info .page-item.next-item .page-link:hover:after, .pagination-info .page-item.next .page-link:active:after, .pagination-info .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-info .page-item.prev-item .page-link:active:before, .pagination-info .page-item.prev-item .page-link:hover:before, .pagination-info .page-item.prev .page-link:active:before, .pagination-info .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300cfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-info .nav-item .nav-link.active {\n color: #fff;\n background-color: #00cfe8 !important;\n border-color: #00cfe8;\n box-shadow: 0 4px 18px -4px rgba(0, 207, 232, 0.65);\n}\n.progress-bar-info {\n background-color: rgba(0, 207, 232, 0.12);\n}\n.progress-bar-info .progress-bar {\n background-color: #00cfe8;\n}\n.timeline .timeline-point-info {\n border-color: #00cfe8 !important;\n}\n.timeline .timeline-point-info i,\n.timeline .timeline-point-info svg {\n stroke: #00cfe8 !important;\n}\n.timeline .timeline-point-info.timeline-point-indicator {\n background-color: #00cfe8 !important;\n}\n.timeline .timeline-point-info.timeline-point-indicator:before {\n background: rgba(0, 207, 232, 0.12) !important;\n}\n.divider.divider-info .divider-text:before, .divider.divider-info .divider-text:after {\n border-color: #00cfe8 !important;\n}\ninput:focus ~ .bg-info {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #00cfe8 !important;\n}\n.custom-control-info .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info .custom-control-input:active ~ .custom-control-label::before {\n border-color: #00cfe8;\n background-color: #00cfe8;\n}\n.custom-control-info.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-info.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-info.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-info.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-info.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(0, 207, 232, 0.4) !important;\n}\n.custom-control-info .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(0, 207, 232, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-info .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #00cfe8 !important;\n}\n.custom-switch-info .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #00cfe8 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-info .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #00cfe8 !important;\n border-color: #00cfe8 !important;\n}\n.text-info.text-darken-1 {\n color: #00b8cf !important;\n}\n.bg-info.bg-darken-1 {\n background-color: #00b8cf !important;\n}\n.border-info.border-darken-1 {\n border: 1px solid #00b8cf !important;\n}\n.border-top-info.border-top-darken-1 {\n border-top: 1px solid #00b8cf !important;\n}\n.border-bottom-info.border-bottom-darken-1 {\n border-bottom: 1px solid #00b8cf !important;\n}\n.border-left-info.border-left-darken-1 {\n border-left: 1px solid #00b8cf !important;\n}\n.border-right-info.border-right-darken-1 {\n border-right: 1px solid #00b8cf !important;\n}\n.overlay-info.overlay-darken-1 {\n background: #00b8cf; /* The Fallback */\n background: rgba(0, 184, 207, 0.6);\n}\n.text-info.text-darken-2 {\n color: #00a1b5 !important;\n}\n.bg-info.bg-darken-2 {\n background-color: #00a1b5 !important;\n}\n.border-info.border-darken-2 {\n border: 1px solid #00a1b5 !important;\n}\n.border-top-info.border-top-darken-2 {\n border-top: 1px solid #00a1b5 !important;\n}\n.border-bottom-info.border-bottom-darken-2 {\n border-bottom: 1px solid #00a1b5 !important;\n}\n.border-left-info.border-left-darken-2 {\n border-left: 1px solid #00a1b5 !important;\n}\n.border-right-info.border-right-darken-2 {\n border-right: 1px solid #00a1b5 !important;\n}\n.overlay-info.overlay-darken-2 {\n background: #00a1b5; /* The Fallback */\n background: rgba(0, 161, 181, 0.6);\n}\n.text-info.text-darken-3 {\n color: #008b9c !important;\n}\n.bg-info.bg-darken-3 {\n background-color: #008b9c !important;\n}\n.border-info.border-darken-3 {\n border: 1px solid #008b9c !important;\n}\n.border-top-info.border-top-darken-3 {\n border-top: 1px solid #008b9c !important;\n}\n.border-bottom-info.border-bottom-darken-3 {\n border-bottom: 1px solid #008b9c !important;\n}\n.border-left-info.border-left-darken-3 {\n border-left: 1px solid #008b9c !important;\n}\n.border-right-info.border-right-darken-3 {\n border-right: 1px solid #008b9c !important;\n}\n.overlay-info.overlay-darken-3 {\n background: #008b9c; /* The Fallback */\n background: rgba(0, 139, 156, 0.6);\n}\n.text-info.text-darken-4 {\n color: #007482 !important;\n}\n.bg-info.bg-darken-4 {\n background-color: #007482 !important;\n}\n.border-info.border-darken-4 {\n border: 1px solid #007482 !important;\n}\n.border-top-info.border-top-darken-4 {\n border-top: 1px solid #007482 !important;\n}\n.border-bottom-info.border-bottom-darken-4 {\n border-bottom: 1px solid #007482 !important;\n}\n.border-left-info.border-left-darken-4 {\n border-left: 1px solid #007482 !important;\n}\n.border-right-info.border-right-darken-4 {\n border-right: 1px solid #007482 !important;\n}\n.overlay-info.overlay-darken-4 {\n background: #007482; /* The Fallback */\n background: rgba(0, 116, 130, 0.6);\n}\n.text-info.text-accent-1 {\n color: #feffff !important;\n}\n.bg-info.bg-accent-1 {\n background-color: #feffff !important;\n}\n.border-info.border-accent-1 {\n border: 1px solid #feffff !important;\n}\n.border-top-info.border-top-accent-1 {\n border-top: 1px solid #feffff !important;\n}\n.border-bottom-info.border-bottom-accent-1 {\n border-bottom: 1px solid #feffff !important;\n}\n.border-left-info.border-left-accent-1 {\n border-left: 1px solid #feffff !important;\n}\n.border-right-info.border-right-accent-1 {\n border-right: 1px solid #feffff !important;\n}\n.overlay-info.overlay-accent-1 {\n background: #feffff; /* The Fallback */\n background: rgba(254, 255, 255, 0.6);\n}\n.text-info.text-accent-2 {\n color: #cbf5ff !important;\n}\n.bg-info.bg-accent-2 {\n background-color: #cbf5ff !important;\n}\n.border-info.border-accent-2 {\n border: 1px solid #cbf5ff !important;\n}\n.border-top-info.border-top-accent-2 {\n border-top: 1px solid #cbf5ff !important;\n}\n.border-bottom-info.border-bottom-accent-2 {\n border-bottom: 1px solid #cbf5ff !important;\n}\n.border-left-info.border-left-accent-2 {\n border-left: 1px solid #cbf5ff !important;\n}\n.border-right-info.border-right-accent-2 {\n border-right: 1px solid #cbf5ff !important;\n}\n.overlay-info.overlay-accent-2 {\n background: #cbf5ff; /* The Fallback */\n background: rgba(203, 245, 255, 0.6);\n}\n.text-info.text-accent-3 {\n color: #98ecff !important;\n}\n.bg-info.bg-accent-3 {\n background-color: #98ecff !important;\n}\n.border-info.border-accent-3 {\n border: 1px solid #98ecff !important;\n}\n.border-top-info.border-top-accent-3 {\n border-top: 1px solid #98ecff !important;\n}\n.border-bottom-info.border-bottom-accent-3 {\n border-bottom: 1px solid #98ecff !important;\n}\n.border-left-info.border-left-accent-3 {\n border-left: 1px solid #98ecff !important;\n}\n.border-right-info.border-right-accent-3 {\n border-right: 1px solid #98ecff !important;\n}\n.overlay-info.overlay-accent-3 {\n background: #98ecff; /* The Fallback */\n background: rgba(152, 236, 255, 0.6);\n}\n.text-info.text-accent-4 {\n color: #7fe7ff !important;\n}\n.bg-info.bg-accent-4 {\n background-color: #7fe7ff !important;\n}\n.border-info.border-accent-4 {\n border: 1px solid #7fe7ff !important;\n}\n.border-top-info.border-top-accent-4 {\n border-top: 1px solid #7fe7ff !important;\n}\n.border-bottom-info.border-bottom-accent-4 {\n border-bottom: 1px solid #7fe7ff !important;\n}\n.border-left-info.border-left-accent-4 {\n border-left: 1px solid #7fe7ff !important;\n}\n.border-right-info.border-right-accent-4 {\n border-right: 1px solid #7fe7ff !important;\n}\n.overlay-info.overlay-accent-4 {\n background: #7fe7ff; /* The Fallback */\n background: rgba(127, 231, 255, 0.6);\n}\n.text-warning.text-lighten-5 {\n color: #ffe0c3 !important;\n}\n.bg-warning.bg-lighten-5 {\n background-color: #ffe0c3 !important;\n}\n.border-warning.border-lighten-5 {\n border: 1px solid #ffe0c3 !important;\n}\n.border-top-warning.border-top-lighten-5 {\n border-top: 1px solid #ffe0c3 !important;\n}\n.border-bottom-warning.border-bottom-lighten-5 {\n border-bottom: 1px solid #ffe0c3 !important;\n}\n.border-left-warning.border-left-lighten-5 {\n border-left: 1px solid #ffe0c3 !important;\n}\n.border-right-warning.border-right-lighten-5 {\n border-right: 1px solid #ffe0c3 !important;\n}\n.overlay-warning.overlay-lighten-5 {\n background: #ffe0c3; /* The Fallback */\n background: rgba(255, 224, 195, 0.6);\n}\n.text-warning.text-lighten-4 {\n color: #ffd3a9 !important;\n}\n.bg-warning.bg-lighten-4 {\n background-color: #ffd3a9 !important;\n}\n.border-warning.border-lighten-4 {\n border: 1px solid #ffd3a9 !important;\n}\n.border-top-warning.border-top-lighten-4 {\n border-top: 1px solid #ffd3a9 !important;\n}\n.border-bottom-warning.border-bottom-lighten-4 {\n border-bottom: 1px solid #ffd3a9 !important;\n}\n.border-left-warning.border-left-lighten-4 {\n border-left: 1px solid #ffd3a9 !important;\n}\n.border-right-warning.border-right-lighten-4 {\n border-right: 1px solid #ffd3a9 !important;\n}\n.overlay-warning.overlay-lighten-4 {\n background: #ffd3a9; /* The Fallback */\n background: rgba(255, 211, 169, 0.6);\n}\n.text-warning.text-lighten-3 {\n color: #ffc690 !important;\n}\n.bg-warning.bg-lighten-3 {\n background-color: #ffc690 !important;\n}\n.border-warning.border-lighten-3 {\n border: 1px solid #ffc690 !important;\n}\n.border-top-warning.border-top-lighten-3 {\n border-top: 1px solid #ffc690 !important;\n}\n.border-bottom-warning.border-bottom-lighten-3 {\n border-bottom: 1px solid #ffc690 !important;\n}\n.border-left-warning.border-left-lighten-3 {\n border-left: 1px solid #ffc690 !important;\n}\n.border-right-warning.border-right-lighten-3 {\n border-right: 1px solid #ffc690 !important;\n}\n.overlay-warning.overlay-lighten-3 {\n background: #ffc690; /* The Fallback */\n background: rgba(255, 198, 144, 0.6);\n}\n.text-warning.text-lighten-2 {\n color: #ffb976 !important;\n}\n.bg-warning.bg-lighten-2 {\n background-color: #ffb976 !important;\n}\n.border-warning.border-lighten-2 {\n border: 1px solid #ffb976 !important;\n}\n.border-top-warning.border-top-lighten-2 {\n border-top: 1px solid #ffb976 !important;\n}\n.border-bottom-warning.border-bottom-lighten-2 {\n border-bottom: 1px solid #ffb976 !important;\n}\n.border-left-warning.border-left-lighten-2 {\n border-left: 1px solid #ffb976 !important;\n}\n.border-right-warning.border-right-lighten-2 {\n border-right: 1px solid #ffb976 !important;\n}\n.overlay-warning.overlay-lighten-2 {\n background: #ffb976; /* The Fallback */\n background: rgba(255, 185, 118, 0.6);\n}\n.text-warning.text-lighten-1 {\n color: #ffac5d !important;\n}\n.bg-warning.bg-lighten-1 {\n background-color: #ffac5d !important;\n}\n.border-warning.border-lighten-1 {\n border: 1px solid #ffac5d !important;\n}\n.border-top-warning.border-top-lighten-1 {\n border-top: 1px solid #ffac5d !important;\n}\n.border-bottom-warning.border-bottom-lighten-1 {\n border-bottom: 1px solid #ffac5d !important;\n}\n.border-left-warning.border-left-lighten-1 {\n border-left: 1px solid #ffac5d !important;\n}\n.border-right-warning.border-right-lighten-1 {\n border-right: 1px solid #ffac5d !important;\n}\n.overlay-warning.overlay-lighten-1 {\n background: #ffac5d; /* The Fallback */\n background: rgba(255, 172, 93, 0.6);\n}\n.bg-warning {\n background-color: #ff9f43 !important;\n}\n.bg-warning .card-header,\n.bg-warning .card-footer {\n background-color: transparent;\n}\n.alert-warning {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}\n.alert-warning .alert-heading {\n box-shadow: rgba(255, 159, 67, 0.4) 0px 6px 15px -7px;\n}\n.alert-warning .alert-link {\n color: #ff922a !important;\n}\n.alert-warning .close {\n color: #ff9f43 !important;\n}\n.bg-light-warning {\n background: rgba(255, 159, 67, 0.12) !important;\n color: #ff9f43 !important;\n}\n.bg-light-warning.fc-h-event, .bg-light-warning.fc-v-event {\n border-color: rgba(255, 159, 67, 0.1);\n}\n.bg-light-warning .fc-list-event-dot,\n.bg-light-warning .fc-daygrid-event-dot {\n border-color: #ff9f43 !important;\n}\n.bg-light-warning.fc-list-event:hover td {\n background: rgba(255, 159, 67, 0.1) !important;\n}\n.bg-light-warning.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-warning {\n color: #ff9f43 !important;\n}\n.border-warning {\n border: 1px solid #ff9f43 !important;\n}\n.border-top-warning {\n border-top: 1px solid #ff9f43;\n}\n.border-bottom-warning {\n border-bottom: 1px solid #ff9f43;\n}\n.border-left-warning {\n border-left: 1px solid #ff9f43;\n}\n.border-right-warning {\n border-right: 1px solid #ff9f43;\n}\n.bg-warning.badge-glow,\n.border-warning.badge-glow,\n.badge-warning.badge-glow {\n box-shadow: 0px 0px 10px #ff9f43;\n}\n.badge.badge-light-warning {\n background-color: rgba(255, 159, 67, 0.12);\n color: #ff9f43 !important;\n}\n.overlay-warning {\n background: #ff9f43; /* The Fallback */\n background: rgba(255, 159, 67, 0.6);\n}\n.btn-warning {\n border-color: #ff9f43 !important;\n background-color: #ff9f43 !important;\n color: #fff !important;\n}\n.btn-warning:focus, .btn-warning:active, .btn-warning.active {\n color: #fff;\n background-color: #ff922a !important;\n}\n.btn-warning:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ff9f43;\n}\n.btn-warning:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-warning {\n background-color: transparent;\n color: #ff9f43;\n}\n.btn-flat-warning:hover {\n color: #ff9f43;\n}\n.btn-flat-warning:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.12);\n}\n.btn-flat-warning:active, .btn-flat-warning.active, .btn-flat-warning:focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-flat-warning.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-warning {\n background-color: #ff9f43;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-warning:hover:not(.disabled):not(:disabled) {\n background-color: #ffac5d;\n}\n.btn-relief-warning:active, .btn-relief-warning.active, .btn-relief-warning:focus {\n background-color: #ff922a;\n}\n.btn-relief-warning:hover {\n color: #fff;\n}\n.btn-relief-warning:active, .btn-relief-warning.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-warning {\n border: 1px solid #ff9f43 !important;\n background-color: transparent;\n color: #ff9f43;\n}\n.btn-outline-warning:hover:not(.disabled):not(:disabled) {\n background-color: rgba(255, 159, 67, 0.04);\n color: #ff9f43;\n}\n.btn-outline-warning:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, .btn-outline-warning:not(:disabled):not(.disabled):focus {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-outline-warning.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-warning.dropdown-toggle {\n background-color: rgba(255, 159, 67, 0.2);\n color: #ff9f43;\n}\n.btn-outline-warning.waves-effect .waves-ripple,\n.btn-flat-warning.waves-effect .waves-ripple {\n background: radial-gradient(rgba(255, 159, 67, 0.2) 0, rgba(255, 159, 67, 0.3) 40%, rgba(255, 159, 67, 0.4) 50%, rgba(255, 159, 67, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-warning {\n background-color: #ff9f43;\n}\n.modal.modal-warning .modal-header .modal-title {\n color: #ff9f43;\n}\n.modal.modal-warning .modal-header .close {\n color: #ff9f43 !important;\n}\n.pagination-warning .page-item.active .page-link {\n background: #ff9f43 !important;\n color: #fff;\n}\n.pagination-warning .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-warning .page-item .page-link:hover {\n color: #ff9f43;\n}\n.pagination-warning .page-item.prev-item .page-link:hover, .pagination-warning .page-item.next-item .page-link:hover {\n background: #ff9f43;\n color: #fff;\n}\n.pagination-warning .page-item.next-item .page-link:active:after, .pagination-warning .page-item.next-item .page-link:hover:after, .pagination-warning .page-item.next .page-link:active:after, .pagination-warning .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-warning .page-item.prev-item .page-link:active:before, .pagination-warning .page-item.prev-item .page-link:hover:before, .pagination-warning .page-item.prev .page-link:active:before, .pagination-warning .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9f43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-warning .nav-item .nav-link.active {\n color: #fff;\n background-color: #ff9f43 !important;\n border-color: #ff9f43;\n box-shadow: 0 4px 18px -4px rgba(255, 159, 67, 0.65);\n}\n.progress-bar-warning {\n background-color: rgba(255, 159, 67, 0.12);\n}\n.progress-bar-warning .progress-bar {\n background-color: #ff9f43;\n}\n.timeline .timeline-point-warning {\n border-color: #ff9f43 !important;\n}\n.timeline .timeline-point-warning i,\n.timeline .timeline-point-warning svg {\n stroke: #ff9f43 !important;\n}\n.timeline .timeline-point-warning.timeline-point-indicator {\n background-color: #ff9f43 !important;\n}\n.timeline .timeline-point-warning.timeline-point-indicator:before {\n background: rgba(255, 159, 67, 0.12) !important;\n}\n.divider.divider-warning .divider-text:before, .divider.divider-warning .divider-text:after {\n border-color: #ff9f43 !important;\n}\ninput:focus ~ .bg-warning {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ff9f43 !important;\n}\n.custom-control-warning .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning .custom-control-input:active ~ .custom-control-label::before {\n border-color: #ff9f43;\n background-color: #ff9f43;\n}\n.custom-control-warning.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-warning.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-warning.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-warning.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-warning.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(255, 159, 67, 0.4) !important;\n}\n.custom-control-warning .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(255, 159, 67, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-warning .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #ff9f43 !important;\n}\n.custom-switch-warning .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #ff9f43 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-warning .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #ff9f43 !important;\n border-color: #ff9f43 !important;\n}\n.text-warning.text-darken-1 {\n color: #ff922a !important;\n}\n.bg-warning.bg-darken-1 {\n background-color: #ff922a !important;\n}\n.border-warning.border-darken-1 {\n border: 1px solid #ff922a !important;\n}\n.border-top-warning.border-top-darken-1 {\n border-top: 1px solid #ff922a !important;\n}\n.border-bottom-warning.border-bottom-darken-1 {\n border-bottom: 1px solid #ff922a !important;\n}\n.border-left-warning.border-left-darken-1 {\n border-left: 1px solid #ff922a !important;\n}\n.border-right-warning.border-right-darken-1 {\n border-right: 1px solid #ff922a !important;\n}\n.overlay-warning.overlay-darken-1 {\n background: #ff922a; /* The Fallback */\n background: rgba(255, 146, 42, 0.6);\n}\n.text-warning.text-darken-2 {\n color: #ff8510 !important;\n}\n.bg-warning.bg-darken-2 {\n background-color: #ff8510 !important;\n}\n.border-warning.border-darken-2 {\n border: 1px solid #ff8510 !important;\n}\n.border-top-warning.border-top-darken-2 {\n border-top: 1px solid #ff8510 !important;\n}\n.border-bottom-warning.border-bottom-darken-2 {\n border-bottom: 1px solid #ff8510 !important;\n}\n.border-left-warning.border-left-darken-2 {\n border-left: 1px solid #ff8510 !important;\n}\n.border-right-warning.border-right-darken-2 {\n border-right: 1px solid #ff8510 !important;\n}\n.overlay-warning.overlay-darken-2 {\n background: #ff8510; /* The Fallback */\n background: rgba(255, 133, 16, 0.6);\n}\n.text-warning.text-darken-3 {\n color: #f67800 !important;\n}\n.bg-warning.bg-darken-3 {\n background-color: #f67800 !important;\n}\n.border-warning.border-darken-3 {\n border: 1px solid #f67800 !important;\n}\n.border-top-warning.border-top-darken-3 {\n border-top: 1px solid #f67800 !important;\n}\n.border-bottom-warning.border-bottom-darken-3 {\n border-bottom: 1px solid #f67800 !important;\n}\n.border-left-warning.border-left-darken-3 {\n border-left: 1px solid #f67800 !important;\n}\n.border-right-warning.border-right-darken-3 {\n border-right: 1px solid #f67800 !important;\n}\n.overlay-warning.overlay-darken-3 {\n background: #f67800; /* The Fallback */\n background: rgba(246, 120, 0, 0.6);\n}\n.text-warning.text-darken-4 {\n color: #dc6c00 !important;\n}\n.bg-warning.bg-darken-4 {\n background-color: #dc6c00 !important;\n}\n.border-warning.border-darken-4 {\n border: 1px solid #dc6c00 !important;\n}\n.border-top-warning.border-top-darken-4 {\n border-top: 1px solid #dc6c00 !important;\n}\n.border-bottom-warning.border-bottom-darken-4 {\n border-bottom: 1px solid #dc6c00 !important;\n}\n.border-left-warning.border-left-darken-4 {\n border-left: 1px solid #dc6c00 !important;\n}\n.border-right-warning.border-right-darken-4 {\n border-right: 1px solid #dc6c00 !important;\n}\n.overlay-warning.overlay-darken-4 {\n background: #dc6c00; /* The Fallback */\n background: rgba(220, 108, 0, 0.6);\n}\n.text-warning.text-accent-1 {\n color: #fff5ef !important;\n}\n.bg-warning.bg-accent-1 {\n background-color: #fff5ef !important;\n}\n.border-warning.border-accent-1 {\n border: 1px solid #fff5ef !important;\n}\n.border-top-warning.border-top-accent-1 {\n border-top: 1px solid #fff5ef !important;\n}\n.border-bottom-warning.border-bottom-accent-1 {\n border-bottom: 1px solid #fff5ef !important;\n}\n.border-left-warning.border-left-accent-1 {\n border-left: 1px solid #fff5ef !important;\n}\n.border-right-warning.border-right-accent-1 {\n border-right: 1px solid #fff5ef !important;\n}\n.overlay-warning.overlay-accent-1 {\n background: #fff5ef; /* The Fallback */\n background: rgba(255, 245, 239, 0.6);\n}\n.text-warning.text-accent-2 {\n color: #ffe5d8 !important;\n}\n.bg-warning.bg-accent-2 {\n background-color: #ffe5d8 !important;\n}\n.border-warning.border-accent-2 {\n border: 1px solid #ffe5d8 !important;\n}\n.border-top-warning.border-top-accent-2 {\n border-top: 1px solid #ffe5d8 !important;\n}\n.border-bottom-warning.border-bottom-accent-2 {\n border-bottom: 1px solid #ffe5d8 !important;\n}\n.border-left-warning.border-left-accent-2 {\n border-left: 1px solid #ffe5d8 !important;\n}\n.border-right-warning.border-right-accent-2 {\n border-right: 1px solid #ffe5d8 !important;\n}\n.overlay-warning.overlay-accent-2 {\n background: #ffe5d8; /* The Fallback */\n background: rgba(255, 229, 216, 0.6);\n}\n.text-warning.text-accent-3 {\n color: #fff6f3 !important;\n}\n.bg-warning.bg-accent-3 {\n background-color: #fff6f3 !important;\n}\n.border-warning.border-accent-3 {\n border: 1px solid #fff6f3 !important;\n}\n.border-top-warning.border-top-accent-3 {\n border-top: 1px solid #fff6f3 !important;\n}\n.border-bottom-warning.border-bottom-accent-3 {\n border-bottom: 1px solid #fff6f3 !important;\n}\n.border-left-warning.border-left-accent-3 {\n border-left: 1px solid #fff6f3 !important;\n}\n.border-right-warning.border-right-accent-3 {\n border-right: 1px solid #fff6f3 !important;\n}\n.overlay-warning.overlay-accent-3 {\n background: #fff6f3; /* The Fallback */\n background: rgba(255, 246, 243, 0.6);\n}\n.text-warning.text-accent-4 {\n color: #ffe3da !important;\n}\n.bg-warning.bg-accent-4 {\n background-color: #ffe3da !important;\n}\n.border-warning.border-accent-4 {\n border: 1px solid #ffe3da !important;\n}\n.border-top-warning.border-top-accent-4 {\n border-top: 1px solid #ffe3da !important;\n}\n.border-bottom-warning.border-bottom-accent-4 {\n border-bottom: 1px solid #ffe3da !important;\n}\n.border-left-warning.border-left-accent-4 {\n border-left: 1px solid #ffe3da !important;\n}\n.border-right-warning.border-right-accent-4 {\n border-right: 1px solid #ffe3da !important;\n}\n.overlay-warning.overlay-accent-4 {\n background: #ffe3da; /* The Fallback */\n background: rgba(255, 227, 218, 0.6);\n}\n.text-danger.text-lighten-5 {\n color: #f8c6c6 !important;\n}\n.bg-danger.bg-lighten-5 {\n background-color: #f8c6c6 !important;\n}\n.border-danger.border-lighten-5 {\n border: 1px solid #f8c6c6 !important;\n}\n.border-top-danger.border-top-lighten-5 {\n border-top: 1px solid #f8c6c6 !important;\n}\n.border-bottom-danger.border-bottom-lighten-5 {\n border-bottom: 1px solid #f8c6c6 !important;\n}\n.border-left-danger.border-left-lighten-5 {\n border-left: 1px solid #f8c6c6 !important;\n}\n.border-right-danger.border-right-lighten-5 {\n border-right: 1px solid #f8c6c6 !important;\n}\n.overlay-danger.overlay-lighten-5 {\n background: #f8c6c6; /* The Fallback */\n background: rgba(248, 198, 198, 0.6);\n}\n.text-danger.text-lighten-4 {\n color: #f5afaf !important;\n}\n.bg-danger.bg-lighten-4 {\n background-color: #f5afaf !important;\n}\n.border-danger.border-lighten-4 {\n border: 1px solid #f5afaf !important;\n}\n.border-top-danger.border-top-lighten-4 {\n border-top: 1px solid #f5afaf !important;\n}\n.border-bottom-danger.border-bottom-lighten-4 {\n border-bottom: 1px solid #f5afaf !important;\n}\n.border-left-danger.border-left-lighten-4 {\n border-left: 1px solid #f5afaf !important;\n}\n.border-right-danger.border-right-lighten-4 {\n border-right: 1px solid #f5afaf !important;\n}\n.overlay-danger.overlay-lighten-4 {\n background: #f5afaf; /* The Fallback */\n background: rgba(245, 175, 175, 0.6);\n}\n.text-danger.text-lighten-3 {\n color: #f29899 !important;\n}\n.bg-danger.bg-lighten-3 {\n background-color: #f29899 !important;\n}\n.border-danger.border-lighten-3 {\n border: 1px solid #f29899 !important;\n}\n.border-top-danger.border-top-lighten-3 {\n border-top: 1px solid #f29899 !important;\n}\n.border-bottom-danger.border-bottom-lighten-3 {\n border-bottom: 1px solid #f29899 !important;\n}\n.border-left-danger.border-left-lighten-3 {\n border-left: 1px solid #f29899 !important;\n}\n.border-right-danger.border-right-lighten-3 {\n border-right: 1px solid #f29899 !important;\n}\n.overlay-danger.overlay-lighten-3 {\n background: #f29899; /* The Fallback */\n background: rgba(242, 152, 153, 0.6);\n}\n.text-danger.text-lighten-2 {\n color: #f08182 !important;\n}\n.bg-danger.bg-lighten-2 {\n background-color: #f08182 !important;\n}\n.border-danger.border-lighten-2 {\n border: 1px solid #f08182 !important;\n}\n.border-top-danger.border-top-lighten-2 {\n border-top: 1px solid #f08182 !important;\n}\n.border-bottom-danger.border-bottom-lighten-2 {\n border-bottom: 1px solid #f08182 !important;\n}\n.border-left-danger.border-left-lighten-2 {\n border-left: 1px solid #f08182 !important;\n}\n.border-right-danger.border-right-lighten-2 {\n border-right: 1px solid #f08182 !important;\n}\n.overlay-danger.overlay-lighten-2 {\n background: #f08182; /* The Fallback */\n background: rgba(240, 129, 130, 0.6);\n}\n.text-danger.text-lighten-1 {\n color: #ed6b6c !important;\n}\n.bg-danger.bg-lighten-1 {\n background-color: #ed6b6c !important;\n}\n.border-danger.border-lighten-1 {\n border: 1px solid #ed6b6c !important;\n}\n.border-top-danger.border-top-lighten-1 {\n border-top: 1px solid #ed6b6c !important;\n}\n.border-bottom-danger.border-bottom-lighten-1 {\n border-bottom: 1px solid #ed6b6c !important;\n}\n.border-left-danger.border-left-lighten-1 {\n border-left: 1px solid #ed6b6c !important;\n}\n.border-right-danger.border-right-lighten-1 {\n border-right: 1px solid #ed6b6c !important;\n}\n.overlay-danger.overlay-lighten-1 {\n background: #ed6b6c; /* The Fallback */\n background: rgba(237, 107, 108, 0.6);\n}\n.bg-danger {\n background-color: #ea5455 !important;\n}\n.bg-danger .card-header,\n.bg-danger .card-footer {\n background-color: transparent;\n}\n.alert-danger {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}\n.alert-danger .alert-heading {\n box-shadow: rgba(234, 84, 85, 0.4) 0px 6px 15px -7px;\n}\n.alert-danger .alert-link {\n color: #e73d3e !important;\n}\n.alert-danger .close {\n color: #ea5455 !important;\n}\n.bg-light-danger {\n background: rgba(234, 84, 85, 0.12) !important;\n color: #ea5455 !important;\n}\n.bg-light-danger.fc-h-event, .bg-light-danger.fc-v-event {\n border-color: rgba(234, 84, 85, 0.1);\n}\n.bg-light-danger .fc-list-event-dot,\n.bg-light-danger .fc-daygrid-event-dot {\n border-color: #ea5455 !important;\n}\n.bg-light-danger.fc-list-event:hover td {\n background: rgba(234, 84, 85, 0.1) !important;\n}\n.bg-light-danger.fc-list-event .fc-list-event-title {\n color: #6e6b7b;\n}\n.avatar.bg-light-danger {\n color: #ea5455 !important;\n}\n.border-danger {\n border: 1px solid #ea5455 !important;\n}\n.border-top-danger {\n border-top: 1px solid #ea5455;\n}\n.border-bottom-danger {\n border-bottom: 1px solid #ea5455;\n}\n.border-left-danger {\n border-left: 1px solid #ea5455;\n}\n.border-right-danger {\n border-right: 1px solid #ea5455;\n}\n.bg-danger.badge-glow,\n.border-danger.badge-glow,\n.badge-danger.badge-glow {\n box-shadow: 0px 0px 10px #ea5455;\n}\n.badge.badge-light-danger {\n background-color: rgba(234, 84, 85, 0.12);\n color: #ea5455 !important;\n}\n.overlay-danger {\n background: #ea5455; /* The Fallback */\n background: rgba(234, 84, 85, 0.6);\n}\n.btn-danger {\n border-color: #ea5455 !important;\n background-color: #ea5455 !important;\n color: #fff !important;\n}\n.btn-danger:focus, .btn-danger:active, .btn-danger.active {\n color: #fff;\n background-color: #e73d3e !important;\n}\n.btn-danger:hover:not(.disabled):not(:disabled) {\n box-shadow: 0 8px 25px -8px #ea5455;\n}\n.btn-danger:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-flat-danger {\n background-color: transparent;\n color: #ea5455;\n}\n.btn-flat-danger:hover {\n color: #ea5455;\n}\n.btn-flat-danger:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.12);\n}\n.btn-flat-danger:active, .btn-flat-danger.active, .btn-flat-danger:focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-flat-danger.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.btn-relief-danger {\n background-color: #ea5455;\n box-shadow: inset 0 -3px 0 0 rgba(34, 41, 47, 0.2);\n color: #fff;\n transition: all 0.2s ease;\n}\n.btn-relief-danger:hover:not(.disabled):not(:disabled) {\n background-color: #ed6b6c;\n}\n.btn-relief-danger:active, .btn-relief-danger.active, .btn-relief-danger:focus {\n background-color: #e73d3e;\n}\n.btn-relief-danger:hover {\n color: #fff;\n}\n.btn-relief-danger:active, .btn-relief-danger.active {\n outline: none;\n box-shadow: none;\n transform: translateY(3px);\n}\n.btn-outline-danger {\n border: 1px solid #ea5455 !important;\n background-color: transparent;\n color: #ea5455;\n}\n.btn-outline-danger:hover:not(.disabled):not(:disabled) {\n background-color: rgba(234, 84, 85, 0.04);\n color: #ea5455;\n}\n.btn-outline-danger:not(:disabled):not(.disabled):active:focus {\n box-shadow: none;\n}\n.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .btn-outline-danger:not(:disabled):not(.disabled):focus {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-outline-danger.dropdown-toggle::after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E\");\n}\n.show > .btn-outline-danger.dropdown-toggle {\n background-color: rgba(234, 84, 85, 0.2);\n color: #ea5455;\n}\n.btn-outline-danger.waves-effect .waves-ripple,\n.btn-flat-danger.waves-effect .waves-ripple {\n background: radial-gradient(rgba(234, 84, 85, 0.2) 0, rgba(234, 84, 85, 0.3) 40%, rgba(234, 84, 85, 0.4) 50%, rgba(234, 84, 85, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n}\n.bullet.bullet-danger {\n background-color: #ea5455;\n}\n.modal.modal-danger .modal-header .modal-title {\n color: #ea5455;\n}\n.modal.modal-danger .modal-header .close {\n color: #ea5455 !important;\n}\n.pagination-danger .page-item.active .page-link {\n background: #ea5455 !important;\n color: #fff;\n}\n.pagination-danger .page-item.active .page-link:hover {\n color: #fff;\n}\n.pagination-danger .page-item .page-link:hover {\n color: #ea5455;\n}\n.pagination-danger .page-item.prev-item .page-link:hover, .pagination-danger .page-item.next-item .page-link:hover {\n background: #ea5455;\n color: #fff;\n}\n.pagination-danger .page-item.next-item .page-link:active:after, .pagination-danger .page-item.next-item .page-link:hover:after, .pagination-danger .page-item.next .page-link:active:after, .pagination-danger .page-item.next .page-link:hover:after {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-right'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.pagination-danger .page-item.prev-item .page-link:active:before, .pagination-danger .page-item.prev-item .page-link:hover:before, .pagination-danger .page-item.prev .page-link:active:before, .pagination-danger .page-item.prev .page-link:hover:before {\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea5455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-left'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E\") !important;\n}\n.nav-pill-danger .nav-item .nav-link.active {\n color: #fff;\n background-color: #ea5455 !important;\n border-color: #ea5455;\n box-shadow: 0 4px 18px -4px rgba(234, 84, 85, 0.65);\n}\n.progress-bar-danger {\n background-color: rgba(234, 84, 85, 0.12);\n}\n.progress-bar-danger .progress-bar {\n background-color: #ea5455;\n}\n.timeline .timeline-point-danger {\n border-color: #ea5455 !important;\n}\n.timeline .timeline-point-danger i,\n.timeline .timeline-point-danger svg {\n stroke: #ea5455 !important;\n}\n.timeline .timeline-point-danger.timeline-point-indicator {\n background-color: #ea5455 !important;\n}\n.timeline .timeline-point-danger.timeline-point-indicator:before {\n background: rgba(234, 84, 85, 0.12) !important;\n}\n.divider.divider-danger .divider-text:before, .divider.divider-danger .divider-text:after {\n border-color: #ea5455 !important;\n}\ninput:focus ~ .bg-danger {\n box-shadow: 0 0 0 0.075rem #fff, 0 0 0 0.21rem #ea5455 !important;\n}\n.custom-control-danger .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger .custom-control-input:active ~ .custom-control-label::before {\n border-color: #ea5455;\n background-color: #ea5455;\n}\n.custom-control-danger.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger.custom-checkbox .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-danger.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before, .custom-control-danger.custom-radio .custom-control-input:checked ~ .custom-control-label::before,\n.custom-control-danger.custom-radio .custom-control-input:active ~ .custom-control-label::before,\n.custom-control-danger.custom-radio .custom-control-input:focus ~ .custom-control-label::before {\n box-shadow: 0 2px 4px 0 rgba(234, 84, 85, 0.4) !important;\n}\n.custom-control-danger .custom-control-input:disabled:checked ~ .custom-control-label::before {\n background-color: rgba(234, 84, 85, 0.65) !important;\n border: none;\n box-shadow: none !important;\n}\n.custom-control-danger .custom-control-input:focus ~ .custom-control-label::before {\n border-color: #ea5455 !important;\n}\n.custom-switch-danger .custom-control-input:checked ~ .custom-control-label::before {\n background-color: #ea5455 !important;\n color: #fff;\n transition: all 0.2s ease-out;\n}\n.select2-danger .select2-container--default .select2-selection--multiple .select2-selection__choice {\n background: #ea5455 !important;\n border-color: #ea5455 !important;\n}\n.text-danger.text-darken-1 {\n color: #e73d3e !important;\n}\n.bg-danger.bg-darken-1 {\n background-color: #e73d3e !important;\n}\n.border-danger.border-darken-1 {\n border: 1px solid #e73d3e !important;\n}\n.border-top-danger.border-top-darken-1 {\n border-top: 1px solid #e73d3e !important;\n}\n.border-bottom-danger.border-bottom-darken-1 {\n border-bottom: 1px solid #e73d3e !important;\n}\n.border-left-danger.border-left-darken-1 {\n border-left: 1px solid #e73d3e !important;\n}\n.border-right-danger.border-right-darken-1 {\n border-right: 1px solid #e73d3e !important;\n}\n.overlay-danger.overlay-darken-1 {\n background: #e73d3e; /* The Fallback */\n background: rgba(231, 61, 62, 0.6);\n}\n.text-danger.text-darken-2 {\n color: #e42728 !important;\n}\n.bg-danger.bg-darken-2 {\n background-color: #e42728 !important;\n}\n.border-danger.border-darken-2 {\n border: 1px solid #e42728 !important;\n}\n.border-top-danger.border-top-darken-2 {\n border-top: 1px solid #e42728 !important;\n}\n.border-bottom-danger.border-bottom-darken-2 {\n border-bottom: 1px solid #e42728 !important;\n}\n.border-left-danger.border-left-darken-2 {\n border-left: 1px solid #e42728 !important;\n}\n.border-right-danger.border-right-darken-2 {\n border-right: 1px solid #e42728 !important;\n}\n.overlay-danger.overlay-darken-2 {\n background: #e42728; /* The Fallback */\n background: rgba(228, 39, 40, 0.6);\n}\n.text-danger.text-darken-3 {\n color: #d71a1c !important;\n}\n.bg-danger.bg-darken-3 {\n background-color: #d71a1c !important;\n}\n.border-danger.border-darken-3 {\n border: 1px solid #d71a1c !important;\n}\n.border-top-danger.border-top-darken-3 {\n border-top: 1px solid #d71a1c !important;\n}\n.border-bottom-danger.border-bottom-darken-3 {\n border-bottom: 1px solid #d71a1c !important;\n}\n.border-left-danger.border-left-darken-3 {\n border-left: 1px solid #d71a1c !important;\n}\n.border-right-danger.border-right-darken-3 {\n border-right: 1px solid #d71a1c !important;\n}\n.overlay-danger.overlay-darken-3 {\n background: #d71a1c; /* The Fallback */\n background: rgba(215, 26, 28, 0.6);\n}\n.text-danger.text-darken-4 {\n color: #c01819 !important;\n}\n.bg-danger.bg-darken-4 {\n background-color: #c01819 !important;\n}\n.border-danger.border-darken-4 {\n border: 1px solid #c01819 !important;\n}\n.border-top-danger.border-top-darken-4 {\n border-top: 1px solid #c01819 !important;\n}\n.border-bottom-danger.border-bottom-darken-4 {\n border-bottom: 1px solid #c01819 !important;\n}\n.border-left-danger.border-left-darken-4 {\n border-left: 1px solid #c01819 !important;\n}\n.border-right-danger.border-right-darken-4 {\n border-right: 1px solid #c01819 !important;\n}\n.overlay-danger.overlay-darken-4 {\n background: #c01819; /* The Fallback */\n background: rgba(192, 24, 25, 0.6);\n}\n.text-danger.text-accent-1 {\n color: #ffeef1 !important;\n}\n.bg-danger.bg-accent-1 {\n background-color: #ffeef1 !important;\n}\n.border-danger.border-accent-1 {\n border: 1px solid #ffeef1 !important;\n}\n.border-top-danger.border-top-accent-1 {\n border-top: 1px solid #ffeef1 !important;\n}\n.border-bottom-danger.border-bottom-accent-1 {\n border-bottom: 1px solid #ffeef1 !important;\n}\n.border-left-danger.border-left-accent-1 {\n border-left: 1px solid #ffeef1 !important;\n}\n.border-right-danger.border-right-accent-1 {\n border-right: 1px solid #ffeef1 !important;\n}\n.overlay-danger.overlay-accent-1 {\n background: #ffeef1; /* The Fallback */\n background: rgba(255, 238, 241, 0.6);\n}\n.text-danger.text-accent-2 {\n color: #ffd6db !important;\n}\n.bg-danger.bg-accent-2 {\n background-color: #ffd6db !important;\n}\n.border-danger.border-accent-2 {\n border: 1px solid #ffd6db !important;\n}\n.border-top-danger.border-top-accent-2 {\n border-top: 1px solid #ffd6db !important;\n}\n.border-bottom-danger.border-bottom-accent-2 {\n border-bottom: 1px solid #ffd6db !important;\n}\n.border-left-danger.border-left-accent-2 {\n border-left: 1px solid #ffd6db !important;\n}\n.border-right-danger.border-right-accent-2 {\n border-right: 1px solid #ffd6db !important;\n}\n.overlay-danger.overlay-accent-2 {\n background: #ffd6db; /* The Fallback */\n background: rgba(255, 214, 219, 0.6);\n}\n.text-danger.text-accent-3 {\n color: #ffecee !important;\n}\n.bg-danger.bg-accent-3 {\n background-color: #ffecee !important;\n}\n.border-danger.border-accent-3 {\n border: 1px solid #ffecee !important;\n}\n.border-top-danger.border-top-accent-3 {\n border-top: 1px solid #ffecee !important;\n}\n.border-bottom-danger.border-bottom-accent-3 {\n border-bottom: 1px solid #ffecee !important;\n}\n.border-left-danger.border-left-accent-3 {\n border-left: 1px solid #ffecee !important;\n}\n.border-right-danger.border-right-accent-3 {\n border-right: 1px solid #ffecee !important;\n}\n.overlay-danger.overlay-accent-3 {\n background: #ffecee; /* The Fallback */\n background: rgba(255, 236, 238, 0.6);\n}\n.text-danger.text-accent-4 {\n color: #ffd3d7 !important;\n}\n.bg-danger.bg-accent-4 {\n background-color: #ffd3d7 !important;\n}\n.border-danger.border-accent-4 {\n border: 1px solid #ffd3d7 !important;\n}\n.border-top-danger.border-top-accent-4 {\n border-top: 1px solid #ffd3d7 !important;\n}\n.border-bottom-danger.border-bottom-accent-4 {\n border-bottom: 1px solid #ffd3d7 !important;\n}\n.border-left-danger.border-left-accent-4 {\n border-left: 1px solid #ffd3d7 !important;\n}\n.border-right-danger.border-right-accent-4 {\n border-right: 1px solid #ffd3d7 !important;\n}\n.overlay-danger.overlay-accent-4 {\n background: #ffd3d7; /* The Fallback */\n background: rgba(255, 211, 215, 0.6);\n}\n.bg-gradient-dark,\n.btn-gradient-dark {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #4b4b4b, #1e1e1e);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.dark-layout .bg-gradient-dark,\n.dark-layout .btn-gradient-dark {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-dark:hover, .bg-gradient-dark:active,\n.btn-gradient-dark:hover,\n.btn-gradient-dark:active {\n color: #fff;\n}\n.bg-gradient-dark:hover:not(.disabled):not(:disabled),\n.btn-gradient-dark:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-dark:active,\n.btn-gradient-dark:active {\n transform: translateY(0);\n}\n.bg-gradient-dark:active, .bg-gradient-dark:focus,\n.btn-gradient-dark:active,\n.btn-gradient-dark:focus {\n background-image: linear-gradient(47deg, #1e1e1e, #4b4b4b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-primary,\n.btn-gradient-primary {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #7367f0, #9e95f5);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-primary:hover, .bg-gradient-primary:active,\n.btn-gradient-primary:hover,\n.btn-gradient-primary:active {\n color: #fff;\n}\n.bg-gradient-primary:hover:not(.disabled):not(:disabled),\n.btn-gradient-primary:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-primary:active,\n.btn-gradient-primary:active {\n transform: translateY(0);\n}\n.bg-gradient-primary:active, .bg-gradient-primary:focus,\n.btn-gradient-primary:active,\n.btn-gradient-primary:focus {\n background-image: linear-gradient(47deg, #4839eb, #7367f0);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-secondary,\n.btn-gradient-secondary {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #82868b, #9ca0a4);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-secondary:hover, .bg-gradient-secondary:active,\n.btn-gradient-secondary:hover,\n.btn-gradient-secondary:active {\n color: #fff;\n}\n.bg-gradient-secondary:hover:not(.disabled):not(:disabled),\n.btn-gradient-secondary:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-secondary:active,\n.btn-gradient-secondary:active {\n transform: translateY(0);\n}\n.bg-gradient-secondary:active, .bg-gradient-secondary:focus,\n.btn-gradient-secondary:active,\n.btn-gradient-secondary:focus {\n background-image: linear-gradient(47deg, #696d71, #82868b);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-success,\n.btn-gradient-success {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #28c76f, #48da89);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-success:hover, .bg-gradient-success:active,\n.btn-gradient-success:hover,\n.btn-gradient-success:active {\n color: #fff;\n}\n.bg-gradient-success:hover:not(.disabled):not(:disabled),\n.btn-gradient-success:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-success:active,\n.btn-gradient-success:active {\n transform: translateY(0);\n}\n.bg-gradient-success:active, .bg-gradient-success:focus,\n.btn-gradient-success:active,\n.btn-gradient-success:focus {\n background-image: linear-gradient(47deg, #1f9d57, #28c76f);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-info,\n.btn-gradient-info {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #00cfe8, #1ce7ff);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-info:hover, .bg-gradient-info:active,\n.btn-gradient-info:hover,\n.btn-gradient-info:active {\n color: #fff;\n}\n.bg-gradient-info:hover:not(.disabled):not(:disabled),\n.btn-gradient-info:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-info:active,\n.btn-gradient-info:active {\n transform: translateY(0);\n}\n.bg-gradient-info:active, .bg-gradient-info:focus,\n.btn-gradient-info:active,\n.btn-gradient-info:focus {\n background-image: linear-gradient(47deg, #00a1b5, #00cfe8);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-warning,\n.btn-gradient-warning {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ff9f43, #ffb976);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-warning:hover, .bg-gradient-warning:active,\n.btn-gradient-warning:hover,\n.btn-gradient-warning:active {\n color: #fff;\n}\n.bg-gradient-warning:hover:not(.disabled):not(:disabled),\n.btn-gradient-warning:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-warning:active,\n.btn-gradient-warning:active {\n transform: translateY(0);\n}\n.bg-gradient-warning:active, .bg-gradient-warning:focus,\n.btn-gradient-warning:active,\n.btn-gradient-warning:focus {\n background-image: linear-gradient(47deg, #ff8510, #ff9f43);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-danger,\n.btn-gradient-danger {\n color: #fff;\n transition: all 0.2s ease;\n background-image: linear-gradient(47deg, #ea5455, #f08182);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.bg-gradient-danger:hover, .bg-gradient-danger:active,\n.btn-gradient-danger:hover,\n.btn-gradient-danger:active {\n color: #fff;\n}\n.bg-gradient-danger:hover:not(.disabled):not(:disabled),\n.btn-gradient-danger:hover:not(.disabled):not(:disabled) {\n transform: translateY(-2px);\n}\n.bg-gradient-danger:active,\n.btn-gradient-danger:active {\n transform: translateY(0);\n}\n.bg-gradient-danger:active, .bg-gradient-danger:focus,\n.btn-gradient-danger:active,\n.btn-gradient-danger:focus {\n background-image: linear-gradient(47deg, #e42728, #ea5455);\n background-repeat: repeat-x;\n background-repeat: repeat;\n}\n.ng-select.ng-select-focused {\n outline: 0;\n box-shadow: 0 3px 10px 0 rgba(34, 41, 47, 0.1);\n}\n.ng-select.ng-select-focused .ng-select-container {\n border-color: #7367f0 !important;\n z-index: 2000 !important;\n box-shadow: none !important;\n color: #6e6b7b !important;\n min-height: 38px !important;\n}\n.ng-select .ng-select-container {\n color: #6e6b7b !important;\n min-height: 38px !important;\n}\n.ng-select.error .ng-select-container {\n border-color: #ea5455 !important;\n}\n.ng-select.ng-select-multiple .ng-value {\n background-color: #7367f0 !important;\n color: #fff;\n border: none !important;\n font-size: 0.8rem !important;\n border-radius: 4px !important;\n display: flex;\n align-items: center;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.right {\n border: 0 !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.left {\n border: 0 !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon:hover {\n background-color: transparent !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.left {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-multiple .ng-value .ng-value-icon.right {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-multiple .ng-select-container .ng-placeholder {\n top: 8px !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container {\n min-height: 48px;\n font-size: 1.2rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value {\n font-size: 1.2rem !important;\n padding: 7px;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value .ng-value-icon.left {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-value .ng-value-icon.right {\n font-size: 1.1rem !important;\n}\n.ng-select.ng-select-size-lg .ng-select-container .ng-clear-wrapper {\n height: 22px !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container {\n min-height: 28px !important;\n font-size: 0.75rem;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value {\n padding: 0px;\n font-size: 0.9em !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value .ng-value-icon.left {\n font-size: 0.9em !important;\n}\n.ng-select.ng-select-size-sm .ng-select-container .ng-value .ng-value-icon.right {\n font-size: 0.9em !important;\n}\n.ng-select .ng-option.ng-option-selected {\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.ng-select .ng-option.ng-option-selected.ng-option-marked {\n background-color: #7367f0 !important;\n color: #fff !important;\n}\n.ng-select .ng-option.ng-option-selected .ng-option-label {\n font-weight: inherit !important;\n}\n.ng-select .ng-option.ng-option-marked {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.ng-select .ng-option.ng-option-disabled {\n color: #b9b9c3 !important;\n}\n.ng-select .ng-arrow {\n background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaBAMAAABbZFH9AAAAG1BMVEUAAACRkZGRkZGSkpKRkZGSkpKSkpKRkZGRkZHLso+9AAAACHRSTlMA+1JoWo0vLFQDmmkAAABlSURBVBjTY6ALSACTbBAOazOYsggAUxEdBkCSuaMVxGGX6BABUo4djQUgrmJHhwFQqkMIrJJJoqOZwaKjUQHIhkg6g6QggEWiQ7Cj0QHIgkpCpaA6wbrgkiAphKSgArJTXRhoBgB9GRPswyvBqAAAAABJRU5ErkJggg==\");\n background-size: 12px 12px, 10px 10px;\n background-repeat: no-repeat;\n height: 0.8rem !important;\n padding-right: 1.5rem;\n margin-left: 0;\n margin-top: 0;\n left: 0;\n border-style: none !important;\n}\n.ng-select.ng-select-opened > .ng-select-container .ng-arrow {\n top: 0px !important;\n}\n.ng-select .ng-clear-wrapper {\n height: 18px;\n}\n.dark-layout .ng-select-container {\n background-color: #283046;\n border-color: #3b4253;\n color: #676d7d;\n}\n.dark-layout .ng-select-container .ng-placeholder {\n color: #676d7d !important;\n}\n.dark-layout .ng-select.ng-select-multiple .ng-value {\n background-color: rgba(115, 103, 240, 0.12) !important;\n color: #7367f0 !important;\n}\n.dark-layout .ng-dropdown-header {\n background-color: #161d31;\n border-color: #3b4253;\n}\n.dark-layout .ng-dropdown-footer {\n background-color: #161d31;\n border-color: #3b4253;\n}\n.dark-layout .ng-select.ng-select-opened > .ng-select-container {\n background-color: #161d31;\n}\n.dark-layout .ng-option {\n background-color: #283046 !important;\n color: #b4b7bd !important;\n}\n.dark-layout .ng-option.ng-option-disabled {\n color: #676d7d !important;\n}\n.dark-layout ng-dropdown-panel {\n border-color: #3b4253 !important;\n}\n.dark-layout ng-dropdown-panel .ng-dropdown-panel-items {\n background-color: #161d31 !important;\n}\n.dark-layout ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n color: #676d7d !important;\n}\n.code-container {\n overflow: auto;\n white-space: pre-wrap;\n width: 100%;\n height: 100px;\n resize: both; /* Permite que el usuario ajuste el tama\u00F1o del contenedor */\n border: 1px solid #ccc; /* Agrega un borde para indicar que el contenedor es redimensionable */\n}\n.input_container {\n border: 1px solid #e5e5e5;\n text-transform: capitalize;\n}\ninput[type=file]::file-selector-button {\n background-color: #85c889;\n color: #000;\n border: 0px;\n border-right: 1px solid #e5e5e5;\n padding: 10px 15px;\n margin-right: 20px;\n transition: 0.5s;\n text-transform: capitalize;\n}\ninput[type=file]::file-selector-button:hover {\n background-color: #eee;\n border: 0px;\n border-right: 1px solid #e5e5e5;\n text-transform: capitalize;\n}\r\n/*# sourceMappingURL=functions.component.scss.map */"], encapsulation: 2 }); } (0,tslib__WEBPACK_IMPORTED_MODULE_20__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_17__.BlockUI)()], FunctionsComponent.prototype, "blockUI", void 0); (0,tslib__WEBPACK_IMPORTED_MODULE_20__.__decorate)([(0,ng_block_ui__WEBPACK_IMPORTED_MODULE_17__.BlockUI)("section-block")], FunctionsComponent.prototype, "sectionBlockUI", void 0); /***/ }), /***/ 35513: /*!**************************************************!*\ !*** ./src/app/main/views/tools/tools.module.ts ***! \**************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "ToolsModule": () => (/* binding */ ToolsModule) /* harmony export */ }); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/router */ 34793); /* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @ngx-translate/core */ 42466); /* harmony import */ var _services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @services/seguridad/auth-guard.guard */ 76732); /* harmony import */ var _core_common_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @core/common.module */ 75078); /* harmony import */ var app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! app/layout/components/content-header/content-header.module */ 50619); /* harmony import */ var _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @core/components/core-card/core-card.module */ 4651); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var ng2_flatpickr__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ng2-flatpickr */ 89793); /* harmony import */ var _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @core/directives/directives */ 35455); /* harmony import */ var _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @core/pipes/pipes.module */ 30021); /* harmony import */ var _core_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @core/components */ 69065); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ng-block-ui */ 23684); /* harmony import */ var _functions_functions_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./functions/functions.component */ 15317); /* harmony import */ var _api_api_collection_api_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./api/api-collection/api.component */ 26175); /* harmony import */ var _workflow_workflow_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./workflow/workflow.component */ 74560); /* harmony import */ var _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @ctrl/ngx-codemirror */ 1103); /* harmony import */ var _api_api_list_api_list_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./api/api-list/api-list.component */ 75339); /* harmony import */ var _core_components_card_snippet_card_snippet_module__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @core/components/card-snippet/card-snippet.module */ 76826); /* harmony import */ var _api_api_details_api_details_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./api/api-details/api-details.component */ 48005); /* harmony import */ var _api_register_api_register_api_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./api/register-api/register-api.component */ 70127); /* harmony import */ var _core_pipes_sql_format_pipe__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @core/pipes/sql-format.pipe */ 53421); /* harmony import */ var _applications_applications_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./applications/applications.component */ 28582); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @angular/core */ 94650); const routes = [{ path: 'tools/functions', component: _functions_functions_component__WEBPACK_IMPORTED_MODULE_7__.FunctionsComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'tools/applications/:id', component: _api_api_list_api_list_component__WEBPACK_IMPORTED_MODULE_10__.ApiListComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'tools/applications', component: _applications_applications_component__WEBPACK_IMPORTED_MODULE_15__.ApplicationsComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'tools/applications/api-list/:id', component: _api_api_collection_api_component__WEBPACK_IMPORTED_MODULE_8__.ApiComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'tools/applications/api-details/:id/:ruta', component: _api_api_details_api_details_component__WEBPACK_IMPORTED_MODULE_12__.ApiDetailsComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'tools/workflow', component: _workflow_workflow_component__WEBPACK_IMPORTED_MODULE_9__.WorkflowComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'tools/applications/register-api/:id/:ruta', component: _api_register_api_register_api_component__WEBPACK_IMPORTED_MODULE_13__.RegisterApiComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }, { path: 'tools/applications/update-api/:id/:ruta', component: _api_register_api_register_api_component__WEBPACK_IMPORTED_MODULE_13__.RegisterApiComponent, canActivate: [_services_seguridad_auth_guard_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuardGuard] }]; class ToolsModule { static ɵfac = function ToolsModule_Factory(t) { return new (t || ToolsModule)(); }; static ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdefineNgModule"]({ type: ToolsModule }); static ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_17__.RouterModule.forChild(routes), _angular_common__WEBPACK_IMPORTED_MODULE_18__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_20__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_20__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_21__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_22__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_23__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_24__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_25__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _core_components_card_snippet_card_snippet_module__WEBPACK_IMPORTED_MODULE_11__.CardSnippetModule, _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_26__.CodemirrorModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_22__.NgbPaginationModule] }); } (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_16__["ɵɵsetNgModuleScope"](ToolsModule, { declarations: [_functions_functions_component__WEBPACK_IMPORTED_MODULE_7__.FunctionsComponent, _api_api_collection_api_component__WEBPACK_IMPORTED_MODULE_8__.ApiComponent, _workflow_workflow_component__WEBPACK_IMPORTED_MODULE_9__.WorkflowComponent, _api_api_list_api_list_component__WEBPACK_IMPORTED_MODULE_10__.ApiListComponent, _api_api_details_api_details_component__WEBPACK_IMPORTED_MODULE_12__.ApiDetailsComponent, _api_register_api_register_api_component__WEBPACK_IMPORTED_MODULE_13__.RegisterApiComponent, _core_pipes_sql_format_pipe__WEBPACK_IMPORTED_MODULE_14__.SqlFormatPipe, _applications_applications_component__WEBPACK_IMPORTED_MODULE_15__.ApplicationsComponent], imports: [_angular_router__WEBPACK_IMPORTED_MODULE_17__.RouterModule, _angular_common__WEBPACK_IMPORTED_MODULE_18__.CommonModule, app_layout_components_content_header_content_header_module__WEBPACK_IMPORTED_MODULE_2__.ContentHeaderModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_19__.TranslateModule, _angular_forms__WEBPACK_IMPORTED_MODULE_20__.FormsModule, _core_components_core_card_core_card_module__WEBPACK_IMPORTED_MODULE_3__.CoreCardModule, _angular_forms__WEBPACK_IMPORTED_MODULE_20__.ReactiveFormsModule, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_21__.NgxDatatableModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_22__.NgbModule, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_23__.NgSelectModule, ng2_flatpickr__WEBPACK_IMPORTED_MODULE_24__.Ng2FlatpickrModule, _core_directives_directives__WEBPACK_IMPORTED_MODULE_4__.CoreDirectivesModule, ng_block_ui__WEBPACK_IMPORTED_MODULE_25__.BlockUIModule, _core_pipes_pipes_module__WEBPACK_IMPORTED_MODULE_5__.CorePipesModule, _core_components__WEBPACK_IMPORTED_MODULE_6__.CoreSidebarModule, _core_common_module__WEBPACK_IMPORTED_MODULE_1__.CoreCommonModule, _core_components_card_snippet_card_snippet_module__WEBPACK_IMPORTED_MODULE_11__.CardSnippetModule, _ctrl_ngx_codemirror__WEBPACK_IMPORTED_MODULE_26__.CodemirrorModule, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_22__.NgbPaginationModule] }); })(); /***/ }), /***/ 74560: /*!*****************************************************************!*\ !*** ./src/app/main/views/tools/workflow/workflow.component.ts ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "WorkflowComponent": () => (/* binding */ WorkflowComponent) /* harmony export */ }); /* harmony import */ var _Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 15861); /* harmony import */ var _services_workflow_workflow_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @services/workflow/workflow.service */ 17151); /* harmony import */ var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @swimlane/ngx-datatable */ 69585); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! sweetalert2 */ 35226); /* harmony import */ var sweetalert2__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(sweetalert2__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _services_util_util_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @services/util/util.service */ 34380); /* harmony import */ var _services_apicore_api_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @services/apicore/api.service */ 89780); /* harmony import */ var _services_comunicaciones_comunicaciones_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @services/comunicaciones/comunicaciones.service */ 91001); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ 65765); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/common */ 36895); /* harmony import */ var app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! app/layout/components/content-header/content-header.component */ 4810); /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/forms */ 24006); /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ng-select/ng-select */ 88796); /* harmony import */ var _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @core/directives/core-ripple-effect/core-ripple-effect.directive */ 75287); /* harmony import */ var _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @core/directives/core-feather-icons/core-feather-icons */ 66279); /* harmony import */ var ng_block_ui__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ng-block-ui */ 23684); function WorkflowComponent_div_0_ng_option_15_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const xapp_r10 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", xapp_r10.identificador + "|" + xapp_r10.llave); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate2"]("", xapp_r10.nombre, " : ", xapp_r10.version, ""); } } function WorkflowComponent_div_0_ng_option_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const item_r11 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", item_r11.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate2"]("", item_r11.descripcion, " ( ", item_r11.basedatos, " ) "); } } function WorkflowComponent_div_0_div_39_Template(rf, ctx) { if (rf & 1) { const _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 33)(1, "button", 34); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_39_Template_button_click_1_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r13); const ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r12.salvar()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Salvar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("disabled", ctx_r7.isBtnSalvar); } } function WorkflowComponent_div_0_div_40_Template(rf, ctx) { if (rf & 1) { const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](2, "button", 34); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_40_Template_button_click_2_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r15); const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r14.modificar()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](3, "i", 35); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](4, " Modificar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](5, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](6, "button", 36); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_40_Template_button_click_6_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r15); const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r16.limpiarRegistroWKF()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](7, "i", 37); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](8, " Cancelar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("disabled", ctx_r8.isBtnSalvar); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("disabled", ctx_r8.isBtnSalvar); } } function WorkflowComponent_div_0_div_41_ng_template_8_ng_option_16_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const item_r33 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", item_r33.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", item_r33.descripcion, " "); } } function WorkflowComponent_div_0_div_41_ng_template_8_ng_option_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const item_r34 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", item_r34.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", item_r34.descripcion, " "); } } function WorkflowComponent_div_0_div_41_ng_template_8_ng_option_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const item_r35 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", item_r35.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", item_r35.descripcion, " "); } } function WorkflowComponent_div_0_div_41_ng_template_8_tr_56_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "tr")(1, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](5, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](7, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](8); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](9, "td"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](10); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const e_r36 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r36.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r36.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r36.tipo); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r36.origen); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r36.data); } } const _c0 = function () { return { standalone: true }; }; function WorkflowComponent_div_0_div_41_ng_template_8_Template(rf, ctx) { if (rf & 1) { const _r38 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 7)(1, "div", 10)(2, "label", 20); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3, "Nombre del campo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "input", 46, 22); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_8_Template_input_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r38); const ctx_r37 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r37.wkfForm.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](6, "div", 10)(7, "label", 20); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](8, "Descripci\u00F3n del campo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](9, "input", 47, 22); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_8_Template_input_ngModelChange_9_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r38); const ctx_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r39.wkfForm.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "div", 10)(12, "label", 48); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](13, "Tipo de campo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](14, "ng-select", 49, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_8_Template_ng_select_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r38); const ctx_r40 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r40.xtipo = $event); })("change", function WorkflowComponent_div_0_div_41_ng_template_8_Template_ng_select_change_14_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r38); const ctx_r41 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r41.selTipo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](16, WorkflowComponent_div_0_div_41_ng_template_8_ng_option_16_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](17, "div", 7)(18, "div", 10)(19, "label", 50); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](20, "Origen de datos"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](21, "ng-select", 51, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_8_Template_ng_select_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r38); const ctx_r42 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r42.xdatos = $event); })("change", function WorkflowComponent_div_0_div_41_ng_template_8_Template_ng_select_change_21_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r38); const ctx_r43 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r43.selOrigen()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](23, WorkflowComponent_div_0_div_41_ng_template_8_ng_option_23_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](24, "div", 52)(25, "div")(26, "label", 53); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](27, "Origen de API"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](28, "ng-select", 54, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_8_Template_ng_select_ngModelChange_28_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r38); const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r44.xorigen = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](30, WorkflowComponent_div_0_div_41_ng_template_8_ng_option_30_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](31, "div", 55); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](32, "label", 56); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](33, "button", 57); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_8_Template_button_click_33_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r38); const ctx_r45 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r45.addItemForm()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](34, "i", 58); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](35, " Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](36, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](37, "div", 59); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](38, "div", 60)(39, "div", 38); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](40, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](41, "table", 61)(42, "thead")(43, "tr")(44, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](45, "NOMBRE"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](46, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](47, "DESCRIPCION"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](48, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](49, "TIPO"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](50, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](51, "ORIGEN"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](52, "th"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](53, "DATOS"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](54, "tr"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](55, "tbody"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](56, WorkflowComponent_div_0_div_41_ng_template_8_tr_56_Template, 11, 5, "tr", 62); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](57, "tfoot"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](58, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r18.wkfForm.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r18.wkfForm.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](15, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r18.wkfForm.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r18.wkfForm.descripcion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](16, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r18.xtipo); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r18.lstTipo); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r18.xdatos)("disabled", !ctx_r18.xdatos_val); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r18.lstDatos); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r18.xorigen)("disabled", !ctx_r18.xdatos_api); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r18.lstAPI); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](26); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r18.rowForm); } } function WorkflowComponent_div_0_div_41_ng_template_13_ng_template_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const basedatos_r51 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", basedatos_r51.toUpperCase(), " "); } } function WorkflowComponent_div_0_div_41_ng_template_13_ng_template_25_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const nomb_r52 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", nomb_r52.toUpperCase(), " "); } } function WorkflowComponent_div_0_div_41_ng_template_13_ng_template_27_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const obse_r53 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", obse_r53.toUpperCase(), " "); } } function WorkflowComponent_div_0_div_41_ng_template_13_Template(rf, ctx) { if (rf & 1) { const _r55 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 7)(1, "div", 63)(2, "label", 20); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3, "Nombre"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "input", 64, 22); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_13_Template_input_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r55); const ctx_r54 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r54.wkfEstado.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](6, "div", 10)(7, "label", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](8, "Descripcion"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](9, "input", 65, 22); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_13_Template_input_ngModelChange_9_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r55); const ctx_r56 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r56.wkfEstado.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "div", 63)(12, "label", 66); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](13, "Nivel"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](14, "ng-select", 67); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_13_Template_ng_select_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r55); const ctx_r57 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r57.estatus = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](15, "div", 68)(16, "button", 57); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_13_Template_button_click_16_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r55); const ctx_r58 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r58.Guardar()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](17, "i", 58); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](18, " Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](19, "div", 7)(20, "div", 38)(21, "ngx-datatable", 69)(22, "ngx-datatable-column", 70); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](23, WorkflowComponent_div_0_div_41_ng_template_13_ng_template_23_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](24, "ngx-datatable-column", 72); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](25, WorkflowComponent_div_0_div_41_ng_template_13_ng_template_25_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](26, "ngx-datatable-column", 73); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](27, WorkflowComponent_div_0_div_41_ng_template_13_ng_template_27_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r19.wkfEstado.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r19.wkfEstado.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](18, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r19.wkfEstado.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](19, _c0))("ngModel", ctx_r19.wkfEstado.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx_r19.niveles)("ngModel", ctx_r19.estatus); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rows", ctx_r19.rowEstado)("rowHeight", 58)("limit", 10)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("columnMode", "force"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 400); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 650); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_option_6_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](2, "uppercase"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r67 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r67.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](2, 2, e_r67.nomb)); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_option_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r69 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r69); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r69); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_28_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const basedatos_r70 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", basedatos_r70.toUpperCase(), " "); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const nomb_r71 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", nomb_r71.toUpperCase(), " "); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_32_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const obse_r72 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", obse_r72.toUpperCase(), " "); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_34_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const ide_r73 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", ide_r73.toUpperCase(), " "); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_ng_option_23_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const item_r83 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", item_r83.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", item_r83.descripcion, " "); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_25_ng_option_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const item_r86 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", item_r86.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", item_r86.descripcion, " "); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_25_Template(rf, ctx) { if (rf & 1) { const _r88 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 10)(1, "label", 50); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Origen de datos"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "ng-select", 103, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_25_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r88); const ctx_r87 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r87.xdatos = $event); })("change", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_25_Template_ng_select_change_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r88); const ctx_r89 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r89.selOrigen()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](5, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_25_ng_option_5_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r81 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r81.xdatos); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r81.lstDatos); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_26_ng_option_5_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const item_r92 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", item_r92.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", item_r92.descripcion, " "); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_26_Template(rf, ctx) { if (rf & 1) { const _r94 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 23)(1, "label", 53); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Origen de API"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "ng-select", 104, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_26_Template_ng_select_ngModelChange_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r94); const ctx_r93 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](6); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r93.xorigen = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](5, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_26_ng_option_5_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const ctx_r82 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r82.xorigen); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r82.lstAPI); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template(rf, ctx) { if (rf & 1) { const _r96 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 92)(1, "h5", 93); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "Frame"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "button", 94); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template_button_click_3_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r96); const ctx_r95 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](5); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r95.onCloseClick($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "span", 95); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](5, "\u00D7"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](6, "div", 96)(7, "div", 7)(8, "div", 10)(9, "label", 20); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](10, "Nombre del campo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "input", 46, 22); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template_input_ngModelChange_11_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r96); const ctx_r97 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](5); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r97.wkfForm.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](13, "div", 10)(14, "label", 20); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](15, "Descripci\u00F3n del campo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](16, "input", 47, 22); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template_input_ngModelChange_16_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r96); const ctx_r98 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](5); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r98.wkfForm.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](18, "div", 10)(19, "label", 48); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](20, "Tipo de campo"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](21, "ng-select", 49, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template_ng_select_ngModelChange_21_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r96); const ctx_r99 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](5); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r99.xtipo = $event); })("change", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template_ng_select_change_21_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r96); const ctx_r100 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](5); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r100.selTipo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](23, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_ng_option_23_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](24, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](25, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_25_Template, 6, 2, "div", 97); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](26, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_div_26_Template, 6, 2, "div", 98); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](27, "div", 99)(28, "div", 38)(29, "div", 100)(30, "button", 101); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template_button_click_30_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r96); const ctx_r101 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](5); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r101.addItemForm()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](31, "Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](32, "button", 102); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template_button_click_32_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r96); const ctx_r102 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](5); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r102.onCloseClick(ctx_r102.e)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](33, "Cerrar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const ctx_r76 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](11); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r76.wkfForm.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r76.wkfForm.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](10, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r76.wkfForm.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r76.wkfForm.descripcion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](11, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r76.xtipo); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r76.lstTipo); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r76.xdatos_val); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r76.xdatos_api); } } function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_Template(rf, ctx) { if (rf & 1) { const _r104 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 85)(1, "button", 86); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](2, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "div", 87)(4, "a", 88); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_Template_a_click_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r104); const _r75 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](8); const ctx_r103 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r103.abrirModal(_r75)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](5, "span", 89); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](6, " Frame "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](7, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_ng_template_7_Template, 34, 12, "ng-template", 90, 91, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](9, "a", 88); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_Template_a_click_9_listener() { const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r104); const row_r74 = restoredCtx.row; const ctx_r105 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](4); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r105.EliminarEstatus(row_r74)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](10, "span", 89); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](11, " Eliminar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("cursor-pointer"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "grid")("size", 16); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵclassMap"]("mr-50"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "trash")("size", 16); } } function WorkflowComponent_div_0_div_41_ng_template_18_Template(rf, ctx) { if (rf & 1) { const _r107 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 7)(1, "div", 63)(2, "label", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3, "Estado Origen"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "ng-select", 76, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_Template_ng_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r107); const ctx_r106 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r106.estado = $event); })("change", function WorkflowComponent_div_0_div_41_ng_template_18_Template_ng_select_change_4_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r107); const ctx_r108 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r108.lstEstatus()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](6, WorkflowComponent_div_0_div_41_ng_template_18_ng_option_6_Template, 3, 4, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](7, "div", 77)(8, "label", 20); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](9, "Nombre"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](10, "input", 64); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_Template_input_ngModelChange_10_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r107); const ctx_r109 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r109.wkfEstatus.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "div", 63)(12, "label", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](13, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](14, "input", 78); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_Template_input_ngModelChange_14_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r107); const ctx_r110 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r110.wkfEstatus.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](15, "div", 79)(16, "label", 80); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](17, "Orden"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](18, "ng-select", 81); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_18_Template_ng_select_ngModelChange_18_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r107); const ctx_r111 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r111.orden = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](19, WorkflowComponent_div_0_div_41_ng_template_18_ng_option_19_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](20, "div", 82)(21, "button", 57); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_18_Template_button_click_21_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r107); const ctx_r112 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r112.GuardarEstatus()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](22, "i", 58); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](23, " Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](24, "div", 7)(25, "div", 38)(26, "ngx-datatable", 69)(27, "ngx-datatable-column", 70); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](28, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_28_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](29, "ngx-datatable-column", 72); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](30, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_30_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](31, "ngx-datatable-column", 73); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](32, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_32_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](33, "ngx-datatable-column", 83); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](34, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_34_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](35, "ngx-datatable-column", 84); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](36, WorkflowComponent_div_0_div_41_ng_template_18_ng_template_36_Template, 12, 11, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r20.estado); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r20.rowEstado); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r20.wkfEstatus.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r20.wkfEstatus.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](23, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r20.wkfEstatus.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r20.wkfEstatus.descripcion)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](24, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r20.orden); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r20.lstOrden); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rows", ctx_r20.rowEstatus)("rowHeight", 58)("limit", 10)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("columnMode", "force"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 10); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 200); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 500); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 200); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 100)("sortable", false); } } function WorkflowComponent_div_0_div_41_ng_template_23_ng_template_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const func_r115 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](func_r115); } } function WorkflowComponent_div_0_div_41_ng_template_23_ng_template_21_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const obse_r116 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", obse_r116.slice(0.4), "... "); } } function WorkflowComponent_div_0_div_41_ng_template_23_Template(rf, ctx) { if (rf & 1) { const _r118 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 7)(1, "div", 10)(2, "label", 105); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3, "Funciones"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "ng-select", 106); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_23_Template_ng_select_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r118); const ctx_r117 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r117.wkfTransicion.funcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](5, "div", 107)(6, "label", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](7, "Parametros"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](8, "div", 25)(9, "input", 108); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_23_Template_input_ngModelChange_9_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r118); const ctx_r119 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r119.wkfTransicion.parametro = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](10, "div"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](11, " \u00A0 "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](12, "button", 109); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_23_Template_button_click_12_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r118); const ctx_r120 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r120.GuardarTransaccion()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](13, "i", 58); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](14, " Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](15, "div", 7)(16, "div", 38)(17, "ngx-datatable", 69)(18, "ngx-datatable-column", 110); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](19, WorkflowComponent_div_0_div_41_ng_template_23_ng_template_19_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](20, "ngx-datatable-column", 73); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](21, WorkflowComponent_div_0_div_41_ng_template_23_ng_template_21_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx_r21.ListaFunciones)("ngModel", ctx_r21.wkfTransicion.funcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r21.wkfTransicion.parametro)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](13, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rows", ctx_r21.rowDataTransiciones)("rowHeight", 58)("limit", 10)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("columnMode", "force"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 400); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 500); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_9_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r135 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r135.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r135.name); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_14_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r137 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r137.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r137.name); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_30_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r139 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r139.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r139.nomb); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_35_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r141 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r141.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r141.nomb); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_40_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r143 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r143.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r143.func); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_51_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r145 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r145.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r145.nomb); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_57_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r147 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r147.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r147.nomb); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_64_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r149 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r149.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r149.nomb); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_70_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r151 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r151.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r151.nomb); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_option_75_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 32); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); } if (rf & 2) { const e_r153 = ctx.$implicit; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", e_r153.id); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](e_r153.func); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_template_86_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const area_origen_r155 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](area_origen_r155); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_template_88_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const area_estatus_r156 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](area_estatus_r156); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_template_90_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const area_destino_r157 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](area_destino_r157); } } function WorkflowComponent_div_0_div_41_ng_template_28_ng_template_92_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div")(1, "span", 74); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const estatus_destino_r158 = ctx.value; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](estatus_destino_r158); } } function WorkflowComponent_div_0_div_41_ng_template_28_Template(rf, ctx) { if (rf & 1) { const _r160 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 7)(1, "div", 10)(2, "label", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3, "Nombre"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "input", 111); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_input_ngModelChange_4_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r159 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r159.DescripcionRed.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](5, "div", 10)(6, "label", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](7, "Tipologia"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](8, "ng-select", 112); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_8_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r161 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r161.DescripcionRed.tipo = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](9, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_9_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](10, "div", 10)(11, "label", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](12, "Estatus"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](13, "ng-select", 112); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r162 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r162.DescripcionRed.estatus = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](14, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_14_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](15, "div", 113)(16, "label", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](17, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](18, "div", 114)(19, "input", 115); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_input_ngModelChange_19_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r163 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r163.DescripcionRed.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](20, "div", 28)(21, "div", 77)(22, "button", 116); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_28_Template_button_click_22_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r164 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r164.salvarRed()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](23, "Salvar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](24, "div", 113); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](25, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](26, "div", 52)(27, "label", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](28, "Estado Origen"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](29, "ng-select", 117); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("change", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_change_29_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r165 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r165.lstEstatusRedV($event)); })("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_29_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r166 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r166.wkfRed.estadoOrigen = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](30, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_30_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](31, "div", 52)(32, "label", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](33, "Estatus Origen"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](34, "ng-select", 112); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_34_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r167 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r167.wkfRed.estatusOrigen = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](35, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_35_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](36, "div", 113)(37, "label", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](38, "Transici\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](39, "ng-select", 112); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_39_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r168 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r168.wkfRed.transicionVerdadero = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](40, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_40_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](41, "div", 118)(42, "div", 119); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](43, "i", 120); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](44, "div", 121)(45, "div", 7)(46, "div", 52)(47, "label", 122); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](48, "Estado Destino Verdadero "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](49, "i", 123); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](50, "ng-select", 124); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_50_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r169 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r169.wkfRed.estadoDestinoVerdadero = $event); })("change", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_change_50_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r170 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r170.lstEstatusRedF($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](51, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_51_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](52, "div", 52)(53, "label", 122); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](54, "Estatus Destino Verdadero "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](55, "i", 123); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](56, "ng-select", 125); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_56_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r171 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r171.wkfRed.estatusDestinoVerdadero = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](57, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_57_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](58, "div", 7)(59, "div", 52)(60, "label", 122); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](61, "Estado Destino Falso "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](62, "i", 126); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](63, "ng-select", 127); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_63_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r172 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r172.wkfRed.estadoDestinoFalso = $event); })("change", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_change_63_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r173 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r173.lstEstatusRedDF($event)); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](64, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_64_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](65, "div", 52)(66, "label", 122); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](67, "Estatus Destino Falso "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](68, "i", 126); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](69, "ng-select", 128); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_69_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r174 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r174.wkfRed.estatusDestinoFalso = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](70, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_70_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](71, "div", 129)(72, "label", 75); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](73, "Transici\u00F3n Error"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](74, "ng-select", 112); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_div_41_ng_template_28_Template_ng_select_ngModelChange_74_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r175 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r175.wkfRed.transicionFalsa = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](75, WorkflowComponent_div_0_div_41_ng_template_28_ng_option_75_Template, 2, 2, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](76, "div", 130)(77, "button", 131); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function WorkflowComponent_div_0_div_41_ng_template_28_Template_button_click_77_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r160); const ctx_r176 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r176.GuardarRed()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](78, "i", 58); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](79, " Agregar "); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](80, "br")(81, "hr"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](82, "div", 7)(83, "div", 38)(84, "ngx-datatable", 69)(85, "ngx-datatable-column", 132); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](86, WorkflowComponent_div_0_div_41_ng_template_28_ng_template_86_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](87, "ngx-datatable-column", 133); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](88, WorkflowComponent_div_0_div_41_ng_template_28_ng_template_88_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](89, "ngx-datatable-column", 134); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](90, WorkflowComponent_div_0_div_41_ng_template_28_ng_template_90_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](91, "ngx-datatable-column", 135); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](92, WorkflowComponent_div_0_div_41_ng_template_28_ng_template_92_Template, 3, 1, "ng-template", 71); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()(); } if (rf & 2) { const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.DescripcionRed.nombre)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](45, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.DescripcionRed.tipo)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](46, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.rowTipologia); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.DescripcionRed.estatus)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](47, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.rowStatus); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r22.DescripcionRed.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.DescripcionRed.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.wkfRed.estadoOrigen)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](48, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.rowEstado); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.wkfRed.estatusOrigen)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](49, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.rowEstatusRedV); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.wkfRed.transicionVerdadero)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](50, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.ListaTransiciones); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.wkfRed.estadoDestinoVerdadero)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](51, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.rowEstado); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.wkfRed.estatusDestinoVerdadero)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](52, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.rowEstatusRedF); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.wkfRed.estadoDestinoFalso)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](53, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.rowEstado); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.wkfRed.estatusDestinoFalso)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](54, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.rowEstatusDF); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r22.wkfRed.transicionFalsa)("ngModelOptions", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction0"](55, _c0)); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r22.ListaTransiciones); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](9); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rows", ctx_r22.rowDataRed)("rowHeight", 58)("limit", 10)("headerHeight", 40)("footerHeight", 50)("scrollbarH", true)("columnMode", "force"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 250); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 250); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 250); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("width", 250); } } function WorkflowComponent_div_0_div_41_ng_template_33_Template(rf, ctx) {} function WorkflowComponent_div_0_div_41_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 7)(1, "div", 38)(2, "ul", 39, 40)(4, "li", 41)(5, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](6, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](7, "FORMULARIO BASE"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](8, WorkflowComponent_div_0_div_41_ng_template_8_Template, 59, 17, "ng-template", 44); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](9, "li", 41)(10, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](11, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](12, "ESTADOS"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](13, WorkflowComponent_div_0_div_41_ng_template_13_Template, 28, 20, "ng-template", 44); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](14, "li", 41)(15, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](16, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](17, "ESTATUS"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](18, WorkflowComponent_div_0_div_41_ng_template_18_Template, 37, 25, "ng-template", 44); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](19, "li", 41)(20, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](21, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](22, "TRANSACIONES"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](23, WorkflowComponent_div_0_div_41_ng_template_23_Template, 22, 14, "ng-template", 44); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](24, "li", 41)(25, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](26, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](27, "RED"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](28, WorkflowComponent_div_0_div_41_ng_template_28_Template, 93, 56, "ng-template", 44); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](29, "li", 41)(30, "a", 42); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](31, "span", 43); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](32, "DIAGRAMA"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](33, WorkflowComponent_div_0_div_41_ng_template_33_Template, 0, 0, "ng-template", 44); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](34, "div", 45); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); } if (rf & 2) { const _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "layout"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "cast"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "settings"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "lock"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "award"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data-feather", "git-merge"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngbNavOutlet", _r17); } } function WorkflowComponent_div_0_Template(rf, ctx) { if (rf & 1) { const _r178 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 1)(1, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](2, "app-content-header", 3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "section", 4)(4, "div", 5)(5, "div", 6)(6, "div", 7)(7, "div", 8)(8, "form", 9)(9, "div", 7)(10, "div", 10)(11, "label", 11); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](12, "Aplicaci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](13, "ng-select", 12, 13); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_Template_ng_select_ngModelChange_13_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r178); const ctx_r177 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r177.aplicacion = $event); })("change", function WorkflowComponent_div_0_Template_ng_select_change_13_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r178); const ctx_r179 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r179.selModulo()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](15, WorkflowComponent_div_0_ng_option_15_Template, 2, 3, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](16, "div", 10)(17, "label", 15); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](18, "Arquitectura"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](19, "ng-select", 16); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_Template_ng_select_ngModelChange_19_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r178); const ctx_r180 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r180.xmodulo = $event); })("change", function WorkflowComponent_div_0_Template_ng_select_change_19_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r178); const ctx_r181 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r181.consultarRed()); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](20, "div", 10)(21, "label", 17); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](22, "Driver"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](23, "ng-select", 18, 19); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_Template_ng_select_ngModelChange_23_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r178); const ctx_r182 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r182.xdrivers = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](25, WorkflowComponent_div_0_ng_option_25_Template, 2, 3, "ng-option", 14); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](26, "div", 7)(27, "div", 10)(28, "label", 20); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](29, "Nombre"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](30, "input", 21, 22); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_Template_input_ngModelChange_30_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r178); const ctx_r183 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r183.nombre = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](32, "div", 23)(33, "label", 24); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](34, "Descripci\u00F3n"); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](35, "div", 25)(36, "input", 26, 27); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function WorkflowComponent_div_0_Template_input_ngModelChange_36_listener($event) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r178); const ctx_r184 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r184.descripcion = $event); }); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](38, "div", 28); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](39, WorkflowComponent_div_0_div_39_Template, 3, 1, "div", 29); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](40, WorkflowComponent_div_0_div_40_Template, 9, 2, "div", 30); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()()(); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](41, WorkflowComponent_div_0_div_41_Template, 35, 7, "div", 31); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()(); } if (rf & 2) { const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("contentHeader", ctx_r0.contentHeader); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](11); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("disabled", ctx_r0.isDisabledInput)("ngModel", ctx_r0.aplicacion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r0.lstApps); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("items", ctx_r0.tipos)("ngModel", ctx_r0.xmodulo); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("disabled", ctx_r0.isDisabledInput)("ngModel", ctx_r0.xdrivers); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", ctx_r0.drivers); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r0.nombre); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r0.nombre)("disabled", ctx_r0.isDisabledInput); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("value", ctx_r0.descripcion); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r0.descripcion)("disabled", ctx_r0.isDisabledInput); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", !ctx_r0.isButtonVisibleSalvar); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r0.isButtonVisibleUpdate); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r0.showWKF); } } class WorkflowComponent { utilservice; apiService; comunicacionesService; wkf; modalService; table; horizontalWizardStepper; contentHeader; // Interface de APICORE xAPI = { funcion: '', relacional: false, concurrencia: false, retorna: false, migrar: false, parametros: '', modulo: '', valores: {}, logs: false, cache: 0, estatus: false }; // Interface de WKF-ESTADOS wkfEstado = { wkf: 0, nombre: '', descripcion: '', estatus: 0 }; wkfForm = { wkf: 0, nombre: '', descripcion: '', tipo: '', data: 0, origen: '', file: '', listado: '', estatus: 0 }; // Interface WKF-ESTATUS wkfEstatus = { nombre: "", descripcion: "", estatus: 0, estado: 0, orden: 0 }; // Interface Transición wkfTransicion = { idw: 0, funcion: undefined, parametro: '' }; // Interface Red wkfRed = { idred: 0, estadoOrigen: undefined, estatusOrigen: undefined, transicionVerdadero: undefined, estadoDestinoVerdadero: undefined, estatusDestinoVerdadero: undefined, estadoDestinoFalso: undefined, estatusDestinoFalso: undefined, transicionFalsa: undefined, descripcion: '', usuario: '', nombre: '', estatus: undefined }; DescripcionRed = { nombre: '', descripcion: '', tipo: 0, estatus: 0 }; ZRed = { idred: 0, idw: 0 }; // Lista de Niveles de Estatus niveles = [{ id: "1", descripcion: 'SUPERIOR' }, { id: "0", descripcion: 'SISTEMA' }, { id: "2", descripcion: 'SUBSISTEMA' }]; // Lista de Tipos de Arquitectura xtipo = ''; lstTipo = [{ id: "0", descripcion: 'TEXTO' }, { id: "1", descripcion: 'LISTA' }, { id: "2", descripcion: 'ARCHIVO' }, { id: "3", descripcion: 'SERVICIO' }, { id: "4", descripcion: 'OBSERVACIONES' }, { id: "5", descripcion: 'IMAGEN' }, { id: "6", descripcion: 'FECHA' }]; xdatos_val = false; xdatos_api = false; xdatos_archivo = false; xdatos_defecto = false; xdatos = ''; xorigen = ''; lstDatos = [{ id: "0", descripcion: 'ARCHIVO DE TEXTO' }, { id: "1", descripcion: 'API REST-FULL' }, { id: "1", descripcion: 'DATOS POR DEFECTO' }]; lstAPI = []; tipos = [{ id: "1", descripcion: 'DOCUMENTOS' }, { id: "0", descripcion: 'SISTEMA' }, { id: "2", descripcion: 'SERVIDORES' }]; lstOrden = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; lstApps = []; dataModulo = []; Definicion = []; rowEstado; rowEstadoDF = []; rowEstatusDF = []; rowEstatus; rowEstatusRedV = []; rowEstatusRedF = []; ListaFunciones = []; tempData = []; rowForm = []; rowData = []; ListaTransiciones = []; rowDataTransiciones = []; tempDataTransiciones = []; ListaRed = []; rowDataRed = []; tempDataRed = []; rowTipologia = [{ id: 1, name: 'Acción' }, { id: 2, name: 'Área' }]; rowStatus = [{ id: 1, name: 'Activo' }, { id: 0, name: 'Inactivo' }]; showWKF = false; estado = undefined; orden = undefined; xidW = 0; sectionConsultar = ''; estatus = undefined; aplicacion = undefined; xdrivers = undefined; xmodulo = undefined; drivers; nombre = ''; descripcion = ''; isBtnSalvar = true; isDisabledInput = false; isButtonVisibleSalvar = false; isButtonVisibleUpdate = false; constructor(utilservice, apiService, comunicacionesService, wkf, modalService) { this.utilservice = utilservice; this.apiService = apiService; this.comunicacionesService = comunicacionesService; this.wkf = wkf; this.modalService = modalService; } ngOnInit() { this.wkf.msjText$.subscribe(e => { if (e == 'CLEAN') this.rowEstado = []; this.lstEstados(e); this.lstTranscion(e); this.lstRed(e); this.xidW = parseInt(e); }); this.lstAplicaciones(); this.CargarDrivers(); this.CargarListaFunciones(); // content header this.contentHeader = { headerTitle: 'Herramientas', actionButton: true, breadcrumb: { type: '', links: [{ name: 'Home', isLink: true, link: '/home' }, { name: 'Herramientas', isLink: false }, { name: 'WorkFlow', isLink: false }] } }; } // Carga la Lista de las Funciones CargarListaFunciones() { var _this = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this.xAPI.funcion = "SSB_LFunciones"; _this.xAPI.parametros = ''; _this.ListaFunciones = []; yield _this.apiService.Ejecutar(_this.xAPI).subscribe(data => { data.map(e => { _this.ListaFunciones.push(e); }); }, error => { console.log(error); }); })(); } // Carga la Lista de las Apliaciones lstAplicaciones() { var _this2 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this2.lstApps = []; // console.info('llego lista aplicaciones') _this2.xAPI.funcion = "SEC_CAplicaciones"; _this2.xAPI.parametros = ''; _this2.xAPI.valores = null; yield _this2.apiService.Ejecutar(_this2.xAPI).subscribe(data => { _this2.lstApps = data.Cuerpo; }, error => { console.error(error); }); })(); } // Lista los Modulos selModulo() { let app = this.aplicacion.split('|'); this.xAPI.funcion = "LstModulos"; this.xAPI.parametros = app[0]; this.dataModulo = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { data.Cuerpo.forEach(e => { this.dataModulo.push({ id: e.id, name: e.nomb }); }); }, error => { console.error(error); }); } selTipo() { this.visibleFalse(); if (this.xtipo == "1") { this.xdatos_val = true; } } visibleFalse() { this.xdatos_val = false; this.xdatos_api = false; this.xdatos_archivo = false; this.xdatos_defecto = false; } selOrigen() { this.xdatos_api = false; this.xdatos_archivo = false; this.xdatos_defecto = false; switch (this.xdatos) { case "1": this.xdatos_api = true; break; default: break; } } // Consula la Red y la Carga consultarRed() { this.xAPI.funcion = 'WKF_CDefinicion'; let app = this.aplicacion.split('|'); this.xAPI.parametros = app[0]; this.apiService.hash = ':' + app[1]; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.isBtnSalvar = false; if (data.Cuerpo != undefined) { if (data.Cuerpo.length == 0) return; this.showWKF = true; this.wkf.msjText$.emit(data.Cuerpo[0].wkf); let obj = data.Cuerpo[0]; this.isBtnSalvar = false; this.isDisabledInput = true; this.isButtonVisibleSalvar = true; this.isButtonVisibleUpdate = true; this.nombre = obj.nomb; this.xdrivers = obj.driver; this.descripcion = obj.obse; } }, err => { console.error(err); }); } // Carga la lista de los Drivers CargarDrivers() { var _this3 = this; return (0,_Users_macbook_dev_angular_v2consola_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () { _this3.xAPI.funcion = "LESBDrivers"; _this3.apiService.Ejecutar(_this3.xAPI).subscribe(data => { _this3.drivers = data.filter(e => { return e.driver.indexOf('mysql') == 0; }); }, error => { console.log(error); }); })(); } // Limpiar los Registros de la Interface de Registrar WorkFlow limpiarRegistroWKF() { this.isBtnSalvar = true; this.isDisabledInput = false; this.isButtonVisibleSalvar = false; this.isButtonVisibleUpdate = false; this.nombre = ''; this.descripcion = ''; this.aplicacion = undefined; this.xmodulo = undefined; this.xdrivers = undefined; this.showWKF = false; } // Salva el registro del WorkFlow salvar() { var ObjSalvar = { 'aplicacion': parseInt(this.aplicacion.split('|')[0]), 'modulo': parseInt(this.xmodulo), 'nombre': this.nombre, 'descripcion': this.descripcion, 'driver': this.xdrivers }; this.Definicion.push(ObjSalvar); this.xAPI.funcion = 'WKF_IDefinicion'; this.xAPI.valores = JSON.stringify(ObjSalvar); this.apiService.Ejecutar(this.xAPI).subscribe(data => { if (data.tipo == 1) { this.utilservice.AlertMini('top-end', 'success', 'WorkFlow Creado Exitosamente', 3000); this.aplicacion = undefined; this.xmodulo = undefined; this.nombre = ''; this.descripcion = ''; this.xdrivers = undefined; this.lstAplicaciones(); } else { this.utilservice.AlertMini('top-end', 'error', 'Oops, Algo salio mal!', 3000); } }, err => { console.error(err); }); } Guardar() { this.xAPI.funcion = 'WKF_IEstados'; this.wkfEstado.wkf = this.xidW; this.wkfEstado.estatus = parseInt(this.estatus); this.xAPI.valores = JSON.stringify(this.wkfEstado); console.log(this.xAPI); console.log(this.wkfEstado); this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.Ok(data.msj, 'Estado'); this.lstEstados(this.xidW.toString()); this.limpiarEstados(); }, err => { console.error(err); }); } GuardarEstatus() { this.xAPI.funcion = "WKF_IEstatus"; this.wkfEstatus.estado = parseInt(this.estado); this.wkfEstatus.estatus = this.estatus; this.wkfEstatus.orden = parseInt(this.orden); this.xAPI.valores = JSON.stringify(this.wkfEstatus); this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.Ok(data.msj, 'Estatus'); this.lstEstatus(); this.limpiarEstatus(); }, err => { console.error(err); }); } Ok(id, title) { sweetalert2__WEBPACK_IMPORTED_MODULE_2___default().fire({ title: `Creando ${title} del Workflow`, text: `El ${title} ha sido creado con exito (#" ${id} ") `, icon: "info", showCancelButton: false, confirmButtonColor: "#3085d6", cancelButtonColor: "#d33", confirmButtonText: "Aceptar / Continuar", cancelButtonText: "No" }).then(result => { if (!result.isConfirmed) return; }); } lstEstados(idw) { this.xAPI.funcion = 'WKF_CEstados'; this.xAPI.parametros = idw; this.xAPI.valores = {}; console.log(this.xAPI); this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.rowEstado = data.Cuerpo; window.sessionStorage.setItem('estados', JSON.stringify(this.rowEstado)); }, err => { console.error(err); }); } limpiarEstados() { this.wkfEstado = { wkf: 0, nombre: '', descripcion: '', estatus: 0 }; this.estatus = undefined; this.rowEstado = []; this.wkf.msjText$.emit(this.xidW.toString()); this.lstEstados(this.xidW.toString()); } lstEstatus() { this.rowEstatus = []; this.xAPI.funcion = "WKF_CEstatus"; this.xAPI.parametros = this.estado; this.xAPI.valores = {}; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.rowEstatus = data.Cuerpo; }, err => { console.error(err); }); } lstEstatusRedV(event) { this.rowEstatusRedV = []; this.xAPI.funcion = "WKF_CEstatus"; this.xAPI.parametros = event; this.xAPI.valores = {}; this.apiService.Ejecutar(this.xAPI).subscribe(data => { data.Cuerpo.forEach(e => { this.rowEstatusRedV.push(e); }); }, err => { console.error(err); }); } lstEstatusRedF(event) { this.rowEstatusRedF = []; this.xAPI.funcion = "WKF_CEstatus"; this.xAPI.parametros = event; this.xAPI.valores = {}; this.apiService.Ejecutar(this.xAPI).subscribe(data => { data.Cuerpo.forEach(e => { this.rowEstatusRedF.push(e); }); }, err => { console.error(err); }); } lstEstatusRedDF(event) { this.rowEstatusDF = []; this.xAPI.funcion = "WKF_CEstatus"; this.xAPI.parametros = event; this.xAPI.valores = {}; this.apiService.Ejecutar(this.xAPI).subscribe(data => { data.Cuerpo.forEach(e => { this.rowEstatusDF.push(e); }); }, err => { console.error(err); }); } lstTranscion(e) { this.ListaTransiciones = []; this.xAPI.funcion = "WKF_RTransicion"; this.xAPI.parametros = e; this.xAPI.valores = {}; this.apiService.Ejecutar(this.xAPI).subscribe(data => { data.Cuerpo.map(e => { this.ListaTransiciones.push(e); }); this.rowDataTransiciones = this.ListaTransiciones; this.tempDataTransiciones = this.rowDataTransiciones; }, err => { console.error(err); }); } limpiarEstatus() { this.wkfEstatus = { nombre: "", descripcion: "", estatus: 0, estado: 0, orden: 0 }; this.orden = undefined; this.rowEstatus = []; //this.wkf.msjText$.emit(this.xidW.toString()) // this.lstEstados(this.xidW.toString()) } abrirModal(modalPrimary) { this.modalService.open(modalPrimary, { centered: true, windowClass: 'modal modal-primary', size: 'lg', backdrop: false }); } onCloseClick(event) { this.modalService.dismissAll(); } EliminarEstatus(estatus) { sweetalert2__WEBPACK_IMPORTED_MODULE_2___default().fire({ title: "Esta seguro?", html: `Eliminar el estatus ${estatus.nomb} ?`, icon: "question", showCancelButton: true, confirmButtonColor: "#3085d6", cancelButtonColor: "#d33", confirmButtonText: "Si, Eliminar!", cancelButtonText: "Cancelar" }).then(result => { if (!result.isConfirmed) return; }); } GuardarTransaccion() { this.wkfTransicion.idw = this.xidW; this.xAPI.funcion = "WKF_ITransicion"; this.xAPI.valores = JSON.stringify(this.wkfTransicion); this.rowDataTransiciones = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.Ok(data.msj, 'Transición'); this.lstTranscion(this.xidW.toString()); this.limpiarTransicion(); }, err => { console.error(err); }); } limpiarTransicion() { this.wkfTransicion = { idw: 0, funcion: '', parametro: '' }; } lstRed(e) { this.ListaRed = []; this.xAPI.funcion = "WKF_CMapaRed"; this.xAPI.parametros = e; this.xAPI.valores = {}; this.apiService.Ejecutar(this.xAPI).subscribe(data => { console.log(data); data.Cuerpo.map(e => { this.ListaRed.push(e); }); this.rowDataRed = this.ListaRed; this.tempDataRed = this.rowDataRed; }, err => { console.error(err); }); } GuardarRed() { this.wkfRed.idred = this.xidW; this.xAPI.funcion = "WKF_IRed"; this.xAPI.valores = JSON.stringify(this.wkfRed); this.rowDataRed = []; this.apiService.Ejecutar(this.xAPI).subscribe(data => { this.Ok(data.msj, 'Red'); this.lstRed(this.xidW.toString()); this.limpiarRed(); }, err => { console.error(err); }); } limpiarRed() { this.wkfRed = { idred: 0, estadoOrigen: undefined, estatusOrigen: undefined, transicionVerdadero: undefined, estadoDestinoVerdadero: undefined, estatusDestinoVerdadero: undefined, estadoDestinoFalso: undefined, estatusDestinoFalso: undefined, transicionFalsa: undefined, descripcion: '', usuario: '', nombre: '', estatus: undefined }; } salvarRed() { console.log(this.DescripcionRed); } addItemForm() { this.rowForm.push(this.wkfForm); } static ɵfac = function WorkflowComponent_Factory(t) { return new (t || WorkflowComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_util_util_service__WEBPACK_IMPORTED_MODULE_3__.UtilService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_apicore_api_service__WEBPACK_IMPORTED_MODULE_4__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_comunicaciones_comunicaciones_service__WEBPACK_IMPORTED_MODULE_5__.ComunicacionesService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_workflow_workflow_service__WEBPACK_IMPORTED_MODULE_1__.WorkflowService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbModal)); }; static ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineComponent"]({ type: WorkflowComponent, selectors: [["app-workflow"]], viewQuery: function WorkflowComponent_Query(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵviewQuery"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DatatableComponent, 5); } if (rf & 2) { let _t; _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵloadQuery"]()) && (ctx.table = _t.first); } }, decls: 1, vars: 1, consts: [["class", "content-wrapper container-xxl p-0", 4, "blockUI"], [1, "content-wrapper", "container-xxl", "p-0"], [1, "content-body"], [3, "contentHeader"], [1, "invoice-list-wrapper"], [1, "card"], [1, "container"], [1, "row"], [1, "col-md-12", 2, "margin-top", "25px"], [1, "normal-form"], [1, "form-group", "col-md-4"], ["for", "aplicacion", 1, "form-label"], ["bindLabel", "descripcion", "name", "aplicacion", "id", "aplicacion", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "disabled", "ngModel", "ngModelChange", "change"], ["Aplication", "ngModel"], [3, "value", 4, "ngFor", "ngForOf"], ["for", "arquitectura", 1, "form-label"], ["bindLabel", "descripcion", "name", "arquitectura", "id", "arquitectura", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "items", "ngModel", "ngModelChange", "change"], ["for", "driver", 1, "form-label"], ["bindLabel", "descripcion", "name", "driver", "id", "driver", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "disabled", "ngModel", "ngModelChange"], ["Module", "ngModel"], ["for", "nombre", 1, "form-label"], ["required", "", "type", "text", "name", "nombre", "id", "nombre", 1, "form-control", 3, "ngModel", "disabled", "value", "ngModelChange"], ["NombreRef", "ngModel"], [1, "form-group", "col-md-8"], ["for", "descripcion", 1, "form-label"], [1, "input-group", "mb-3"], ["required", "", "type", "text", "name", "descripcion", "id", "`descripcion", 1, "form-control", 3, "ngModel", "disabled", "value", "ngModelChange"], ["DescripcionRef", "ngModel"], [1, "input-group-prepend"], ["class", "form-group col-md-1", 4, "ngIf"], [4, "ngIf"], ["class", "row", 4, "ngIf"], [3, "value"], [1, "form-group", "col-md-1"], ["type", "button", 1, "btn", "btn-success", 3, "disabled", "click"], ["aria-hidden", "true", 1, "fa", "fa-edit"], ["type", "button", 1, "btn", "btn-danger", 3, "disabled", "click"], ["aria-hidden", "true", 1, "fa", "fa-ban"], [1, "col-md-12"], ["ngbNav", "", 1, "nav-tabs", "justify-content-center"], ["navWithIcons", "ngbNav"], ["ngbNavItem", ""], ["ngbNavLink", ""], [3, "data-feather"], ["ngbNavContent", ""], [1, "mt-2", 3, "ngbNavOutlet"], ["required", "", "type", "text", "name", "nombre", "id", "nombre", "placeholder", "Nombre del campo ...", 1, "form-control", 3, "ngModel", "value", "ngModelOptions", "ngModelChange"], ["required", "", "type", "text", "name", "descripcion", "id", "descripcion", "placeholder", "Descripci\u00F3n del campo ...", 1, "form-control", 3, "ngModel", "value", "ngModelOptions", "ngModelChange"], ["for", "tipo", 1, "form-label"], ["bindLabel", "descripcion", "name", "descripcion", "id", "id", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "ngModel", "ngModelChange", "change"], ["for", "datos", 1, "form-label"], ["bindLabel", "descripcion", "name", "descripcion", "id", "id", "required", "", "placeholder", "Origen de datos", "bindValue", "id", 3, "ngModel", "disabled", "ngModelChange", "change"], [1, "form-group", "col-md-6"], ["for", "api", 1, "form-label"], ["bindLabel", "descripcion", "name", "descripcion", "id", "id", "required", "", "placeholder", "Origen de API", "bindValue", "id", 3, "ngModel", "disabled", "ngModelChange"], [1, "form-group", "col-md-2", "d-flex", "align-items-end"], [1, "form-label"], ["type", "button", 1, "btn", "btn-primary", 2, "width", "100%", 3, "click"], ["aria-hidden", "true", 1, "fa", "fa-arrow-down"], [1, "col-md"], [1, "row", 2, "overflow", "auto"], [1, "table"], [4, "ngFor", "ngForOf"], [1, "form-group", "col-md-3"], ["autocomplete", "off", "required", "", "type", "text", "name", "nombre", "id", "nombre", "placeholder", "Enter ...", 1, "form-control", 3, "ngModel", "value", "ngModelOptions", "ngModelChange"], ["autocomplete", "off", "required", "", "type", "text", "name", "descripcion", "id", "descripcion", "placeholder", "Enter ...", 1, "form-control", 3, "ngModelOptions", "ngModel", "value", "ngModelChange"], ["for", "nivel", 1, "form-label"], ["bindLabel", "descripcion", "name", "nivel", "id", "nivel", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "items", "ngModel", "ngModelChange"], [1, "form-group", "col-md-2", 2, "margin-top", "22px"], [1, "bootstrap", "core-bootstrap", "bordered-table", 3, "rows", "rowHeight", "limit", "headerHeight", "footerHeight", "scrollbarH", "columnMode"], ["name", "#", "prop", "id", 3, "width"], ["ngx-datatable-cell-template", ""], ["name", "NOMBRE", "prop", "nomb", 3, "width"], ["name", "DESCRIPCI\u00D3N", "prop", "obse", 3, "width"], [1, "font-weight-bold"], ["for", "origen", 1, "form-label"], ["bindLabel", "descripcion", "name", "origen", "id", "origen", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "ngModel", "ngModelChange", "change"], [1, "form-group", "col-md-2"], ["autocomplete", "off", "required", "", "type", "text", "name", "descripcion", "id", "descripcion", "placeholder", "Enter ...", 1, "form-control", 3, "ngModel", "value", "ngModelOptions", "ngModelChange"], [1, "col-md-2"], ["for", "orden", 1, "form-label"], ["bindLabel", "descripcion", "name", "orden", "id", "orden", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "ngModel", "ngModelChange"], [1, "col-md-2", "mb-md-0", "mb-1", 2, "margin-top", "23px"], ["name", "ESTADO", "prop", "ide", 3, "width"], ["name", "ACCI\u00D3N", 3, "width", "sortable"], ["ngbDropdown", "", "container", "body"], ["ngbDropdownToggle", "", "type", "button", "rippleEffect", "", 1, "btn", "icon-btn", "btn-sm", "hide-arrow"], ["ngbDropdownMenu", ""], ["ngbDropdownItem", "", 3, "click"], [3, "data-feather", "size"], ["style", "width: 100vw; z-index: 2000;"], ["modalPrimary", ""], [1, "modal-header"], ["id", "myModalLabel160", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], ["tabindex", "0", "ngbAutofocus", "", 1, "modal-body"], ["class", "form-group col-md-4", 4, "ngIf"], ["class", "form-group col-md-8", 4, "ngIf"], [1, "modal-footer"], [1, "d-flex", "justify-content-end"], ["type", "button", 1, "btn", "btn-success", "mr-2", 3, "click"], ["type", "button", 1, "btn", "btn-danger", 3, "click"], ["bindLabel", "descripcion", "name", "descripcion", "id", "id", "required", "", "placeholder", "Origen de datos", "bindValue", "id", 3, "ngModel", "ngModelChange", "change"], ["bindLabel", "descripcion", "name", "descripcion", "id", "id", "required", "", "placeholder", "Origen de API", "bindValue", "id", 3, "ngModel", "ngModelChange"], ["for", "funciones", 1, "form-label"], ["bindValue", "nombre", "bindLabel", "nombre", "placeholder", "Seleccione Aplicaci\u00F3n", 3, "items", "ngModel", "ngModelChange"], [1, "col-md-8"], ["type", "text", "autocomplete", "off", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["type", "button", 1, "btn", "btn-primary", 3, "click"], ["name", "NOMBRE", "prop", "func", 3, "width"], ["type", "text", 1, "form-control", 2, "font-size", "14px", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["bindLabel", "descripcion", "name", "origen", "id", "origen", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "form-group", "col-md-12"], [1, "input-group", "md-4"], ["type", "text", 1, "form-control", 3, "ngModel", "value", "ngModelChange"], ["type", "button", 1, "btn", "btn-success", 3, "click"], ["bindLabel", "descripcion", "name", "origen", "id", "origen", "required", "", "placeholder", "Seleccione", "bindValue", "id", 3, "ngModel", "ngModelOptions", "change", "ngModelChange"], [1, "col-2", "col-md-1", 2, "padding-right", "0!important"], [1, "d-flex", "flex-column", "align-items-center", "justify-content-center", "rounded", "playBtn", 2, "height", "92%", "width", "100%", "font-size", "1.6rem", "padding", "0"], ["aria-hiddden", "true", 1, "fa", "fa-play"], [1, "col-10", "col-md-11"], ["for", "destino", 1, "form-label"], ["aria-hidden", "true", 1, "fa", "fa-check-circle"], ["bindLabel", "descripcion", "name", "destino", "id", "destino", "required", "", "placeholder", "Seleccione", "bindValue", "id", 1, "wkfTrue", 3, "ngModel", "ngModelOptions", "ngModelChange", "change"], ["bindLabel", "descripcion", "name", "destino", "id", "destino", "required", "", "placeholder", "Seleccione", "bindValue", "id", 1, "wkfTrue", 3, "ngModel", "ngModelOptions", "ngModelChange"], ["aria-hidden", "true", 1, "fa", "fa-times-circle"], ["bindLabel", "descripcion", "name", "destino", "id", "destino", "required", "", "placeholder", "Seleccione", "bindValue", "id", 1, "wkfFalse", 3, "ngModel", "ngModelOptions", "ngModelChange", "change"], ["bindLabel", "descripcion", "name", "destino", "id", "destino", "required", "", "placeholder", "Seleccione", "bindValue", "id", 1, "wkfFalse", 3, "ngModel", "ngModelOptions", "ngModelChange"], [1, "col-lg-10", "col-md-9", "form-group", "mt-1"], [1, "form-group", "col-lg-2", "col-md-3", "d-flex", "align-items-end", "mt-1"], ["type", "button", 1, "btn", "btn-danger", 2, "width", "100%", 3, "click"], ["name", "AREA DE ORIGEN", "prop", "area_origen", 3, "width"], ["name", "ESTATUS DE ORIGEN", "prop", "area_estatus", 3, "width"], ["name", "AREA DE DESTINO", "prop", "area_destino", 3, "width"], ["name", "ESTATUS DESTINO", "prop", "estatus_destino", 3, "width"]], template: function WorkflowComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](0, WorkflowComponent_div_0_Template, 42, 18, "div", 0); } if (rf & 2) { _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("blockUI", "section-block"); } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_12__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_12__.NgIf, app_layout_components_content_header_content_header_component__WEBPACK_IMPORTED_MODULE_6__.ContentHeaderComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_13__["ɵNgNoValidate"], _angular_forms__WEBPACK_IMPORTED_MODULE_13__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgControlStatusGroup, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.RequiredValidator, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgModel, _angular_forms__WEBPACK_IMPORTED_MODULE_13__.NgForm, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DatatableComponent, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DataTableColumnDirective, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_11__.DataTableColumnCellDirective, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbDropdown, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbDropdownToggle, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbDropdownMenu, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbDropdownItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavContent, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNav, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavItem, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavLink, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__.NgbNavOutlet, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__.NgSelectComponent, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_14__.NgOptionComponent, _core_directives_core_ripple_effect_core_ripple_effect_directive__WEBPACK_IMPORTED_MODULE_7__.RippleEffectDirective, _core_directives_core_feather_icons_core_feather_icons__WEBPACK_IMPORTED_MODULE_8__.FeatherIconDirective, ng_block_ui__WEBPACK_IMPORTED_MODULE_15__["ɵf"], _angular_common__WEBPACK_IMPORTED_MODULE_12__.UpperCasePipe], styles: [".bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;padding:20px;font-size:1rem;font-weight:700;line-height:1.5;color:#6c757d;text-align:center;text-decoration:none;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;user-select:none;background-color:transparent;border:none;border-radius:.25rem;transition:background-color .15s ease-out,color .15s ease-out}.bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:not(:disabled):not(.disabled){cursor:pointer}.bs-stepper[_ngcontent-%COMP%] .step-trigger.disabled[_ngcontent-%COMP%], .bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:disabled{pointer-events:none;opacity:.65}.bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:focus{color:#007bff;outline:0}.bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:hover{text-decoration:none;background-color:rgba(0,0,0,.06)}@media (max-width:520px){.bs-stepper[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]{flex-direction:column;padding:10px}}.bs-stepper-label[_ngcontent-%COMP%]{display:inline-block;margin:.25rem}.bs-stepper-header[_ngcontent-%COMP%]{display:flex;align-items:center}@media (max-width:520px){.bs-stepper-header[_ngcontent-%COMP%]{margin:0 -10px;text-align:center}}.bs-stepper[_ngcontent-%COMP%] .line[_ngcontent-%COMP%], .bs-stepper-line[_ngcontent-%COMP%]{flex:1 0 32px;min-width:1px;min-height:1px;margin:auto;background-color:rgba(0,0,0,.12)}@media (max-width:400px){.bs-stepper[_ngcontent-%COMP%] .line[_ngcontent-%COMP%], .bs-stepper-line[_ngcontent-%COMP%]{flex-basis:20px}}.bs-stepper-circle[_ngcontent-%COMP%]{display:inline-flex;align-content:center;justify-content:center;width:2em;height:2em;padding:.5em 0;margin:.25rem;line-height:1em;color:#fff;background-color:#6c757d;border-radius:1em}.active[_ngcontent-%COMP%] .bs-stepper-circle[_ngcontent-%COMP%]{background-color:#007bff}.bs-stepper-content[_ngcontent-%COMP%]{padding:0 20px 20px}@media (max-width:520px){.bs-stepper-content[_ngcontent-%COMP%]{padding:0}}.bs-stepper.vertical[_ngcontent-%COMP%]{display:flex}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;margin:0}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-pane[_ngcontent-%COMP%], .bs-stepper.vertical[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:block}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-pane[_ngcontent-%COMP%]:not(.fade), .bs-stepper.vertical[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.fade){display:block;visibility:hidden}.bs-stepper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.fade), .bs-stepper-pane[_ngcontent-%COMP%]:not(.fade){display:none}.bs-stepper[_ngcontent-%COMP%] .content.fade[_ngcontent-%COMP%], .bs-stepper-pane.fade[_ngcontent-%COMP%]{visibility:hidden;transition-duration:.3s;transition-property:opacity}.bs-stepper[_ngcontent-%COMP%] .content.fade.active[_ngcontent-%COMP%], .bs-stepper-pane.fade.active[_ngcontent-%COMP%]{visibility:visible;opacity:1}.bs-stepper[_ngcontent-%COMP%] .content.active[_ngcontent-%COMP%]:not(.fade), .bs-stepper-pane.active[_ngcontent-%COMP%]:not(.fade){display:block;visibility:visible}.bs-stepper[_ngcontent-%COMP%] .content.dstepper-block[_ngcontent-%COMP%], .bs-stepper-pane.dstepper-block[_ngcontent-%COMP%]{display:block}.bs-stepper[_ngcontent-%COMP%]:not(.vertical) .bs-stepper-pane.dstepper-none[_ngcontent-%COMP%], .bs-stepper[_ngcontent-%COMP%]:not(.vertical) .content.dstepper-none[_ngcontent-%COMP%]{display:none}.vertical[_ngcontent-%COMP%] .bs-stepper-pane.fade.dstepper-none[_ngcontent-%COMP%], .vertical[_ngcontent-%COMP%] .content.fade.dstepper-none[_ngcontent-%COMP%]{visibility:hidden}.bs-stepper[_ngcontent-%COMP%] {\n background-color: #fff;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n border-radius: 0.5rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n padding: 1.5rem 1.5rem;\n flex-wrap: wrap;\n border-bottom: 1px solid rgba(34, 41, 47, 0.08);\n margin: 0;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] {\n flex: 0;\n min-width: auto;\n min-height: auto;\n background-color: transparent;\n margin: 0;\n padding: 0 1.75rem;\n color: #6e6b7b;\n font-size: 1.5rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] {\n margin-bottom: 0.25rem;\n margin-top: 0.25rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] {\n padding: 0;\n flex-wrap: nowrap;\n font-weight: normal;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 38px;\n height: 38px;\n padding: 0.5em 0;\n font-weight: 500;\n color: #babfc7;\n background-color: rgba(186, 191, 199, 0.12);\n border-radius: 0.35rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] {\n text-align: left;\n margin: 0;\n margin-top: 0.5rem;\n margin-left: 1rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n display: inherit;\n color: #6e6b7b;\n font-weight: 600;\n line-height: 1rem;\n margin-bottom: 0rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-subtitle[_ngcontent-%COMP%] {\n font-weight: 400;\n font-size: 0.85rem;\n color: #b9b9c3;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%]:hover {\n background-color: transparent;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #7367f0;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n background-color: rgba(115, 103, 240, 0.12);\n color: #7367f0 !important;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #b9b9c3;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] + .line[_ngcontent-%COMP%] {\n color: #7367f0;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n padding: 1.5rem 1.5rem;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n margin-left: 0;\n}.bs-stepper[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-header[_ngcontent-%COMP%] {\n margin-bottom: 1rem;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border-right: 1px solid #ebe9f1;\n border-bottom: none;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] {\n padding: 1rem 0;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] {\n display: none;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n width: 100%;\n padding-top: 2.5rem;\n}.bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.active) {\n display: none;\n}.bs-stepper.vertical.wizard-icons[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] {\n text-align: center;\n}.bs-stepper.wizard-modern[_ngcontent-%COMP%] {\n background-color: transparent;\n box-shadow: none;\n}.bs-stepper.wizard-modern[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border: none;\n}.bs-stepper.wizard-modern[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n background-color: #fff;\n border-radius: 0.5rem;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);\n}.horizontal-wizard[_ngcontent-%COMP%], .vertical-wizard[_ngcontent-%COMP%], .modern-horizontal-wizard[_ngcontent-%COMP%], .modern-vertical-wizard[_ngcontent-%COMP%] {\n margin-bottom: 2.2rem;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(59, 66, 83, 0.08);\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] {\n color: #b4b7bd;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n color: #babfc7;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #b4b7bd;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-subtitle[_ngcontent-%COMP%] {\n color: #676d7d;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-box[_ngcontent-%COMP%] {\n background-color: #7367f0;\n color: #fff;\n box-shadow: 0 3px 6px 0 rgba(115, 103, 240, 0.4);\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #7367f0;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-label[_ngcontent-%COMP%], .dark-layout[_ngcontent-%COMP%] .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step.crossed[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] .bs-stepper-title[_ngcontent-%COMP%] {\n color: #676d7d;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border-right-color: #3b4253;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper.wizard-modern[_ngcontent-%COMP%] {\n background-color: transparent;\n box-shadow: none;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper.wizard-modern[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n border: none;\n}.dark-layout[_ngcontent-%COMP%] .bs-stepper.wizard-modern[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n background-color: #283046;\n box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);\n}html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-prev[_ngcontent-%COMP%], html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-next[_ngcontent-%COMP%] {\n display: flex;\n}html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-prev[_ngcontent-%COMP%] i[_ngcontent-%COMP%], html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-prev[_ngcontent-%COMP%] svg[_ngcontent-%COMP%], html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-next[_ngcontent-%COMP%] i[_ngcontent-%COMP%], html[data-textdirection=rtl][_ngcontent-%COMP%] .btn-next[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] {\n transform: rotate(-180deg);\n}@media (max-width: 992px) {\n .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n flex-direction: column;\n align-items: flex-start;\n }\n .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .step-trigger[_ngcontent-%COMP%] {\n padding: 0.5rem 0 !important;\n flex-direction: row;\n }\n .bs-stepper[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] .line[_ngcontent-%COMP%] {\n display: none;\n }\n .bs-stepper.vertical[_ngcontent-%COMP%] {\n flex-direction: column;\n }\n .bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-header[_ngcontent-%COMP%] {\n align-items: flex-start;\n }\n .bs-stepper.vertical[_ngcontent-%COMP%] .bs-stepper-content[_ngcontent-%COMP%] {\n padding-top: 1.5rem;\n }\n}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%], .example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%] {\n flex-basis: 0;\n}.example-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%] {\n justify-content: space-between;\n align-items: center;\n}.example-headers-align[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%] {\n margin-left: 8px;\n}.ng-select.wkfTrue[_ngcontent-%COMP%] .ng-select-container {\n background-color: rgba(171, 247, 171, 0.0980392157) !important;\n color: #3c3b3f !important;\n border-color: rgba(119, 240, 119, 0.6352941176);\n}.ng-select.wkfFalse[_ngcontent-%COMP%] .ng-select-container {\n background-color: rgba(243, 133, 127, 0.0392156863) !important;\n color: #3c3b3f !important;\n border-color: rgba(240, 86, 78, 0.6352941176);\n}.ng-select.wkfTrue[_ngcontent-%COMP%] .ng-select-container .ng-value-container .ng-placeholder, .ng-select.wkfFalse[_ngcontent-%COMP%] .ng-select-container .ng-value-container .ng-placeholder {\n color: #3c3b3f;\n}.dark-layout[_ngcontent-%COMP%] .ng-select.wkfTrue[_ngcontent-%COMP%] .ng-select-container div.ng-input input {\n color: #fff !important;\n}.container[_ngcontent-%COMP%] {\n max-width: none;\n}.playBtn[_ngcontent-%COMP%] {\n border: 1px solid rgba(119, 240, 119, 0.6352941176);\n background-color: rgba(171, 247, 171, 0.0980392157) !important;\n}\n/*# sourceMappingURL=workflow.component.scss.map */"] }); } /***/ }), /***/ 43831: /*!*********************************!*\ !*** ./src/app/menu/i18n/en.ts ***! \*********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "locale": () => (/* binding */ locale) /* harmony export */ }); const locale = { lang: 'en', data: { MENU: { HOME: 'Home', SAMPLE: 'Sample' } } }; /***/ }), /***/ 7147: /*!*********************************!*\ !*** ./src/app/menu/i18n/es.ts ***! \*********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "locale": () => (/* binding */ locale) /* harmony export */ }); const locale = { lang: 'es', data: { MENU: { HOME: 'Principal', SAMPLE: 'Ejemplo' } } }; /***/ }), /***/ 70318: /*!******************************!*\ !*** ./src/app/menu/menu.ts ***! \******************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "menu": () => (/* binding */ menu) /* harmony export */ }); const menu = [{ id: 'principal', title: 'Principal', translate: '', type: 'item', icon: 'home', url: '' }]; /***/ }), /***/ 92340: /*!*****************************************!*\ !*** ./src/environments/environment.ts ***! \*****************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "environment": () => (/* binding */ environment) /* harmony export */ }); const environment = { production: true, recaptcha: { siteKey: '6LdcDsknAAAAAC44xkc214BZ2giOxN8JQsL7L9x2' }, hmr: false, apiUrl: 'https://localhost', Url: 'https://localhost', API: '/v1/api/', ID: 'ID-001', Hash: ':c521f27fb1b3311d686d511b668e5bd4', buildDateTime: 'Tue May 06 2025 14:24:02 GMT-0400 (Venezuela Time)', version: 'Broglie 1.0.1-1b419f3', fecha: '2025-04-12 05:08:00', BD: 'code-epic', driver: { PRINCIPAL: 'MGDBA', DATA_BASE: "code-epic", API_CORE_ZIP: "apicore.zip", SYS_FUNCION_ZIP: "sys-function.zip" }, colecciones: { WUSUARIO: 'wusuario', USER_TASK: 'user-task', API_CORE_NAME: "apicore", SYS_FNX_NAME: "sys-function" }, functions: { ACTUALIAZAR_MENU: "_SYS_ActualizarMenu", OBTENER_NOMBRE_ARCHIVO: "_SYS_getFileName", INSERT_FILE_PATH: "_SYS_ISetPath", LISTAR_COMUNICACIONES: '_SYS_LstComunicaciones', LISTAR_FUNCIONES: '_SYS_LFunciones', EXPORTAR_API: 'Fnx_ExportarAPI', EXPORTAR_FUNCIONES: 'Fnx_ExportarFunciones', LISTAR_APLICACIONES: '_SYS_LstAplicaciones', LISTAR_ENDPOINT: '_SYS_CEndPointUsers', LISTAR_PERFILES: '_SYS_CPerfiles', LISTAR_PERFIL_MENUS: '_SYS_CPerfil', LISTAR_PERFIL_APP: '_SYS_CPerfilesAPP', LISTAR_MENU_APP: '_SYS_CModulosAPP', INSERTAR_PERFIL: '_SYS_IPerfil', ELIMINAR_PERFIL: '_SYS_DPerfil', INSERTAR_PERFIL_DETALLE: '_SYS_IPerfilDetalles', LISTAR_ROLES: '_SYS_CRol', LISTAR_ROLES_DETALLES: '_SYS_CRolDetalles', LISTAR_MENUS: 'LstMenus', LISTAR_MENU_ACCIONES: 'OMenuAccion', RESTAURAR_API: 'Fnx_RestaurarAPI', RESTAURAR_FUNCIONES: 'Fnx_RestaurarFunciones' }, subPath: { LOGIN: 'ipsfa/api/web/loginWsx', RECOVERY: 'wusuario/login' } }; /***/ }), /***/ 84187: /*!********************!*\ !*** ./src/hmr.ts ***! \********************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "hmrBootstrap": () => (/* binding */ hmrBootstrap) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _angularclass_hmr__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angularclass/hmr */ 66694); const hmrBootstrap = (module, bootstrap) => { let ngModule; module.hot.accept(); bootstrap().then(mod => ngModule = mod); module.hot.dispose(() => { const appRef = ngModule.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ApplicationRef); const elements = appRef.components.map(c => c.location.nativeElement); const makeVisible = (0,_angularclass_hmr__WEBPACK_IMPORTED_MODULE_1__.createNewHosts)(elements); ngModule.destroy(); makeVisible(); }); }; /***/ }), /***/ 14431: /*!*********************!*\ !*** ./src/main.ts ***! \*********************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @angular/platform-browser */ 11481); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app/app.module */ 36747); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ 92340); /* harmony import */ var _hmr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hmr */ 84187); /* harmony import */ var codemirror_lib_codemirror__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! codemirror/lib/codemirror */ 68266); /* harmony import */ var codemirror_lib_codemirror__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(codemirror_lib_codemirror__WEBPACK_IMPORTED_MODULE_3__); /* harmony import */ var codemirror_mode_javascript_javascript__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! codemirror/mode/javascript/javascript */ 64166); /* harmony import */ var codemirror_mode_javascript_javascript__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(codemirror_mode_javascript_javascript__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var codemirror_mode_markdown_markdown__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! codemirror/mode/markdown/markdown */ 50521); /* harmony import */ var codemirror_mode_markdown_markdown__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(codemirror_mode_markdown_markdown__WEBPACK_IMPORTED_MODULE_5__); /* harmony import */ var codemirror_mode_go_go__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! codemirror/mode/go/go */ 43125); /* harmony import */ var codemirror_mode_go_go__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(codemirror_mode_go_go__WEBPACK_IMPORTED_MODULE_6__); /* harmony import */ var codemirror_mode_sql_sql__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! codemirror/mode/sql/sql */ 90875); /* harmony import */ var codemirror_mode_sql_sql__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(codemirror_mode_sql_sql__WEBPACK_IMPORTED_MODULE_7__); /* harmony import */ var codemirror_mode_shell_shell__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! codemirror/mode/shell/shell */ 48095); /* harmony import */ var codemirror_mode_shell_shell__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(codemirror_mode_shell_shell__WEBPACK_IMPORTED_MODULE_8__); /* harmony import */ var codemirror_mode_php_php__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! codemirror/mode/php/php */ 73256); /* harmony import */ var codemirror_mode_php_php__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(codemirror_mode_php_php__WEBPACK_IMPORTED_MODULE_9__); /* harmony import */ var codemirror_mode_python_python__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! codemirror/mode/python/python */ 65255); /* harmony import */ var codemirror_mode_python_python__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(codemirror_mode_python_python__WEBPACK_IMPORTED_MODULE_10__); /* harmony import */ var codemirror_mode_rust_rust__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! codemirror/mode/rust/rust */ 90602); /* harmony import */ var codemirror_mode_rust_rust__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(codemirror_mode_rust_rust__WEBPACK_IMPORTED_MODULE_11__); /* harmony import */ var codemirror_addon_fold_foldgutter__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! codemirror/addon/fold/foldgutter */ 93400); /* harmony import */ var codemirror_addon_fold_foldgutter__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(codemirror_addon_fold_foldgutter__WEBPACK_IMPORTED_MODULE_12__); /* harmony import */ var codemirror_addon_fold_brace_fold__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! codemirror/addon/fold/brace-fold */ 4222); /* harmony import */ var codemirror_addon_fold_brace_fold__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(codemirror_addon_fold_brace_fold__WEBPACK_IMPORTED_MODULE_13__); /* harmony import */ var codemirror_addon_edit_closebrackets__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! codemirror/addon/edit/closebrackets */ 28375); /* harmony import */ var codemirror_addon_edit_closebrackets__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(codemirror_addon_edit_closebrackets__WEBPACK_IMPORTED_MODULE_14__); /* harmony import */ var codemirror_addon_edit_matchbrackets__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! codemirror/addon/edit/matchbrackets */ 29088); /* harmony import */ var codemirror_addon_edit_matchbrackets__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(codemirror_addon_edit_matchbrackets__WEBPACK_IMPORTED_MODULE_15__); /* harmony import */ var codemirror_addon_lint_lint__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! codemirror/addon/lint/lint */ 5065); /* harmony import */ var codemirror_addon_lint_lint__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(codemirror_addon_lint_lint__WEBPACK_IMPORTED_MODULE_16__); /* harmony import */ var codemirror_addon_hint_show_hint__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! codemirror/addon/hint/show-hint */ 67850); /* harmony import */ var codemirror_addon_hint_show_hint__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(codemirror_addon_hint_show_hint__WEBPACK_IMPORTED_MODULE_17__); /* harmony import */ var codemirror_addon_hint_sql_hint__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! codemirror/addon/hint/sql-hint */ 12702); /* harmony import */ var codemirror_addon_hint_sql_hint__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(codemirror_addon_hint_sql_hint__WEBPACK_IMPORTED_MODULE_18__); // import 'codemirror/mode/idn/idn'; if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.production) { (0,_angular_core__WEBPACK_IMPORTED_MODULE_19__.enableProdMode)(); } const bootstrap = () => _angular_platform_browser__WEBPACK_IMPORTED_MODULE_20__.platformBrowser().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_0__.AppModule); if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.hmr) { if (false) {} else { console.error('HMR is not enabled for webpack-dev-server!'); console.log('Are you using the --hmr flag for ng serve?'); } } else { bootstrap().catch(err => console.log(err)); } /***/ }), /***/ 42466: /*!**************************************************************************************!*\ !*** ./node_modules/@ngx-translate/core/__ivy_ngcc__/fesm2015/ngx-translate-core.js ***! \**************************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "DEFAULT_LANGUAGE": () => (/* binding */ DEFAULT_LANGUAGE), /* harmony export */ "FakeMissingTranslationHandler": () => (/* binding */ FakeMissingTranslationHandler), /* harmony export */ "MissingTranslationHandler": () => (/* binding */ MissingTranslationHandler), /* harmony export */ "TranslateCompiler": () => (/* binding */ TranslateCompiler), /* harmony export */ "TranslateDefaultParser": () => (/* binding */ TranslateDefaultParser), /* harmony export */ "TranslateDirective": () => (/* binding */ TranslateDirective), /* harmony export */ "TranslateFakeCompiler": () => (/* binding */ TranslateFakeCompiler), /* harmony export */ "TranslateFakeLoader": () => (/* binding */ TranslateFakeLoader), /* harmony export */ "TranslateLoader": () => (/* binding */ TranslateLoader), /* harmony export */ "TranslateModule": () => (/* binding */ TranslateModule), /* harmony export */ "TranslateParser": () => (/* binding */ TranslateParser), /* harmony export */ "TranslatePipe": () => (/* binding */ TranslatePipe), /* harmony export */ "TranslateService": () => (/* binding */ TranslateService), /* harmony export */ "TranslateStore": () => (/* binding */ TranslateStore), /* harmony export */ "USE_DEFAULT_LANG": () => (/* binding */ USE_DEFAULT_LANG), /* harmony export */ "USE_EXTEND": () => (/* binding */ USE_EXTEND), /* harmony export */ "USE_STORE": () => (/* binding */ USE_STORE) /* harmony export */ }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 94650); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 21086); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 54715); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 30567); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs */ 41961); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 88514); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 72986); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 5154); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 24850); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 21406); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 87545); /** * @fileoverview added by tsickle * Generated from: lib/translate.loader.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @abstract */ class TranslateLoader {} if (false) {} /** * This loader is just a placeholder that does nothing, in case you don't need a loader at all */ let TranslateFakeLoader = /*#__PURE__*/(() => { class TranslateFakeLoader extends TranslateLoader { /** * @param {?} lang * @return {?} */ getTranslation(lang) { return (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)({}); } } TranslateFakeLoader.ɵfac = /*@__PURE__*/function () { let ɵTranslateFakeLoader_BaseFactory; return function TranslateFakeLoader_Factory(t) { return (ɵTranslateFakeLoader_BaseFactory || (ɵTranslateFakeLoader_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](TranslateFakeLoader)))(t || TranslateFakeLoader); }; }(); TranslateFakeLoader.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: TranslateFakeLoader, factory: TranslateFakeLoader.ɵfac }); return TranslateFakeLoader; })(); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: lib/missing-translation-handler.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @record */ function MissingTranslationHandlerParams() {} if (false) {} /** * @abstract */ class MissingTranslationHandler {} if (false) {} /** * This handler is just a placeholder that does nothing, in case you don't need a missing translation handler at all */ let FakeMissingTranslationHandler = /*#__PURE__*/(() => { class FakeMissingTranslationHandler { /** * @param {?} params * @return {?} */ handle(params) { return params.key; } } FakeMissingTranslationHandler.ɵfac = function FakeMissingTranslationHandler_Factory(t) { return new (t || FakeMissingTranslationHandler)(); }; FakeMissingTranslationHandler.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: FakeMissingTranslationHandler, factory: FakeMissingTranslationHandler.ɵfac }); return FakeMissingTranslationHandler; })(); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: lib/util.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /* tslint:disable */ /** * Determines if two objects or two values are equivalent. * * Two objects or values are considered equivalent if at least one of the following is true: * * * Both objects or values pass `===` comparison. * * Both objects or values are of the same type and all of their properties are equal by * comparing them with `equals`. * * @param {?} o1 Object or value to compare. * @param {?} o2 Object or value to compare. * @return {?} true if arguments are equal. */ function equals(o1, o2) { if (o1 === o2) return true; if (o1 === null || o2 === null) return false; if (o1 !== o1 && o2 !== o2) return true; // NaN === NaN // NaN === NaN /** @type {?} */ let t1 = typeof o1; /** @type {?} */ let t2 = typeof o2; /** @type {?} */ let length; /** @type {?} */ let key; /** @type {?} */ let keySet; if (t1 == t2 && t1 == 'object') { if (Array.isArray(o1)) { if (!Array.isArray(o2)) return false; if ((length = o1.length) == o2.length) { for (key = 0; key < length; key++) { if (!equals(o1[key], o2[key])) return false; } return true; } } else { if (Array.isArray(o2)) { return false; } keySet = Object.create(null); for (key in o1) { if (!equals(o1[key], o2[key])) { return false; } keySet[key] = true; } for (key in o2) { if (!(key in keySet) && typeof o2[key] !== 'undefined') { return false; } } return true; } } return false; } /* tslint:enable */ /** * @param {?} value * @return {?} */ function isDefined(value) { return typeof value !== 'undefined' && value !== null; } /** * @param {?} item * @return {?} */ function isObject(item) { return item && typeof item === 'object' && !Array.isArray(item); } /** * @param {?} target * @param {?} source * @return {?} */ function mergeDeep(target, source) { /** @type {?} */ let output = Object.assign({}, target); if (isObject(target) && isObject(source)) { Object.keys(source).forEach( /** * @param {?} key * @return {?} */ key => { if (isObject(source[key])) { if (!(key in target)) { Object.assign(output, { [key]: source[key] }); } else { output[key] = mergeDeep(target[key], source[key]); } } else { Object.assign(output, { [key]: source[key] }); } }); } return output; } /** * @fileoverview added by tsickle * Generated from: lib/translate.parser.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @abstract */ class TranslateParser {} if (false) {} let TranslateDefaultParser = /*#__PURE__*/(() => { class TranslateDefaultParser extends TranslateParser { constructor() { super(...arguments); this.templateMatcher = /{{\s?([^{}\s]*)\s?}}/g; } /** * @param {?} expr * @param {?=} params * @return {?} */ interpolate(expr, params) { /** @type {?} */ let result; if (typeof expr === 'string') { result = this.interpolateString(expr, params); } else if (typeof expr === 'function') { result = this.interpolateFunction(expr, params); } else { // this should not happen, but an unrelated TranslateService test depends on it result = /** @type {?} */ expr; } return result; } /** * @param {?} target * @param {?} key * @return {?} */ getValue(target, key) { /** @type {?} */ let keys = typeof key === 'string' ? key.split('.') : [key]; key = ''; do { key += keys.shift(); if (isDefined(target) && isDefined(target[key]) && (typeof target[key] === 'object' || !keys.length)) { target = target[key]; key = ''; } else if (!keys.length) { target = undefined; } else { key += '.'; } } while (keys.length); return target; } /** * @private * @param {?} fn * @param {?=} params * @return {?} */ interpolateFunction(fn, params) { return fn(params); } /** * @private * @param {?} expr * @param {?=} params * @return {?} */ interpolateString(expr, params) { if (!params) { return expr; } return expr.replace(this.templateMatcher, /** * @param {?} substring * @param {?} b * @return {?} */ (substring, b) => { /** @type {?} */ let r = this.getValue(params, b); return isDefined(r) ? r : substring; }); } } TranslateDefaultParser.ɵfac = /*@__PURE__*/function () { let ɵTranslateDefaultParser_BaseFactory; return function TranslateDefaultParser_Factory(t) { return (ɵTranslateDefaultParser_BaseFactory || (ɵTranslateDefaultParser_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](TranslateDefaultParser)))(t || TranslateDefaultParser); }; }(); TranslateDefaultParser.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: TranslateDefaultParser, factory: TranslateDefaultParser.ɵfac }); return TranslateDefaultParser; })(); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: lib/translate.compiler.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @abstract */ class TranslateCompiler {} if (false) {} /** * This compiler is just a placeholder that does nothing, in case you don't need a compiler at all */ let TranslateFakeCompiler = /*#__PURE__*/(() => { class TranslateFakeCompiler extends TranslateCompiler { /** * @param {?} value * @param {?} lang * @return {?} */ compile(value, lang) { return value; } /** * @param {?} translations * @param {?} lang * @return {?} */ compileTranslations(translations, lang) { return translations; } } TranslateFakeCompiler.ɵfac = /*@__PURE__*/function () { let ɵTranslateFakeCompiler_BaseFactory; return function TranslateFakeCompiler_Factory(t) { return (ɵTranslateFakeCompiler_BaseFactory || (ɵTranslateFakeCompiler_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](TranslateFakeCompiler)))(t || TranslateFakeCompiler); }; }(); TranslateFakeCompiler.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: TranslateFakeCompiler, factory: TranslateFakeCompiler.ɵfac }); return TranslateFakeCompiler; })(); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); /** * @fileoverview added by tsickle * Generated from: lib/translate.store.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ class TranslateStore { constructor() { /** * The lang currently used */ this.currentLang = this.defaultLang; /** * a list of translations per lang */ this.translations = {}; /** * an array of langs */ this.langs = []; /** * An EventEmitter to listen to translation change events * onTranslationChange.subscribe((params: TranslationChangeEvent) => { * // do something * }); */ this.onTranslationChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); /** * An EventEmitter to listen to lang change events * onLangChange.subscribe((params: LangChangeEvent) => { * // do something * }); */ this.onLangChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); /** * An EventEmitter to listen to default lang change events * onDefaultLangChange.subscribe((params: DefaultLangChangeEvent) => { * // do something * }); */ this.onDefaultLangChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); } } if (false) {} /** * @fileoverview added by tsickle * Generated from: lib/translate.service.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ const USE_STORE = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('USE_STORE'); /** @type {?} */ const USE_DEFAULT_LANG = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('USE_DEFAULT_LANG'); /** @type {?} */ const DEFAULT_LANGUAGE = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('DEFAULT_LANGUAGE'); /** @type {?} */ const USE_EXTEND = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('USE_EXTEND'); /** * @record */ function TranslationChangeEvent() {} if (false) {} /** * @record */ function LangChangeEvent() {} if (false) {} /** * @record */ function DefaultLangChangeEvent() {} if (false) {} let TranslateService = /*#__PURE__*/(() => { class TranslateService { /** * * @param {?} store an instance of the store (that is supposed to be unique) * @param {?} currentLoader An instance of the loader currently used * @param {?} compiler An instance of the compiler currently used * @param {?} parser An instance of the parser currently used * @param {?} missingTranslationHandler A handler for missing translations. * @param {?=} useDefaultLang whether we should use default language translation when current language translation is missing. * @param {?=} isolate whether this service should use the store or not * @param {?=} extend To make a child module extend (and use) translations from parent modules. * @param {?=} defaultLanguage Set the default language using configuration */ constructor(store, currentLoader, compiler, parser, missingTranslationHandler, useDefaultLang = true, isolate = false, extend = false, defaultLanguage) { this.store = store; this.currentLoader = currentLoader; this.compiler = compiler; this.parser = parser; this.missingTranslationHandler = missingTranslationHandler; this.useDefaultLang = useDefaultLang; this.isolate = isolate; this.extend = extend; this.pending = false; this._onTranslationChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); this._onLangChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); this._onDefaultLangChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.EventEmitter(); this._langs = []; this._translations = {}; this._translationRequests = {}; /** set the default language from configuration */ if (defaultLanguage) { this.setDefaultLang(defaultLanguage); } } /** * An EventEmitter to listen to translation change events * onTranslationChange.subscribe((params: TranslationChangeEvent) => { * // do something * }); * @return {?} */ get onTranslationChange() { return this.isolate ? this._onTranslationChange : this.store.onTranslationChange; } /** * An EventEmitter to listen to lang change events * onLangChange.subscribe((params: LangChangeEvent) => { * // do something * }); * @return {?} */ get onLangChange() { return this.isolate ? this._onLangChange : this.store.onLangChange; } /** * An EventEmitter to listen to default lang change events * onDefaultLangChange.subscribe((params: DefaultLangChangeEvent) => { * // do something * }); * @return {?} */ get onDefaultLangChange() { return this.isolate ? this._onDefaultLangChange : this.store.onDefaultLangChange; } /** * The default lang to fallback when translations are missing on the current lang * @return {?} */ get defaultLang() { return this.isolate ? this._defaultLang : this.store.defaultLang; } /** * @param {?} defaultLang * @return {?} */ set defaultLang(defaultLang) { if (this.isolate) { this._defaultLang = defaultLang; } else { this.store.defaultLang = defaultLang; } } /** * The lang currently used * @return {?} */ get currentLang() { return this.isolate ? this._currentLang : this.store.currentLang; } /** * @param {?} currentLang * @return {?} */ set currentLang(currentLang) { if (this.isolate) { this._currentLang = currentLang; } else { this.store.currentLang = currentLang; } } /** * an array of langs * @return {?} */ get langs() { return this.isolate ? this._langs : this.store.langs; } /** * @param {?} langs * @return {?} */ set langs(langs) { if (this.isolate) { this._langs = langs; } else { this.store.langs = langs; } } /** * a list of translations per lang * @return {?} */ get translations() { return this.isolate ? this._translations : this.store.translations; } /** * @param {?} translations * @return {?} */ set translations(translations) { if (this.isolate) { this._translations = translations; } else { this.store.translations = translations; } } /** * Sets the default language to use as a fallback * @param {?} lang * @return {?} */ setDefaultLang(lang) { if (lang === this.defaultLang) { return; } /** @type {?} */ let pending = this.retrieveTranslations(lang); if (typeof pending !== "undefined") { // on init set the defaultLang immediately if (this.defaultLang == null) { this.defaultLang = lang; } pending.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.take)(1)).subscribe( /** * @param {?} res * @return {?} */ res => { this.changeDefaultLang(lang); }); } else { // we already have this language this.changeDefaultLang(lang); } } /** * Gets the default language used * @return {?} */ getDefaultLang() { return this.defaultLang; } /** * Changes the lang currently used * @param {?} lang * @return {?} */ use(lang) { // don't change the language if the language given is already selected if (lang === this.currentLang) { return (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)(this.translations[lang]); } /** @type {?} */ let pending = this.retrieveTranslations(lang); if (typeof pending !== "undefined") { // on init set the currentLang immediately if (!this.currentLang) { this.currentLang = lang; } pending.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.take)(1)).subscribe( /** * @param {?} res * @return {?} */ res => { this.changeLang(lang); }); return pending; } else { // we have this language, return an Observable this.changeLang(lang); return (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)(this.translations[lang]); } } /** * Retrieves the given translations * @private * @param {?} lang * @return {?} */ retrieveTranslations(lang) { /** @type {?} */ let pending; // if this language is unavailable or extend is true, ask for it if (typeof this.translations[lang] === "undefined" || this.extend) { this._translationRequests[lang] = this._translationRequests[lang] || this.getTranslation(lang); pending = this._translationRequests[lang]; } return pending; } /** * Gets an object of translations for a given language with the current loader * and passes it through the compiler * @param {?} lang * @return {?} */ getTranslation(lang) { this.pending = true; /** @type {?} */ const loadingTranslations = this.currentLoader.getTranslation(lang).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.shareReplay)(1), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.take)(1)); this.loadingTranslations = loadingTranslations.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)( /** * @param {?} res * @return {?} */ res => this.compiler.compileTranslations(res, lang)), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.shareReplay)(1), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.take)(1)); this.loadingTranslations.subscribe({ next: /** * @param {?} res * @return {?} */ res => { this.translations[lang] = this.extend && this.translations[lang] ? Object.assign(Object.assign({}, res), this.translations[lang]) : res; this.updateLangs(); this.pending = false; }, error: /** * @param {?} err * @return {?} */ err => { this.pending = false; } }); return loadingTranslations; } /** * Manually sets an object of translations for a given language * after passing it through the compiler * @param {?} lang * @param {?} translations * @param {?=} shouldMerge * @return {?} */ setTranslation(lang, translations, shouldMerge = false) { translations = this.compiler.compileTranslations(translations, lang); if ((shouldMerge || this.extend) && this.translations[lang]) { this.translations[lang] = mergeDeep(this.translations[lang], translations); } else { this.translations[lang] = translations; } this.updateLangs(); this.onTranslationChange.emit({ lang: lang, translations: this.translations[lang] }); } /** * Returns an array of currently available langs * @return {?} */ getLangs() { return this.langs; } /** * Add available langs * @param {?} langs * @return {?} */ addLangs(langs) { langs.forEach( /** * @param {?} lang * @return {?} */ lang => { if (this.langs.indexOf(lang) === -1) { this.langs.push(lang); } }); } /** * Update the list of available langs * @private * @return {?} */ updateLangs() { this.addLangs(Object.keys(this.translations)); } /** * Returns the parsed result of the translations * @param {?} translations * @param {?} key * @param {?=} interpolateParams * @return {?} */ getParsedResult(translations, key, interpolateParams) { /** @type {?} */ let res; if (key instanceof Array) { /** @type {?} */ let result = {}; /** @type {?} */ let observables = false; for (let k of key) { result[k] = this.getParsedResult(translations, k, interpolateParams); if ((0,rxjs__WEBPACK_IMPORTED_MODULE_5__.isObservable)(result[k])) { observables = true; } } if (observables) { /** @type {?} */ const sources = key.map( /** * @param {?} k * @return {?} */ k => (0,rxjs__WEBPACK_IMPORTED_MODULE_5__.isObservable)(result[k]) ? result[k] : (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)( /** @type {?} */ result[k])); return (0,rxjs__WEBPACK_IMPORTED_MODULE_6__.forkJoin)(sources).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)( /** * @param {?} arr * @return {?} */ arr => { /** @type {?} */ let obj = {}; arr.forEach( /** * @param {?} value * @param {?} index * @return {?} */ (value, index) => { obj[key[index]] = value; }); return obj; })); } return result; } if (translations) { res = this.parser.interpolate(this.parser.getValue(translations, key), interpolateParams); } if (typeof res === "undefined" && this.defaultLang != null && this.defaultLang !== this.currentLang && this.useDefaultLang) { res = this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang], key), interpolateParams); } if (typeof res === "undefined") { /** @type {?} */ let params = { key, translateService: this }; if (typeof interpolateParams !== 'undefined') { params.interpolateParams = interpolateParams; } res = this.missingTranslationHandler.handle(params); } return typeof res !== "undefined" ? res : key; } /** * Gets the translated value of a key (or an array of keys) * @param {?} key * @param {?=} interpolateParams * @return {?} the translated key, or an object of translated keys */ get(key, interpolateParams) { if (!isDefined(key) || !key.length) { throw new Error(`Parameter "key" required`); } // check if we are loading a new translation to use if (this.pending) { return this.loadingTranslations.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.concatMap)( /** * @param {?} res * @return {?} */ res => { res = this.getParsedResult(res, key, interpolateParams); return (0,rxjs__WEBPACK_IMPORTED_MODULE_5__.isObservable)(res) ? res : (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)(res); })); } else { /** @type {?} */ let res = this.getParsedResult(this.translations[this.currentLang], key, interpolateParams); return (0,rxjs__WEBPACK_IMPORTED_MODULE_5__.isObservable)(res) ? res : (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)(res); } } /** * Returns a stream of translated values of a key (or an array of keys) which updates * whenever the translation changes. * @param {?} key * @param {?=} interpolateParams * @return {?} A stream of the translated key, or an object of translated keys */ getStreamOnTranslationChange(key, interpolateParams) { if (!isDefined(key) || !key.length) { throw new Error(`Parameter "key" required`); } return (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.concat)((0,rxjs__WEBPACK_IMPORTED_MODULE_9__.defer)( /** * @return {?} */ () => this.get(key, interpolateParams)), this.onTranslationChange.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.switchMap)( /** * @param {?} event * @return {?} */ event => { /** @type {?} */ const res = this.getParsedResult(event.translations, key, interpolateParams); if (typeof res.subscribe === 'function') { return res; } else { return (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)(res); } }))); } /** * Returns a stream of translated values of a key (or an array of keys) which updates * whenever the language changes. * @param {?} key * @param {?=} interpolateParams * @return {?} A stream of the translated key, or an object of translated keys */ stream(key, interpolateParams) { if (!isDefined(key) || !key.length) { throw new Error(`Parameter "key" required`); } return (0,rxjs__WEBPACK_IMPORTED_MODULE_8__.concat)((0,rxjs__WEBPACK_IMPORTED_MODULE_9__.defer)( /** * @return {?} */ () => this.get(key, interpolateParams)), this.onLangChange.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.switchMap)( /** * @param {?} event * @return {?} */ event => { /** @type {?} */ const res = this.getParsedResult(event.translations, key, interpolateParams); return (0,rxjs__WEBPACK_IMPORTED_MODULE_5__.isObservable)(res) ? res : (0,rxjs__WEBPACK_IMPORTED_MODULE_0__.of)(res); }))); } /** * Returns a translation instantly from the internal state of loaded translation. * All rules regarding the current language, the preferred language of even fallback languages will be used except any promise handling. * @param {?} key * @param {?=} interpolateParams * @return {?} */ instant(key, interpolateParams) { if (!isDefined(key) || !key.length) { throw new Error(`Parameter "key" required`); } /** @type {?} */ let res = this.getParsedResult(this.translations[this.currentLang], key, interpolateParams); if ((0,rxjs__WEBPACK_IMPORTED_MODULE_5__.isObservable)(res)) { if (key instanceof Array) { /** @type {?} */ let obj = {}; key.forEach( /** * @param {?} value * @param {?} index * @return {?} */ (value, index) => { obj[key[index]] = key[index]; }); return obj; } return key; } else { return res; } } /** * Sets the translated value of a key, after compiling it * @param {?} key * @param {?} value * @param {?=} lang * @return {?} */ set(key, value, lang = this.currentLang) { this.translations[lang][key] = this.compiler.compile(value, lang); this.updateLangs(); this.onTranslationChange.emit({ lang: lang, translations: this.translations[lang] }); } /** * Changes the current lang * @private * @param {?} lang * @return {?} */ changeLang(lang) { this.currentLang = lang; this.onLangChange.emit({ lang: lang, translations: this.translations[lang] }); // if there is no default lang, use the one that we just set if (this.defaultLang == null) { this.changeDefaultLang(lang); } } /** * Changes the default lang * @private * @param {?} lang * @return {?} */ changeDefaultLang(lang) { this.defaultLang = lang; this.onDefaultLangChange.emit({ lang: lang, translations: this.translations[lang] }); } /** * Allows to reload the lang file from the file * @param {?} lang * @return {?} */ reloadLang(lang) { this.resetLang(lang); return this.getTranslation(lang); } /** * Deletes inner translation * @param {?} lang * @return {?} */ resetLang(lang) { this._translationRequests[lang] = undefined; this.translations[lang] = undefined; } /** * Returns the language code name from the browser, e.g. "de" * @return {?} */ getBrowserLang() { if (typeof window === 'undefined' || typeof window.navigator === 'undefined') { return undefined; } /** @type {?} */ let browserLang = window.navigator.languages ? window.navigator.languages[0] : null; browserLang = browserLang || window.navigator.language || window.navigator.browserLanguage || window.navigator.userLanguage; if (typeof browserLang === 'undefined') { return undefined; } if (browserLang.indexOf('-') !== -1) { browserLang = browserLang.split('-')[0]; } if (browserLang.indexOf('_') !== -1) { browserLang = browserLang.split('_')[0]; } return browserLang; } /** * Returns the culture language code name from the browser, e.g. "de-DE" * @return {?} */ getBrowserCultureLang() { if (typeof window === 'undefined' || typeof window.navigator === 'undefined') { return undefined; } /** @type {?} */ let browserCultureLang = window.navigator.languages ? window.navigator.languages[0] : null; browserCultureLang = browserCultureLang || window.navigator.language || window.navigator.browserLanguage || window.navigator.userLanguage; return browserCultureLang; } } TranslateService.ɵfac = function TranslateService_Factory(t) { return new (t || TranslateService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](TranslateStore), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](TranslateLoader), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](TranslateCompiler), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](TranslateParser), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](MissingTranslationHandler), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](USE_DEFAULT_LANG), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](USE_STORE), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](USE_EXTEND), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](DEFAULT_LANGUAGE)); }; TranslateService.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: TranslateService, factory: TranslateService.ɵfac }); /** @nocollapse */ return TranslateService; })(); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: lib/translate.directive.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let TranslateDirective = /*#__PURE__*/(() => { class TranslateDirective { /** * @param {?} translateService * @param {?} element * @param {?} _ref */ constructor(translateService, element, _ref) { this.translateService = translateService; this.element = element; this._ref = _ref; // subscribe to onTranslationChange event, in case the translations of the current lang change if (!this.onTranslationChangeSub) { this.onTranslationChangeSub = this.translateService.onTranslationChange.subscribe( /** * @param {?} event * @return {?} */ event => { if (event.lang === this.translateService.currentLang) { this.checkNodes(true, event.translations); } }); } // subscribe to onLangChange event, in case the language changes if (!this.onLangChangeSub) { this.onLangChangeSub = this.translateService.onLangChange.subscribe( /** * @param {?} event * @return {?} */ event => { this.checkNodes(true, event.translations); }); } // subscribe to onDefaultLangChange event, in case the default language changes if (!this.onDefaultLangChangeSub) { this.onDefaultLangChangeSub = this.translateService.onDefaultLangChange.subscribe( /** * @param {?} event * @return {?} */ event => { this.checkNodes(true); }); } } /** * @param {?} key * @return {?} */ set translate(key) { if (key) { this.key = key; this.checkNodes(); } } /** * @param {?} params * @return {?} */ set translateParams(params) { if (!equals(this.currentParams, params)) { this.currentParams = params; this.checkNodes(true); } } /** * @return {?} */ ngAfterViewChecked() { this.checkNodes(); } /** * @param {?=} forceUpdate * @param {?=} translations * @return {?} */ checkNodes(forceUpdate = false, translations) { /** @type {?} */ let nodes = this.element.nativeElement.childNodes; // if the element is empty if (!nodes.length) { // we add the key as content this.setContent(this.element.nativeElement, this.key); nodes = this.element.nativeElement.childNodes; } for (let i = 0; i < nodes.length; ++i) { /** @type {?} */ let node = nodes[i]; if (node.nodeType === 3) { // node type 3 is a text node // node type 3 is a text node /** @type {?} */ let key; if (forceUpdate) { node.lastKey = null; } if (isDefined(node.lookupKey)) { key = node.lookupKey; } else if (this.key) { key = this.key; } else { /** @type {?} */ let content = this.getContent(node); /** @type {?} */ let trimmedContent = content.trim(); if (trimmedContent.length) { node.lookupKey = trimmedContent; // we want to use the content as a key, not the translation value if (content !== node.currentValue) { key = trimmedContent; // the content was changed from the user, we'll use it as a reference if needed node.originalContent = content || node.originalContent; } else if (node.originalContent) { // the content seems ok, but the lang has changed // the current content is the translation, not the key, use the last real content as key key = node.originalContent.trim(); } else if (content !== node.currentValue) { // we want to use the content as a key, not the translation value key = trimmedContent; // the content was changed from the user, we'll use it as a reference if needed node.originalContent = content || node.originalContent; } } } this.updateValue(key, node, translations); } } } /** * @param {?} key * @param {?} node * @param {?} translations * @return {?} */ updateValue(key, node, translations) { if (key) { if (node.lastKey === key && this.lastParams === this.currentParams) { return; } this.lastParams = this.currentParams; /** @type {?} */ let onTranslation = /** * @param {?} res * @return {?} */ res => { if (res !== key) { node.lastKey = key; } if (!node.originalContent) { node.originalContent = this.getContent(node); } node.currentValue = isDefined(res) ? res : node.originalContent || key; // we replace in the original content to preserve spaces that we might have trimmed this.setContent(node, this.key ? node.currentValue : node.originalContent.replace(key, node.currentValue)); this._ref.markForCheck(); }; if (isDefined(translations)) { /** @type {?} */ let res = this.translateService.getParsedResult(translations, key, this.currentParams); if ((0,rxjs__WEBPACK_IMPORTED_MODULE_5__.isObservable)(res)) { res.subscribe(onTranslation); } else { onTranslation(res); } } else { this.translateService.get(key, this.currentParams).subscribe(onTranslation); } } } /** * @param {?} node * @return {?} */ getContent(node) { return isDefined(node.textContent) ? node.textContent : node.data; } /** * @param {?} node * @param {?} content * @return {?} */ setContent(node, content) { if (isDefined(node.textContent)) { node.textContent = content; } else { node.data = content; } } /** * @return {?} */ ngOnDestroy() { if (this.onLangChangeSub) { this.onLangChangeSub.unsubscribe(); } if (this.onDefaultLangChangeSub) { this.onDefaultLangChangeSub.unsubscribe(); } if (this.onTranslationChangeSub) { this.onTranslationChangeSub.unsubscribe(); } } } TranslateDirective.ɵfac = function TranslateDirective_Factory(t) { return new (t || TranslateDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](TranslateService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ChangeDetectorRef)); }; TranslateDirective.ɵdir = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({ type: TranslateDirective, selectors: [["", "translate", ""], ["", "ngx-translate", ""]], inputs: { translate: "translate", translateParams: "translateParams" } }); /** @nocollapse */ return TranslateDirective; })(); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: lib/translate.pipe.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ let TranslatePipe = /*#__PURE__*/(() => { class TranslatePipe { /** * @param {?} translate * @param {?} _ref */ constructor(translate, _ref) { this.translate = translate; this._ref = _ref; this.value = ''; } /** * @param {?} key * @param {?=} interpolateParams * @param {?=} translations * @return {?} */ updateValue(key, interpolateParams, translations) { /** @type {?} */ let onTranslation = /** * @param {?} res * @return {?} */ res => { this.value = res !== undefined ? res : key; this.lastKey = key; this._ref.markForCheck(); }; if (translations) { /** @type {?} */ let res = this.translate.getParsedResult(translations, key, interpolateParams); if ((0,rxjs__WEBPACK_IMPORTED_MODULE_5__.isObservable)(res.subscribe)) { res.subscribe(onTranslation); } else { onTranslation(res); } } this.translate.get(key, interpolateParams).subscribe(onTranslation); } /** * @param {?} query * @param {...?} args * @return {?} */ transform(query, ...args) { if (!query || !query.length) { return query; } // if we ask another time for the same key, return the last value if (equals(query, this.lastKey) && equals(args, this.lastParams)) { return this.value; } /** @type {?} */ let interpolateParams; if (isDefined(args[0]) && args.length) { if (typeof args[0] === 'string' && args[0].length) { // we accept objects written in the template such as {n:1}, {'n':1}, {n:'v'} // which is why we might need to change it to real JSON objects such as {"n":1} or {"n":"v"} /** @type {?} */ let validArgs = args[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g, '"$2":').replace(/:(\s)?(\')(.*?)(\')/g, ':"$3"'); try { interpolateParams = JSON.parse(validArgs); } catch (e) { throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${args[0]}`); } } else if (typeof args[0] === 'object' && !Array.isArray(args[0])) { interpolateParams = args[0]; } } // store the query, in case it changes this.lastKey = query; // store the params, in case they change this.lastParams = args; // set the value this.updateValue(query, interpolateParams); // if there is a subscription to onLangChange, clean it this._dispose(); // subscribe to onTranslationChange event, in case the translations change if (!this.onTranslationChange) { this.onTranslationChange = this.translate.onTranslationChange.subscribe( /** * @param {?} event * @return {?} */ event => { if (this.lastKey && event.lang === this.translate.currentLang) { this.lastKey = null; this.updateValue(query, interpolateParams, event.translations); } }); } // subscribe to onLangChange event, in case the language changes if (!this.onLangChange) { this.onLangChange = this.translate.onLangChange.subscribe( /** * @param {?} event * @return {?} */ event => { if (this.lastKey) { this.lastKey = null; // we want to make sure it doesn't return the same value until it's been updated this.updateValue(query, interpolateParams, event.translations); } }); } // subscribe to onDefaultLangChange event, in case the default language changes if (!this.onDefaultLangChange) { this.onDefaultLangChange = this.translate.onDefaultLangChange.subscribe( /** * @return {?} */ () => { if (this.lastKey) { this.lastKey = null; // we want to make sure it doesn't return the same value until it's been updated this.updateValue(query, interpolateParams); } }); } return this.value; } /** * Clean any existing subscription to change events * @private * @return {?} */ _dispose() { if (typeof this.onTranslationChange !== 'undefined') { this.onTranslationChange.unsubscribe(); this.onTranslationChange = undefined; } if (typeof this.onLangChange !== 'undefined') { this.onLangChange.unsubscribe(); this.onLangChange = undefined; } if (typeof this.onDefaultLangChange !== 'undefined') { this.onDefaultLangChange.unsubscribe(); this.onDefaultLangChange = undefined; } } /** * @return {?} */ ngOnDestroy() { this._dispose(); } } TranslatePipe.ɵfac = function TranslatePipe_Factory(t) { return new (t || TranslatePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](TranslateService, 16), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.ChangeDetectorRef, 16)); }; TranslatePipe.ɵpipe = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefinePipe"]({ name: "translate", type: TranslatePipe, pure: false }); TranslatePipe.ɵprov = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ token: TranslatePipe, factory: TranslatePipe.ɵfac }); /** @nocollapse */ return TranslatePipe; })(); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); if (false) {} /** * @fileoverview added by tsickle * Generated from: public_api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @record */ function TranslateModuleConfig() {} if (false) {} let TranslateModule = /*#__PURE__*/(() => { class TranslateModule { /** * Use this method in your root module to provide the TranslateService * @param {?=} config * @return {?} */ static forRoot(config = {}) { return { ngModule: TranslateModule, providers: [config.loader || { provide: TranslateLoader, useClass: TranslateFakeLoader }, config.compiler || { provide: TranslateCompiler, useClass: TranslateFakeCompiler }, config.parser || { provide: TranslateParser, useClass: TranslateDefaultParser }, config.missingTranslationHandler || { provide: MissingTranslationHandler, useClass: FakeMissingTranslationHandler }, TranslateStore, { provide: USE_STORE, useValue: config.isolate }, { provide: USE_DEFAULT_LANG, useValue: config.useDefaultLang }, { provide: USE_EXTEND, useValue: config.extend }, { provide: DEFAULT_LANGUAGE, useValue: config.defaultLanguage }, TranslateService] }; } /** * Use this method in your other (non root) modules to import the directive/pipe * @param {?=} config * @return {?} */ static forChild(config = {}) { return { ngModule: TranslateModule, providers: [config.loader || { provide: TranslateLoader, useClass: TranslateFakeLoader }, config.compiler || { provide: TranslateCompiler, useClass: TranslateFakeCompiler }, config.parser || { provide: TranslateParser, useClass: TranslateDefaultParser }, config.missingTranslationHandler || { provide: MissingTranslationHandler, useClass: FakeMissingTranslationHandler }, { provide: USE_STORE, useValue: config.isolate }, { provide: USE_DEFAULT_LANG, useValue: config.useDefaultLang }, { provide: USE_EXTEND, useValue: config.extend }, { provide: DEFAULT_LANGUAGE, useValue: config.defaultLanguage }, TranslateService] }; } } TranslateModule.ɵfac = function TranslateModule_Factory(t) { return new (t || TranslateModule)(); }; TranslateModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: TranslateModule }); TranslateModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({}); return TranslateModule; })(); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && void 0; })(); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](TranslateModule, { declarations: [TranslatePipe, TranslateDirective], exports: [TranslatePipe, TranslateDirective] }); })(); /** * @fileoverview added by tsickle * Generated from: ngx-translate-core.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ //# sourceMappingURL=ngx-translate-core.js.map /***/ }), /***/ 45357: /*!*********************************************************!*\ !*** ./node_modules/@popperjs/core/lib/createPopper.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "createPopper": () => (/* binding */ createPopper), /* harmony export */ "detectOverflow": () => (/* reexport safe */ _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_8__["default"]), /* harmony export */ "popperGenerator": () => (/* binding */ popperGenerator) /* harmony export */ }); /* harmony import */ var _dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./dom-utils/getCompositeRect.js */ 89774); /* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dom-utils/getLayoutRect.js */ 44436); /* harmony import */ var _dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom-utils/listScrollParents.js */ 67716); /* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dom-utils/getOffsetParent.js */ 30541); /* harmony import */ var _utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/orderModifiers.js */ 75397); /* harmony import */ var _utils_debounce_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/debounce.js */ 42402); /* harmony import */ var _utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/mergeByName.js */ 10552); /* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/detectOverflow.js */ 53063); /* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dom-utils/instanceOf.js */ 97577); var DEFAULT_OPTIONS = { placement: 'bottom', modifiers: [], strategy: 'absolute' }; function areValidElements() { for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } return !args.some(function (element) { return !(element && typeof element.getBoundingClientRect === 'function'); }); } function popperGenerator(generatorOptions) { if (generatorOptions === void 0) { generatorOptions = {}; } var _generatorOptions = generatorOptions, _generatorOptions$def = _generatorOptions.defaultModifiers, defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def, _generatorOptions$def2 = _generatorOptions.defaultOptions, defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2; return function createPopper(reference, popper, options) { if (options === void 0) { options = defaultOptions; } var state = { placement: 'bottom', orderedModifiers: [], options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions), modifiersData: {}, elements: { reference: reference, popper: popper }, attributes: {}, styles: {} }; var effectCleanupFns = []; var isDestroyed = false; var instance = { state: state, setOptions: function setOptions(setOptionsAction) { var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction; cleanupModifierEffects(); state.options = Object.assign({}, defaultOptions, state.options, options); state.scrollParents = { reference: (0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)(reference) ? (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__["default"])(reference) : reference.contextElement ? (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__["default"])(reference.contextElement) : [], popper: (0,_dom_utils_listScrollParents_js__WEBPACK_IMPORTED_MODULE_1__["default"])(popper) }; // Orders the modifiers based on their dependencies and `phase` // properties var orderedModifiers = (0,_utils_orderModifiers_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_utils_mergeByName_js__WEBPACK_IMPORTED_MODULE_3__["default"])([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers state.orderedModifiers = orderedModifiers.filter(function (m) { return m.enabled; }); runModifierEffects(); return instance.update(); }, // Sync update – it will always be executed, even if not necessary. This // is useful for low frequency updates where sync behavior simplifies the // logic. // For high frequency updates (e.g. `resize` and `scroll` events), always // prefer the async Popper#update method forceUpdate: function forceUpdate() { if (isDestroyed) { return; } var _state$elements = state.elements, reference = _state$elements.reference, popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements // anymore if (!areValidElements(reference, popper)) { return; } // Store the reference and popper rects to be read by modifiers state.rects = { reference: (0,_dom_utils_getCompositeRect_js__WEBPACK_IMPORTED_MODULE_4__["default"])(reference, (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_5__["default"])(popper), state.options.strategy === 'fixed'), popper: (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_6__["default"])(popper) }; // Modifiers have the ability to reset the current update cycle. The // most common use case for this is the `flip` modifier changing the // placement, which then needs to re-run all the modifiers, because the // logic was previously ran for the previous placement and is therefore // stale/incorrect state.reset = false; state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier // is filled with the initial data specified by the modifier. This means // it doesn't persist and is fresh on each update. // To ensure persistent data, use `${name}#persistent` state.orderedModifiers.forEach(function (modifier) { return state.modifiersData[modifier.name] = Object.assign({}, modifier.data); }); for (var index = 0; index < state.orderedModifiers.length; index++) { if (state.reset === true) { state.reset = false; index = -1; continue; } var _state$orderedModifie = state.orderedModifiers[index], fn = _state$orderedModifie.fn, _state$orderedModifie2 = _state$orderedModifie.options, _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, name = _state$orderedModifie.name; if (typeof fn === 'function') { state = fn({ state: state, options: _options, name: name, instance: instance }) || state; } } }, // Async and optimistically optimized update – it will not be executed if // not necessary (debounced to run at most once-per-tick) update: (0,_utils_debounce_js__WEBPACK_IMPORTED_MODULE_7__["default"])(function () { return new Promise(function (resolve) { instance.forceUpdate(); resolve(state); }); }), destroy: function destroy() { cleanupModifierEffects(); isDestroyed = true; } }; if (!areValidElements(reference, popper)) { return instance; } instance.setOptions(options).then(function (state) { if (!isDestroyed && options.onFirstUpdate) { options.onFirstUpdate(state); } }); // Modifiers have the ability to execute arbitrary code before the first // update cycle runs. They will be executed in the same order as the update // cycle. This is useful when a modifier adds some persistent data that // other modifiers need to use, but the modifier is run after the dependent // one. function runModifierEffects() { state.orderedModifiers.forEach(function (_ref) { var name = _ref.name, _ref$options = _ref.options, options = _ref$options === void 0 ? {} : _ref$options, effect = _ref.effect; if (typeof effect === 'function') { var cleanupFn = effect({ state: state, name: name, instance: instance, options: options }); var noopFn = function noopFn() {}; effectCleanupFns.push(cleanupFn || noopFn); } }); } function cleanupModifierEffects() { effectCleanupFns.forEach(function (fn) { return fn(); }); effectCleanupFns = []; } return instance; }; } var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules /***/ }), /***/ 47852: /*!***************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/contains.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ contains) /* harmony export */ }); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ 97577); function contains(parent, child) { var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method if (parent.contains(child)) { return true; } // then fallback to custom implementation with Shadow DOM support else if (rootNode && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isShadowRoot)(rootNode)) { var next = child; do { if (next && parent.isSameNode(next)) { return true; } // $FlowFixMe[prop-missing]: need a better way to handle this... next = next.parentNode || next.host; } while (next); } // Give up, the result is false return false; } /***/ }), /***/ 309: /*!****************************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js ***! \****************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getBoundingClientRect) /* harmony export */ }); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ 97577); /* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/math.js */ 10373); /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindow.js */ 5211); /* harmony import */ var _isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isLayoutViewport.js */ 54796); function getBoundingClientRect(element, includeScale, isFixedStrategy) { if (includeScale === void 0) { includeScale = false; } if (isFixedStrategy === void 0) { isFixedStrategy = false; } var clientRect = element.getBoundingClientRect(); var scaleX = 1; var scaleY = 1; if (includeScale && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element)) { scaleX = element.offsetWidth > 0 ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_1__.round)(clientRect.width) / element.offsetWidth || 1 : 1; scaleY = element.offsetHeight > 0 ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_1__.round)(clientRect.height) / element.offsetHeight || 1 : 1; } var _ref = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)(element) ? (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element) : window, visualViewport = _ref.visualViewport; var addVisualOffsets = !(0,_isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_3__["default"])() && isFixedStrategy; var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX; var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY; var width = clientRect.width / scaleX; var height = clientRect.height / scaleY; return { width: width, height: height, top: y, right: x + width, bottom: y + height, left: x, x: x, y: y }; } /***/ }), /***/ 68297: /*!**********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getClippingRect) /* harmony export */ }); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ 70910); /* harmony import */ var _getViewportRect_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getViewportRect.js */ 24902); /* harmony import */ var _getDocumentRect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getDocumentRect.js */ 11238); /* harmony import */ var _listScrollParents_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./listScrollParents.js */ 67716); /* harmony import */ var _getOffsetParent_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./getOffsetParent.js */ 30541); /* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getDocumentElement.js */ 28863); /* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./getComputedStyle.js */ 91422); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./instanceOf.js */ 97577); /* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ 309); /* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getParentNode.js */ 33449); /* harmony import */ var _contains_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./contains.js */ 47852); /* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./getNodeName.js */ 13535); /* harmony import */ var _utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/rectToClientRect.js */ 79063); /* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../utils/math.js */ 10373); function getInnerBoundingClientRect(element, strategy) { var rect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element, false, strategy === 'fixed'); rect.top = rect.top + element.clientTop; rect.left = rect.left + element.clientLeft; rect.bottom = rect.top + element.clientHeight; rect.right = rect.left + element.clientWidth; rect.width = element.clientWidth; rect.height = element.clientHeight; rect.x = rect.left; rect.y = rect.top; return rect; } function getClientRectFromMixedType(element, clippingParent, strategy) { return clippingParent === _enums_js__WEBPACK_IMPORTED_MODULE_1__.viewport ? (0,_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_getViewportRect_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element, strategy)) : (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : (0,_utils_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_getDocumentRect_js__WEBPACK_IMPORTED_MODULE_5__["default"])((0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_6__["default"])(element))); } // A "clipping parent" is an overflowable container with the characteristic of // clipping (or hiding) overflowing elements with a position different from // `initial` function getClippingParents(element) { var clippingParents = (0,_listScrollParents_js__WEBPACK_IMPORTED_MODULE_7__["default"])((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_8__["default"])(element)); var canEscapeClipping = ['absolute', 'fixed'].indexOf((0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_9__["default"])(element).position) >= 0; var clipperElement = canEscapeClipping && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isHTMLElement)(element) ? (0,_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_10__["default"])(element) : element; if (!(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)(clipperElement)) { return []; } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414 return clippingParents.filter(function (clippingParent) { return (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)(clippingParent) && (0,_contains_js__WEBPACK_IMPORTED_MODULE_11__["default"])(clippingParent, clipperElement) && (0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_12__["default"])(clippingParent) !== 'body'; }); } // Gets the maximum area that the element is visible in due to any number of // clipping parents function getClippingRect(element, boundary, rootBoundary, strategy) { var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary); var clippingParents = [].concat(mainClippingParents, [rootBoundary]); var firstClippingParent = clippingParents[0]; var clippingRect = clippingParents.reduce(function (accRect, clippingParent) { var rect = getClientRectFromMixedType(element, clippingParent, strategy); accRect.top = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.max)(rect.top, accRect.top); accRect.right = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.min)(rect.right, accRect.right); accRect.bottom = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.min)(rect.bottom, accRect.bottom); accRect.left = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_13__.max)(rect.left, accRect.left); return accRect; }, getClientRectFromMixedType(element, firstClippingParent, strategy)); clippingRect.width = clippingRect.right - clippingRect.left; clippingRect.height = clippingRect.bottom - clippingRect.top; clippingRect.x = clippingRect.left; clippingRect.y = clippingRect.top; return clippingRect; } /***/ }), /***/ 89774: /*!***********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getCompositeRect) /* harmony export */ }); /* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getBoundingClientRect.js */ 309); /* harmony import */ var _getNodeScroll_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getNodeScroll.js */ 19179); /* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getNodeName.js */ 13535); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instanceOf.js */ 97577); /* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ 97319); /* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getDocumentElement.js */ 28863); /* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isScrollParent.js */ 31804); /* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/math.js */ 10373); function isElementScaled(element) { var rect = element.getBoundingClientRect(); var scaleX = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_0__.round)(rect.width) / element.offsetWidth || 1; var scaleY = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_0__.round)(rect.height) / element.offsetHeight || 1; return scaleX !== 1 || scaleY !== 1; } // Returns the composite rect of an element relative to its offsetParent. // Composite means it takes into account transforms as well as layout. function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) { if (isFixed === void 0) { isFixed = false; } var isOffsetParentAnElement = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(offsetParent); var offsetParentIsScaled = (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(offsetParent) && isElementScaled(offsetParent); var documentElement = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(offsetParent); var rect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_3__["default"])(elementOrVirtualElement, offsetParentIsScaled, isFixed); var scroll = { scrollLeft: 0, scrollTop: 0 }; var offsets = { x: 0, y: 0 }; if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) { if ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_4__["default"])(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078 (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_5__["default"])(documentElement)) { scroll = (0,_getNodeScroll_js__WEBPACK_IMPORTED_MODULE_6__["default"])(offsetParent); } if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(offsetParent)) { offsets = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_3__["default"])(offsetParent, true); offsets.x += offsetParent.clientLeft; offsets.y += offsetParent.clientTop; } else if (documentElement) { offsets.x = (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_7__["default"])(documentElement); } } return { x: rect.left + scroll.scrollLeft - offsets.x, y: rect.top + scroll.scrollTop - offsets.y, width: rect.width, height: rect.height }; } /***/ }), /***/ 91422: /*!***********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getComputedStyle) /* harmony export */ }); /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ 5211); function getComputedStyle(element) { return (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element).getComputedStyle(element); } /***/ }), /***/ 28863: /*!*************************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js ***! \*************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getDocumentElement) /* harmony export */ }); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ 97577); function getDocumentElement(element) { // $FlowFixMe[incompatible-return]: assume body is always available return (((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isElement)(element) ? element.ownerDocument : // $FlowFixMe[prop-missing] element.document) || window.document).documentElement; } /***/ }), /***/ 11238: /*!**********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getDocumentRect) /* harmony export */ }); /* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getDocumentElement.js */ 28863); /* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getComputedStyle.js */ 91422); /* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ 97319); /* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getWindowScroll.js */ 96919); /* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/math.js */ 10373); // Gets the entire size of the scrollable document area, even extending outside // of the `` and `` rect bounds if horizontally scrollable function getDocumentRect(element) { var _element$ownerDocumen; var html = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element); var winScroll = (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element); var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body; var width = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_2__.max)(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0); var height = (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_2__.max)(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0); var x = -winScroll.scrollLeft + (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element); var y = -winScroll.scrollTop; if ((0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_4__["default"])(body || html).direction === 'rtl') { x += (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_2__.max)(html.clientWidth, body ? body.clientWidth : 0) - width; } return { width: width, height: height, x: x, y: y }; } /***/ }), /***/ 35074: /*!***************************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js ***! \***************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getHTMLElementScroll) /* harmony export */ }); function getHTMLElementScroll(element) { return { scrollLeft: element.scrollLeft, scrollTop: element.scrollTop }; } /***/ }), /***/ 44436: /*!********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getLayoutRect) /* harmony export */ }); /* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ 309); // Returns the layout rect of an element relative to its offsetParent. Layout // means it doesn't take into account transforms. function getLayoutRect(element) { var clientRect = (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element); // Use the clientRect sizes if it's not been transformed. // Fixes https://github.com/popperjs/popper-core/issues/1223 var width = element.offsetWidth; var height = element.offsetHeight; if (Math.abs(clientRect.width - width) <= 1) { width = clientRect.width; } if (Math.abs(clientRect.height - height) <= 1) { height = clientRect.height; } return { x: element.offsetLeft, y: element.offsetTop, width: width, height: height }; } /***/ }), /***/ 13535: /*!******************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getNodeName) /* harmony export */ }); function getNodeName(element) { return element ? (element.nodeName || '').toLowerCase() : null; } /***/ }), /***/ 19179: /*!********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getNodeScroll) /* harmony export */ }); /* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScroll.js */ 96919); /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ 5211); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instanceOf.js */ 97577); /* harmony import */ var _getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getHTMLElementScroll.js */ 35074); function getNodeScroll(node) { if (node === (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node) || !(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(node)) { return (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__["default"])(node); } else { return (0,_getHTMLElementScroll_js__WEBPACK_IMPORTED_MODULE_3__["default"])(node); } } /***/ }), /***/ 30541: /*!**********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getOffsetParent) /* harmony export */ }); /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getWindow.js */ 5211); /* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getNodeName.js */ 13535); /* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getComputedStyle.js */ 91422); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./instanceOf.js */ 97577); /* harmony import */ var _isTableElement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isTableElement.js */ 55169); /* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getParentNode.js */ 33449); /* harmony import */ var _utils_userAgent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/userAgent.js */ 70549); function getTrueOffsetParent(element) { if (!(0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element) || // https://github.com/popperjs/popper-core/issues/837 (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element).position === 'fixed') { return null; } return element.offsetParent; } // `.offsetParent` reports `null` for fixed elements, while absolute elements // return the containing block function getContainingBlock(element) { var isFirefox = /firefox/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_2__["default"])()); var isIE = /Trident/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_2__["default"])()); if (isIE && (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element)) { // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport var elementCss = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element); if (elementCss.position === 'fixed') { return null; } } var currentNode = (0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element); if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isShadowRoot)(currentNode)) { currentNode = currentNode.host; } while ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(currentNode) && ['html', 'body'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_4__["default"])(currentNode)) < 0) { var css = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(currentNode); // This is non-exhaustive but covers the most common CSS properties that // create a containing block. // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') { return currentNode; } else { currentNode = currentNode.parentNode; } } return null; } // Gets the closest ancestor positioned element. Handles some edge cases, // such as table ancestors and cross browser bugs. function getOffsetParent(element) { var window = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_5__["default"])(element); var offsetParent = getTrueOffsetParent(element); while (offsetParent && (0,_isTableElement_js__WEBPACK_IMPORTED_MODULE_6__["default"])(offsetParent) && (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(offsetParent).position === 'static') { offsetParent = getTrueOffsetParent(offsetParent); } if (offsetParent && ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_4__["default"])(offsetParent) === 'html' || (0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_4__["default"])(offsetParent) === 'body' && (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(offsetParent).position === 'static')) { return window; } return offsetParent || getContainingBlock(element) || window; } /***/ }), /***/ 33449: /*!********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getParentNode) /* harmony export */ }); /* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ 13535); /* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getDocumentElement.js */ 28863); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instanceOf.js */ 97577); function getParentNode(element) { if ((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element) === 'html') { return element; } return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle // $FlowFixMe[incompatible-return] // $FlowFixMe[prop-missing] element.assignedSlot || // step into the shadow DOM of the parent of a slotted node element.parentNode || ( // DOM Element detected (0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isShadowRoot)(element) ? element.host : null) || // ShadowRoot detected // $FlowFixMe[incompatible-call]: HTMLElement is a Node (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element) // fallback ); } /***/ }), /***/ 71743: /*!**********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getScrollParent) /* harmony export */ }); /* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getParentNode.js */ 33449); /* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isScrollParent.js */ 31804); /* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ 13535); /* harmony import */ var _instanceOf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./instanceOf.js */ 97577); function getScrollParent(node) { if (['html', 'body', '#document'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node)) >= 0) { // $FlowFixMe[incompatible-return]: assume body is always available return node.ownerDocument.body; } if ((0,_instanceOf_js__WEBPACK_IMPORTED_MODULE_1__.isHTMLElement)(node) && (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_2__["default"])(node)) { return node; } return getScrollParent((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_3__["default"])(node)); } /***/ }), /***/ 24902: /*!**********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getViewportRect) /* harmony export */ }); /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ 5211); /* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ 28863); /* harmony import */ var _getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getWindowScrollBarX.js */ 97319); /* harmony import */ var _isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isLayoutViewport.js */ 54796); function getViewportRect(element, strategy) { var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element); var html = (0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element); var visualViewport = win.visualViewport; var width = html.clientWidth; var height = html.clientHeight; var x = 0; var y = 0; if (visualViewport) { width = visualViewport.width; height = visualViewport.height; var layoutViewport = (0,_isLayoutViewport_js__WEBPACK_IMPORTED_MODULE_2__["default"])(); if (layoutViewport || !layoutViewport && strategy === 'fixed') { x = visualViewport.offsetLeft; y = visualViewport.offsetTop; } } return { width: width, height: height, x: x + (0,_getWindowScrollBarX_js__WEBPACK_IMPORTED_MODULE_3__["default"])(element), y: y }; } /***/ }), /***/ 5211: /*!****************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getWindow.js ***! \****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getWindow) /* harmony export */ }); function getWindow(node) { if (node == null) { return window; } if (node.toString() !== '[object Window]') { var ownerDocument = node.ownerDocument; return ownerDocument ? ownerDocument.defaultView || window : window; } return node; } /***/ }), /***/ 96919: /*!**********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getWindowScroll) /* harmony export */ }); /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ 5211); function getWindowScroll(node) { var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node); var scrollLeft = win.pageXOffset; var scrollTop = win.pageYOffset; return { scrollLeft: scrollLeft, scrollTop: scrollTop }; } /***/ }), /***/ 97319: /*!**************************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js ***! \**************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getWindowScrollBarX) /* harmony export */ }); /* harmony import */ var _getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBoundingClientRect.js */ 309); /* harmony import */ var _getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getDocumentElement.js */ 28863); /* harmony import */ var _getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getWindowScroll.js */ 96919); function getWindowScrollBarX(element) { // If has a CSS width greater than the viewport, then this will be // incorrect for RTL. // Popper 1 is broken in this case and never had a bug report so let's assume // it's not an issue. I don't think anyone ever specifies width on // anyway. // Browsers where the left scrollbar doesn't cause an issue report `0` for // this (e.g. Edge 2019, IE11, Safari) return (0,_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_0__["default"])((0,_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element)).left + (0,_getWindowScroll_js__WEBPACK_IMPORTED_MODULE_2__["default"])(element).scrollLeft; } /***/ }), /***/ 97577: /*!*****************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "isElement": () => (/* binding */ isElement), /* harmony export */ "isHTMLElement": () => (/* binding */ isHTMLElement), /* harmony export */ "isShadowRoot": () => (/* binding */ isShadowRoot) /* harmony export */ }); /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getWindow.js */ 5211); function isElement(node) { var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).Element; return node instanceof OwnElement || node instanceof Element; } function isHTMLElement(node) { var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).HTMLElement; return node instanceof OwnElement || node instanceof HTMLElement; } function isShadowRoot(node) { // IE 11 has no ShadowRoot if (typeof ShadowRoot === 'undefined') { return false; } var OwnElement = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(node).ShadowRoot; return node instanceof OwnElement || node instanceof ShadowRoot; } /***/ }), /***/ 54796: /*!***********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ isLayoutViewport) /* harmony export */ }); /* harmony import */ var _utils_userAgent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/userAgent.js */ 70549); function isLayoutViewport() { return !/^((?!chrome|android).)*safari/i.test((0,_utils_userAgent_js__WEBPACK_IMPORTED_MODULE_0__["default"])()); } /***/ }), /***/ 31804: /*!*********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ isScrollParent) /* harmony export */ }); /* harmony import */ var _getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getComputedStyle.js */ 91422); function isScrollParent(element) { // Firefox wants us to check `-x` and `-y` variations as well var _getComputedStyle = (0,_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element), overflow = _getComputedStyle.overflow, overflowX = _getComputedStyle.overflowX, overflowY = _getComputedStyle.overflowY; return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX); } /***/ }), /***/ 55169: /*!*********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ isTableElement) /* harmony export */ }); /* harmony import */ var _getNodeName_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeName.js */ 13535); function isTableElement(element) { return ['table', 'td', 'th'].indexOf((0,_getNodeName_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element)) >= 0; } /***/ }), /***/ 67716: /*!************************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ listScrollParents) /* harmony export */ }); /* harmony import */ var _getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getScrollParent.js */ 71743); /* harmony import */ var _getParentNode_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getParentNode.js */ 33449); /* harmony import */ var _getWindow_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getWindow.js */ 5211); /* harmony import */ var _isScrollParent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isScrollParent.js */ 31804); /* given a DOM element, return the list of all scroll parents, up the list of ancesors until we get to the top window object. This list is what we attach scroll listeners to, because if any of these parent elements scroll, we'll need to re-calculate the reference element's position. */ function listScrollParents(element, list) { var _element$ownerDocumen; if (list === void 0) { list = []; } var scrollParent = (0,_getScrollParent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(element); var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body); var win = (0,_getWindow_js__WEBPACK_IMPORTED_MODULE_1__["default"])(scrollParent); var target = isBody ? [win].concat(win.visualViewport || [], (0,_isScrollParent_js__WEBPACK_IMPORTED_MODULE_2__["default"])(scrollParent) ? scrollParent : []) : scrollParent; var updatedList = list.concat(target); return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here updatedList.concat(listScrollParents((0,_getParentNode_js__WEBPACK_IMPORTED_MODULE_3__["default"])(target))); } /***/ }), /***/ 70910: /*!**************************************************!*\ !*** ./node_modules/@popperjs/core/lib/enums.js ***! \**************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "afterMain": () => (/* binding */ afterMain), /* harmony export */ "afterRead": () => (/* binding */ afterRead), /* harmony export */ "afterWrite": () => (/* binding */ afterWrite), /* harmony export */ "auto": () => (/* binding */ auto), /* harmony export */ "basePlacements": () => (/* binding */ basePlacements), /* harmony export */ "beforeMain": () => (/* binding */ beforeMain), /* harmony export */ "beforeRead": () => (/* binding */ beforeRead), /* harmony export */ "beforeWrite": () => (/* binding */ beforeWrite), /* harmony export */ "bottom": () => (/* binding */ bottom), /* harmony export */ "clippingParents": () => (/* binding */ clippingParents), /* harmony export */ "end": () => (/* binding */ end), /* harmony export */ "left": () => (/* binding */ left), /* harmony export */ "main": () => (/* binding */ main), /* harmony export */ "modifierPhases": () => (/* binding */ modifierPhases), /* harmony export */ "placements": () => (/* binding */ placements), /* harmony export */ "popper": () => (/* binding */ popper), /* harmony export */ "read": () => (/* binding */ read), /* harmony export */ "reference": () => (/* binding */ reference), /* harmony export */ "right": () => (/* binding */ right), /* harmony export */ "start": () => (/* binding */ start), /* harmony export */ "top": () => (/* binding */ top), /* harmony export */ "variationPlacements": () => (/* binding */ variationPlacements), /* harmony export */ "viewport": () => (/* binding */ viewport), /* harmony export */ "write": () => (/* binding */ write) /* harmony export */ }); var top = 'top'; var bottom = 'bottom'; var right = 'right'; var left = 'left'; var auto = 'auto'; var basePlacements = [top, bottom, right, left]; var start = 'start'; var end = 'end'; var clippingParents = 'clippingParents'; var viewport = 'viewport'; var popper = 'popper'; var reference = 'reference'; var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) { return acc.concat([placement + "-" + start, placement + "-" + end]); }, []); var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) { return acc.concat([placement, placement + "-" + start, placement + "-" + end]); }, []); // modifiers that need to read the DOM var beforeRead = 'beforeRead'; var read = 'read'; var afterRead = 'afterRead'; // pure-logic modifiers var beforeMain = 'beforeMain'; var main = 'main'; var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state) var beforeWrite = 'beforeWrite'; var write = 'write'; var afterWrite = 'afterWrite'; var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite]; /***/ }), /***/ 29208: /*!******************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/modifiers/applyStyles.js ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dom-utils/getNodeName.js */ 13535); /* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ 97577); // This modifier takes the styles prepared by the `computeStyles` modifier // and applies them to the HTMLElements such as popper and arrow function applyStyles(_ref) { var state = _ref.state; Object.keys(state.elements).forEach(function (name) { var style = state.styles[name] || {}; var attributes = state.attributes[name] || {}; var element = state.elements[name]; // arrow is optional + virtual elements if (!(0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element) || !(0,_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element)) { return; } // Flow doesn't support to extend this property, but it's the most // effective way to apply styles to an HTMLElement // $FlowFixMe[cannot-write] Object.assign(element.style, style); Object.keys(attributes).forEach(function (name) { var value = attributes[name]; if (value === false) { element.removeAttribute(name); } else { element.setAttribute(name, value === true ? '' : value); } }); }); } function effect(_ref2) { var state = _ref2.state; var initialStyles = { popper: { position: state.options.strategy, left: '0', top: '0', margin: '0' }, arrow: { position: 'absolute' }, reference: {} }; Object.assign(state.elements.popper.style, initialStyles.popper); state.styles = initialStyles; if (state.elements.arrow) { Object.assign(state.elements.arrow.style, initialStyles.arrow); } return function () { Object.keys(state.elements).forEach(function (name) { var element = state.elements[name]; var attributes = state.attributes[name] || {}; var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them var style = styleProperties.reduce(function (style, property) { style[property] = ''; return style; }, {}); // arrow is optional + virtual elements if (!(0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_0__.isHTMLElement)(element) || !(0,_dom_utils_getNodeName_js__WEBPACK_IMPORTED_MODULE_1__["default"])(element)) { return; } Object.assign(element.style, style); Object.keys(attributes).forEach(function (attribute) { element.removeAttribute(attribute); }); }); }; } // eslint-disable-next-line import/no-unused-modules /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ name: 'applyStyles', enabled: true, phase: 'write', fn: applyStyles, effect: effect, requires: ['computeStyles'] }); /***/ }), /***/ 55443: /*!************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/modifiers/arrow.js ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ 78978); /* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ 44436); /* harmony import */ var _dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../dom-utils/contains.js */ 47852); /* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ 30541); /* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ 3218); /* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/within.js */ 67327); /* harmony import */ var _utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/mergePaddingObject.js */ 83234); /* harmony import */ var _utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/expandToHashMap.js */ 13857); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../enums.js */ 70910); // eslint-disable-next-line import/no-unused-modules var toPaddingObject = function toPaddingObject(padding, state) { padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, { placement: state.placement })) : padding; return (0,_utils_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(typeof padding !== 'number' ? padding : (0,_utils_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_1__["default"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_2__.basePlacements)); }; function arrow(_ref) { var _state$modifiersData$; var state = _ref.state, name = _ref.name, options = _ref.options; var arrowElement = state.elements.arrow; var popperOffsets = state.modifiersData.popperOffsets; var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(state.placement); var axis = (0,_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(basePlacement); var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_2__.left, _enums_js__WEBPACK_IMPORTED_MODULE_2__.right].indexOf(basePlacement) >= 0; var len = isVertical ? 'height' : 'width'; if (!arrowElement || !popperOffsets) { return; } var paddingObject = toPaddingObject(options.padding, state); var arrowRect = (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_5__["default"])(arrowElement); var minProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_2__.top : _enums_js__WEBPACK_IMPORTED_MODULE_2__.left; var maxProp = axis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_2__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_2__.right; var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len]; var startDiff = popperOffsets[axis] - state.rects.reference[axis]; var arrowOffsetParent = (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_6__["default"])(arrowElement); var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0; var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is // outside of the popper bounds var min = paddingObject[minProp]; var max = clientSize - arrowRect[len] - paddingObject[maxProp]; var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference; var offset = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_7__.within)(min, center, max); // Prevents breaking syntax highlighting... var axisProp = axis; state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$); } function effect(_ref2) { var state = _ref2.state, options = _ref2.options; var _options$element = options.element, arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element; if (arrowElement == null) { return; } // CSS selector if (typeof arrowElement === 'string') { arrowElement = state.elements.popper.querySelector(arrowElement); if (!arrowElement) { return; } } if (!(0,_dom_utils_contains_js__WEBPACK_IMPORTED_MODULE_8__["default"])(state.elements.popper, arrowElement)) { return; } state.elements.arrow = arrowElement; } // eslint-disable-next-line import/no-unused-modules /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ name: 'arrow', enabled: true, phase: 'main', fn: arrow, effect: effect, requires: ['popperOffsets'], requiresIfExists: ['preventOverflow'] }); /***/ }), /***/ 77745: /*!********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/modifiers/computeStyles.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ "mapToStyles": () => (/* binding */ mapToStyles) /* harmony export */ }); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ 70910); /* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ 30541); /* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ 5211); /* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ 28863); /* harmony import */ var _dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getComputedStyle.js */ 91422); /* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ 78978); /* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/getVariation.js */ 51786); /* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/math.js */ 10373); // eslint-disable-next-line import/no-unused-modules var unsetSides = { top: 'auto', right: 'auto', bottom: 'auto', left: 'auto' }; // Round the offsets to the nearest suitable subpixel based on the DPR. // Zooming can change the DPR, but it seems to report a value that will // cleanly divide the values into the appropriate subpixels. function roundOffsetsByDPR(_ref, win) { var x = _ref.x, y = _ref.y; var dpr = win.devicePixelRatio || 1; return { x: (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_0__.round)(x * dpr) / dpr || 0, y: (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_0__.round)(y * dpr) / dpr || 0 }; } function mapToStyles(_ref2) { var _Object$assign2; var popper = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed; var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y = _offsets$y === void 0 ? 0 : _offsets$y; var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({ x: x, y: y }) : { x: x, y: y }; x = _ref3.x; y = _ref3.y; var hasX = offsets.hasOwnProperty('x'); var hasY = offsets.hasOwnProperty('y'); var sideX = _enums_js__WEBPACK_IMPORTED_MODULE_1__.left; var sideY = _enums_js__WEBPACK_IMPORTED_MODULE_1__.top; var win = window; if (adaptive) { var offsetParent = (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_2__["default"])(popper); var heightProp = 'clientHeight'; var widthProp = 'clientWidth'; if (offsetParent === (0,_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_3__["default"])(popper)) { offsetParent = (0,_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(popper); if ((0,_dom_utils_getComputedStyle_js__WEBPACK_IMPORTED_MODULE_5__["default"])(offsetParent).position !== 'static' && position === 'absolute') { heightProp = 'scrollHeight'; widthProp = 'scrollWidth'; } } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it offsetParent = offsetParent; if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.top || (placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.left || placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.right) && variation === _enums_js__WEBPACK_IMPORTED_MODULE_1__.end) { sideY = _enums_js__WEBPACK_IMPORTED_MODULE_1__.bottom; var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing] offsetParent[heightProp]; y -= offsetY - popperRect.height; y *= gpuAcceleration ? 1 : -1; } if (placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.left || (placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.top || placement === _enums_js__WEBPACK_IMPORTED_MODULE_1__.bottom) && variation === _enums_js__WEBPACK_IMPORTED_MODULE_1__.end) { sideX = _enums_js__WEBPACK_IMPORTED_MODULE_1__.right; var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing] offsetParent[widthProp]; x -= offsetX - popperRect.width; x *= gpuAcceleration ? 1 : -1; } } var commonStyles = Object.assign({ position: position }, adaptive && unsetSides); var _ref4 = roundOffsets === true ? roundOffsetsByDPR({ x: x, y: y }, (0,_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_3__["default"])(popper)) : { x: x, y: y }; x = _ref4.x; y = _ref4.y; if (gpuAcceleration) { var _Object$assign; return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign)); } return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2)); } function computeStyles(_ref5) { var state = _ref5.state, options = _ref5.options; var _options$gpuAccelerat = options.gpuAcceleration, gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat, _options$adaptive = options.adaptive, adaptive = _options$adaptive === void 0 ? true : _options$adaptive, _options$roundOffsets = options.roundOffsets, roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets; var commonStyles = { placement: (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state.placement), variation: (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_7__["default"])(state.placement), popper: state.elements.popper, popperRect: state.rects.popper, gpuAcceleration: gpuAcceleration, isFixed: state.options.strategy === 'fixed' }; if (state.modifiersData.popperOffsets != null) { state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, { offsets: state.modifiersData.popperOffsets, position: state.options.strategy, adaptive: adaptive, roundOffsets: roundOffsets }))); } if (state.modifiersData.arrow != null) { state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, { offsets: state.modifiersData.arrow, position: 'absolute', adaptive: false, roundOffsets: roundOffsets }))); } state.attributes.popper = Object.assign({}, state.attributes.popper, { 'data-popper-placement': state.placement }); } // eslint-disable-next-line import/no-unused-modules /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ name: 'computeStyles', enabled: true, phase: 'beforeWrite', fn: computeStyles, data: {} }); /***/ }), /***/ 91971: /*!*********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/modifiers/eventListeners.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-utils/getWindow.js */ 5211); // eslint-disable-next-line import/no-unused-modules var passive = { passive: true }; function effect(_ref) { var state = _ref.state, instance = _ref.instance, options = _ref.options; var _options$scroll = options.scroll, scroll = _options$scroll === void 0 ? true : _options$scroll, _options$resize = options.resize, resize = _options$resize === void 0 ? true : _options$resize; var window = (0,_dom_utils_getWindow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(state.elements.popper); var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper); if (scroll) { scrollParents.forEach(function (scrollParent) { scrollParent.addEventListener('scroll', instance.update, passive); }); } if (resize) { window.addEventListener('resize', instance.update, passive); } return function () { if (scroll) { scrollParents.forEach(function (scrollParent) { scrollParent.removeEventListener('scroll', instance.update, passive); }); } if (resize) { window.removeEventListener('resize', instance.update, passive); } }; } // eslint-disable-next-line import/no-unused-modules /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ name: 'eventListeners', enabled: true, phase: 'write', fn: function fn() {}, effect: effect, data: {} }); /***/ }), /***/ 64402: /*!***********************************************************!*\ !*** ./node_modules/@popperjs/core/lib/modifiers/flip.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getOppositePlacement.js */ 41621); /* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ 78978); /* harmony import */ var _utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getOppositeVariationPlacement.js */ 60217); /* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/detectOverflow.js */ 53063); /* harmony import */ var _utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/computeAutoPlacement.js */ 7039); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ 70910); /* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/getVariation.js */ 51786); // eslint-disable-next-line import/no-unused-modules function getExpandedFallbackPlacements(placement) { if ((0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_1__.auto) { return []; } var oppositePlacement = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(placement); return [(0,_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(placement), oppositePlacement, (0,_utils_getOppositeVariationPlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(oppositePlacement)]; } function flip(_ref) { var state = _ref.state, options = _ref.options, name = _ref.name; if (state.modifiersData[name]._skip) { return; } var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis, specifiedFallbackPlacements = options.fallbackPlacements, padding = options.padding, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, _options$flipVariatio = options.flipVariations, flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio, allowedAutoPlacements = options.allowedAutoPlacements; var preferredPlacement = state.options.placement; var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(preferredPlacement); var isBasePlacement = basePlacement === preferredPlacement; var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [(0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement)); var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) { return acc.concat((0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_1__.auto ? (0,_utils_computeAutoPlacement_js__WEBPACK_IMPORTED_MODULE_4__["default"])(state, { placement: placement, boundary: boundary, rootBoundary: rootBoundary, padding: padding, flipVariations: flipVariations, allowedAutoPlacements: allowedAutoPlacements }) : placement); }, []); var referenceRect = state.rects.reference; var popperRect = state.rects.popper; var checksMap = new Map(); var makeFallbackChecks = true; var firstFittingPlacement = placements[0]; for (var i = 0; i < placements.length; i++) { var placement = placements[i]; var _basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement); var isStartVariation = (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_5__["default"])(placement) === _enums_js__WEBPACK_IMPORTED_MODULE_1__.start; var isVertical = [_enums_js__WEBPACK_IMPORTED_MODULE_1__.top, _enums_js__WEBPACK_IMPORTED_MODULE_1__.bottom].indexOf(_basePlacement) >= 0; var len = isVertical ? 'width' : 'height'; var overflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state, { placement: placement, boundary: boundary, rootBoundary: rootBoundary, altBoundary: altBoundary, padding: padding }); var mainVariationSide = isVertical ? isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_1__.right : _enums_js__WEBPACK_IMPORTED_MODULE_1__.left : isStartVariation ? _enums_js__WEBPACK_IMPORTED_MODULE_1__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_1__.top; if (referenceRect[len] > popperRect[len]) { mainVariationSide = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(mainVariationSide); } var altVariationSide = (0,_utils_getOppositePlacement_js__WEBPACK_IMPORTED_MODULE_2__["default"])(mainVariationSide); var checks = []; if (checkMainAxis) { checks.push(overflow[_basePlacement] <= 0); } if (checkAltAxis) { checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0); } if (checks.every(function (check) { return check; })) { firstFittingPlacement = placement; makeFallbackChecks = false; break; } checksMap.set(placement, checks); } if (makeFallbackChecks) { // `2` may be desired in some cases – research later var numberOfChecks = flipVariations ? 3 : 1; var _loop = function _loop(_i) { var fittingPlacement = placements.find(function (placement) { var checks = checksMap.get(placement); if (checks) { return checks.slice(0, _i).every(function (check) { return check; }); } }); if (fittingPlacement) { firstFittingPlacement = fittingPlacement; return "break"; } }; for (var _i = numberOfChecks; _i > 0; _i--) { var _ret = _loop(_i); if (_ret === "break") break; } } if (state.placement !== firstFittingPlacement) { state.modifiersData[name]._skip = true; state.placement = firstFittingPlacement; state.reset = true; } } // eslint-disable-next-line import/no-unused-modules /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ name: 'flip', enabled: true, phase: 'main', fn: flip, requiresIfExists: ['offset'], data: { _skip: false } }); /***/ }), /***/ 53718: /*!*************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/modifiers/offset.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ "distanceAndSkiddingToXY": () => (/* binding */ distanceAndSkiddingToXY) /* harmony export */ }); /* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ 78978); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../enums.js */ 70910); // eslint-disable-next-line import/no-unused-modules function distanceAndSkiddingToXY(placement, rects, offset) { var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement); var invertDistance = [_enums_js__WEBPACK_IMPORTED_MODULE_1__.left, _enums_js__WEBPACK_IMPORTED_MODULE_1__.top].indexOf(basePlacement) >= 0 ? -1 : 1; var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, { placement: placement })) : offset, skidding = _ref[0], distance = _ref[1]; skidding = skidding || 0; distance = (distance || 0) * invertDistance; return [_enums_js__WEBPACK_IMPORTED_MODULE_1__.left, _enums_js__WEBPACK_IMPORTED_MODULE_1__.right].indexOf(basePlacement) >= 0 ? { x: distance, y: skidding } : { x: skidding, y: distance }; } function offset(_ref2) { var state = _ref2.state, options = _ref2.options, name = _ref2.name; var _options$offset = options.offset, offset = _options$offset === void 0 ? [0, 0] : _options$offset; var data = _enums_js__WEBPACK_IMPORTED_MODULE_1__.placements.reduce(function (acc, placement) { acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset); return acc; }, {}); var _data$state$placement = data[state.placement], x = _data$state$placement.x, y = _data$state$placement.y; if (state.modifiersData.popperOffsets != null) { state.modifiersData.popperOffsets.x += x; state.modifiersData.popperOffsets.y += y; } state.modifiersData[name] = data; } // eslint-disable-next-line import/no-unused-modules /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ name: 'offset', enabled: true, phase: 'main', requires: ['popperOffsets'], fn: offset }); /***/ }), /***/ 29696: /*!********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js ***! \********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/computeOffsets.js */ 62551); function popperOffsets(_ref) { var state = _ref.state, name = _ref.name; // Offsets are the actual position the popper needs to have to be // properly positioned near its reference element // This is the most basic placement, and will be adjusted by // the modifiers in the next step state.modifiersData[name] = (0,_utils_computeOffsets_js__WEBPACK_IMPORTED_MODULE_0__["default"])({ reference: state.rects.reference, element: state.rects.popper, strategy: 'absolute', placement: state.placement }); } // eslint-disable-next-line import/no-unused-modules /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ name: 'popperOffsets', enabled: true, phase: 'read', fn: popperOffsets, data: {} }); /***/ }), /***/ 76934: /*!**********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js ***! \**********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../enums.js */ 70910); /* harmony import */ var _utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/getBasePlacement.js */ 78978); /* harmony import */ var _utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/getMainAxisFromPlacement.js */ 3218); /* harmony import */ var _utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/getAltAxis.js */ 95310); /* harmony import */ var _utils_within_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/within.js */ 67327); /* harmony import */ var _dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getLayoutRect.js */ 44436); /* harmony import */ var _dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../dom-utils/getOffsetParent.js */ 30541); /* harmony import */ var _utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/detectOverflow.js */ 53063); /* harmony import */ var _utils_getVariation_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/getVariation.js */ 51786); /* harmony import */ var _utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/getFreshSideObject.js */ 70613); /* harmony import */ var _utils_math_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/math.js */ 10373); function preventOverflow(_ref) { var state = _ref.state, options = _ref.options, name = _ref.name; var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, padding = options.padding, _options$tether = options.tether, tether = _options$tether === void 0 ? true : _options$tether, _options$tetherOffset = options.tetherOffset, tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset; var overflow = (0,_utils_detectOverflow_js__WEBPACK_IMPORTED_MODULE_0__["default"])(state, { boundary: boundary, rootBoundary: rootBoundary, padding: padding, altBoundary: altBoundary }); var basePlacement = (0,_utils_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_1__["default"])(state.placement); var variation = (0,_utils_getVariation_js__WEBPACK_IMPORTED_MODULE_2__["default"])(state.placement); var isBasePlacement = !variation; var mainAxis = (0,_utils_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(basePlacement); var altAxis = (0,_utils_getAltAxis_js__WEBPACK_IMPORTED_MODULE_4__["default"])(mainAxis); var popperOffsets = state.modifiersData.popperOffsets; var referenceRect = state.rects.reference; var popperRect = state.rects.popper; var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, { placement: state.placement })) : tetherOffset; var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? { mainAxis: tetherOffsetValue, altAxis: tetherOffsetValue } : Object.assign({ mainAxis: 0, altAxis: 0 }, tetherOffsetValue); var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null; var data = { x: 0, y: 0 }; if (!popperOffsets) { return; } if (checkMainAxis) { var _offsetModifierState$; var mainSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.top : _enums_js__WEBPACK_IMPORTED_MODULE_5__.left; var altSide = mainAxis === 'y' ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_5__.right; var len = mainAxis === 'y' ? 'height' : 'width'; var offset = popperOffsets[mainAxis]; var min = offset + overflow[mainSide]; var max = offset - overflow[altSide]; var additive = tether ? -popperRect[len] / 2 : 0; var minLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_5__.start ? referenceRect[len] : popperRect[len]; var maxLen = variation === _enums_js__WEBPACK_IMPORTED_MODULE_5__.start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go // outside the reference bounds var arrowElement = state.elements.arrow; var arrowRect = tether && arrowElement ? (0,_dom_utils_getLayoutRect_js__WEBPACK_IMPORTED_MODULE_6__["default"])(arrowElement) : { width: 0, height: 0 }; var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : (0,_utils_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_7__["default"])(); var arrowPaddingMin = arrowPaddingObject[mainSide]; var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want // to include its full size in the calculation. If the reference is small // and near the edge of a boundary, the popper can overflow even if the // reference is not overflowing as well (e.g. virtual elements with no // width or height) var arrowLen = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_8__.within)(0, referenceRect[len], arrowRect[len]); var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis; var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis; var arrowOffsetParent = state.elements.arrow && (0,_dom_utils_getOffsetParent_js__WEBPACK_IMPORTED_MODULE_9__["default"])(state.elements.arrow); var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0; var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0; var tetherMin = offset + minOffset - offsetModifierValue - clientOffset; var tetherMax = offset + maxOffset - offsetModifierValue; var preventedOffset = (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_8__.within)(tether ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_10__.min)(min, tetherMin) : min, offset, tether ? (0,_utils_math_js__WEBPACK_IMPORTED_MODULE_10__.max)(max, tetherMax) : max); popperOffsets[mainAxis] = preventedOffset; data[mainAxis] = preventedOffset - offset; } if (checkAltAxis) { var _offsetModifierState$2; var _mainSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.top : _enums_js__WEBPACK_IMPORTED_MODULE_5__.left; var _altSide = mainAxis === 'x' ? _enums_js__WEBPACK_IMPORTED_MODULE_5__.bottom : _enums_js__WEBPACK_IMPORTED_MODULE_5__.right; var _offset = popperOffsets[altAxis]; var _len = altAxis === 'y' ? 'height' : 'width'; var _min = _offset + overflow[_mainSide]; var _max = _offset - overflow[_altSide]; var isOriginSide = [_enums_js__WEBPACK_IMPORTED_MODULE_5__.top, _enums_js__WEBPACK_IMPORTED_MODULE_5__.left].indexOf(basePlacement) !== -1; var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0; var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis; var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max; var _preventedOffset = tether && isOriginSide ? (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_8__.withinMaxClamp)(_tetherMin, _offset, _tetherMax) : (0,_utils_within_js__WEBPACK_IMPORTED_MODULE_8__.within)(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max); popperOffsets[altAxis] = _preventedOffset; data[altAxis] = _preventedOffset - _offset; } state.modifiersData[name] = data; } // eslint-disable-next-line import/no-unused-modules /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ name: 'preventOverflow', enabled: true, phase: 'main', fn: preventOverflow, requiresIfExists: ['offset'] }); /***/ }), /***/ 30745: /*!********************************************************!*\ !*** ./node_modules/@popperjs/core/lib/popper-lite.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "createPopper": () => (/* binding */ createPopper), /* harmony export */ "defaultModifiers": () => (/* binding */ defaultModifiers), /* harmony export */ "detectOverflow": () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_5__["default"]), /* harmony export */ "popperGenerator": () => (/* reexport safe */ _createPopper_js__WEBPACK_IMPORTED_MODULE_4__.popperGenerator) /* harmony export */ }); /* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createPopper.js */ 45357); /* harmony import */ var _createPopper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./createPopper.js */ 53063); /* harmony import */ var _modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./modifiers/eventListeners.js */ 91971); /* harmony import */ var _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modifiers/popperOffsets.js */ 29696); /* harmony import */ var _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./modifiers/computeStyles.js */ 77745); /* harmony import */ var _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./modifiers/applyStyles.js */ 29208); var defaultModifiers = [_modifiers_eventListeners_js__WEBPACK_IMPORTED_MODULE_0__["default"], _modifiers_popperOffsets_js__WEBPACK_IMPORTED_MODULE_1__["default"], _modifiers_computeStyles_js__WEBPACK_IMPORTED_MODULE_2__["default"], _modifiers_applyStyles_js__WEBPACK_IMPORTED_MODULE_3__["default"]]; var createPopper = /*#__PURE__*/(0,_createPopper_js__WEBPACK_IMPORTED_MODULE_4__.popperGenerator)({ defaultModifiers: defaultModifiers }); // eslint-disable-next-line import/no-unused-modules /***/ }), /***/ 7039: /*!***********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ computeAutoPlacement) /* harmony export */ }); /* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getVariation.js */ 51786); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ 70910); /* harmony import */ var _detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./detectOverflow.js */ 53063); /* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getBasePlacement.js */ 78978); function computeAutoPlacement(state, options) { if (options === void 0) { options = {}; } var _options = options, placement = _options.placement, boundary = _options.boundary, rootBoundary = _options.rootBoundary, padding = _options.padding, flipVariations = _options.flipVariations, _options$allowedAutoP = _options.allowedAutoPlacements, allowedAutoPlacements = _options$allowedAutoP === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.placements : _options$allowedAutoP; var variation = (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement); var placements = variation ? flipVariations ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.variationPlacements : _enums_js__WEBPACK_IMPORTED_MODULE_0__.variationPlacements.filter(function (placement) { return (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement) === variation; }) : _enums_js__WEBPACK_IMPORTED_MODULE_0__.basePlacements; var allowedPlacements = placements.filter(function (placement) { return allowedAutoPlacements.indexOf(placement) >= 0; }); if (allowedPlacements.length === 0) { allowedPlacements = placements; } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions... var overflows = allowedPlacements.reduce(function (acc, placement) { acc[placement] = (0,_detectOverflow_js__WEBPACK_IMPORTED_MODULE_2__["default"])(state, { placement: placement, boundary: boundary, rootBoundary: rootBoundary, padding: padding })[(0,_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(placement)]; return acc; }, {}); return Object.keys(overflows).sort(function (a, b) { return overflows[a] - overflows[b]; }); } /***/ }), /***/ 62551: /*!*****************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/computeOffsets.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ computeOffsets) /* harmony export */ }); /* harmony import */ var _getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getBasePlacement.js */ 78978); /* harmony import */ var _getVariation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getVariation.js */ 51786); /* harmony import */ var _getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getMainAxisFromPlacement.js */ 3218); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../enums.js */ 70910); function computeOffsets(_ref) { var reference = _ref.reference, element = _ref.element, placement = _ref.placement; var basePlacement = placement ? (0,_getBasePlacement_js__WEBPACK_IMPORTED_MODULE_0__["default"])(placement) : null; var variation = placement ? (0,_getVariation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(placement) : null; var commonX = reference.x + reference.width / 2 - element.width / 2; var commonY = reference.y + reference.height / 2 - element.height / 2; var offsets; switch (basePlacement) { case _enums_js__WEBPACK_IMPORTED_MODULE_2__.top: offsets = { x: commonX, y: reference.y - element.height }; break; case _enums_js__WEBPACK_IMPORTED_MODULE_2__.bottom: offsets = { x: commonX, y: reference.y + reference.height }; break; case _enums_js__WEBPACK_IMPORTED_MODULE_2__.right: offsets = { x: reference.x + reference.width, y: commonY }; break; case _enums_js__WEBPACK_IMPORTED_MODULE_2__.left: offsets = { x: reference.x - element.width, y: commonY }; break; default: offsets = { x: reference.x, y: reference.y }; } var mainAxis = basePlacement ? (0,_getMainAxisFromPlacement_js__WEBPACK_IMPORTED_MODULE_3__["default"])(basePlacement) : null; if (mainAxis != null) { var len = mainAxis === 'y' ? 'height' : 'width'; switch (variation) { case _enums_js__WEBPACK_IMPORTED_MODULE_2__.start: offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2); break; case _enums_js__WEBPACK_IMPORTED_MODULE_2__.end: offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2); break; default: } } return offsets; } /***/ }), /***/ 42402: /*!***********************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/debounce.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ debounce) /* harmony export */ }); function debounce(fn) { var pending; return function () { if (!pending) { pending = new Promise(function (resolve) { Promise.resolve().then(function () { pending = undefined; resolve(fn()); }); }); } return pending; }; } /***/ }), /***/ 53063: /*!*****************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/detectOverflow.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ detectOverflow) /* harmony export */ }); /* harmony import */ var _dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../dom-utils/getClippingRect.js */ 68297); /* harmony import */ var _dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../dom-utils/getDocumentElement.js */ 28863); /* harmony import */ var _dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../dom-utils/getBoundingClientRect.js */ 309); /* harmony import */ var _computeOffsets_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./computeOffsets.js */ 62551); /* harmony import */ var _rectToClientRect_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./rectToClientRect.js */ 79063); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ 70910); /* harmony import */ var _dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../dom-utils/instanceOf.js */ 97577); /* harmony import */ var _mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mergePaddingObject.js */ 83234); /* harmony import */ var _expandToHashMap_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./expandToHashMap.js */ 13857); // eslint-disable-next-line import/no-unused-modules function detectOverflow(state, options) { if (options === void 0) { options = {}; } var _options = options, _options$placement = _options.placement, placement = _options$placement === void 0 ? state.placement : _options$placement, _options$strategy = _options.strategy, strategy = _options$strategy === void 0 ? state.strategy : _options$strategy, _options$boundary = _options.boundary, boundary = _options$boundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.clippingParents : _options$boundary, _options$rootBoundary = _options.rootBoundary, rootBoundary = _options$rootBoundary === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.viewport : _options$rootBoundary, _options$elementConte = _options.elementContext, elementContext = _options$elementConte === void 0 ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper : _options$elementConte, _options$altBoundary = _options.altBoundary, altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, _options$padding = _options.padding, padding = _options$padding === void 0 ? 0 : _options$padding; var paddingObject = (0,_mergePaddingObject_js__WEBPACK_IMPORTED_MODULE_1__["default"])(typeof padding !== 'number' ? padding : (0,_expandToHashMap_js__WEBPACK_IMPORTED_MODULE_2__["default"])(padding, _enums_js__WEBPACK_IMPORTED_MODULE_0__.basePlacements)); var altContext = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper ? _enums_js__WEBPACK_IMPORTED_MODULE_0__.reference : _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper; var popperRect = state.rects.popper; var element = state.elements[altBoundary ? altContext : elementContext]; var clippingClientRect = (0,_dom_utils_getClippingRect_js__WEBPACK_IMPORTED_MODULE_3__["default"])((0,_dom_utils_instanceOf_js__WEBPACK_IMPORTED_MODULE_4__.isElement)(element) ? element : element.contextElement || (0,_dom_utils_getDocumentElement_js__WEBPACK_IMPORTED_MODULE_5__["default"])(state.elements.popper), boundary, rootBoundary, strategy); var referenceClientRect = (0,_dom_utils_getBoundingClientRect_js__WEBPACK_IMPORTED_MODULE_6__["default"])(state.elements.reference); var popperOffsets = (0,_computeOffsets_js__WEBPACK_IMPORTED_MODULE_7__["default"])({ reference: referenceClientRect, element: popperRect, strategy: 'absolute', placement: placement }); var popperClientRect = (0,_rectToClientRect_js__WEBPACK_IMPORTED_MODULE_8__["default"])(Object.assign({}, popperRect, popperOffsets)); var elementClientRect = elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect // 0 or negative = within the clipping rect var overflowOffsets = { top: clippingClientRect.top - elementClientRect.top + paddingObject.top, bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom, left: clippingClientRect.left - elementClientRect.left + paddingObject.left, right: elementClientRect.right - clippingClientRect.right + paddingObject.right }; var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element if (elementContext === _enums_js__WEBPACK_IMPORTED_MODULE_0__.popper && offsetData) { var offset = offsetData[placement]; Object.keys(overflowOffsets).forEach(function (key) { var multiply = [_enums_js__WEBPACK_IMPORTED_MODULE_0__.right, _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom].indexOf(key) >= 0 ? 1 : -1; var axis = [_enums_js__WEBPACK_IMPORTED_MODULE_0__.top, _enums_js__WEBPACK_IMPORTED_MODULE_0__.bottom].indexOf(key) >= 0 ? 'y' : 'x'; overflowOffsets[key] += offset[axis] * multiply; }); } return overflowOffsets; } /***/ }), /***/ 13857: /*!******************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/expandToHashMap.js ***! \******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ expandToHashMap) /* harmony export */ }); function expandToHashMap(value, keys) { return keys.reduce(function (hashMap, key) { hashMap[key] = value; return hashMap; }, {}); } /***/ }), /***/ 95310: /*!*************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/getAltAxis.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getAltAxis) /* harmony export */ }); function getAltAxis(axis) { return axis === 'x' ? 'y' : 'x'; } /***/ }), /***/ 78978: /*!*******************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/getBasePlacement.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getBasePlacement) /* harmony export */ }); function getBasePlacement(placement) { return placement.split('-')[0]; } /***/ }), /***/ 70613: /*!*********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getFreshSideObject) /* harmony export */ }); function getFreshSideObject() { return { top: 0, right: 0, bottom: 0, left: 0 }; } /***/ }), /***/ 3218: /*!***************************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js ***! \***************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getMainAxisFromPlacement) /* harmony export */ }); function getMainAxisFromPlacement(placement) { return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; } /***/ }), /***/ 41621: /*!***********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js ***! \***********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getOppositePlacement) /* harmony export */ }); var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; function getOppositePlacement(placement) { return placement.replace(/left|right|bottom|top/g, function (matched) { return hash[matched]; }); } /***/ }), /***/ 60217: /*!********************************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js ***! \********************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getOppositeVariationPlacement) /* harmony export */ }); var hash = { start: 'end', end: 'start' }; function getOppositeVariationPlacement(placement) { return placement.replace(/start|end/g, function (matched) { return hash[matched]; }); } /***/ }), /***/ 51786: /*!***************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/getVariation.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getVariation) /* harmony export */ }); function getVariation(placement) { return placement.split('-')[1]; } /***/ }), /***/ 10373: /*!*******************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/math.js ***! \*******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "max": () => (/* binding */ max), /* harmony export */ "min": () => (/* binding */ min), /* harmony export */ "round": () => (/* binding */ round) /* harmony export */ }); var max = Math.max; var min = Math.min; var round = Math.round; /***/ }), /***/ 10552: /*!**************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/mergeByName.js ***! \**************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ mergeByName) /* harmony export */ }); function mergeByName(modifiers) { var merged = modifiers.reduce(function (merged, current) { var existing = merged[current.name]; merged[current.name] = existing ? Object.assign({}, existing, current, { options: Object.assign({}, existing.options, current.options), data: Object.assign({}, existing.data, current.data) }) : current; return merged; }, {}); // IE11 does not support Object.values return Object.keys(merged).map(function (key) { return merged[key]; }); } /***/ }), /***/ 83234: /*!*********************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js ***! \*********************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ mergePaddingObject) /* harmony export */ }); /* harmony import */ var _getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getFreshSideObject.js */ 70613); function mergePaddingObject(paddingObject) { return Object.assign({}, (0,_getFreshSideObject_js__WEBPACK_IMPORTED_MODULE_0__["default"])(), paddingObject); } /***/ }), /***/ 75397: /*!*****************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/orderModifiers.js ***! \*****************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ orderModifiers) /* harmony export */ }); /* harmony import */ var _enums_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../enums.js */ 70910); // source: https://stackoverflow.com/questions/49875255 function order(modifiers) { var map = new Map(); var visited = new Set(); var result = []; modifiers.forEach(function (modifier) { map.set(modifier.name, modifier); }); // On visiting object, check for its dependencies and visit them recursively function sort(modifier) { visited.add(modifier.name); var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []); requires.forEach(function (dep) { if (!visited.has(dep)) { var depModifier = map.get(dep); if (depModifier) { sort(depModifier); } } }); result.push(modifier); } modifiers.forEach(function (modifier) { if (!visited.has(modifier.name)) { // check for visited object sort(modifier); } }); return result; } function orderModifiers(modifiers) { // order based on dependencies var orderedModifiers = order(modifiers); // order based on phase return _enums_js__WEBPACK_IMPORTED_MODULE_0__.modifierPhases.reduce(function (acc, phase) { return acc.concat(orderedModifiers.filter(function (modifier) { return modifier.phase === phase; })); }, []); } /***/ }), /***/ 79063: /*!*******************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/rectToClientRect.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ rectToClientRect) /* harmony export */ }); function rectToClientRect(rect) { return Object.assign({}, rect, { left: rect.x, top: rect.y, right: rect.x + rect.width, bottom: rect.y + rect.height }); } /***/ }), /***/ 70549: /*!************************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/userAgent.js ***! \************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (/* binding */ getUAString) /* harmony export */ }); function getUAString() { var uaData = navigator.userAgentData; if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) { return uaData.brands.map(function (item) { return item.brand + "/" + item.version; }).join(' '); } return navigator.userAgent; } /***/ }), /***/ 67327: /*!*********************************************************!*\ !*** ./node_modules/@popperjs/core/lib/utils/within.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "within": () => (/* binding */ within), /* harmony export */ "withinMaxClamp": () => (/* binding */ withinMaxClamp) /* harmony export */ }); /* harmony import */ var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./math.js */ 10373); function within(min, value, max) { return (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.max)(min, (0,_math_js__WEBPACK_IMPORTED_MODULE_0__.min)(value, max)); } function withinMaxClamp(min, value, max) { var v = within(min, value, max); return v > max ? max : v; } /***/ }), /***/ 45298: /*!********************************************************!*\ !*** ./node_modules/@xterm/addon-fit/lib/addon-fit.js ***! \********************************************************/ /***/ ((module) => { !function (e, t) { true ? module.exports = t() : 0; }(self, () => (() => { "use strict"; var e = {}; return (() => { var t = e; Object.defineProperty(t, "__esModule", { value: !0 }), t.FitAddon = void 0, t.FitAddon = class { activate(e) { this._terminal = e; } dispose() {} fit() { const e = this.proposeDimensions(); if (!e || !this._terminal || isNaN(e.cols) || isNaN(e.rows)) return; const t = this._terminal._core; this._terminal.rows === e.rows && this._terminal.cols === e.cols || (t._renderService.clear(), this._terminal.resize(e.cols, e.rows)); } proposeDimensions() { if (!this._terminal) return; if (!this._terminal.element || !this._terminal.element.parentElement) return; const e = this._terminal._core, t = e._renderService.dimensions; if (0 === t.css.cell.width || 0 === t.css.cell.height) return; const r = 0 === this._terminal.options.scrollback ? 0 : e.viewport.scrollBarWidth, i = window.getComputedStyle(this._terminal.element.parentElement), o = parseInt(i.getPropertyValue("height")), s = Math.max(0, parseInt(i.getPropertyValue("width"))), n = window.getComputedStyle(this._terminal.element), l = o - (parseInt(n.getPropertyValue("padding-top")) + parseInt(n.getPropertyValue("padding-bottom"))), a = s - (parseInt(n.getPropertyValue("padding-right")) + parseInt(n.getPropertyValue("padding-left"))) - r; return { cols: Math.max(2, Math.floor(a / t.css.cell.width)), rows: Math.max(1, Math.floor(l / t.css.cell.height)) }; } }; })(), e; })()); //# sourceMappingURL=addon-fit.js.map /***/ }), /***/ 63094: /*!*******************************************************!*\ !*** ./node_modules/bs-stepper/dist/js/bs-stepper.js ***! \*******************************************************/ /***/ (function(module) { /*! * bsStepper v1.7.0 (https://github.com/Johann-S/bs-stepper) * Copyright 2018 - 2019 Johann-S * Licensed under MIT (https://github.com/Johann-S/bs-stepper/blob/master/LICENSE) */ (function (global, factory) { true ? module.exports = factory() : 0; })(this, function () { 'use strict'; function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } var matches = window.Element.prototype.matches; var closest = function closest(element, selector) { return element.closest(selector); }; var WinEvent = function WinEvent(inType, params) { return new window.Event(inType, params); }; var createCustomEvent = function createCustomEvent(eventName, params) { var cEvent = new window.CustomEvent(eventName, params); return cEvent; }; /* istanbul ignore next */ function polyfill() { if (!window.Element.prototype.matches) { matches = window.Element.prototype.msMatchesSelector || window.Element.prototype.webkitMatchesSelector; } if (!window.Element.prototype.closest) { closest = function closest(element, selector) { if (!document.documentElement.contains(element)) { return null; } do { if (matches.call(element, selector)) { return element; } element = element.parentElement || element.parentNode; } while (element !== null && element.nodeType === 1); return null; }; } if (!window.Event || typeof window.Event !== 'function') { WinEvent = function WinEvent(inType, params) { params = params || {}; var e = document.createEvent('Event'); e.initEvent(inType, Boolean(params.bubbles), Boolean(params.cancelable)); return e; }; } if (typeof window.CustomEvent !== 'function') { var originPreventDefault = window.Event.prototype.preventDefault; createCustomEvent = function createCustomEvent(eventName, params) { var evt = document.createEvent('CustomEvent'); params = params || { bubbles: false, cancelable: false, detail: null }; evt.initCustomEvent(eventName, params.bubbles, params.cancelable, params.detail); evt.preventDefault = function () { if (!this.cancelable) { return; } originPreventDefault.call(this); Object.defineProperty(this, 'defaultPrevented', { get: function get() { return true; } }); }; return evt; }; } } polyfill(); var MILLISECONDS_MULTIPLIER = 1000; var ClassName = { ACTIVE: 'active', LINEAR: 'linear', BLOCK: 'dstepper-block', NONE: 'dstepper-none', FADE: 'fade', VERTICAL: 'vertical' }; var transitionEndEvent = 'transitionend'; var customProperty = 'bsStepper'; var show = function show(stepperNode, indexStep, options, done) { var stepper = stepperNode[customProperty]; if (stepper._steps[indexStep].classList.contains(ClassName.ACTIVE) || stepper._stepsContents[indexStep].classList.contains(ClassName.ACTIVE)) { return; } var showEvent = createCustomEvent('show.bs-stepper', { cancelable: true, detail: { from: stepper._currentIndex, to: indexStep, indexStep: indexStep } }); stepperNode.dispatchEvent(showEvent); var activeStep = stepper._steps.filter(function (step) { return step.classList.contains(ClassName.ACTIVE); }); var activeContent = stepper._stepsContents.filter(function (content) { return content.classList.contains(ClassName.ACTIVE); }); if (showEvent.defaultPrevented) { return; } if (activeStep.length) { activeStep[0].classList.remove(ClassName.ACTIVE); } if (activeContent.length) { activeContent[0].classList.remove(ClassName.ACTIVE); if (!stepperNode.classList.contains(ClassName.VERTICAL) && !stepper.options.animation) { activeContent[0].classList.remove(ClassName.BLOCK); } } showStep(stepperNode, stepper._steps[indexStep], stepper._steps, options); showContent(stepperNode, stepper._stepsContents[indexStep], stepper._stepsContents, activeContent, done); }; var showStep = function showStep(stepperNode, step, stepList, options) { stepList.forEach(function (step) { var trigger = step.querySelector(options.selectors.trigger); trigger.setAttribute('aria-selected', 'false'); // if stepper is in linear mode, set disabled attribute on the trigger if (stepperNode.classList.contains(ClassName.LINEAR)) { trigger.setAttribute('disabled', 'disabled'); } }); step.classList.add(ClassName.ACTIVE); var currentTrigger = step.querySelector(options.selectors.trigger); currentTrigger.setAttribute('aria-selected', 'true'); // if stepper is in linear mode, remove disabled attribute on current if (stepperNode.classList.contains(ClassName.LINEAR)) { currentTrigger.removeAttribute('disabled'); } }; var showContent = function showContent(stepperNode, content, contentList, activeContent, done) { var stepper = stepperNode[customProperty]; var toIndex = contentList.indexOf(content); var shownEvent = createCustomEvent('shown.bs-stepper', { cancelable: true, detail: { from: stepper._currentIndex, to: toIndex, indexStep: toIndex } }); function complete() { content.classList.add(ClassName.BLOCK); content.removeEventListener(transitionEndEvent, complete); stepperNode.dispatchEvent(shownEvent); done(); } if (content.classList.contains(ClassName.FADE)) { content.classList.remove(ClassName.NONE); var duration = getTransitionDurationFromElement(content); content.addEventListener(transitionEndEvent, complete); if (activeContent.length) { activeContent[0].classList.add(ClassName.NONE); } content.classList.add(ClassName.ACTIVE); emulateTransitionEnd(content, duration); } else { content.classList.add(ClassName.ACTIVE); content.classList.add(ClassName.BLOCK); stepperNode.dispatchEvent(shownEvent); done(); } }; var getTransitionDurationFromElement = function getTransitionDurationFromElement(element) { if (!element) { return 0; } // Get transition-duration of the element var transitionDuration = window.getComputedStyle(element).transitionDuration; var floatTransitionDuration = parseFloat(transitionDuration); // Return 0 if element or transition duration is not found if (!floatTransitionDuration) { return 0; } // If multiple durations are defined, take the first transitionDuration = transitionDuration.split(',')[0]; return parseFloat(transitionDuration) * MILLISECONDS_MULTIPLIER; }; var emulateTransitionEnd = function emulateTransitionEnd(element, duration) { var called = false; var durationPadding = 5; var emulatedDuration = duration + durationPadding; function listener() { called = true; element.removeEventListener(transitionEndEvent, listener); } element.addEventListener(transitionEndEvent, listener); window.setTimeout(function () { if (!called) { element.dispatchEvent(WinEvent(transitionEndEvent)); } element.removeEventListener(transitionEndEvent, listener); }, emulatedDuration); }; var detectAnimation = function detectAnimation(contentList, options) { if (options.animation) { contentList.forEach(function (content) { content.classList.add(ClassName.FADE); content.classList.add(ClassName.NONE); }); } }; var buildClickStepLinearListener = function buildClickStepLinearListener() { return function clickStepLinearListener(event) { event.preventDefault(); }; }; var buildClickStepNonLinearListener = function buildClickStepNonLinearListener(options) { return function clickStepNonLinearListener(event) { event.preventDefault(); var step = closest(event.target, options.selectors.steps); var stepperNode = closest(step, options.selectors.stepper); var stepper = stepperNode[customProperty]; var stepIndex = stepper._steps.indexOf(step); show(stepperNode, stepIndex, options, function () { stepper._currentIndex = stepIndex; }); }; }; var DEFAULT_OPTIONS = { linear: true, animation: false, selectors: { steps: '.step', trigger: '.step-trigger', stepper: '.bs-stepper' } }; var Stepper = /*#__PURE__*/function () { function Stepper(element, _options) { var _this = this; if (_options === void 0) { _options = {}; } this._element = element; this._currentIndex = 0; this._stepsContents = []; this.options = _extends({}, DEFAULT_OPTIONS, {}, _options); this.options.selectors = _extends({}, DEFAULT_OPTIONS.selectors, {}, this.options.selectors); if (this.options.linear) { this._element.classList.add(ClassName.LINEAR); } this._steps = [].slice.call(this._element.querySelectorAll(this.options.selectors.steps)); this._steps.filter(function (step) { return step.hasAttribute('data-target'); }).forEach(function (step) { _this._stepsContents.push(_this._element.querySelector(step.getAttribute('data-target'))); }); detectAnimation(this._stepsContents, this.options); this._setLinkListeners(); Object.defineProperty(this._element, customProperty, { value: this, writable: true }); if (this._steps.length) { show(this._element, this._currentIndex, this.options, function () {}); } } // Private var _proto = Stepper.prototype; _proto._setLinkListeners = function _setLinkListeners() { var _this2 = this; this._steps.forEach(function (step) { var trigger = step.querySelector(_this2.options.selectors.trigger); if (_this2.options.linear) { _this2._clickStepLinearListener = buildClickStepLinearListener(_this2.options); trigger.addEventListener('click', _this2._clickStepLinearListener); } else { _this2._clickStepNonLinearListener = buildClickStepNonLinearListener(_this2.options); trigger.addEventListener('click', _this2._clickStepNonLinearListener); } }); } // Public ; _proto.next = function next() { var _this3 = this; var nextStep = this._currentIndex + 1 <= this._steps.length - 1 ? this._currentIndex + 1 : this._steps.length - 1; show(this._element, nextStep, this.options, function () { _this3._currentIndex = nextStep; }); }; _proto.previous = function previous() { var _this4 = this; var previousStep = this._currentIndex - 1 >= 0 ? this._currentIndex - 1 : 0; show(this._element, previousStep, this.options, function () { _this4._currentIndex = previousStep; }); }; _proto.to = function to(stepNumber) { var _this5 = this; var tempIndex = stepNumber - 1; var nextStep = tempIndex >= 0 && tempIndex < this._steps.length ? tempIndex : 0; show(this._element, nextStep, this.options, function () { _this5._currentIndex = nextStep; }); }; _proto.reset = function reset() { var _this6 = this; show(this._element, 0, this.options, function () { _this6._currentIndex = 0; }); }; _proto.destroy = function destroy() { var _this7 = this; this._steps.forEach(function (step) { var trigger = step.querySelector(_this7.options.selectors.trigger); if (_this7.options.linear) { trigger.removeEventListener('click', _this7._clickStepLinearListener); } else { trigger.removeEventListener('click', _this7._clickStepNonLinearListener); } }); this._element[customProperty] = undefined; this._element = undefined; this._currentIndex = undefined; this._steps = undefined; this._stepsContents = undefined; this._clickStepLinearListener = undefined; this._clickStepNonLinearListener = undefined; }; return Stepper; }(); return Stepper; }); //# sourceMappingURL=bs-stepper.js.map /***/ }), /***/ 28375: /*!*************************************************************!*\ !*** ./node_modules/codemirror/addon/edit/closebrackets.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { var defaults = { pairs: "()[]{}''\"\"", closeBefore: ")]}'\":;>", triples: "", explode: "[]{}" }; var Pos = CodeMirror.Pos; CodeMirror.defineOption("autoCloseBrackets", false, function (cm, val, old) { if (old && old != CodeMirror.Init) { cm.removeKeyMap(keyMap); cm.state.closeBrackets = null; } if (val) { ensureBound(getOption(val, "pairs")); cm.state.closeBrackets = val; cm.addKeyMap(keyMap); } }); function getOption(conf, name) { if (name == "pairs" && typeof conf == "string") return conf; if (typeof conf == "object" && conf[name] != null) return conf[name]; return defaults[name]; } var keyMap = { Backspace: handleBackspace, Enter: handleEnter }; function ensureBound(chars) { for (var i = 0; i < chars.length; i++) { var ch = chars.charAt(i), key = "'" + ch + "'"; if (!keyMap[key]) keyMap[key] = handler(ch); } } ensureBound(defaults.pairs + "`"); function handler(ch) { return function (cm) { return handleChar(cm, ch); }; } function getConfig(cm) { var deflt = cm.state.closeBrackets; if (!deflt || deflt.override) return deflt; var mode = cm.getModeAt(cm.getCursor()); return mode.closeBrackets || deflt; } function handleBackspace(cm) { var conf = getConfig(cm); if (!conf || cm.getOption("disableInput")) return CodeMirror.Pass; var pairs = getOption(conf, "pairs"); var ranges = cm.listSelections(); for (var i = 0; i < ranges.length; i++) { if (!ranges[i].empty()) return CodeMirror.Pass; var around = charsAround(cm, ranges[i].head); if (!around || pairs.indexOf(around) % 2 != 0) return CodeMirror.Pass; } for (var i = ranges.length - 1; i >= 0; i--) { var cur = ranges[i].head; cm.replaceRange("", Pos(cur.line, cur.ch - 1), Pos(cur.line, cur.ch + 1), "+delete"); } } function handleEnter(cm) { var conf = getConfig(cm); var explode = conf && getOption(conf, "explode"); if (!explode || cm.getOption("disableInput")) return CodeMirror.Pass; var ranges = cm.listSelections(); for (var i = 0; i < ranges.length; i++) { if (!ranges[i].empty()) return CodeMirror.Pass; var around = charsAround(cm, ranges[i].head); if (!around || explode.indexOf(around) % 2 != 0) return CodeMirror.Pass; } cm.operation(function () { var linesep = cm.lineSeparator() || "\n"; cm.replaceSelection(linesep + linesep, null); moveSel(cm, -1); ranges = cm.listSelections(); for (var i = 0; i < ranges.length; i++) { var line = ranges[i].head.line; cm.indentLine(line, null, true); cm.indentLine(line + 1, null, true); } }); } function moveSel(cm, dir) { var newRanges = [], ranges = cm.listSelections(), primary = 0; for (var i = 0; i < ranges.length; i++) { var range = ranges[i]; if (range.head == cm.getCursor()) primary = i; var pos = range.head.ch || dir > 0 ? { line: range.head.line, ch: range.head.ch + dir } : { line: range.head.line - 1 }; newRanges.push({ anchor: pos, head: pos }); } cm.setSelections(newRanges, primary); } function contractSelection(sel) { var inverted = CodeMirror.cmpPos(sel.anchor, sel.head) > 0; return { anchor: new Pos(sel.anchor.line, sel.anchor.ch + (inverted ? -1 : 1)), head: new Pos(sel.head.line, sel.head.ch + (inverted ? 1 : -1)) }; } function handleChar(cm, ch) { var conf = getConfig(cm); if (!conf || cm.getOption("disableInput")) return CodeMirror.Pass; var pairs = getOption(conf, "pairs"); var pos = pairs.indexOf(ch); if (pos == -1) return CodeMirror.Pass; var closeBefore = getOption(conf, "closeBefore"); var triples = getOption(conf, "triples"); var identical = pairs.charAt(pos + 1) == ch; var ranges = cm.listSelections(); var opening = pos % 2 == 0; var type; for (var i = 0; i < ranges.length; i++) { var range = ranges[i], cur = range.head, curType; var next = cm.getRange(cur, Pos(cur.line, cur.ch + 1)); if (opening && !range.empty()) { curType = "surround"; } else if ((identical || !opening) && next == ch) { if (identical && stringStartsAfter(cm, cur)) curType = "both";else if (triples.indexOf(ch) >= 0 && cm.getRange(cur, Pos(cur.line, cur.ch + 3)) == ch + ch + ch) curType = "skipThree";else curType = "skip"; } else if (identical && cur.ch > 1 && triples.indexOf(ch) >= 0 && cm.getRange(Pos(cur.line, cur.ch - 2), cur) == ch + ch) { if (cur.ch > 2 && /\bstring/.test(cm.getTokenTypeAt(Pos(cur.line, cur.ch - 2)))) return CodeMirror.Pass; curType = "addFour"; } else if (identical) { var prev = cur.ch == 0 ? " " : cm.getRange(Pos(cur.line, cur.ch - 1), cur); if (!CodeMirror.isWordChar(next) && prev != ch && !CodeMirror.isWordChar(prev)) curType = "both";else return CodeMirror.Pass; } else if (opening && (next.length === 0 || /\s/.test(next) || closeBefore.indexOf(next) > -1)) { curType = "both"; } else { return CodeMirror.Pass; } if (!type) type = curType;else if (type != curType) return CodeMirror.Pass; } var left = pos % 2 ? pairs.charAt(pos - 1) : ch; var right = pos % 2 ? ch : pairs.charAt(pos + 1); cm.operation(function () { if (type == "skip") { moveSel(cm, 1); } else if (type == "skipThree") { moveSel(cm, 3); } else if (type == "surround") { var sels = cm.getSelections(); for (var i = 0; i < sels.length; i++) sels[i] = left + sels[i] + right; cm.replaceSelections(sels, "around"); sels = cm.listSelections().slice(); for (var i = 0; i < sels.length; i++) sels[i] = contractSelection(sels[i]); cm.setSelections(sels); } else if (type == "both") { cm.replaceSelection(left + right, null); cm.triggerElectric(left + right); moveSel(cm, -1); } else if (type == "addFour") { cm.replaceSelection(left + left + left + left, "before"); moveSel(cm, 1); } }); } function charsAround(cm, pos) { var str = cm.getRange(Pos(pos.line, pos.ch - 1), Pos(pos.line, pos.ch + 1)); return str.length == 2 ? str : null; } function stringStartsAfter(cm, pos) { var token = cm.getTokenAt(Pos(pos.line, pos.ch + 1)); return /\bstring/.test(token.type) && token.start == pos.ch && (pos.ch == 0 || !/\bstring/.test(cm.getTokenTypeAt(pos))); } }); /***/ }), /***/ 29088: /*!*************************************************************!*\ !*** ./node_modules/codemirror/addon/edit/matchbrackets.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { var ie_lt8 = /MSIE \d/.test(navigator.userAgent) && (document.documentMode == null || document.documentMode < 8); var Pos = CodeMirror.Pos; var matching = { "(": ")>", ")": "(<", "[": "]>", "]": "[<", "{": "}>", "}": "{<", "<": ">>", ">": "<<" }; function bracketRegex(config) { return config && config.bracketRegex || /[(){}[\]]/; } function findMatchingBracket(cm, where, config) { var line = cm.getLineHandle(where.line), pos = where.ch - 1; var afterCursor = config && config.afterCursor; if (afterCursor == null) afterCursor = /(^| )cm-fat-cursor($| )/.test(cm.getWrapperElement().className); var re = bracketRegex(config); // A cursor is defined as between two characters, but in vim command mode // (i.e. not insert mode), the cursor is visually represented as a // highlighted box on top of the 2nd character. Otherwise, we allow matches // from before or after the cursor. var match = !afterCursor && pos >= 0 && re.test(line.text.charAt(pos)) && matching[line.text.charAt(pos)] || re.test(line.text.charAt(pos + 1)) && matching[line.text.charAt(++pos)]; if (!match) return null; var dir = match.charAt(1) == ">" ? 1 : -1; if (config && config.strict && dir > 0 != (pos == where.ch)) return null; var style = cm.getTokenTypeAt(Pos(where.line, pos + 1)); var found = scanForBracket(cm, Pos(where.line, pos + (dir > 0 ? 1 : 0)), dir, style, config); if (found == null) return null; return { from: Pos(where.line, pos), to: found && found.pos, match: found && found.ch == match.charAt(0), forward: dir > 0 }; } // bracketRegex is used to specify which type of bracket to scan // should be a regexp, e.g. /[[\]]/ // // Note: If "where" is on an open bracket, then this bracket is ignored. // // Returns false when no bracket was found, null when it reached // maxScanLines and gave up function scanForBracket(cm, where, dir, style, config) { var maxScanLen = config && config.maxScanLineLength || 10000; var maxScanLines = config && config.maxScanLines || 1000; var stack = []; var re = bracketRegex(config); var lineEnd = dir > 0 ? Math.min(where.line + maxScanLines, cm.lastLine() + 1) : Math.max(cm.firstLine() - 1, where.line - maxScanLines); for (var lineNo = where.line; lineNo != lineEnd; lineNo += dir) { var line = cm.getLine(lineNo); if (!line) continue; var pos = dir > 0 ? 0 : line.length - 1, end = dir > 0 ? line.length : -1; if (line.length > maxScanLen) continue; if (lineNo == where.line) pos = where.ch - (dir < 0 ? 1 : 0); for (; pos != end; pos += dir) { var ch = line.charAt(pos); if (re.test(ch) && (style === undefined || (cm.getTokenTypeAt(Pos(lineNo, pos + 1)) || "") == (style || ""))) { var match = matching[ch]; if (match && match.charAt(1) == ">" == dir > 0) stack.push(ch);else if (!stack.length) return { pos: Pos(lineNo, pos), ch: ch };else stack.pop(); } } } return lineNo - dir == (dir > 0 ? cm.lastLine() : cm.firstLine()) ? false : null; } function matchBrackets(cm, autoclear, config) { // Disable brace matching in long lines, since it'll cause hugely slow updates var maxHighlightLen = cm.state.matchBrackets.maxHighlightLineLength || 1000, highlightNonMatching = config && config.highlightNonMatching; var marks = [], ranges = cm.listSelections(); for (var i = 0; i < ranges.length; i++) { var match = ranges[i].empty() && findMatchingBracket(cm, ranges[i].head, config); if (match && (match.match || highlightNonMatching !== false) && cm.getLine(match.from.line).length <= maxHighlightLen) { var style = match.match ? "CodeMirror-matchingbracket" : "CodeMirror-nonmatchingbracket"; marks.push(cm.markText(match.from, Pos(match.from.line, match.from.ch + 1), { className: style })); if (match.to && cm.getLine(match.to.line).length <= maxHighlightLen) marks.push(cm.markText(match.to, Pos(match.to.line, match.to.ch + 1), { className: style })); } } if (marks.length) { // Kludge to work around the IE bug from issue #1193, where text // input stops going to the textarea whenever this fires. if (ie_lt8 && cm.state.focused) cm.focus(); var clear = function () { cm.operation(function () { for (var i = 0; i < marks.length; i++) marks[i].clear(); }); }; if (autoclear) setTimeout(clear, 800);else return clear; } } function doMatchBrackets(cm) { cm.operation(function () { if (cm.state.matchBrackets.currentlyHighlighted) { cm.state.matchBrackets.currentlyHighlighted(); cm.state.matchBrackets.currentlyHighlighted = null; } cm.state.matchBrackets.currentlyHighlighted = matchBrackets(cm, false, cm.state.matchBrackets); }); } function clearHighlighted(cm) { if (cm.state.matchBrackets && cm.state.matchBrackets.currentlyHighlighted) { cm.state.matchBrackets.currentlyHighlighted(); cm.state.matchBrackets.currentlyHighlighted = null; } } CodeMirror.defineOption("matchBrackets", false, function (cm, val, old) { if (old && old != CodeMirror.Init) { cm.off("cursorActivity", doMatchBrackets); cm.off("focus", doMatchBrackets); cm.off("blur", clearHighlighted); clearHighlighted(cm); } if (val) { cm.state.matchBrackets = typeof val == "object" ? val : {}; cm.on("cursorActivity", doMatchBrackets); cm.on("focus", doMatchBrackets); cm.on("blur", clearHighlighted); } }); CodeMirror.defineExtension("matchBrackets", function () { matchBrackets(this, true); }); CodeMirror.defineExtension("findMatchingBracket", function (pos, config, oldConfig) { // Backwards-compatibility kludge if (oldConfig || typeof config == "boolean") { if (!oldConfig) { config = config ? { strict: true } : null; } else { oldConfig.strict = config; config = oldConfig; } } return findMatchingBracket(this, pos, config); }); CodeMirror.defineExtension("scanForBracket", function (pos, dir, style, config) { return scanForBracket(this, pos, dir, style, config); }); }); /***/ }), /***/ 4222: /*!**********************************************************!*\ !*** ./node_modules/codemirror/addon/fold/brace-fold.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; function bracketFolding(pairs) { return function (cm, start) { var line = start.line, lineText = cm.getLine(line); function findOpening(pair) { var tokenType; for (var at = start.ch, pass = 0;;) { var found = at <= 0 ? -1 : lineText.lastIndexOf(pair[0], at - 1); if (found == -1) { if (pass == 1) break; pass = 1; at = lineText.length; continue; } if (pass == 1 && found < start.ch) break; tokenType = cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1)); if (!/^(comment|string)/.test(tokenType)) return { ch: found + 1, tokenType: tokenType, pair: pair }; at = found - 1; } } function findRange(found) { var count = 1, lastLine = cm.lastLine(), end, startCh = found.ch, endCh; outer: for (var i = line; i <= lastLine; ++i) { var text = cm.getLine(i), pos = i == line ? startCh : 0; for (;;) { var nextOpen = text.indexOf(found.pair[0], pos), nextClose = text.indexOf(found.pair[1], pos); if (nextOpen < 0) nextOpen = text.length; if (nextClose < 0) nextClose = text.length; pos = Math.min(nextOpen, nextClose); if (pos == text.length) break; if (cm.getTokenTypeAt(CodeMirror.Pos(i, pos + 1)) == found.tokenType) { if (pos == nextOpen) ++count;else if (! --count) { end = i; endCh = pos; break outer; } } ++pos; } } if (end == null || line == end) return null; return { from: CodeMirror.Pos(line, startCh), to: CodeMirror.Pos(end, endCh) }; } var found = []; for (var i = 0; i < pairs.length; i++) { var open = findOpening(pairs[i]); if (open) found.push(open); } found.sort(function (a, b) { return a.ch - b.ch; }); for (var i = 0; i < found.length; i++) { var range = findRange(found[i]); if (range) return range; } return null; }; } CodeMirror.registerHelper("fold", "brace", bracketFolding([["{", "}"], ["[", "]"]])); CodeMirror.registerHelper("fold", "brace-paren", bracketFolding([["{", "}"], ["[", "]"], ["(", ")"]])); CodeMirror.registerHelper("fold", "import", function (cm, start) { function hasImport(line) { if (line < cm.firstLine() || line > cm.lastLine()) return null; var start = cm.getTokenAt(CodeMirror.Pos(line, 1)); if (!/\S/.test(start.string)) start = cm.getTokenAt(CodeMirror.Pos(line, start.end + 1)); if (start.type != "keyword" || start.string != "import") return null; // Now find closing semicolon, return its position for (var i = line, e = Math.min(cm.lastLine(), line + 10); i <= e; ++i) { var text = cm.getLine(i), semi = text.indexOf(";"); if (semi != -1) return { startCh: start.end, end: CodeMirror.Pos(i, semi) }; } } var startLine = start.line, has = hasImport(startLine), prev; if (!has || hasImport(startLine - 1) || (prev = hasImport(startLine - 2)) && prev.end.line == startLine - 1) return null; for (var end = has.end;;) { var next = hasImport(end.line + 1); if (next == null) break; end = next.end; } return { from: cm.clipPos(CodeMirror.Pos(startLine, has.startCh + 1)), to: end }; }); CodeMirror.registerHelper("fold", "include", function (cm, start) { function hasInclude(line) { if (line < cm.firstLine() || line > cm.lastLine()) return null; var start = cm.getTokenAt(CodeMirror.Pos(line, 1)); if (!/\S/.test(start.string)) start = cm.getTokenAt(CodeMirror.Pos(line, start.end + 1)); if (start.type == "meta" && start.string.slice(0, 8) == "#include") return start.start + 8; } var startLine = start.line, has = hasInclude(startLine); if (has == null || hasInclude(startLine - 1) != null) return null; for (var end = startLine;;) { var next = hasInclude(end + 1); if (next == null) break; ++end; } return { from: CodeMirror.Pos(startLine, has + 1), to: cm.clipPos(CodeMirror.Pos(end)) }; }); }); /***/ }), /***/ 66501: /*!********************************************************!*\ !*** ./node_modules/codemirror/addon/fold/foldcode.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; function doFold(cm, pos, options, force) { if (options && options.call) { var finder = options; options = null; } else { var finder = getOption(cm, options, "rangeFinder"); } if (typeof pos == "number") pos = CodeMirror.Pos(pos, 0); var minSize = getOption(cm, options, "minFoldSize"); function getRange(allowFolded) { var range = finder(cm, pos); if (!range || range.to.line - range.from.line < minSize) return null; if (force === "fold") return range; var marks = cm.findMarksAt(range.from); for (var i = 0; i < marks.length; ++i) { if (marks[i].__isFold) { if (!allowFolded) return null; range.cleared = true; marks[i].clear(); } } return range; } var range = getRange(true); if (getOption(cm, options, "scanUp")) while (!range && pos.line > cm.firstLine()) { pos = CodeMirror.Pos(pos.line - 1, 0); range = getRange(false); } if (!range || range.cleared || force === "unfold") return; var myWidget = makeWidget(cm, options, range); CodeMirror.on(myWidget, "mousedown", function (e) { myRange.clear(); CodeMirror.e_preventDefault(e); }); var myRange = cm.markText(range.from, range.to, { replacedWith: myWidget, clearOnEnter: getOption(cm, options, "clearOnEnter"), __isFold: true }); myRange.on("clear", function (from, to) { CodeMirror.signal(cm, "unfold", cm, from, to); }); CodeMirror.signal(cm, "fold", cm, range.from, range.to); } function makeWidget(cm, options, range) { var widget = getOption(cm, options, "widget"); if (typeof widget == "function") { widget = widget(range.from, range.to); } if (typeof widget == "string") { var text = document.createTextNode(widget); widget = document.createElement("span"); widget.appendChild(text); widget.className = "CodeMirror-foldmarker"; } else if (widget) { widget = widget.cloneNode(true); } return widget; } // Clumsy backwards-compatible interface CodeMirror.newFoldFunction = function (rangeFinder, widget) { return function (cm, pos) { doFold(cm, pos, { rangeFinder: rangeFinder, widget: widget }); }; }; // New-style interface CodeMirror.defineExtension("foldCode", function (pos, options, force) { doFold(this, pos, options, force); }); CodeMirror.defineExtension("isFolded", function (pos) { var marks = this.findMarksAt(pos); for (var i = 0; i < marks.length; ++i) if (marks[i].__isFold) return true; }); CodeMirror.commands.toggleFold = function (cm) { cm.foldCode(cm.getCursor()); }; CodeMirror.commands.fold = function (cm) { cm.foldCode(cm.getCursor(), null, "fold"); }; CodeMirror.commands.unfold = function (cm) { cm.foldCode(cm.getCursor(), { scanUp: false }, "unfold"); }; CodeMirror.commands.foldAll = function (cm) { cm.operation(function () { for (var i = cm.firstLine(), e = cm.lastLine(); i <= e; i++) cm.foldCode(CodeMirror.Pos(i, 0), { scanUp: false }, "fold"); }); }; CodeMirror.commands.unfoldAll = function (cm) { cm.operation(function () { for (var i = cm.firstLine(), e = cm.lastLine(); i <= e; i++) cm.foldCode(CodeMirror.Pos(i, 0), { scanUp: false }, "unfold"); }); }; CodeMirror.registerHelper("fold", "combine", function () { var funcs = Array.prototype.slice.call(arguments, 0); return function (cm, start) { for (var i = 0; i < funcs.length; ++i) { var found = funcs[i](cm, start); if (found) return found; } }; }); CodeMirror.registerHelper("fold", "auto", function (cm, start) { var helpers = cm.getHelpers(start, "fold"); for (var i = 0; i < helpers.length; i++) { var cur = helpers[i](cm, start); if (cur) return cur; } }); var defaultOptions = { rangeFinder: CodeMirror.fold.auto, widget: "\u2194", minFoldSize: 0, scanUp: false, clearOnEnter: true }; CodeMirror.defineOption("foldOptions", null); function getOption(cm, options, name) { if (options && options[name] !== undefined) return options[name]; var editorOptions = cm.options.foldOptions; if (editorOptions && editorOptions[name] !== undefined) return editorOptions[name]; return defaultOptions[name]; } CodeMirror.defineExtension("foldOption", function (options, name) { return getOption(this, options, name); }); }); /***/ }), /***/ 93400: /*!**********************************************************!*\ !*** ./node_modules/codemirror/addon/fold/foldgutter.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266), __webpack_require__(/*! ./foldcode */ 66501));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineOption("foldGutter", false, function (cm, val, old) { if (old && old != CodeMirror.Init) { cm.clearGutter(cm.state.foldGutter.options.gutter); cm.state.foldGutter = null; cm.off("gutterClick", onGutterClick); cm.off("changes", onChange); cm.off("viewportChange", onViewportChange); cm.off("fold", onFold); cm.off("unfold", onFold); cm.off("swapDoc", onChange); cm.off("optionChange", optionChange); } if (val) { cm.state.foldGutter = new State(parseOptions(val)); updateInViewport(cm); cm.on("gutterClick", onGutterClick); cm.on("changes", onChange); cm.on("viewportChange", onViewportChange); cm.on("fold", onFold); cm.on("unfold", onFold); cm.on("swapDoc", onChange); cm.on("optionChange", optionChange); } }); var Pos = CodeMirror.Pos; function State(options) { this.options = options; this.from = this.to = 0; } function parseOptions(opts) { if (opts === true) opts = {}; if (opts.gutter == null) opts.gutter = "CodeMirror-foldgutter"; if (opts.indicatorOpen == null) opts.indicatorOpen = "CodeMirror-foldgutter-open"; if (opts.indicatorFolded == null) opts.indicatorFolded = "CodeMirror-foldgutter-folded"; return opts; } function isFolded(cm, line) { var marks = cm.findMarks(Pos(line, 0), Pos(line + 1, 0)); for (var i = 0; i < marks.length; ++i) { if (marks[i].__isFold) { var fromPos = marks[i].find(-1); if (fromPos && fromPos.line === line) return marks[i]; } } } function marker(spec) { if (typeof spec == "string") { var elt = document.createElement("div"); elt.className = spec + " CodeMirror-guttermarker-subtle"; return elt; } else { return spec.cloneNode(true); } } function updateFoldInfo(cm, from, to) { var opts = cm.state.foldGutter.options, cur = from - 1; var minSize = cm.foldOption(opts, "minFoldSize"); var func = cm.foldOption(opts, "rangeFinder"); // we can reuse the built-in indicator element if its className matches the new state var clsFolded = typeof opts.indicatorFolded == "string" && classTest(opts.indicatorFolded); var clsOpen = typeof opts.indicatorOpen == "string" && classTest(opts.indicatorOpen); cm.eachLine(from, to, function (line) { ++cur; var mark = null; var old = line.gutterMarkers; if (old) old = old[opts.gutter]; if (isFolded(cm, cur)) { if (clsFolded && old && clsFolded.test(old.className)) return; mark = marker(opts.indicatorFolded); } else { var pos = Pos(cur, 0); var range = func && func(cm, pos); if (range && range.to.line - range.from.line >= minSize) { if (clsOpen && old && clsOpen.test(old.className)) return; mark = marker(opts.indicatorOpen); } } if (!mark && !old) return; cm.setGutterMarker(line, opts.gutter, mark); }); } // copied from CodeMirror/src/util/dom.js function classTest(cls) { return new RegExp("(^|\\s)" + cls + "(?:$|\\s)\\s*"); } function updateInViewport(cm) { var vp = cm.getViewport(), state = cm.state.foldGutter; if (!state) return; cm.operation(function () { updateFoldInfo(cm, vp.from, vp.to); }); state.from = vp.from; state.to = vp.to; } function onGutterClick(cm, line, gutter) { var state = cm.state.foldGutter; if (!state) return; var opts = state.options; if (gutter != opts.gutter) return; var folded = isFolded(cm, line); if (folded) folded.clear();else cm.foldCode(Pos(line, 0), opts); } function optionChange(cm, option) { if (option == "mode") onChange(cm); } function onChange(cm) { var state = cm.state.foldGutter; if (!state) return; var opts = state.options; state.from = state.to = 0; clearTimeout(state.changeUpdate); state.changeUpdate = setTimeout(function () { updateInViewport(cm); }, opts.foldOnChangeTimeSpan || 600); } function onViewportChange(cm) { var state = cm.state.foldGutter; if (!state) return; var opts = state.options; clearTimeout(state.changeUpdate); state.changeUpdate = setTimeout(function () { var vp = cm.getViewport(); if (state.from == state.to || vp.from - state.to > 20 || state.from - vp.to > 20) { updateInViewport(cm); } else { cm.operation(function () { if (vp.from < state.from) { updateFoldInfo(cm, vp.from, state.from); state.from = vp.from; } if (vp.to > state.to) { updateFoldInfo(cm, state.to, vp.to); state.to = vp.to; } }); } }, opts.updateViewportTimeSpan || 400); } function onFold(cm, from) { var state = cm.state.foldGutter; if (!state) return; var line = from.line; if (line >= state.from && line < state.to) updateFoldInfo(cm, line, line + 1); } }); /***/ }), /***/ 67850: /*!*********************************************************!*\ !*** ./node_modules/codemirror/addon/hint/show-hint.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // declare global: DOMRect (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; var HINT_ELEMENT_CLASS = "CodeMirror-hint"; var ACTIVE_HINT_ELEMENT_CLASS = "CodeMirror-hint-active"; // This is the old interface, kept around for now to stay // backwards-compatible. CodeMirror.showHint = function (cm, getHints, options) { if (!getHints) return cm.showHint(options); if (options && options.async) getHints.async = true; var newOpts = { hint: getHints }; if (options) for (var prop in options) newOpts[prop] = options[prop]; return cm.showHint(newOpts); }; CodeMirror.defineExtension("showHint", function (options) { options = parseOptions(this, this.getCursor("start"), options); var selections = this.listSelections(); if (selections.length > 1) return; // By default, don't allow completion when something is selected. // A hint function can have a `supportsSelection` property to // indicate that it can handle selections. if (this.somethingSelected()) { if (!options.hint.supportsSelection) return; // Don't try with cross-line selections for (var i = 0; i < selections.length; i++) if (selections[i].head.line != selections[i].anchor.line) return; } if (this.state.completionActive) this.state.completionActive.close(); var completion = this.state.completionActive = new Completion(this, options); if (!completion.options.hint) return; CodeMirror.signal(this, "startCompletion", this); completion.update(true); }); CodeMirror.defineExtension("closeHint", function () { if (this.state.completionActive) this.state.completionActive.close(); }); function Completion(cm, options) { this.cm = cm; this.options = options; this.widget = null; this.debounce = 0; this.tick = 0; this.startPos = this.cm.getCursor("start"); this.startLen = this.cm.getLine(this.startPos.line).length - this.cm.getSelection().length; if (this.options.updateOnCursorActivity) { var self = this; cm.on("cursorActivity", this.activityFunc = function () { self.cursorActivity(); }); } } var requestAnimationFrame = window.requestAnimationFrame || function (fn) { return setTimeout(fn, 1000 / 60); }; var cancelAnimationFrame = window.cancelAnimationFrame || clearTimeout; Completion.prototype = { close: function () { if (!this.active()) return; this.cm.state.completionActive = null; this.tick = null; if (this.options.updateOnCursorActivity) { this.cm.off("cursorActivity", this.activityFunc); } if (this.widget && this.data) CodeMirror.signal(this.data, "close"); if (this.widget) this.widget.close(); CodeMirror.signal(this.cm, "endCompletion", this.cm); }, active: function () { return this.cm.state.completionActive == this; }, pick: function (data, i) { var completion = data.list[i], self = this; this.cm.operation(function () { if (completion.hint) completion.hint(self.cm, data, completion);else self.cm.replaceRange(getText(completion), completion.from || data.from, completion.to || data.to, "complete"); CodeMirror.signal(data, "pick", completion); self.cm.scrollIntoView(); }); if (this.options.closeOnPick) { this.close(); } }, cursorActivity: function () { if (this.debounce) { cancelAnimationFrame(this.debounce); this.debounce = 0; } var identStart = this.startPos; if (this.data) { identStart = this.data.from; } var pos = this.cm.getCursor(), line = this.cm.getLine(pos.line); if (pos.line != this.startPos.line || line.length - pos.ch != this.startLen - this.startPos.ch || pos.ch < identStart.ch || this.cm.somethingSelected() || !pos.ch || this.options.closeCharacters.test(line.charAt(pos.ch - 1))) { this.close(); } else { var self = this; this.debounce = requestAnimationFrame(function () { self.update(); }); if (this.widget) this.widget.disable(); } }, update: function (first) { if (this.tick == null) return; var self = this, myTick = ++this.tick; fetchHints(this.options.hint, this.cm, this.options, function (data) { if (self.tick == myTick) self.finishUpdate(data, first); }); }, finishUpdate: function (data, first) { if (this.data) CodeMirror.signal(this.data, "update"); var picked = this.widget && this.widget.picked || first && this.options.completeSingle; if (this.widget) this.widget.close(); this.data = data; if (data && data.list.length) { if (picked && data.list.length == 1) { this.pick(data, 0); } else { this.widget = new Widget(this, data); CodeMirror.signal(data, "shown"); } } } }; function parseOptions(cm, pos, options) { var editor = cm.options.hintOptions; var out = {}; for (var prop in defaultOptions) out[prop] = defaultOptions[prop]; if (editor) for (var prop in editor) if (editor[prop] !== undefined) out[prop] = editor[prop]; if (options) for (var prop in options) if (options[prop] !== undefined) out[prop] = options[prop]; if (out.hint.resolve) out.hint = out.hint.resolve(cm, pos); return out; } function getText(completion) { if (typeof completion == "string") return completion;else return completion.text; } function buildKeyMap(completion, handle) { var baseMap = { Up: function () { handle.moveFocus(-1); }, Down: function () { handle.moveFocus(1); }, PageUp: function () { handle.moveFocus(-handle.menuSize() + 1, true); }, PageDown: function () { handle.moveFocus(handle.menuSize() - 1, true); }, Home: function () { handle.setFocus(0); }, End: function () { handle.setFocus(handle.length - 1); }, Enter: handle.pick, Tab: handle.pick, Esc: handle.close }; var mac = /Mac/.test(navigator.platform); if (mac) { baseMap["Ctrl-P"] = function () { handle.moveFocus(-1); }; baseMap["Ctrl-N"] = function () { handle.moveFocus(1); }; } var custom = completion.options.customKeys; var ourMap = custom ? {} : baseMap; function addBinding(key, val) { var bound; if (typeof val != "string") bound = function (cm) { return val(cm, handle); }; // This mechanism is deprecated else if (baseMap.hasOwnProperty(val)) bound = baseMap[val];else bound = val; ourMap[key] = bound; } if (custom) for (var key in custom) if (custom.hasOwnProperty(key)) addBinding(key, custom[key]); var extra = completion.options.extraKeys; if (extra) for (var key in extra) if (extra.hasOwnProperty(key)) addBinding(key, extra[key]); return ourMap; } function getHintElement(hintsElement, el) { while (el && el != hintsElement) { if (el.nodeName.toUpperCase() === "LI" && el.parentNode == hintsElement) return el; el = el.parentNode; } } function Widget(completion, data) { this.id = "cm-complete-" + Math.floor(Math.random(1e6)); this.completion = completion; this.data = data; this.picked = false; var widget = this, cm = completion.cm; var ownerDocument = cm.getInputField().ownerDocument; var parentWindow = ownerDocument.defaultView || ownerDocument.parentWindow; var hints = this.hints = ownerDocument.createElement("ul"); hints.setAttribute("role", "listbox"); hints.setAttribute("aria-expanded", "true"); hints.id = this.id; var theme = completion.cm.options.theme; hints.className = "CodeMirror-hints " + theme; this.selectedHint = data.selectedHint || 0; var completions = data.list; for (var i = 0; i < completions.length; ++i) { var elt = hints.appendChild(ownerDocument.createElement("li")), cur = completions[i]; var className = HINT_ELEMENT_CLASS + (i != this.selectedHint ? "" : " " + ACTIVE_HINT_ELEMENT_CLASS); if (cur.className != null) className = cur.className + " " + className; elt.className = className; if (i == this.selectedHint) elt.setAttribute("aria-selected", "true"); elt.id = this.id + "-" + i; elt.setAttribute("role", "option"); if (cur.render) cur.render(elt, data, cur);else elt.appendChild(ownerDocument.createTextNode(cur.displayText || getText(cur))); elt.hintId = i; } var container = completion.options.container || ownerDocument.body; var pos = cm.cursorCoords(completion.options.alignWithWord ? data.from : null); var left = pos.left, top = pos.bottom, below = true; var offsetLeft = 0, offsetTop = 0; if (container !== ownerDocument.body) { // We offset the cursor position because left and top are relative to the offsetParent's top left corner. var isContainerPositioned = ['absolute', 'relative', 'fixed'].indexOf(parentWindow.getComputedStyle(container).position) !== -1; var offsetParent = isContainerPositioned ? container : container.offsetParent; var offsetParentPosition = offsetParent.getBoundingClientRect(); var bodyPosition = ownerDocument.body.getBoundingClientRect(); offsetLeft = offsetParentPosition.left - bodyPosition.left - offsetParent.scrollLeft; offsetTop = offsetParentPosition.top - bodyPosition.top - offsetParent.scrollTop; } hints.style.left = left - offsetLeft + "px"; hints.style.top = top - offsetTop + "px"; // If we're at the edge of the screen, then we want the menu to appear on the left of the cursor. var winW = parentWindow.innerWidth || Math.max(ownerDocument.body.offsetWidth, ownerDocument.documentElement.offsetWidth); var winH = parentWindow.innerHeight || Math.max(ownerDocument.body.offsetHeight, ownerDocument.documentElement.offsetHeight); container.appendChild(hints); cm.getInputField().setAttribute("aria-autocomplete", "list"); cm.getInputField().setAttribute("aria-owns", this.id); cm.getInputField().setAttribute("aria-activedescendant", this.id + "-" + this.selectedHint); var box = completion.options.moveOnOverlap ? hints.getBoundingClientRect() : new DOMRect(); var scrolls = completion.options.paddingForScrollbar ? hints.scrollHeight > hints.clientHeight + 1 : false; // Compute in the timeout to avoid reflow on init var startScroll; setTimeout(function () { startScroll = cm.getScrollInfo(); }); var overlapY = box.bottom - winH; if (overlapY > 0) { // Does not fit below var height = box.bottom - box.top, spaceAbove = box.top - (pos.bottom - pos.top) - 2; if (winH - box.top < spaceAbove) { // More room at the top if (height > spaceAbove) hints.style.height = (height = spaceAbove) + "px"; hints.style.top = (top = pos.top - height) + offsetTop + "px"; below = false; } else { hints.style.height = winH - box.top - 2 + "px"; } } var overlapX = box.right - winW; if (scrolls) overlapX += cm.display.nativeBarWidth; if (overlapX > 0) { if (box.right - box.left > winW) { hints.style.width = winW - 5 + "px"; overlapX -= box.right - box.left - winW; } hints.style.left = (left = Math.max(pos.left - overlapX - offsetLeft, 0)) + "px"; } if (scrolls) for (var node = hints.firstChild; node; node = node.nextSibling) node.style.paddingRight = cm.display.nativeBarWidth + "px"; cm.addKeyMap(this.keyMap = buildKeyMap(completion, { moveFocus: function (n, avoidWrap) { widget.changeActive(widget.selectedHint + n, avoidWrap); }, setFocus: function (n) { widget.changeActive(n); }, menuSize: function () { return widget.screenAmount(); }, length: completions.length, close: function () { completion.close(); }, pick: function () { widget.pick(); }, data: data })); if (completion.options.closeOnUnfocus) { var closingOnBlur; cm.on("blur", this.onBlur = function () { closingOnBlur = setTimeout(function () { completion.close(); }, 100); }); cm.on("focus", this.onFocus = function () { clearTimeout(closingOnBlur); }); } cm.on("scroll", this.onScroll = function () { var curScroll = cm.getScrollInfo(), editor = cm.getWrapperElement().getBoundingClientRect(); if (!startScroll) startScroll = cm.getScrollInfo(); var newTop = top + startScroll.top - curScroll.top; var point = newTop - (parentWindow.pageYOffset || (ownerDocument.documentElement || ownerDocument.body).scrollTop); if (!below) point += hints.offsetHeight; if (point <= editor.top || point >= editor.bottom) return completion.close(); hints.style.top = newTop + "px"; hints.style.left = left + startScroll.left - curScroll.left + "px"; }); CodeMirror.on(hints, "dblclick", function (e) { var t = getHintElement(hints, e.target || e.srcElement); if (t && t.hintId != null) { widget.changeActive(t.hintId); widget.pick(); } }); CodeMirror.on(hints, "click", function (e) { var t = getHintElement(hints, e.target || e.srcElement); if (t && t.hintId != null) { widget.changeActive(t.hintId); if (completion.options.completeOnSingleClick) widget.pick(); } }); CodeMirror.on(hints, "mousedown", function () { setTimeout(function () { cm.focus(); }, 20); }); // The first hint doesn't need to be scrolled to on init var selectedHintRange = this.getSelectedHintRange(); if (selectedHintRange.from !== 0 || selectedHintRange.to !== 0) { this.scrollToActive(); } CodeMirror.signal(data, "select", completions[this.selectedHint], hints.childNodes[this.selectedHint]); return true; } Widget.prototype = { close: function () { if (this.completion.widget != this) return; this.completion.widget = null; if (this.hints.parentNode) this.hints.parentNode.removeChild(this.hints); this.completion.cm.removeKeyMap(this.keyMap); var input = this.completion.cm.getInputField(); input.removeAttribute("aria-activedescendant"); input.removeAttribute("aria-owns"); var cm = this.completion.cm; if (this.completion.options.closeOnUnfocus) { cm.off("blur", this.onBlur); cm.off("focus", this.onFocus); } cm.off("scroll", this.onScroll); }, disable: function () { this.completion.cm.removeKeyMap(this.keyMap); var widget = this; this.keyMap = { Enter: function () { widget.picked = true; } }; this.completion.cm.addKeyMap(this.keyMap); }, pick: function () { this.completion.pick(this.data, this.selectedHint); }, changeActive: function (i, avoidWrap) { if (i >= this.data.list.length) i = avoidWrap ? this.data.list.length - 1 : 0;else if (i < 0) i = avoidWrap ? 0 : this.data.list.length - 1; if (this.selectedHint == i) return; var node = this.hints.childNodes[this.selectedHint]; if (node) { node.className = node.className.replace(" " + ACTIVE_HINT_ELEMENT_CLASS, ""); node.removeAttribute("aria-selected"); } node = this.hints.childNodes[this.selectedHint = i]; node.className += " " + ACTIVE_HINT_ELEMENT_CLASS; node.setAttribute("aria-selected", "true"); this.completion.cm.getInputField().setAttribute("aria-activedescendant", node.id); this.scrollToActive(); CodeMirror.signal(this.data, "select", this.data.list[this.selectedHint], node); }, scrollToActive: function () { var selectedHintRange = this.getSelectedHintRange(); var node1 = this.hints.childNodes[selectedHintRange.from]; var node2 = this.hints.childNodes[selectedHintRange.to]; var firstNode = this.hints.firstChild; if (node1.offsetTop < this.hints.scrollTop) this.hints.scrollTop = node1.offsetTop - firstNode.offsetTop;else if (node2.offsetTop + node2.offsetHeight > this.hints.scrollTop + this.hints.clientHeight) this.hints.scrollTop = node2.offsetTop + node2.offsetHeight - this.hints.clientHeight + firstNode.offsetTop; }, screenAmount: function () { return Math.floor(this.hints.clientHeight / this.hints.firstChild.offsetHeight) || 1; }, getSelectedHintRange: function () { var margin = this.completion.options.scrollMargin || 0; return { from: Math.max(0, this.selectedHint - margin), to: Math.min(this.data.list.length - 1, this.selectedHint + margin) }; } }; function applicableHelpers(cm, helpers) { if (!cm.somethingSelected()) return helpers; var result = []; for (var i = 0; i < helpers.length; i++) if (helpers[i].supportsSelection) result.push(helpers[i]); return result; } function fetchHints(hint, cm, options, callback) { if (hint.async) { hint(cm, callback, options); } else { var result = hint(cm, options); if (result && result.then) result.then(callback);else callback(result); } } function resolveAutoHints(cm, pos) { var helpers = cm.getHelpers(pos, "hint"), words; if (helpers.length) { var resolved = function (cm, callback, options) { var app = applicableHelpers(cm, helpers); function run(i) { if (i == app.length) return callback(null); fetchHints(app[i], cm, options, function (result) { if (result && result.list.length > 0) callback(result);else run(i + 1); }); } run(0); }; resolved.async = true; resolved.supportsSelection = true; return resolved; } else if (words = cm.getHelper(cm.getCursor(), "hintWords")) { return function (cm) { return CodeMirror.hint.fromList(cm, { words: words }); }; } else if (CodeMirror.hint.anyword) { return function (cm, options) { return CodeMirror.hint.anyword(cm, options); }; } else { return function () {}; } } CodeMirror.registerHelper("hint", "auto", { resolve: resolveAutoHints }); CodeMirror.registerHelper("hint", "fromList", function (cm, options) { var cur = cm.getCursor(), token = cm.getTokenAt(cur); var term, from = CodeMirror.Pos(cur.line, token.start), to = cur; if (token.start < cur.ch && /\w/.test(token.string.charAt(cur.ch - token.start - 1))) { term = token.string.substr(0, cur.ch - token.start); } else { term = ""; from = cur; } var found = []; for (var i = 0; i < options.words.length; i++) { var word = options.words[i]; if (word.slice(0, term.length) == term) found.push(word); } if (found.length) return { list: found, from: from, to: to }; }); CodeMirror.commands.autocomplete = CodeMirror.showHint; var defaultOptions = { hint: CodeMirror.hint.auto, completeSingle: true, alignWithWord: true, closeCharacters: /[\s()\[\]{};:>,]/, closeOnPick: true, closeOnUnfocus: true, updateOnCursorActivity: true, completeOnSingleClick: true, container: null, customKeys: null, extraKeys: null, paddingForScrollbar: true, moveOnOverlap: true }; CodeMirror.defineOption("hintOptions", null); }); /***/ }), /***/ 12702: /*!********************************************************!*\ !*** ./node_modules/codemirror/addon/hint/sql-hint.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266), __webpack_require__(/*! ../../mode/sql/sql */ 90875));else {} })(function (CodeMirror) { "use strict"; var tables; var defaultTable; var keywords; var identifierQuote; var CONS = { QUERY_DIV: ";", ALIAS_KEYWORD: "AS" }; var Pos = CodeMirror.Pos, cmpPos = CodeMirror.cmpPos; function isArray(val) { return Object.prototype.toString.call(val) == "[object Array]"; } function getModeConf(editor, field) { return editor.getModeAt(editor.getCursor()).config[field] || CodeMirror.resolveMode("text/x-sql")[field]; } function getKeywords(editor) { return getModeConf(editor, "keywords") || []; } function getIdentifierQuote(editor) { return getModeConf(editor, "identifierQuote") || "`"; } function getText(item) { return typeof item == "string" ? item : item.text; } function wrapTable(name, value) { if (isArray(value)) value = { columns: value }; if (!value.text) value.text = name; return value; } function parseTables(input) { var result = {}; if (isArray(input)) { for (var i = input.length - 1; i >= 0; i--) { var item = input[i]; result[getText(item).toUpperCase()] = wrapTable(getText(item), item); } } else if (input) { for (var name in input) result[name.toUpperCase()] = wrapTable(name, input[name]); } return result; } function getTable(name) { return tables[name.toUpperCase()]; } function shallowClone(object) { var result = {}; for (var key in object) if (object.hasOwnProperty(key)) result[key] = object[key]; return result; } function match(string, word) { var len = string.length; var sub = getText(word).substr(0, len); return string.toUpperCase() === sub.toUpperCase(); } function addMatches(result, search, wordlist, formatter) { if (isArray(wordlist)) { for (var i = 0; i < wordlist.length; i++) if (match(search, wordlist[i])) result.push(formatter(wordlist[i])); } else { for (var word in wordlist) if (wordlist.hasOwnProperty(word)) { var val = wordlist[word]; if (!val || val === true) val = word;else val = val.displayText ? { text: val.text, displayText: val.displayText } : val.text; if (match(search, val)) result.push(formatter(val)); } } } function cleanName(name) { // Get rid name from identifierQuote and preceding dot(.) if (name.charAt(0) == ".") { name = name.substr(1); } // replace duplicated identifierQuotes with single identifierQuotes // and remove single identifierQuotes var nameParts = name.split(identifierQuote + identifierQuote); for (var i = 0; i < nameParts.length; i++) nameParts[i] = nameParts[i].replace(new RegExp(identifierQuote, "g"), ""); return nameParts.join(identifierQuote); } function insertIdentifierQuotes(name) { var nameParts = getText(name).split("."); for (var i = 0; i < nameParts.length; i++) nameParts[i] = identifierQuote + // duplicate identifierQuotes nameParts[i].replace(new RegExp(identifierQuote, "g"), identifierQuote + identifierQuote) + identifierQuote; var escaped = nameParts.join("."); if (typeof name == "string") return escaped; name = shallowClone(name); name.text = escaped; return name; } function nameCompletion(cur, token, result, editor) { // Try to complete table, column names and return start position of completion var useIdentifierQuotes = false; var nameParts = []; var start = token.start; var cont = true; while (cont) { cont = token.string.charAt(0) == "."; useIdentifierQuotes = useIdentifierQuotes || token.string.charAt(0) == identifierQuote; start = token.start; nameParts.unshift(cleanName(token.string)); token = editor.getTokenAt(Pos(cur.line, token.start)); if (token.string == ".") { cont = true; token = editor.getTokenAt(Pos(cur.line, token.start)); } } // Try to complete table names var string = nameParts.join("."); addMatches(result, string, tables, function (w) { return useIdentifierQuotes ? insertIdentifierQuotes(w) : w; }); // Try to complete columns from defaultTable addMatches(result, string, defaultTable, function (w) { return useIdentifierQuotes ? insertIdentifierQuotes(w) : w; }); // Try to complete columns string = nameParts.pop(); var table = nameParts.join("."); var alias = false; var aliasTable = table; // Check if table is available. If not, find table by Alias if (!getTable(table)) { var oldTable = table; table = findTableByAlias(table, editor); if (table !== oldTable) alias = true; } var columns = getTable(table); if (columns && columns.columns) columns = columns.columns; if (columns) { addMatches(result, string, columns, function (w) { var tableInsert = table; if (alias == true) tableInsert = aliasTable; if (typeof w == "string") { w = tableInsert + "." + w; } else { w = shallowClone(w); w.text = tableInsert + "." + w.text; } return useIdentifierQuotes ? insertIdentifierQuotes(w) : w; }); } return start; } function eachWord(lineText, f) { var words = lineText.split(/\s+/); for (var i = 0; i < words.length; i++) if (words[i]) f(words[i].replace(/[`,;]/g, '')); } function findTableByAlias(alias, editor) { var doc = editor.doc; var fullQuery = doc.getValue(); var aliasUpperCase = alias.toUpperCase(); var previousWord = ""; var table = ""; var separator = []; var validRange = { start: Pos(0, 0), end: Pos(editor.lastLine(), editor.getLineHandle(editor.lastLine()).length) }; //add separator var indexOfSeparator = fullQuery.indexOf(CONS.QUERY_DIV); while (indexOfSeparator != -1) { separator.push(doc.posFromIndex(indexOfSeparator)); indexOfSeparator = fullQuery.indexOf(CONS.QUERY_DIV, indexOfSeparator + 1); } separator.unshift(Pos(0, 0)); separator.push(Pos(editor.lastLine(), editor.getLineHandle(editor.lastLine()).text.length)); //find valid range var prevItem = null; var current = editor.getCursor(); for (var i = 0; i < separator.length; i++) { if ((prevItem == null || cmpPos(current, prevItem) > 0) && cmpPos(current, separator[i]) <= 0) { validRange = { start: prevItem, end: separator[i] }; break; } prevItem = separator[i]; } if (validRange.start) { var query = doc.getRange(validRange.start, validRange.end, false); for (var i = 0; i < query.length; i++) { var lineText = query[i]; eachWord(lineText, function (word) { var wordUpperCase = word.toUpperCase(); if (wordUpperCase === aliasUpperCase && getTable(previousWord)) table = previousWord; if (wordUpperCase !== CONS.ALIAS_KEYWORD) previousWord = word; }); if (table) break; } } return table; } CodeMirror.registerHelper("hint", "sql", function (editor, options) { tables = parseTables(options && options.tables); var defaultTableName = options && options.defaultTable; var disableKeywords = options && options.disableKeywords; defaultTable = defaultTableName && getTable(defaultTableName); keywords = getKeywords(editor); identifierQuote = getIdentifierQuote(editor); if (defaultTableName && !defaultTable) defaultTable = findTableByAlias(defaultTableName, editor); defaultTable = defaultTable || []; if (defaultTable.columns) defaultTable = defaultTable.columns; var cur = editor.getCursor(); var result = []; var token = editor.getTokenAt(cur), start, end, search; if (token.end > cur.ch) { token.end = cur.ch; token.string = token.string.slice(0, cur.ch - token.start); } if (token.string.match(/^[.`"'\w@][\w$#]*$/g)) { search = token.string; start = token.start; end = token.end; } else { start = end = cur.ch; search = ""; } if (search.charAt(0) == "." || search.charAt(0) == identifierQuote) { start = nameCompletion(cur, token, result, editor); } else { var objectOrClass = function (w, className) { if (typeof w === "object") { w.className = className; } else { w = { text: w, className: className }; } return w; }; addMatches(result, search, defaultTable, function (w) { return objectOrClass(w, "CodeMirror-hint-table CodeMirror-hint-default-table"); }); addMatches(result, search, tables, function (w) { return objectOrClass(w, "CodeMirror-hint-table"); }); if (!disableKeywords) addMatches(result, search, keywords, function (w) { return objectOrClass(w.toUpperCase(), "CodeMirror-hint-keyword"); }); } return { list: result, from: Pos(cur.line, start), to: Pos(cur.line, end) }; }); }); /***/ }), /***/ 5065: /*!****************************************************!*\ !*** ./node_modules/codemirror/addon/lint/lint.js ***! \****************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; var GUTTER_ID = "CodeMirror-lint-markers"; var LINT_LINE_ID = "CodeMirror-lint-line-"; function showTooltip(cm, e, content) { var tt = document.createElement("div"); tt.className = "CodeMirror-lint-tooltip cm-s-" + cm.options.theme; tt.appendChild(content.cloneNode(true)); if (cm.state.lint.options.selfContain) cm.getWrapperElement().appendChild(tt);else document.body.appendChild(tt); function position(e) { if (!tt.parentNode) return CodeMirror.off(document, "mousemove", position); var top = Math.max(0, e.clientY - tt.offsetHeight - 5); var left = Math.max(0, Math.min(e.clientX + 5, tt.ownerDocument.defaultView.innerWidth - tt.offsetWidth)); tt.style.top = top + "px"; tt.style.left = left + "px"; } CodeMirror.on(document, "mousemove", position); position(e); if (tt.style.opacity != null) tt.style.opacity = 1; return tt; } function rm(elt) { if (elt.parentNode) elt.parentNode.removeChild(elt); } function hideTooltip(tt) { if (!tt.parentNode) return; if (tt.style.opacity == null) rm(tt); tt.style.opacity = 0; setTimeout(function () { rm(tt); }, 600); } function showTooltipFor(cm, e, content, node) { var tooltip = showTooltip(cm, e, content); function hide() { CodeMirror.off(node, "mouseout", hide); if (tooltip) { hideTooltip(tooltip); tooltip = null; } } var poll = setInterval(function () { if (tooltip) for (var n = node;; n = n.parentNode) { if (n && n.nodeType == 11) n = n.host; if (n == document.body) return; if (!n) { hide(); break; } } if (!tooltip) return clearInterval(poll); }, 400); CodeMirror.on(node, "mouseout", hide); } function LintState(cm, conf, hasGutter) { this.marked = []; if (conf instanceof Function) conf = { getAnnotations: conf }; if (!conf || conf === true) conf = {}; this.options = {}; this.linterOptions = conf.options || {}; for (var prop in defaults) this.options[prop] = defaults[prop]; for (var prop in conf) { if (defaults.hasOwnProperty(prop)) { if (conf[prop] != null) this.options[prop] = conf[prop]; } else if (!conf.options) { this.linterOptions[prop] = conf[prop]; } } this.timeout = null; this.hasGutter = hasGutter; this.onMouseOver = function (e) { onMouseOver(cm, e); }; this.waitingFor = 0; } var defaults = { highlightLines: false, tooltips: true, delay: 500, lintOnChange: true, getAnnotations: null, async: false, selfContain: null, formatAnnotation: null, onUpdateLinting: null }; function clearMarks(cm) { var state = cm.state.lint; if (state.hasGutter) cm.clearGutter(GUTTER_ID); if (state.options.highlightLines) clearErrorLines(cm); for (var i = 0; i < state.marked.length; ++i) state.marked[i].clear(); state.marked.length = 0; } function clearErrorLines(cm) { cm.eachLine(function (line) { var has = line.wrapClass && /\bCodeMirror-lint-line-\w+\b/.exec(line.wrapClass); if (has) cm.removeLineClass(line, "wrap", has[0]); }); } function makeMarker(cm, labels, severity, multiple, tooltips) { var marker = document.createElement("div"), inner = marker; marker.className = "CodeMirror-lint-marker CodeMirror-lint-marker-" + severity; if (multiple) { inner = marker.appendChild(document.createElement("div")); inner.className = "CodeMirror-lint-marker CodeMirror-lint-marker-multiple"; } if (tooltips != false) CodeMirror.on(inner, "mouseover", function (e) { showTooltipFor(cm, e, labels, inner); }); return marker; } function getMaxSeverity(a, b) { if (a == "error") return a;else return b; } function groupByLine(annotations) { var lines = []; for (var i = 0; i < annotations.length; ++i) { var ann = annotations[i], line = ann.from.line; (lines[line] || (lines[line] = [])).push(ann); } return lines; } function annotationTooltip(ann) { var severity = ann.severity; if (!severity) severity = "error"; var tip = document.createElement("div"); tip.className = "CodeMirror-lint-message CodeMirror-lint-message-" + severity; if (typeof ann.messageHTML != 'undefined') { tip.innerHTML = ann.messageHTML; } else { tip.appendChild(document.createTextNode(ann.message)); } return tip; } function lintAsync(cm, getAnnotations) { var state = cm.state.lint; var id = ++state.waitingFor; function abort() { id = -1; cm.off("change", abort); } cm.on("change", abort); getAnnotations(cm.getValue(), function (annotations, arg2) { cm.off("change", abort); if (state.waitingFor != id) return; if (arg2 && annotations instanceof CodeMirror) annotations = arg2; cm.operation(function () { updateLinting(cm, annotations); }); }, state.linterOptions, cm); } function startLinting(cm) { var state = cm.state.lint; if (!state) return; var options = state.options; /* * Passing rules in `options` property prevents JSHint (and other linters) from complaining * about unrecognized rules like `onUpdateLinting`, `delay`, `lintOnChange`, etc. */ var getAnnotations = options.getAnnotations || cm.getHelper(CodeMirror.Pos(0, 0), "lint"); if (!getAnnotations) return; if (options.async || getAnnotations.async) { lintAsync(cm, getAnnotations); } else { var annotations = getAnnotations(cm.getValue(), state.linterOptions, cm); if (!annotations) return; if (annotations.then) annotations.then(function (issues) { cm.operation(function () { updateLinting(cm, issues); }); });else cm.operation(function () { updateLinting(cm, annotations); }); } } function updateLinting(cm, annotationsNotSorted) { var state = cm.state.lint; if (!state) return; var options = state.options; clearMarks(cm); var annotations = groupByLine(annotationsNotSorted); for (var line = 0; line < annotations.length; ++line) { var anns = annotations[line]; if (!anns) continue; var maxSeverity = null; var tipLabel = state.hasGutter && document.createDocumentFragment(); for (var i = 0; i < anns.length; ++i) { var ann = anns[i]; var severity = ann.severity; if (!severity) severity = "error"; maxSeverity = getMaxSeverity(maxSeverity, severity); if (options.formatAnnotation) ann = options.formatAnnotation(ann); if (state.hasGutter) tipLabel.appendChild(annotationTooltip(ann)); if (ann.to) state.marked.push(cm.markText(ann.from, ann.to, { className: "CodeMirror-lint-mark CodeMirror-lint-mark-" + severity, __annotation: ann })); } if (state.hasGutter) cm.setGutterMarker(line, GUTTER_ID, makeMarker(cm, tipLabel, maxSeverity, anns.length > 1, options.tooltips)); if (options.highlightLines) cm.addLineClass(line, "wrap", LINT_LINE_ID + maxSeverity); } if (options.onUpdateLinting) options.onUpdateLinting(annotationsNotSorted, annotations, cm); } function onChange(cm) { var state = cm.state.lint; if (!state) return; clearTimeout(state.timeout); state.timeout = setTimeout(function () { startLinting(cm); }, state.options.delay); } function popupTooltips(cm, annotations, e) { var target = e.target || e.srcElement; var tooltip = document.createDocumentFragment(); for (var i = 0; i < annotations.length; i++) { var ann = annotations[i]; tooltip.appendChild(annotationTooltip(ann)); } showTooltipFor(cm, e, tooltip, target); } function onMouseOver(cm, e) { var target = e.target || e.srcElement; if (!/\bCodeMirror-lint-mark-/.test(target.className)) return; var box = target.getBoundingClientRect(), x = (box.left + box.right) / 2, y = (box.top + box.bottom) / 2; var spans = cm.findMarksAt(cm.coordsChar({ left: x, top: y }, "client")); var annotations = []; for (var i = 0; i < spans.length; ++i) { var ann = spans[i].__annotation; if (ann) annotations.push(ann); } if (annotations.length) popupTooltips(cm, annotations, e); } CodeMirror.defineOption("lint", false, function (cm, val, old) { if (old && old != CodeMirror.Init) { clearMarks(cm); if (cm.state.lint.options.lintOnChange !== false) cm.off("change", onChange); CodeMirror.off(cm.getWrapperElement(), "mouseover", cm.state.lint.onMouseOver); clearTimeout(cm.state.lint.timeout); delete cm.state.lint; } if (val) { var gutters = cm.getOption("gutters"), hasLintGutter = false; for (var i = 0; i < gutters.length; ++i) if (gutters[i] == GUTTER_ID) hasLintGutter = true; var state = cm.state.lint = new LintState(cm, val, hasLintGutter); if (state.options.lintOnChange) cm.on("change", onChange); if (state.options.tooltips != false && state.options.tooltips != "gutter") CodeMirror.on(cm.getWrapperElement(), "mouseover", state.onMouseOver); startLinting(cm); } }); CodeMirror.defineExtension("performLint", function () { startLinting(this); }); }); /***/ }), /***/ 52966: /*!******************************************************!*\ !*** ./node_modules/codemirror/addon/mode/simple.js ***! \******************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineSimpleMode = function (name, states) { CodeMirror.defineMode(name, function (config) { return CodeMirror.simpleMode(config, states); }); }; CodeMirror.simpleMode = function (config, states) { ensureState(states, "start"); var states_ = {}, meta = states.meta || {}, hasIndentation = false; for (var state in states) if (state != meta && states.hasOwnProperty(state)) { var list = states_[state] = [], orig = states[state]; for (var i = 0; i < orig.length; i++) { var data = orig[i]; list.push(new Rule(data, states)); if (data.indent || data.dedent) hasIndentation = true; } } var mode = { startState: function () { return { state: "start", pending: null, local: null, localState: null, indent: hasIndentation ? [] : null }; }, copyState: function (state) { var s = { state: state.state, pending: state.pending, local: state.local, localState: null, indent: state.indent && state.indent.slice(0) }; if (state.localState) s.localState = CodeMirror.copyState(state.local.mode, state.localState); if (state.stack) s.stack = state.stack.slice(0); for (var pers = state.persistentStates; pers; pers = pers.next) s.persistentStates = { mode: pers.mode, spec: pers.spec, state: pers.state == state.localState ? s.localState : CodeMirror.copyState(pers.mode, pers.state), next: s.persistentStates }; return s; }, token: tokenFunction(states_, config), innerMode: function (state) { return state.local && { mode: state.local.mode, state: state.localState }; }, indent: indentFunction(states_, meta) }; if (meta) for (var prop in meta) if (meta.hasOwnProperty(prop)) mode[prop] = meta[prop]; return mode; }; function ensureState(states, name) { if (!states.hasOwnProperty(name)) throw new Error("Undefined state " + name + " in simple mode"); } function toRegex(val, caret) { if (!val) return /(?:)/; var flags = ""; if (val instanceof RegExp) { if (val.ignoreCase) flags = "i"; if (val.unicode) flags += "u"; val = val.source; } else { val = String(val); } return new RegExp((caret === false ? "" : "^") + "(?:" + val + ")", flags); } function asToken(val) { if (!val) return null; if (val.apply) return val; if (typeof val == "string") return val.replace(/\./g, " "); var result = []; for (var i = 0; i < val.length; i++) result.push(val[i] && val[i].replace(/\./g, " ")); return result; } function Rule(data, states) { if (data.next || data.push) ensureState(states, data.next || data.push); this.regex = toRegex(data.regex); this.token = asToken(data.token); this.data = data; } function tokenFunction(states, config) { return function (stream, state) { if (state.pending) { var pend = state.pending.shift(); if (state.pending.length == 0) state.pending = null; stream.pos += pend.text.length; return pend.token; } if (state.local) { if (state.local.end && stream.match(state.local.end)) { var tok = state.local.endToken || null; state.local = state.localState = null; return tok; } else { var tok = state.local.mode.token(stream, state.localState), m; if (state.local.endScan && (m = state.local.endScan.exec(stream.current()))) stream.pos = stream.start + m.index; return tok; } } var curState = states[state.state]; for (var i = 0; i < curState.length; i++) { var rule = curState[i]; var matches = (!rule.data.sol || stream.sol()) && stream.match(rule.regex); if (matches) { if (rule.data.next) { state.state = rule.data.next; } else if (rule.data.push) { (state.stack || (state.stack = [])).push(state.state); state.state = rule.data.push; } else if (rule.data.pop && state.stack && state.stack.length) { state.state = state.stack.pop(); } if (rule.data.mode) enterLocalMode(config, state, rule.data.mode, rule.token); if (rule.data.indent) state.indent.push(stream.indentation() + config.indentUnit); if (rule.data.dedent) state.indent.pop(); var token = rule.token; if (token && token.apply) token = token(matches); if (matches.length > 2 && rule.token && typeof rule.token != "string") { for (var j = 2; j < matches.length; j++) if (matches[j]) (state.pending || (state.pending = [])).push({ text: matches[j], token: rule.token[j - 1] }); stream.backUp(matches[0].length - (matches[1] ? matches[1].length : 0)); return token[0]; } else if (token && token.join) { return token[0]; } else { return token; } } } stream.next(); return null; }; } function cmp(a, b) { if (a === b) return true; if (!a || typeof a != "object" || !b || typeof b != "object") return false; var props = 0; for (var prop in a) if (a.hasOwnProperty(prop)) { if (!b.hasOwnProperty(prop) || !cmp(a[prop], b[prop])) return false; props++; } for (var prop in b) if (b.hasOwnProperty(prop)) props--; return props == 0; } function enterLocalMode(config, state, spec, token) { var pers; if (spec.persistent) for (var p = state.persistentStates; p && !pers; p = p.next) if (spec.spec ? cmp(spec.spec, p.spec) : spec.mode == p.mode) pers = p; var mode = pers ? pers.mode : spec.mode || CodeMirror.getMode(config, spec.spec); var lState = pers ? pers.state : CodeMirror.startState(mode); if (spec.persistent && !pers) state.persistentStates = { mode: mode, spec: spec.spec, state: lState, next: state.persistentStates }; state.localState = lState; state.local = { mode: mode, end: spec.end && toRegex(spec.end), endScan: spec.end && spec.forceEnd !== false && toRegex(spec.end, false), endToken: token && token.join ? token[token.length - 1] : token }; } function indexOf(val, arr) { for (var i = 0; i < arr.length; i++) if (arr[i] === val) return true; } function indentFunction(states, meta) { return function (state, textAfter, line) { if (state.local && state.local.mode.indent) return state.local.mode.indent(state.localState, textAfter, line); if (state.indent == null || state.local || meta.dontIndentStates && indexOf(state.state, meta.dontIndentStates) > -1) return CodeMirror.Pass; var pos = state.indent.length - 1, rules = states[state.state]; scan: for (;;) { for (var i = 0; i < rules.length; i++) { var rule = rules[i]; if (rule.data.dedent && rule.data.dedentIfLineStart !== false) { var m = rule.regex.exec(textAfter); if (m && m[0]) { pos--; if (rule.next || rule.push) rules = states[rule.next || rule.push]; textAfter = textAfter.slice(m[0].length); continue scan; } } } break; } return pos < 0 ? 0 : state.indent[pos]; }; } }); /***/ }), /***/ 68266: /*!***************************************************!*\ !*** ./node_modules/codemirror/lib/codemirror.js ***! \***************************************************/ /***/ (function(module) { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // This is CodeMirror (https://codemirror.net/5), a code editor // implemented in JavaScript on top of the browser's DOM. // // You can find some technical background for some of the code below // at http://marijnhaverbeke.nl/blog/#cm-internals . (function (global, factory) { true ? module.exports = factory() : 0; })(this, function () { 'use strict'; // Kludges for bugs and behavior differences that can't be feature // detected are enabled based on userAgent etc sniffing. var userAgent = navigator.userAgent; var platform = navigator.platform; var gecko = /gecko\/\d/i.test(userAgent); var ie_upto10 = /MSIE \d/.test(userAgent); var ie_11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(userAgent); var edge = /Edge\/(\d+)/.exec(userAgent); var ie = ie_upto10 || ie_11up || edge; var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : +(edge || ie_11up)[1]); var webkit = !edge && /WebKit\//.test(userAgent); var qtwebkit = webkit && /Qt\/\d+\.\d+/.test(userAgent); var chrome = !edge && /Chrome\/(\d+)/.exec(userAgent); var chrome_version = chrome && +chrome[1]; var presto = /Opera\//.test(userAgent); var safari = /Apple Computer/.test(navigator.vendor); var mac_geMountainLion = /Mac OS X 1\d\D([8-9]|\d\d)\D/.test(userAgent); var phantom = /PhantomJS/.test(userAgent); var ios = safari && (/Mobile\/\w+/.test(userAgent) || navigator.maxTouchPoints > 2); var android = /Android/.test(userAgent); // This is woefully incomplete. Suggestions for alternative methods welcome. var mobile = ios || android || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(userAgent); var mac = ios || /Mac/.test(platform); var chromeOS = /\bCrOS\b/.test(userAgent); var windows = /win/i.test(platform); var presto_version = presto && userAgent.match(/Version\/(\d*\.\d*)/); if (presto_version) { presto_version = Number(presto_version[1]); } if (presto_version && presto_version >= 15) { presto = false; webkit = true; } // Some browsers use the wrong event properties to signal cmd/ctrl on OS X var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11)); var captureRightClick = gecko || ie && ie_version >= 9; function classTest(cls) { return new RegExp("(^|\\s)" + cls + "(?:$|\\s)\\s*"); } var rmClass = function (node, cls) { var current = node.className; var match = classTest(cls).exec(current); if (match) { var after = current.slice(match.index + match[0].length); node.className = current.slice(0, match.index) + (after ? match[1] + after : ""); } }; function removeChildren(e) { for (var count = e.childNodes.length; count > 0; --count) { e.removeChild(e.firstChild); } return e; } function removeChildrenAndAdd(parent, e) { return removeChildren(parent).appendChild(e); } function elt(tag, content, className, style) { var e = document.createElement(tag); if (className) { e.className = className; } if (style) { e.style.cssText = style; } if (typeof content == "string") { e.appendChild(document.createTextNode(content)); } else if (content) { for (var i = 0; i < content.length; ++i) { e.appendChild(content[i]); } } return e; } // wrapper for elt, which removes the elt from the accessibility tree function eltP(tag, content, className, style) { var e = elt(tag, content, className, style); e.setAttribute("role", "presentation"); return e; } var range; if (document.createRange) { range = function (node, start, end, endNode) { var r = document.createRange(); r.setEnd(endNode || node, end); r.setStart(node, start); return r; }; } else { range = function (node, start, end) { var r = document.body.createTextRange(); try { r.moveToElementText(node.parentNode); } catch (e) { return r; } r.collapse(true); r.moveEnd("character", end); r.moveStart("character", start); return r; }; } function contains(parent, child) { if (child.nodeType == 3) // Android browser always returns false when child is a textnode { child = child.parentNode; } if (parent.contains) { return parent.contains(child); } do { if (child.nodeType == 11) { child = child.host; } if (child == parent) { return true; } } while (child = child.parentNode); } function activeElt(rootNode) { // IE and Edge may throw an "Unspecified Error" when accessing document.activeElement. // IE < 10 will throw when accessed while the page is loading or in an iframe. // IE > 9 and Edge will throw when accessed in an iframe if document.body is unavailable. var doc = rootNode.ownerDocument || rootNode; var activeElement; try { activeElement = rootNode.activeElement; } catch (e) { activeElement = doc.body || null; } while (activeElement && activeElement.shadowRoot && activeElement.shadowRoot.activeElement) { activeElement = activeElement.shadowRoot.activeElement; } return activeElement; } function addClass(node, cls) { var current = node.className; if (!classTest(cls).test(current)) { node.className += (current ? " " : "") + cls; } } function joinClasses(a, b) { var as = a.split(" "); for (var i = 0; i < as.length; i++) { if (as[i] && !classTest(as[i]).test(b)) { b += " " + as[i]; } } return b; } var selectInput = function (node) { node.select(); }; if (ios) // Mobile Safari apparently has a bug where select() is broken. { selectInput = function (node) { node.selectionStart = 0; node.selectionEnd = node.value.length; }; } else if (ie) // Suppress mysterious IE10 errors { selectInput = function (node) { try { node.select(); } catch (_e) {} }; } function doc(cm) { return cm.display.wrapper.ownerDocument; } function root(cm) { return rootNode(cm.display.wrapper); } function rootNode(element) { // Detect modern browsers (2017+). return element.getRootNode ? element.getRootNode() : element.ownerDocument; } function win(cm) { return doc(cm).defaultView; } function bind(f) { var args = Array.prototype.slice.call(arguments, 1); return function () { return f.apply(null, args); }; } function copyObj(obj, target, overwrite) { if (!target) { target = {}; } for (var prop in obj) { if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop))) { target[prop] = obj[prop]; } } return target; } // Counts the column offset in a string, taking tabs into account. // Used mostly to find indentation. function countColumn(string, end, tabSize, startIndex, startValue) { if (end == null) { end = string.search(/[^\s\u00a0]/); if (end == -1) { end = string.length; } } for (var i = startIndex || 0, n = startValue || 0;;) { var nextTab = string.indexOf("\t", i); if (nextTab < 0 || nextTab >= end) { return n + (end - i); } n += nextTab - i; n += tabSize - n % tabSize; i = nextTab + 1; } } var Delayed = function () { this.id = null; this.f = null; this.time = 0; this.handler = bind(this.onTimeout, this); }; Delayed.prototype.onTimeout = function (self) { self.id = 0; if (self.time <= +new Date()) { self.f(); } else { setTimeout(self.handler, self.time - +new Date()); } }; Delayed.prototype.set = function (ms, f) { this.f = f; var time = +new Date() + ms; if (!this.id || time < this.time) { clearTimeout(this.id); this.id = setTimeout(this.handler, ms); this.time = time; } }; function indexOf(array, elt) { for (var i = 0; i < array.length; ++i) { if (array[i] == elt) { return i; } } return -1; } // Number of pixels added to scroller and sizer to hide scrollbar var scrollerGap = 50; // Returned or thrown by various protocols to signal 'I'm not // handling this'. var Pass = { toString: function () { return "CodeMirror.Pass"; } }; // Reused option objects for setSelection & friends var sel_dontScroll = { scroll: false }, sel_mouse = { origin: "*mouse" }, sel_move = { origin: "+move" }; // The inverse of countColumn -- find the offset that corresponds to // a particular column. function findColumn(string, goal, tabSize) { for (var pos = 0, col = 0;;) { var nextTab = string.indexOf("\t", pos); if (nextTab == -1) { nextTab = string.length; } var skipped = nextTab - pos; if (nextTab == string.length || col + skipped >= goal) { return pos + Math.min(skipped, goal - col); } col += nextTab - pos; col += tabSize - col % tabSize; pos = nextTab + 1; if (col >= goal) { return pos; } } } var spaceStrs = [""]; function spaceStr(n) { while (spaceStrs.length <= n) { spaceStrs.push(lst(spaceStrs) + " "); } return spaceStrs[n]; } function lst(arr) { return arr[arr.length - 1]; } function map(array, f) { var out = []; for (var i = 0; i < array.length; i++) { out[i] = f(array[i], i); } return out; } function insertSorted(array, value, score) { var pos = 0, priority = score(value); while (pos < array.length && score(array[pos]) <= priority) { pos++; } array.splice(pos, 0, value); } function nothing() {} function createObj(base, props) { var inst; if (Object.create) { inst = Object.create(base); } else { nothing.prototype = base; inst = new nothing(); } if (props) { copyObj(props, inst); } return inst; } var nonASCIISingleCaseWordChar = /[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/; function isWordCharBasic(ch) { return /\w/.test(ch) || ch > "\x80" && (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch)); } function isWordChar(ch, helper) { if (!helper) { return isWordCharBasic(ch); } if (helper.source.indexOf("\\w") > -1 && isWordCharBasic(ch)) { return true; } return helper.test(ch); } function isEmpty(obj) { for (var n in obj) { if (obj.hasOwnProperty(n) && obj[n]) { return false; } } return true; } // Extending unicode characters. A series of a non-extending char + // any number of extending chars is treated as a single unit as far // as editing and measuring is concerned. This is not fully correct, // since some scripts/fonts/browsers also treat other configurations // of code points as a group. var extendingChars = /[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/; function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch); } // Returns a number from the range [`0`; `str.length`] unless `pos` is outside that range. function skipExtendingChars(str, pos, dir) { while ((dir < 0 ? pos > 0 : pos < str.length) && isExtendingChar(str.charAt(pos))) { pos += dir; } return pos; } // Returns the value from the range [`from`; `to`] that satisfies // `pred` and is closest to `from`. Assumes that at least `to` // satisfies `pred`. Supports `from` being greater than `to`. function findFirst(pred, from, to) { // At any point we are certain `to` satisfies `pred`, don't know // whether `from` does. var dir = from > to ? -1 : 1; for (;;) { if (from == to) { return from; } var midF = (from + to) / 2, mid = dir < 0 ? Math.ceil(midF) : Math.floor(midF); if (mid == from) { return pred(mid) ? from : to; } if (pred(mid)) { to = mid; } else { from = mid + dir; } } } // BIDI HELPERS function iterateBidiSections(order, from, to, f) { if (!order) { return f(from, to, "ltr", 0); } var found = false; for (var i = 0; i < order.length; ++i) { var part = order[i]; if (part.from < to && part.to > from || from == to && part.to == from) { f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? "rtl" : "ltr", i); found = true; } } if (!found) { f(from, to, "ltr"); } } var bidiOther = null; function getBidiPartAt(order, ch, sticky) { var found; bidiOther = null; for (var i = 0; i < order.length; ++i) { var cur = order[i]; if (cur.from < ch && cur.to > ch) { return i; } if (cur.to == ch) { if (cur.from != cur.to && sticky == "before") { found = i; } else { bidiOther = i; } } if (cur.from == ch) { if (cur.from != cur.to && sticky != "before") { found = i; } else { bidiOther = i; } } } return found != null ? found : bidiOther; } // Bidirectional ordering algorithm // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm // that this (partially) implements. // One-char codes used for character types: // L (L): Left-to-Right // R (R): Right-to-Left // r (AL): Right-to-Left Arabic // 1 (EN): European Number // + (ES): European Number Separator // % (ET): European Number Terminator // n (AN): Arabic Number // , (CS): Common Number Separator // m (NSM): Non-Spacing Mark // b (BN): Boundary Neutral // s (B): Paragraph Separator // t (S): Segment Separator // w (WS): Whitespace // N (ON): Other Neutrals // Returns null if characters are ordered as they appear // (left-to-right), or an array of sections ({from, to, level} // objects) in the order in which they occur visually. var bidiOrdering = function () { // Character types for codepoints 0 to 0xff var lowTypes = "bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN"; // Character types for codepoints 0x600 to 0x6f9 var arabicTypes = "nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111"; function charType(code) { if (code <= 0xf7) { return lowTypes.charAt(code); } else if (0x590 <= code && code <= 0x5f4) { return "R"; } else if (0x600 <= code && code <= 0x6f9) { return arabicTypes.charAt(code - 0x600); } else if (0x6ee <= code && code <= 0x8ac) { return "r"; } else if (0x2000 <= code && code <= 0x200b) { return "w"; } else if (code == 0x200c) { return "b"; } else { return "L"; } } var bidiRE = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/; var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/; function BidiSpan(level, from, to) { this.level = level; this.from = from; this.to = to; } return function (str, direction) { var outerType = direction == "ltr" ? "L" : "R"; if (str.length == 0 || direction == "ltr" && !bidiRE.test(str)) { return false; } var len = str.length, types = []; for (var i = 0; i < len; ++i) { types.push(charType(str.charCodeAt(i))); } // W1. Examine each non-spacing mark (NSM) in the level run, and // change the type of the NSM to the type of the previous // character. If the NSM is at the start of the level run, it will // get the type of sor. for (var i$1 = 0, prev = outerType; i$1 < len; ++i$1) { var type = types[i$1]; if (type == "m") { types[i$1] = prev; } else { prev = type; } } // W2. Search backwards from each instance of a European number // until the first strong type (R, L, AL, or sor) is found. If an // AL is found, change the type of the European number to Arabic // number. // W3. Change all ALs to R. for (var i$2 = 0, cur = outerType; i$2 < len; ++i$2) { var type$1 = types[i$2]; if (type$1 == "1" && cur == "r") { types[i$2] = "n"; } else if (isStrong.test(type$1)) { cur = type$1; if (type$1 == "r") { types[i$2] = "R"; } } } // W4. A single European separator between two European numbers // changes to a European number. A single common separator between // two numbers of the same type changes to that type. for (var i$3 = 1, prev$1 = types[0]; i$3 < len - 1; ++i$3) { var type$2 = types[i$3]; if (type$2 == "+" && prev$1 == "1" && types[i$3 + 1] == "1") { types[i$3] = "1"; } else if (type$2 == "," && prev$1 == types[i$3 + 1] && (prev$1 == "1" || prev$1 == "n")) { types[i$3] = prev$1; } prev$1 = type$2; } // W5. A sequence of European terminators adjacent to European // numbers changes to all European numbers. // W6. Otherwise, separators and terminators change to Other // Neutral. for (var i$4 = 0; i$4 < len; ++i$4) { var type$3 = types[i$4]; if (type$3 == ",") { types[i$4] = "N"; } else if (type$3 == "%") { var end = void 0; for (end = i$4 + 1; end < len && types[end] == "%"; ++end) {} var replace = i$4 && types[i$4 - 1] == "!" || end < len && types[end] == "1" ? "1" : "N"; for (var j = i$4; j < end; ++j) { types[j] = replace; } i$4 = end - 1; } } // W7. Search backwards from each instance of a European number // until the first strong type (R, L, or sor) is found. If an L is // found, then change the type of the European number to L. for (var i$5 = 0, cur$1 = outerType; i$5 < len; ++i$5) { var type$4 = types[i$5]; if (cur$1 == "L" && type$4 == "1") { types[i$5] = "L"; } else if (isStrong.test(type$4)) { cur$1 = type$4; } } // N1. A sequence of neutrals takes the direction of the // surrounding strong text if the text on both sides has the same // direction. European and Arabic numbers act as if they were R in // terms of their influence on neutrals. Start-of-level-run (sor) // and end-of-level-run (eor) are used at level run boundaries. // N2. Any remaining neutrals take the embedding direction. for (var i$6 = 0; i$6 < len; ++i$6) { if (isNeutral.test(types[i$6])) { var end$1 = void 0; for (end$1 = i$6 + 1; end$1 < len && isNeutral.test(types[end$1]); ++end$1) {} var before = (i$6 ? types[i$6 - 1] : outerType) == "L"; var after = (end$1 < len ? types[end$1] : outerType) == "L"; var replace$1 = before == after ? before ? "L" : "R" : outerType; for (var j$1 = i$6; j$1 < end$1; ++j$1) { types[j$1] = replace$1; } i$6 = end$1 - 1; } } // Here we depart from the documented algorithm, in order to avoid // building up an actual levels array. Since there are only three // levels (0, 1, 2) in an implementation that doesn't take // explicit embedding into account, we can build up the order on // the fly, without following the level-based algorithm. var order = [], m; for (var i$7 = 0; i$7 < len;) { if (countsAsLeft.test(types[i$7])) { var start = i$7; for (++i$7; i$7 < len && countsAsLeft.test(types[i$7]); ++i$7) {} order.push(new BidiSpan(0, start, i$7)); } else { var pos = i$7, at = order.length, isRTL = direction == "rtl" ? 1 : 0; for (++i$7; i$7 < len && types[i$7] != "L"; ++i$7) {} for (var j$2 = pos; j$2 < i$7;) { if (countsAsNum.test(types[j$2])) { if (pos < j$2) { order.splice(at, 0, new BidiSpan(1, pos, j$2)); at += isRTL; } var nstart = j$2; for (++j$2; j$2 < i$7 && countsAsNum.test(types[j$2]); ++j$2) {} order.splice(at, 0, new BidiSpan(2, nstart, j$2)); at += isRTL; pos = j$2; } else { ++j$2; } } if (pos < i$7) { order.splice(at, 0, new BidiSpan(1, pos, i$7)); } } } if (direction == "ltr") { if (order[0].level == 1 && (m = str.match(/^\s+/))) { order[0].from = m[0].length; order.unshift(new BidiSpan(0, 0, m[0].length)); } if (lst(order).level == 1 && (m = str.match(/\s+$/))) { lst(order).to -= m[0].length; order.push(new BidiSpan(0, len - m[0].length, len)); } } return direction == "rtl" ? order.reverse() : order; }; }(); // Get the bidi ordering for the given line (and cache it). Returns // false for lines that are fully left-to-right, and an array of // BidiSpan objects otherwise. function getOrder(line, direction) { var order = line.order; if (order == null) { order = line.order = bidiOrdering(line.text, direction); } return order; } // EVENT HANDLING // Lightweight event framework. on/off also work on DOM nodes, // registering native DOM handlers. var noHandlers = []; var on = function (emitter, type, f) { if (emitter.addEventListener) { emitter.addEventListener(type, f, false); } else if (emitter.attachEvent) { emitter.attachEvent("on" + type, f); } else { var map = emitter._handlers || (emitter._handlers = {}); map[type] = (map[type] || noHandlers).concat(f); } }; function getHandlers(emitter, type) { return emitter._handlers && emitter._handlers[type] || noHandlers; } function off(emitter, type, f) { if (emitter.removeEventListener) { emitter.removeEventListener(type, f, false); } else if (emitter.detachEvent) { emitter.detachEvent("on" + type, f); } else { var map = emitter._handlers, arr = map && map[type]; if (arr) { var index = indexOf(arr, f); if (index > -1) { map[type] = arr.slice(0, index).concat(arr.slice(index + 1)); } } } } function signal(emitter, type /*, values...*/ ) { var handlers = getHandlers(emitter, type); if (!handlers.length) { return; } var args = Array.prototype.slice.call(arguments, 2); for (var i = 0; i < handlers.length; ++i) { handlers[i].apply(null, args); } } // The DOM events that CodeMirror handles can be overridden by // registering a (non-DOM) handler on the editor for the event name, // and preventDefault-ing the event in that handler. function signalDOMEvent(cm, e, override) { if (typeof e == "string") { e = { type: e, preventDefault: function () { this.defaultPrevented = true; } }; } signal(cm, override || e.type, cm, e); return e_defaultPrevented(e) || e.codemirrorIgnore; } function signalCursorActivity(cm) { var arr = cm._handlers && cm._handlers.cursorActivity; if (!arr) { return; } var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []); for (var i = 0; i < arr.length; ++i) { if (indexOf(set, arr[i]) == -1) { set.push(arr[i]); } } } function hasHandler(emitter, type) { return getHandlers(emitter, type).length > 0; } // Add on and off methods to a constructor's prototype, to make // registering events on such objects more convenient. function eventMixin(ctor) { ctor.prototype.on = function (type, f) { on(this, type, f); }; ctor.prototype.off = function (type, f) { off(this, type, f); }; } // Due to the fact that we still support jurassic IE versions, some // compatibility wrappers are needed. function e_preventDefault(e) { if (e.preventDefault) { e.preventDefault(); } else { e.returnValue = false; } } function e_stopPropagation(e) { if (e.stopPropagation) { e.stopPropagation(); } else { e.cancelBubble = true; } } function e_defaultPrevented(e) { return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false; } function e_stop(e) { e_preventDefault(e); e_stopPropagation(e); } function e_target(e) { return e.target || e.srcElement; } function e_button(e) { var b = e.which; if (b == null) { if (e.button & 1) { b = 1; } else if (e.button & 2) { b = 3; } else if (e.button & 4) { b = 2; } } if (mac && e.ctrlKey && b == 1) { b = 3; } return b; } // Detect drag-and-drop var dragAndDrop = function () { // There is *some* kind of drag-and-drop support in IE6-8, but I // couldn't get it to work yet. if (ie && ie_version < 9) { return false; } var div = elt('div'); return "draggable" in div || "dragDrop" in div; }(); var zwspSupported; function zeroWidthElement(measure) { if (zwspSupported == null) { var test = elt("span", "\u200b"); removeChildrenAndAdd(measure, elt("span", [test, document.createTextNode("x")])); if (measure.firstChild.offsetHeight != 0) { zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8); } } var node = zwspSupported ? elt("span", "\u200b") : elt("span", "\u00a0", null, "display: inline-block; width: 1px; margin-right: -1px"); node.setAttribute("cm-text", ""); return node; } // Feature-detect IE's crummy client rect reporting for bidi text var badBidiRects; function hasBadBidiRects(measure) { if (badBidiRects != null) { return badBidiRects; } var txt = removeChildrenAndAdd(measure, document.createTextNode("A\u062eA")); var r0 = range(txt, 0, 1).getBoundingClientRect(); var r1 = range(txt, 1, 2).getBoundingClientRect(); removeChildren(measure); if (!r0 || r0.left == r0.right) { return false; } // Safari returns null in some cases (#2780) return badBidiRects = r1.right - r0.right < 3; } // See if "".split is the broken IE version, if so, provide an // alternative way to split lines. var splitLinesAuto = "\n\nb".split(/\n/).length != 3 ? function (string) { var pos = 0, result = [], l = string.length; while (pos <= l) { var nl = string.indexOf("\n", pos); if (nl == -1) { nl = string.length; } var line = string.slice(pos, string.charAt(nl - 1) == "\r" ? nl - 1 : nl); var rt = line.indexOf("\r"); if (rt != -1) { result.push(line.slice(0, rt)); pos += rt + 1; } else { result.push(line); pos = nl + 1; } } return result; } : function (string) { return string.split(/\r\n?|\n/); }; var hasSelection = window.getSelection ? function (te) { try { return te.selectionStart != te.selectionEnd; } catch (e) { return false; } } : function (te) { var range; try { range = te.ownerDocument.selection.createRange(); } catch (e) {} if (!range || range.parentElement() != te) { return false; } return range.compareEndPoints("StartToEnd", range) != 0; }; var hasCopyEvent = function () { var e = elt("div"); if ("oncopy" in e) { return true; } e.setAttribute("oncopy", "return;"); return typeof e.oncopy == "function"; }(); var badZoomedRects = null; function hasBadZoomedRects(measure) { if (badZoomedRects != null) { return badZoomedRects; } var node = removeChildrenAndAdd(measure, elt("span", "x")); var normal = node.getBoundingClientRect(); var fromRange = range(node, 0, 1).getBoundingClientRect(); return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1; } // Known modes, by name and by MIME var modes = {}, mimeModes = {}; // Extra arguments are stored as the mode's dependencies, which is // used by (legacy) mechanisms like loadmode.js to automatically // load a mode. (Preferred mechanism is the require/define calls.) function defineMode(name, mode) { if (arguments.length > 2) { mode.dependencies = Array.prototype.slice.call(arguments, 2); } modes[name] = mode; } function defineMIME(mime, spec) { mimeModes[mime] = spec; } // Given a MIME type, a {name, ...options} config object, or a name // string, return a mode config object. function resolveMode(spec) { if (typeof spec == "string" && mimeModes.hasOwnProperty(spec)) { spec = mimeModes[spec]; } else if (spec && typeof spec.name == "string" && mimeModes.hasOwnProperty(spec.name)) { var found = mimeModes[spec.name]; if (typeof found == "string") { found = { name: found }; } spec = createObj(found, spec); spec.name = found.name; } else if (typeof spec == "string" && /^[\w\-]+\/[\w\-]+\+xml$/.test(spec)) { return resolveMode("application/xml"); } else if (typeof spec == "string" && /^[\w\-]+\/[\w\-]+\+json$/.test(spec)) { return resolveMode("application/json"); } if (typeof spec == "string") { return { name: spec }; } else { return spec || { name: "null" }; } } // Given a mode spec (anything that resolveMode accepts), find and // initialize an actual mode object. function getMode(options, spec) { spec = resolveMode(spec); var mfactory = modes[spec.name]; if (!mfactory) { return getMode(options, "text/plain"); } var modeObj = mfactory(options, spec); if (modeExtensions.hasOwnProperty(spec.name)) { var exts = modeExtensions[spec.name]; for (var prop in exts) { if (!exts.hasOwnProperty(prop)) { continue; } if (modeObj.hasOwnProperty(prop)) { modeObj["_" + prop] = modeObj[prop]; } modeObj[prop] = exts[prop]; } } modeObj.name = spec.name; if (spec.helperType) { modeObj.helperType = spec.helperType; } if (spec.modeProps) { for (var prop$1 in spec.modeProps) { modeObj[prop$1] = spec.modeProps[prop$1]; } } return modeObj; } // This can be used to attach properties to mode objects from // outside the actual mode definition. var modeExtensions = {}; function extendMode(mode, properties) { var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : modeExtensions[mode] = {}; copyObj(properties, exts); } function copyState(mode, state) { if (state === true) { return state; } if (mode.copyState) { return mode.copyState(state); } var nstate = {}; for (var n in state) { var val = state[n]; if (val instanceof Array) { val = val.concat([]); } nstate[n] = val; } return nstate; } // Given a mode and a state (for that mode), find the inner mode and // state at the position that the state refers to. function innerMode(mode, state) { var info; while (mode.innerMode) { info = mode.innerMode(state); if (!info || info.mode == mode) { break; } state = info.state; mode = info.mode; } return info || { mode: mode, state: state }; } function startState(mode, a1, a2) { return mode.startState ? mode.startState(a1, a2) : true; } // STRING STREAM // Fed to the mode parsers, provides helper functions to make // parsers more succinct. var StringStream = function (string, tabSize, lineOracle) { this.pos = this.start = 0; this.string = string; this.tabSize = tabSize || 8; this.lastColumnPos = this.lastColumnValue = 0; this.lineStart = 0; this.lineOracle = lineOracle; }; StringStream.prototype.eol = function () { return this.pos >= this.string.length; }; StringStream.prototype.sol = function () { return this.pos == this.lineStart; }; StringStream.prototype.peek = function () { return this.string.charAt(this.pos) || undefined; }; StringStream.prototype.next = function () { if (this.pos < this.string.length) { return this.string.charAt(this.pos++); } }; StringStream.prototype.eat = function (match) { var ch = this.string.charAt(this.pos); var ok; if (typeof match == "string") { ok = ch == match; } else { ok = ch && (match.test ? match.test(ch) : match(ch)); } if (ok) { ++this.pos; return ch; } }; StringStream.prototype.eatWhile = function (match) { var start = this.pos; while (this.eat(match)) {} return this.pos > start; }; StringStream.prototype.eatSpace = function () { var start = this.pos; while (/[\s\u00a0]/.test(this.string.charAt(this.pos))) { ++this.pos; } return this.pos > start; }; StringStream.prototype.skipToEnd = function () { this.pos = this.string.length; }; StringStream.prototype.skipTo = function (ch) { var found = this.string.indexOf(ch, this.pos); if (found > -1) { this.pos = found; return true; } }; StringStream.prototype.backUp = function (n) { this.pos -= n; }; StringStream.prototype.column = function () { if (this.lastColumnPos < this.start) { this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue); this.lastColumnPos = this.start; } return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0); }; StringStream.prototype.indentation = function () { return countColumn(this.string, null, this.tabSize) - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0); }; StringStream.prototype.match = function (pattern, consume, caseInsensitive) { if (typeof pattern == "string") { var cased = function (str) { return caseInsensitive ? str.toLowerCase() : str; }; var substr = this.string.substr(this.pos, pattern.length); if (cased(substr) == cased(pattern)) { if (consume !== false) { this.pos += pattern.length; } return true; } } else { var match = this.string.slice(this.pos).match(pattern); if (match && match.index > 0) { return null; } if (match && consume !== false) { this.pos += match[0].length; } return match; } }; StringStream.prototype.current = function () { return this.string.slice(this.start, this.pos); }; StringStream.prototype.hideFirstChars = function (n, inner) { this.lineStart += n; try { return inner(); } finally { this.lineStart -= n; } }; StringStream.prototype.lookAhead = function (n) { var oracle = this.lineOracle; return oracle && oracle.lookAhead(n); }; StringStream.prototype.baseToken = function () { var oracle = this.lineOracle; return oracle && oracle.baseToken(this.pos); }; // Find the line object corresponding to the given line number. function getLine(doc, n) { n -= doc.first; if (n < 0 || n >= doc.size) { throw new Error("There is no line " + (n + doc.first) + " in the document."); } var chunk = doc; while (!chunk.lines) { for (var i = 0;; ++i) { var child = chunk.children[i], sz = child.chunkSize(); if (n < sz) { chunk = child; break; } n -= sz; } } return chunk.lines[n]; } // Get the part of a document between two positions, as an array of // strings. function getBetween(doc, start, end) { var out = [], n = start.line; doc.iter(start.line, end.line + 1, function (line) { var text = line.text; if (n == end.line) { text = text.slice(0, end.ch); } if (n == start.line) { text = text.slice(start.ch); } out.push(text); ++n; }); return out; } // Get the lines between from and to, as array of strings. function getLines(doc, from, to) { var out = []; doc.iter(from, to, function (line) { out.push(line.text); }); // iter aborts when callback returns truthy value return out; } // Update the height of a line, propagating the height change // upwards to parent nodes. function updateLineHeight(line, height) { var diff = height - line.height; if (diff) { for (var n = line; n; n = n.parent) { n.height += diff; } } } // Given a line object, find its line number by walking up through // its parent links. function lineNo(line) { if (line.parent == null) { return null; } var cur = line.parent, no = indexOf(cur.lines, line); for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) { for (var i = 0;; ++i) { if (chunk.children[i] == cur) { break; } no += chunk.children[i].chunkSize(); } } return no + cur.first; } // Find the line at the given vertical position, using the height // information in the document tree. function lineAtHeight(chunk, h) { var n = chunk.first; outer: do { for (var i$1 = 0; i$1 < chunk.children.length; ++i$1) { var child = chunk.children[i$1], ch = child.height; if (h < ch) { chunk = child; continue outer; } h -= ch; n += child.chunkSize(); } return n; } while (!chunk.lines); var i = 0; for (; i < chunk.lines.length; ++i) { var line = chunk.lines[i], lh = line.height; if (h < lh) { break; } h -= lh; } return n + i; } function isLine(doc, l) { return l >= doc.first && l < doc.first + doc.size; } function lineNumberFor(options, i) { return String(options.lineNumberFormatter(i + options.firstLineNumber)); } // A Pos instance represents a position within the text. function Pos(line, ch, sticky) { if (sticky === void 0) sticky = null; if (!(this instanceof Pos)) { return new Pos(line, ch, sticky); } this.line = line; this.ch = ch; this.sticky = sticky; } // Compare two positions, return 0 if they are the same, a negative // number when a is less, and a positive number otherwise. function cmp(a, b) { return a.line - b.line || a.ch - b.ch; } function equalCursorPos(a, b) { return a.sticky == b.sticky && cmp(a, b) == 0; } function copyPos(x) { return Pos(x.line, x.ch); } function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; } function minPos(a, b) { return cmp(a, b) < 0 ? a : b; } // Most of the external API clips given positions to make sure they // actually exist within the document. function clipLine(doc, n) { return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1)); } function clipPos(doc, pos) { if (pos.line < doc.first) { return Pos(doc.first, 0); } var last = doc.first + doc.size - 1; if (pos.line > last) { return Pos(last, getLine(doc, last).text.length); } return clipToLen(pos, getLine(doc, pos.line).text.length); } function clipToLen(pos, linelen) { var ch = pos.ch; if (ch == null || ch > linelen) { return Pos(pos.line, linelen); } else if (ch < 0) { return Pos(pos.line, 0); } else { return pos; } } function clipPosArray(doc, array) { var out = []; for (var i = 0; i < array.length; i++) { out[i] = clipPos(doc, array[i]); } return out; } var SavedContext = function (state, lookAhead) { this.state = state; this.lookAhead = lookAhead; }; var Context = function (doc, state, line, lookAhead) { this.state = state; this.doc = doc; this.line = line; this.maxLookAhead = lookAhead || 0; this.baseTokens = null; this.baseTokenPos = 1; }; Context.prototype.lookAhead = function (n) { var line = this.doc.getLine(this.line + n); if (line != null && n > this.maxLookAhead) { this.maxLookAhead = n; } return line; }; Context.prototype.baseToken = function (n) { if (!this.baseTokens) { return null; } while (this.baseTokens[this.baseTokenPos] <= n) { this.baseTokenPos += 2; } var type = this.baseTokens[this.baseTokenPos + 1]; return { type: type && type.replace(/( |^)overlay .*/, ""), size: this.baseTokens[this.baseTokenPos] - n }; }; Context.prototype.nextLine = function () { this.line++; if (this.maxLookAhead > 0) { this.maxLookAhead--; } }; Context.fromSaved = function (doc, saved, line) { if (saved instanceof SavedContext) { return new Context(doc, copyState(doc.mode, saved.state), line, saved.lookAhead); } else { return new Context(doc, copyState(doc.mode, saved), line); } }; Context.prototype.save = function (copy) { var state = copy !== false ? copyState(this.doc.mode, this.state) : this.state; return this.maxLookAhead > 0 ? new SavedContext(state, this.maxLookAhead) : state; }; // Compute a style array (an array starting with a mode generation // -- for invalidation -- followed by pairs of end positions and // style strings), which is used to highlight the tokens on the // line. function highlightLine(cm, line, context, forceToEnd) { // A styles array always starts with a number identifying the // mode/overlays that it is based on (for easy invalidation). var st = [cm.state.modeGen], lineClasses = {}; // Compute the base array of styles runMode(cm, line.text, cm.doc.mode, context, function (end, style) { return st.push(end, style); }, lineClasses, forceToEnd); var state = context.state; // Run overlays, adjust style array. var loop = function (o) { context.baseTokens = st; var overlay = cm.state.overlays[o], i = 1, at = 0; context.state = true; runMode(cm, line.text, overlay.mode, context, function (end, style) { var start = i; // Ensure there's a token end at the current position, and that i points at it while (at < end) { var i_end = st[i]; if (i_end > end) { st.splice(i, 1, end, st[i + 1], i_end); } i += 2; at = Math.min(end, i_end); } if (!style) { return; } if (overlay.opaque) { st.splice(start, i - start, end, "overlay " + style); i = start + 2; } else { for (; start < i; start += 2) { var cur = st[start + 1]; st[start + 1] = (cur ? cur + " " : "") + "overlay " + style; } } }, lineClasses); context.state = state; context.baseTokens = null; context.baseTokenPos = 1; }; for (var o = 0; o < cm.state.overlays.length; ++o) loop(o); return { styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null }; } function getLineStyles(cm, line, updateFrontier) { if (!line.styles || line.styles[0] != cm.state.modeGen) { var context = getContextBefore(cm, lineNo(line)); var resetState = line.text.length > cm.options.maxHighlightLength && copyState(cm.doc.mode, context.state); var result = highlightLine(cm, line, context); if (resetState) { context.state = resetState; } line.stateAfter = context.save(!resetState); line.styles = result.styles; if (result.classes) { line.styleClasses = result.classes; } else if (line.styleClasses) { line.styleClasses = null; } if (updateFrontier === cm.doc.highlightFrontier) { cm.doc.modeFrontier = Math.max(cm.doc.modeFrontier, ++cm.doc.highlightFrontier); } } return line.styles; } function getContextBefore(cm, n, precise) { var doc = cm.doc, display = cm.display; if (!doc.mode.startState) { return new Context(doc, true, n); } var start = findStartLine(cm, n, precise); var saved = start > doc.first && getLine(doc, start - 1).stateAfter; var context = saved ? Context.fromSaved(doc, saved, start) : new Context(doc, startState(doc.mode), start); doc.iter(start, n, function (line) { processLine(cm, line.text, context); var pos = context.line; line.stateAfter = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo ? context.save() : null; context.nextLine(); }); if (precise) { doc.modeFrontier = context.line; } return context; } // Lightweight form of highlight -- proceed over this line and // update state, but don't save a style array. Used for lines that // aren't currently visible. function processLine(cm, text, context, startAt) { var mode = cm.doc.mode; var stream = new StringStream(text, cm.options.tabSize, context); stream.start = stream.pos = startAt || 0; if (text == "") { callBlankLine(mode, context.state); } while (!stream.eol()) { readToken(mode, stream, context.state); stream.start = stream.pos; } } function callBlankLine(mode, state) { if (mode.blankLine) { return mode.blankLine(state); } if (!mode.innerMode) { return; } var inner = innerMode(mode, state); if (inner.mode.blankLine) { return inner.mode.blankLine(inner.state); } } function readToken(mode, stream, state, inner) { for (var i = 0; i < 10; i++) { if (inner) { inner[0] = innerMode(mode, state).mode; } var style = mode.token(stream, state); if (stream.pos > stream.start) { return style; } } throw new Error("Mode " + mode.name + " failed to advance stream."); } var Token = function (stream, type, state) { this.start = stream.start; this.end = stream.pos; this.string = stream.current(); this.type = type || null; this.state = state; }; // Utility for getTokenAt and getLineTokens function takeToken(cm, pos, precise, asArray) { var doc = cm.doc, mode = doc.mode, style; pos = clipPos(doc, pos); var line = getLine(doc, pos.line), context = getContextBefore(cm, pos.line, precise); var stream = new StringStream(line.text, cm.options.tabSize, context), tokens; if (asArray) { tokens = []; } while ((asArray || stream.pos < pos.ch) && !stream.eol()) { stream.start = stream.pos; style = readToken(mode, stream, context.state); if (asArray) { tokens.push(new Token(stream, style, copyState(doc.mode, context.state))); } } return asArray ? tokens : new Token(stream, style, context.state); } function extractLineClasses(type, output) { if (type) { for (;;) { var lineClass = type.match(/(?:^|\s+)line-(background-)?(\S+)/); if (!lineClass) { break; } type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length); var prop = lineClass[1] ? "bgClass" : "textClass"; if (output[prop] == null) { output[prop] = lineClass[2]; } else if (!new RegExp("(?:^|\\s)" + lineClass[2] + "(?:$|\\s)").test(output[prop])) { output[prop] += " " + lineClass[2]; } } } return type; } // Run the given mode's parser over a line, calling f for each token. function runMode(cm, text, mode, context, f, lineClasses, forceToEnd) { var flattenSpans = mode.flattenSpans; if (flattenSpans == null) { flattenSpans = cm.options.flattenSpans; } var curStart = 0, curStyle = null; var stream = new StringStream(text, cm.options.tabSize, context), style; var inner = cm.options.addModeClass && [null]; if (text == "") { extractLineClasses(callBlankLine(mode, context.state), lineClasses); } while (!stream.eol()) { if (stream.pos > cm.options.maxHighlightLength) { flattenSpans = false; if (forceToEnd) { processLine(cm, text, context, stream.pos); } stream.pos = text.length; style = null; } else { style = extractLineClasses(readToken(mode, stream, context.state, inner), lineClasses); } if (inner) { var mName = inner[0].name; if (mName) { style = "m-" + (style ? mName + " " + style : mName); } } if (!flattenSpans || curStyle != style) { while (curStart < stream.start) { curStart = Math.min(stream.start, curStart + 5000); f(curStart, curStyle); } curStyle = style; } stream.start = stream.pos; } while (curStart < stream.pos) { // Webkit seems to refuse to render text nodes longer than 57444 // characters, and returns inaccurate measurements in nodes // starting around 5000 chars. var pos = Math.min(stream.pos, curStart + 5000); f(pos, curStyle); curStart = pos; } } // Finds the line to start with when starting a parse. Tries to // find a line with a stateAfter, so that it can start with a // valid state. If that fails, it returns the line with the // smallest indentation, which tends to need the least context to // parse correctly. function findStartLine(cm, n, precise) { var minindent, minline, doc = cm.doc; var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100); for (var search = n; search > lim; --search) { if (search <= doc.first) { return doc.first; } var line = getLine(doc, search - 1), after = line.stateAfter; if (after && (!precise || search + (after instanceof SavedContext ? after.lookAhead : 0) <= doc.modeFrontier)) { return search; } var indented = countColumn(line.text, null, cm.options.tabSize); if (minline == null || minindent > indented) { minline = search - 1; minindent = indented; } } return minline; } function retreatFrontier(doc, n) { doc.modeFrontier = Math.min(doc.modeFrontier, n); if (doc.highlightFrontier < n - 10) { return; } var start = doc.first; for (var line = n - 1; line > start; line--) { var saved = getLine(doc, line).stateAfter; // change is on 3 // state on line 1 looked ahead 2 -- so saw 3 // test 1 + 2 < 3 should cover this if (saved && (!(saved instanceof SavedContext) || line + saved.lookAhead < n)) { start = line + 1; break; } } doc.highlightFrontier = Math.min(doc.highlightFrontier, start); } // Optimize some code when these features are not used. var sawReadOnlySpans = false, sawCollapsedSpans = false; function seeReadOnlySpans() { sawReadOnlySpans = true; } function seeCollapsedSpans() { sawCollapsedSpans = true; } // TEXTMARKER SPANS function MarkedSpan(marker, from, to) { this.marker = marker; this.from = from; this.to = to; } // Search an array of spans for a span matching the given marker. function getMarkedSpanFor(spans, marker) { if (spans) { for (var i = 0; i < spans.length; ++i) { var span = spans[i]; if (span.marker == marker) { return span; } } } } // Remove a span from an array, returning undefined if no spans are // left (we don't store arrays for lines without spans). function removeMarkedSpan(spans, span) { var r; for (var i = 0; i < spans.length; ++i) { if (spans[i] != span) { (r || (r = [])).push(spans[i]); } } return r; } // Add a span to a line. function addMarkedSpan(line, span, op) { var inThisOp = op && window.WeakSet && (op.markedSpans || (op.markedSpans = new WeakSet())); if (inThisOp && line.markedSpans && inThisOp.has(line.markedSpans)) { line.markedSpans.push(span); } else { line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span]; if (inThisOp) { inThisOp.add(line.markedSpans); } } span.marker.attachLine(line); } // Used for the algorithm that adjusts markers for a change in the // document. These functions cut an array of spans at a given // character position, returning an array of remaining chunks (or // undefined if nothing remains). function markedSpansBefore(old, startCh, isInsert) { var nw; if (old) { for (var i = 0; i < old.length; ++i) { var span = old[i], marker = span.marker; var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh); if (startsBefore || span.from == startCh && marker.type == "bookmark" && (!isInsert || !span.marker.insertLeft)) { var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh); (nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to)); } } } return nw; } function markedSpansAfter(old, endCh, isInsert) { var nw; if (old) { for (var i = 0; i < old.length; ++i) { var span = old[i], marker = span.marker; var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh); if (endsAfter || span.from == endCh && marker.type == "bookmark" && (!isInsert || span.marker.insertLeft)) { var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh); (nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh, span.to == null ? null : span.to - endCh)); } } } return nw; } // Given a change object, compute the new set of marker spans that // cover the line in which the change took place. Removes spans // entirely within the change, reconnects spans belonging to the // same marker that appear on both sides of the change, and cuts off // spans partially within the change. Returns an array of span // arrays with one element for each line in (after) the change. function stretchSpansOverChange(doc, change) { if (change.full) { return null; } var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans; var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans; if (!oldFirst && !oldLast) { return null; } var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0; // Get the spans that 'stick out' on both sides var first = markedSpansBefore(oldFirst, startCh, isInsert); var last = markedSpansAfter(oldLast, endCh, isInsert); // Next, merge those two ends var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0); if (first) { // Fix up .to properties of first for (var i = 0; i < first.length; ++i) { var span = first[i]; if (span.to == null) { var found = getMarkedSpanFor(last, span.marker); if (!found) { span.to = startCh; } else if (sameLine) { span.to = found.to == null ? null : found.to + offset; } } } } if (last) { // Fix up .from in last (or move them into first in case of sameLine) for (var i$1 = 0; i$1 < last.length; ++i$1) { var span$1 = last[i$1]; if (span$1.to != null) { span$1.to += offset; } if (span$1.from == null) { var found$1 = getMarkedSpanFor(first, span$1.marker); if (!found$1) { span$1.from = offset; if (sameLine) { (first || (first = [])).push(span$1); } } } else { span$1.from += offset; if (sameLine) { (first || (first = [])).push(span$1); } } } } // Make sure we didn't create any zero-length spans if (first) { first = clearEmptySpans(first); } if (last && last != first) { last = clearEmptySpans(last); } var newMarkers = [first]; if (!sameLine) { // Fill gap with whole-line-spans var gap = change.text.length - 2, gapMarkers; if (gap > 0 && first) { for (var i$2 = 0; i$2 < first.length; ++i$2) { if (first[i$2].to == null) { (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i$2].marker, null, null)); } } } for (var i$3 = 0; i$3 < gap; ++i$3) { newMarkers.push(gapMarkers); } newMarkers.push(last); } return newMarkers; } // Remove spans that are empty and don't have a clearWhenEmpty // option of false. function clearEmptySpans(spans) { for (var i = 0; i < spans.length; ++i) { var span = spans[i]; if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false) { spans.splice(i--, 1); } } if (!spans.length) { return null; } return spans; } // Used to 'clip' out readOnly ranges when making a change. function removeReadOnlyRanges(doc, from, to) { var markers = null; doc.iter(from.line, to.line + 1, function (line) { if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) { var mark = line.markedSpans[i].marker; if (mark.readOnly && (!markers || indexOf(markers, mark) == -1)) { (markers || (markers = [])).push(mark); } } } }); if (!markers) { return null; } var parts = [{ from: from, to: to }]; for (var i = 0; i < markers.length; ++i) { var mk = markers[i], m = mk.find(0); for (var j = 0; j < parts.length; ++j) { var p = parts[j]; if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) { continue; } var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to); if (dfrom < 0 || !mk.inclusiveLeft && !dfrom) { newParts.push({ from: p.from, to: m.from }); } if (dto > 0 || !mk.inclusiveRight && !dto) { newParts.push({ from: m.to, to: p.to }); } parts.splice.apply(parts, newParts); j += newParts.length - 3; } } return parts; } // Connect or disconnect spans from a line. function detachMarkedSpans(line) { var spans = line.markedSpans; if (!spans) { return; } for (var i = 0; i < spans.length; ++i) { spans[i].marker.detachLine(line); } line.markedSpans = null; } function attachMarkedSpans(line, spans) { if (!spans) { return; } for (var i = 0; i < spans.length; ++i) { spans[i].marker.attachLine(line); } line.markedSpans = spans; } // Helpers used when computing which overlapping collapsed span // counts as the larger one. function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0; } function extraRight(marker) { return marker.inclusiveRight ? 1 : 0; } // Returns a number indicating which of two overlapping collapsed // spans is larger (and thus includes the other). Falls back to // comparing ids when the spans cover exactly the same range. function compareCollapsedMarkers(a, b) { var lenDiff = a.lines.length - b.lines.length; if (lenDiff != 0) { return lenDiff; } var aPos = a.find(), bPos = b.find(); var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b); if (fromCmp) { return -fromCmp; } var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b); if (toCmp) { return toCmp; } return b.id - a.id; } // Find out whether a line ends or starts in a collapsed span. If // so, return the marker for that span. function collapsedSpanAtSide(line, start) { var sps = sawCollapsedSpans && line.markedSpans, found; if (sps) { for (var sp = void 0, i = 0; i < sps.length; ++i) { sp = sps[i]; if (sp.marker.collapsed && (start ? sp.from : sp.to) == null && (!found || compareCollapsedMarkers(found, sp.marker) < 0)) { found = sp.marker; } } } return found; } function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true); } function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false); } function collapsedSpanAround(line, ch) { var sps = sawCollapsedSpans && line.markedSpans, found; if (sps) { for (var i = 0; i < sps.length; ++i) { var sp = sps[i]; if (sp.marker.collapsed && (sp.from == null || sp.from < ch) && (sp.to == null || sp.to > ch) && (!found || compareCollapsedMarkers(found, sp.marker) < 0)) { found = sp.marker; } } } return found; } // Test whether there exists a collapsed span that partially // overlaps (covers the start or end, but not both) of a new span. // Such overlap is not allowed. function conflictingCollapsedRange(doc, lineNo, from, to, marker) { var line = getLine(doc, lineNo); var sps = sawCollapsedSpans && line.markedSpans; if (sps) { for (var i = 0; i < sps.length; ++i) { var sp = sps[i]; if (!sp.marker.collapsed) { continue; } var found = sp.marker.find(0); var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker); var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker); if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) { continue; } if (fromCmp <= 0 && (sp.marker.inclusiveRight && marker.inclusiveLeft ? cmp(found.to, from) >= 0 : cmp(found.to, from) > 0) || fromCmp >= 0 && (sp.marker.inclusiveRight && marker.inclusiveLeft ? cmp(found.from, to) <= 0 : cmp(found.from, to) < 0)) { return true; } } } } // A visual line is a line as drawn on the screen. Folding, for // example, can cause multiple logical lines to appear on the same // visual line. This finds the start of the visual line that the // given line is part of (usually that is the line itself). function visualLine(line) { var merged; while (merged = collapsedSpanAtStart(line)) { line = merged.find(-1, true).line; } return line; } function visualLineEnd(line) { var merged; while (merged = collapsedSpanAtEnd(line)) { line = merged.find(1, true).line; } return line; } // Returns an array of logical lines that continue the visual line // started by the argument, or undefined if there are no such lines. function visualLineContinued(line) { var merged, lines; while (merged = collapsedSpanAtEnd(line)) { line = merged.find(1, true).line; (lines || (lines = [])).push(line); } return lines; } // Get the line number of the start of the visual line that the // given line number is part of. function visualLineNo(doc, lineN) { var line = getLine(doc, lineN), vis = visualLine(line); if (line == vis) { return lineN; } return lineNo(vis); } // Get the line number of the start of the next visual line after // the given line. function visualLineEndNo(doc, lineN) { if (lineN > doc.lastLine()) { return lineN; } var line = getLine(doc, lineN), merged; if (!lineIsHidden(doc, line)) { return lineN; } while (merged = collapsedSpanAtEnd(line)) { line = merged.find(1, true).line; } return lineNo(line) + 1; } // Compute whether a line is hidden. Lines count as hidden when they // are part of a visual line that starts with another line, or when // they are entirely covered by collapsed, non-widget span. function lineIsHidden(doc, line) { var sps = sawCollapsedSpans && line.markedSpans; if (sps) { for (var sp = void 0, i = 0; i < sps.length; ++i) { sp = sps[i]; if (!sp.marker.collapsed) { continue; } if (sp.from == null) { return true; } if (sp.marker.widgetNode) { continue; } if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp)) { return true; } } } } function lineIsHiddenInner(doc, line, span) { if (span.to == null) { var end = span.marker.find(1, true); return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker)); } if (span.marker.inclusiveRight && span.to == line.text.length) { return true; } for (var sp = void 0, i = 0; i < line.markedSpans.length; ++i) { sp = line.markedSpans[i]; if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to && (sp.to == null || sp.to != span.from) && (sp.marker.inclusiveLeft || span.marker.inclusiveRight) && lineIsHiddenInner(doc, line, sp)) { return true; } } } // Find the height above the given line. function heightAtLine(lineObj) { lineObj = visualLine(lineObj); var h = 0, chunk = lineObj.parent; for (var i = 0; i < chunk.lines.length; ++i) { var line = chunk.lines[i]; if (line == lineObj) { break; } else { h += line.height; } } for (var p = chunk.parent; p; chunk = p, p = chunk.parent) { for (var i$1 = 0; i$1 < p.children.length; ++i$1) { var cur = p.children[i$1]; if (cur == chunk) { break; } else { h += cur.height; } } } return h; } // Compute the character length of a line, taking into account // collapsed ranges (see markText) that might hide parts, and join // other lines onto it. function lineLength(line) { if (line.height == 0) { return 0; } var len = line.text.length, merged, cur = line; while (merged = collapsedSpanAtStart(cur)) { var found = merged.find(0, true); cur = found.from.line; len += found.from.ch - found.to.ch; } cur = line; while (merged = collapsedSpanAtEnd(cur)) { var found$1 = merged.find(0, true); len -= cur.text.length - found$1.from.ch; cur = found$1.to.line; len += cur.text.length - found$1.to.ch; } return len; } // Find the longest line in the document. function findMaxLine(cm) { var d = cm.display, doc = cm.doc; d.maxLine = getLine(doc, doc.first); d.maxLineLength = lineLength(d.maxLine); d.maxLineChanged = true; doc.iter(function (line) { var len = lineLength(line); if (len > d.maxLineLength) { d.maxLineLength = len; d.maxLine = line; } }); } // LINE DATA STRUCTURE // Line objects. These hold state related to a line, including // highlighting info (the styles array). var Line = function (text, markedSpans, estimateHeight) { this.text = text; attachMarkedSpans(this, markedSpans); this.height = estimateHeight ? estimateHeight(this) : 1; }; Line.prototype.lineNo = function () { return lineNo(this); }; eventMixin(Line); // Change the content (text, markers) of a line. Automatically // invalidates cached information and tries to re-estimate the // line's height. function updateLine(line, text, markedSpans, estimateHeight) { line.text = text; if (line.stateAfter) { line.stateAfter = null; } if (line.styles) { line.styles = null; } if (line.order != null) { line.order = null; } detachMarkedSpans(line); attachMarkedSpans(line, markedSpans); var estHeight = estimateHeight ? estimateHeight(line) : 1; if (estHeight != line.height) { updateLineHeight(line, estHeight); } } // Detach a line from the document tree and its markers. function cleanUpLine(line) { line.parent = null; detachMarkedSpans(line); } // Convert a style as returned by a mode (either null, or a string // containing one or more styles) to a CSS style. This is cached, // and also looks for line-wide styles. var styleToClassCache = {}, styleToClassCacheWithMode = {}; function interpretTokenStyle(style, options) { if (!style || /^\s*$/.test(style)) { return null; } var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache; return cache[style] || (cache[style] = style.replace(/\S+/g, "cm-$&")); } // Render the DOM representation of the text of a line. Also builds // up a 'line map', which points at the DOM nodes that represent // specific stretches of text, and is used by the measuring code. // The returned object contains the DOM node, this map, and // information about line-wide styles that were set by the mode. function buildLineContent(cm, lineView) { // The padding-right forces the element to have a 'border', which // is needed on Webkit to be able to get line-level bounding // rectangles for it (in measureChar). var content = eltP("span", null, null, webkit ? "padding-right: .1px" : null); var builder = { pre: eltP("pre", [content], "CodeMirror-line"), content: content, col: 0, pos: 0, cm: cm, trailingSpace: false, splitSpaces: cm.getOption("lineWrapping") }; lineView.measure = {}; // Iterate over the logical lines that make up this visual line. for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) { var line = i ? lineView.rest[i - 1] : lineView.line, order = void 0; builder.pos = 0; builder.addToken = buildToken; // Optionally wire in some hacks into the token-rendering // algorithm, to deal with browser quirks. if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line, cm.doc.direction))) { builder.addToken = buildTokenBadBidi(builder.addToken, order); } builder.map = []; var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line); insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate)); if (line.styleClasses) { if (line.styleClasses.bgClass) { builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || ""); } if (line.styleClasses.textClass) { builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || ""); } } // Ensure at least a single node is present, for measuring. if (builder.map.length == 0) { builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure))); } // Store the map and a cache object for the current logical line if (i == 0) { lineView.measure.map = builder.map; lineView.measure.cache = {}; } else { (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map); (lineView.measure.caches || (lineView.measure.caches = [])).push({}); } } // See issue #2901 if (webkit) { var last = builder.content.lastChild; if (/\bcm-tab\b/.test(last.className) || last.querySelector && last.querySelector(".cm-tab")) { builder.content.className = "cm-tab-wrap-hack"; } } signal(cm, "renderLine", cm, lineView.line, builder.pre); if (builder.pre.className) { builder.textClass = joinClasses(builder.pre.className, builder.textClass || ""); } return builder; } function defaultSpecialCharPlaceholder(ch) { var token = elt("span", "\u2022", "cm-invalidchar"); token.title = "\\u" + ch.charCodeAt(0).toString(16); token.setAttribute("aria-label", token.title); return token; } // Build up the DOM representation for a single token, and add it to // the line map. Takes care to render special characters separately. function buildToken(builder, text, style, startStyle, endStyle, css, attributes) { if (!text) { return; } var displayText = builder.splitSpaces ? splitSpaces(text, builder.trailingSpace) : text; var special = builder.cm.state.specialChars, mustWrap = false; var content; if (!special.test(text)) { builder.col += text.length; content = document.createTextNode(displayText); builder.map.push(builder.pos, builder.pos + text.length, content); if (ie && ie_version < 9) { mustWrap = true; } builder.pos += text.length; } else { content = document.createDocumentFragment(); var pos = 0; while (true) { special.lastIndex = pos; var m = special.exec(text); var skipped = m ? m.index - pos : text.length - pos; if (skipped) { var txt = document.createTextNode(displayText.slice(pos, pos + skipped)); if (ie && ie_version < 9) { content.appendChild(elt("span", [txt])); } else { content.appendChild(txt); } builder.map.push(builder.pos, builder.pos + skipped, txt); builder.col += skipped; builder.pos += skipped; } if (!m) { break; } pos += skipped + 1; var txt$1 = void 0; if (m[0] == "\t") { var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize; txt$1 = content.appendChild(elt("span", spaceStr(tabWidth), "cm-tab")); txt$1.setAttribute("role", "presentation"); txt$1.setAttribute("cm-text", "\t"); builder.col += tabWidth; } else if (m[0] == "\r" || m[0] == "\n") { txt$1 = content.appendChild(elt("span", m[0] == "\r" ? "\u240d" : "\u2424", "cm-invalidchar")); txt$1.setAttribute("cm-text", m[0]); builder.col += 1; } else { txt$1 = builder.cm.options.specialCharPlaceholder(m[0]); txt$1.setAttribute("cm-text", m[0]); if (ie && ie_version < 9) { content.appendChild(elt("span", [txt$1])); } else { content.appendChild(txt$1); } builder.col += 1; } builder.map.push(builder.pos, builder.pos + 1, txt$1); builder.pos++; } } builder.trailingSpace = displayText.charCodeAt(text.length - 1) == 32; if (style || startStyle || endStyle || mustWrap || css || attributes) { var fullStyle = style || ""; if (startStyle) { fullStyle += startStyle; } if (endStyle) { fullStyle += endStyle; } var token = elt("span", [content], fullStyle, css); if (attributes) { for (var attr in attributes) { if (attributes.hasOwnProperty(attr) && attr != "style" && attr != "class") { token.setAttribute(attr, attributes[attr]); } } } return builder.content.appendChild(token); } builder.content.appendChild(content); } // Change some spaces to NBSP to prevent the browser from collapsing // trailing spaces at the end of a line when rendering text (issue #1362). function splitSpaces(text, trailingBefore) { if (text.length > 1 && !/ /.test(text)) { return text; } var spaceBefore = trailingBefore, result = ""; for (var i = 0; i < text.length; i++) { var ch = text.charAt(i); if (ch == " " && spaceBefore && (i == text.length - 1 || text.charCodeAt(i + 1) == 32)) { ch = "\u00a0"; } result += ch; spaceBefore = ch == " "; } return result; } // Work around nonsense dimensions being reported for stretches of // right-to-left text. function buildTokenBadBidi(inner, order) { return function (builder, text, style, startStyle, endStyle, css, attributes) { style = style ? style + " cm-force-border" : "cm-force-border"; var start = builder.pos, end = start + text.length; for (;;) { // Find the part that overlaps with the start of this text var part = void 0; for (var i = 0; i < order.length; i++) { part = order[i]; if (part.to > start && part.from <= start) { break; } } if (part.to >= end) { return inner(builder, text, style, startStyle, endStyle, css, attributes); } inner(builder, text.slice(0, part.to - start), style, startStyle, null, css, attributes); startStyle = null; text = text.slice(part.to - start); start = part.to; } }; } function buildCollapsedSpan(builder, size, marker, ignoreWidget) { var widget = !ignoreWidget && marker.widgetNode; if (widget) { builder.map.push(builder.pos, builder.pos + size, widget); } if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) { if (!widget) { widget = builder.content.appendChild(document.createElement("span")); } widget.setAttribute("cm-marker", marker.id); } if (widget) { builder.cm.display.input.setUneditable(widget); builder.content.appendChild(widget); } builder.pos += size; builder.trailingSpace = false; } // Outputs a number of spans to make up a line, taking highlighting // and marked text into account. function insertLineContent(line, builder, styles) { var spans = line.markedSpans, allText = line.text, at = 0; if (!spans) { for (var i$1 = 1; i$1 < styles.length; i$1 += 2) { builder.addToken(builder, allText.slice(at, at = styles[i$1]), interpretTokenStyle(styles[i$1 + 1], builder.cm.options)); } return; } var len = allText.length, pos = 0, i = 1, text = "", style, css; var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, collapsed, attributes; for (;;) { if (nextChange == pos) { // Update current marker set spanStyle = spanEndStyle = spanStartStyle = css = ""; attributes = null; collapsed = null; nextChange = Infinity; var foundBookmarks = [], endStyles = void 0; for (var j = 0; j < spans.length; ++j) { var sp = spans[j], m = sp.marker; if (m.type == "bookmark" && sp.from == pos && m.widgetNode) { foundBookmarks.push(m); } else if (sp.from <= pos && (sp.to == null || sp.to > pos || m.collapsed && sp.to == pos && sp.from == pos)) { if (sp.to != null && sp.to != pos && nextChange > sp.to) { nextChange = sp.to; spanEndStyle = ""; } if (m.className) { spanStyle += " " + m.className; } if (m.css) { css = (css ? css + ";" : "") + m.css; } if (m.startStyle && sp.from == pos) { spanStartStyle += " " + m.startStyle; } if (m.endStyle && sp.to == nextChange) { (endStyles || (endStyles = [])).push(m.endStyle, sp.to); } // support for the old title property // https://github.com/codemirror/CodeMirror/pull/5673 if (m.title) { (attributes || (attributes = {})).title = m.title; } if (m.attributes) { for (var attr in m.attributes) { (attributes || (attributes = {}))[attr] = m.attributes[attr]; } } if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0)) { collapsed = sp; } } else if (sp.from > pos && nextChange > sp.from) { nextChange = sp.from; } } if (endStyles) { for (var j$1 = 0; j$1 < endStyles.length; j$1 += 2) { if (endStyles[j$1 + 1] == nextChange) { spanEndStyle += " " + endStyles[j$1]; } } } if (!collapsed || collapsed.from == pos) { for (var j$2 = 0; j$2 < foundBookmarks.length; ++j$2) { buildCollapsedSpan(builder, 0, foundBookmarks[j$2]); } } if (collapsed && (collapsed.from || 0) == pos) { buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos, collapsed.marker, collapsed.from == null); if (collapsed.to == null) { return; } if (collapsed.to == pos) { collapsed = false; } } } if (pos >= len) { break; } var upto = Math.min(len, nextChange); while (true) { if (text) { var end = pos + text.length; if (!collapsed) { var tokenText = end > upto ? text.slice(0, upto - pos) : text; builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle, spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : "", css, attributes); } if (end >= upto) { text = text.slice(upto - pos); pos = upto; break; } pos = end; spanStartStyle = ""; } text = allText.slice(at, at = styles[i++]); style = interpretTokenStyle(styles[i++], builder.cm.options); } } } // These objects are used to represent the visible (currently drawn) // part of the document. A LineView may correspond to multiple // logical lines, if those are connected by collapsed ranges. function LineView(doc, line, lineN) { // The starting line this.line = line; // Continuing lines, if any this.rest = visualLineContinued(line); // Number of logical lines in this visual line this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1; this.node = this.text = null; this.hidden = lineIsHidden(doc, line); } // Create a range of LineView objects for the given lines. function buildViewArray(cm, from, to) { var array = [], nextPos; for (var pos = from; pos < to; pos = nextPos) { var view = new LineView(cm.doc, getLine(cm.doc, pos), pos); nextPos = pos + view.size; array.push(view); } return array; } var operationGroup = null; function pushOperation(op) { if (operationGroup) { operationGroup.ops.push(op); } else { op.ownsGroup = operationGroup = { ops: [op], delayedCallbacks: [] }; } } function fireCallbacksForOps(group) { // Calls delayed callbacks and cursorActivity handlers until no // new ones appear var callbacks = group.delayedCallbacks, i = 0; do { for (; i < callbacks.length; i++) { callbacks[i].call(null); } for (var j = 0; j < group.ops.length; j++) { var op = group.ops[j]; if (op.cursorActivityHandlers) { while (op.cursorActivityCalled < op.cursorActivityHandlers.length) { op.cursorActivityHandlers[op.cursorActivityCalled++].call(null, op.cm); } } } } while (i < callbacks.length); } function finishOperation(op, endCb) { var group = op.ownsGroup; if (!group) { return; } try { fireCallbacksForOps(group); } finally { operationGroup = null; endCb(group); } } var orphanDelayedCallbacks = null; // Often, we want to signal events at a point where we are in the // middle of some work, but don't want the handler to start calling // other methods on the editor, which might be in an inconsistent // state or simply not expect any other events to happen. // signalLater looks whether there are any handlers, and schedules // them to be executed when the last operation ends, or, if no // operation is active, when a timeout fires. function signalLater(emitter, type /*, values...*/ ) { var arr = getHandlers(emitter, type); if (!arr.length) { return; } var args = Array.prototype.slice.call(arguments, 2), list; if (operationGroup) { list = operationGroup.delayedCallbacks; } else if (orphanDelayedCallbacks) { list = orphanDelayedCallbacks; } else { list = orphanDelayedCallbacks = []; setTimeout(fireOrphanDelayed, 0); } var loop = function (i) { list.push(function () { return arr[i].apply(null, args); }); }; for (var i = 0; i < arr.length; ++i) loop(i); } function fireOrphanDelayed() { var delayed = orphanDelayedCallbacks; orphanDelayedCallbacks = null; for (var i = 0; i < delayed.length; ++i) { delayed[i](); } } // When an aspect of a line changes, a string is added to // lineView.changes. This updates the relevant part of the line's // DOM structure. function updateLineForChanges(cm, lineView, lineN, dims) { for (var j = 0; j < lineView.changes.length; j++) { var type = lineView.changes[j]; if (type == "text") { updateLineText(cm, lineView); } else if (type == "gutter") { updateLineGutter(cm, lineView, lineN, dims); } else if (type == "class") { updateLineClasses(cm, lineView); } else if (type == "widget") { updateLineWidgets(cm, lineView, dims); } } lineView.changes = null; } // Lines with gutter elements, widgets or a background class need to // be wrapped, and have the extra elements added to the wrapper div function ensureLineWrapped(lineView) { if (lineView.node == lineView.text) { lineView.node = elt("div", null, null, "position: relative"); if (lineView.text.parentNode) { lineView.text.parentNode.replaceChild(lineView.node, lineView.text); } lineView.node.appendChild(lineView.text); if (ie && ie_version < 8) { lineView.node.style.zIndex = 2; } } return lineView.node; } function updateLineBackground(cm, lineView) { var cls = lineView.bgClass ? lineView.bgClass + " " + (lineView.line.bgClass || "") : lineView.line.bgClass; if (cls) { cls += " CodeMirror-linebackground"; } if (lineView.background) { if (cls) { lineView.background.className = cls; } else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; } } else if (cls) { var wrap = ensureLineWrapped(lineView); lineView.background = wrap.insertBefore(elt("div", null, cls), wrap.firstChild); cm.display.input.setUneditable(lineView.background); } } // Wrapper around buildLineContent which will reuse the structure // in display.externalMeasured when possible. function getLineContent(cm, lineView) { var ext = cm.display.externalMeasured; if (ext && ext.line == lineView.line) { cm.display.externalMeasured = null; lineView.measure = ext.measure; return ext.built; } return buildLineContent(cm, lineView); } // Redraw the line's text. Interacts with the background and text // classes because the mode may output tokens that influence these // classes. function updateLineText(cm, lineView) { var cls = lineView.text.className; var built = getLineContent(cm, lineView); if (lineView.text == lineView.node) { lineView.node = built.pre; } lineView.text.parentNode.replaceChild(built.pre, lineView.text); lineView.text = built.pre; if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) { lineView.bgClass = built.bgClass; lineView.textClass = built.textClass; updateLineClasses(cm, lineView); } else if (cls) { lineView.text.className = cls; } } function updateLineClasses(cm, lineView) { updateLineBackground(cm, lineView); if (lineView.line.wrapClass) { ensureLineWrapped(lineView).className = lineView.line.wrapClass; } else if (lineView.node != lineView.text) { lineView.node.className = ""; } var textClass = lineView.textClass ? lineView.textClass + " " + (lineView.line.textClass || "") : lineView.line.textClass; lineView.text.className = textClass || ""; } function updateLineGutter(cm, lineView, lineN, dims) { if (lineView.gutter) { lineView.node.removeChild(lineView.gutter); lineView.gutter = null; } if (lineView.gutterBackground) { lineView.node.removeChild(lineView.gutterBackground); lineView.gutterBackground = null; } if (lineView.line.gutterClass) { var wrap = ensureLineWrapped(lineView); lineView.gutterBackground = elt("div", null, "CodeMirror-gutter-background " + lineView.line.gutterClass, "left: " + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + "px; width: " + dims.gutterTotalWidth + "px"); cm.display.input.setUneditable(lineView.gutterBackground); wrap.insertBefore(lineView.gutterBackground, lineView.text); } var markers = lineView.line.gutterMarkers; if (cm.options.lineNumbers || markers) { var wrap$1 = ensureLineWrapped(lineView); var gutterWrap = lineView.gutter = elt("div", null, "CodeMirror-gutter-wrapper", "left: " + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + "px"); gutterWrap.setAttribute("aria-hidden", "true"); cm.display.input.setUneditable(gutterWrap); wrap$1.insertBefore(gutterWrap, lineView.text); if (lineView.line.gutterClass) { gutterWrap.className += " " + lineView.line.gutterClass; } if (cm.options.lineNumbers && (!markers || !markers["CodeMirror-linenumbers"])) { lineView.lineNumber = gutterWrap.appendChild(elt("div", lineNumberFor(cm.options, lineN), "CodeMirror-linenumber CodeMirror-gutter-elt", "left: " + dims.gutterLeft["CodeMirror-linenumbers"] + "px; width: " + cm.display.lineNumInnerWidth + "px")); } if (markers) { for (var k = 0; k < cm.display.gutterSpecs.length; ++k) { var id = cm.display.gutterSpecs[k].className, found = markers.hasOwnProperty(id) && markers[id]; if (found) { gutterWrap.appendChild(elt("div", [found], "CodeMirror-gutter-elt", "left: " + dims.gutterLeft[id] + "px; width: " + dims.gutterWidth[id] + "px")); } } } } } function updateLineWidgets(cm, lineView, dims) { if (lineView.alignable) { lineView.alignable = null; } var isWidget = classTest("CodeMirror-linewidget"); for (var node = lineView.node.firstChild, next = void 0; node; node = next) { next = node.nextSibling; if (isWidget.test(node.className)) { lineView.node.removeChild(node); } } insertLineWidgets(cm, lineView, dims); } // Build a line's DOM representation from scratch function buildLineElement(cm, lineView, lineN, dims) { var built = getLineContent(cm, lineView); lineView.text = lineView.node = built.pre; if (built.bgClass) { lineView.bgClass = built.bgClass; } if (built.textClass) { lineView.textClass = built.textClass; } updateLineClasses(cm, lineView); updateLineGutter(cm, lineView, lineN, dims); insertLineWidgets(cm, lineView, dims); return lineView.node; } // A lineView may contain multiple logical lines (when merged by // collapsed spans). The widgets for all of them need to be drawn. function insertLineWidgets(cm, lineView, dims) { insertLineWidgetsFor(cm, lineView.line, lineView, dims, true); if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++) { insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false); } } } function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) { if (!line.widgets) { return; } var wrap = ensureLineWrapped(lineView); for (var i = 0, ws = line.widgets; i < ws.length; ++i) { var widget = ws[i], node = elt("div", [widget.node], "CodeMirror-linewidget" + (widget.className ? " " + widget.className : "")); if (!widget.handleMouseEvents) { node.setAttribute("cm-ignore-events", "true"); } positionLineWidget(widget, node, lineView, dims); cm.display.input.setUneditable(node); if (allowAbove && widget.above) { wrap.insertBefore(node, lineView.gutter || lineView.text); } else { wrap.appendChild(node); } signalLater(widget, "redraw"); } } function positionLineWidget(widget, node, lineView, dims) { if (widget.noHScroll) { (lineView.alignable || (lineView.alignable = [])).push(node); var width = dims.wrapperWidth; node.style.left = dims.fixedPos + "px"; if (!widget.coverGutter) { width -= dims.gutterTotalWidth; node.style.paddingLeft = dims.gutterTotalWidth + "px"; } node.style.width = width + "px"; } if (widget.coverGutter) { node.style.zIndex = 5; node.style.position = "relative"; if (!widget.noHScroll) { node.style.marginLeft = -dims.gutterTotalWidth + "px"; } } } function widgetHeight(widget) { if (widget.height != null) { return widget.height; } var cm = widget.doc.cm; if (!cm) { return 0; } if (!contains(document.body, widget.node)) { var parentStyle = "position: relative;"; if (widget.coverGutter) { parentStyle += "margin-left: -" + cm.display.gutters.offsetWidth + "px;"; } if (widget.noHScroll) { parentStyle += "width: " + cm.display.wrapper.clientWidth + "px;"; } removeChildrenAndAdd(cm.display.measure, elt("div", [widget.node], null, parentStyle)); } return widget.height = widget.node.parentNode.offsetHeight; } // Return true when the given mouse event happened in a widget function eventInWidget(display, e) { for (var n = e_target(e); n != display.wrapper; n = n.parentNode) { if (!n || n.nodeType == 1 && n.getAttribute("cm-ignore-events") == "true" || n.parentNode == display.sizer && n != display.mover) { return true; } } } // POSITION MEASUREMENT function paddingTop(display) { return display.lineSpace.offsetTop; } function paddingVert(display) { return display.mover.offsetHeight - display.lineSpace.offsetHeight; } function paddingH(display) { if (display.cachedPaddingH) { return display.cachedPaddingH; } var e = removeChildrenAndAdd(display.measure, elt("pre", "x", "CodeMirror-line-like")); var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle; var data = { left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight) }; if (!isNaN(data.left) && !isNaN(data.right)) { display.cachedPaddingH = data; } return data; } function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth; } function displayWidth(cm) { return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth; } function displayHeight(cm) { return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight; } // Ensure the lineView.wrapping.heights array is populated. This is // an array of bottom offsets for the lines that make up a drawn // line. When lineWrapping is on, there might be more than one // height. function ensureLineHeights(cm, lineView, rect) { var wrapping = cm.options.lineWrapping; var curWidth = wrapping && displayWidth(cm); if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) { var heights = lineView.measure.heights = []; if (wrapping) { lineView.measure.width = curWidth; var rects = lineView.text.firstChild.getClientRects(); for (var i = 0; i < rects.length - 1; i++) { var cur = rects[i], next = rects[i + 1]; if (Math.abs(cur.bottom - next.bottom) > 2) { heights.push((cur.bottom + next.top) / 2 - rect.top); } } } heights.push(rect.bottom - rect.top); } } // Find a line map (mapping character offsets to text nodes) and a // measurement cache for the given line number. (A line view might // contain multiple lines when collapsed ranges are present.) function mapFromLineView(lineView, line, lineN) { if (lineView.line == line) { return { map: lineView.measure.map, cache: lineView.measure.cache }; } if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++) { if (lineView.rest[i] == line) { return { map: lineView.measure.maps[i], cache: lineView.measure.caches[i] }; } } for (var i$1 = 0; i$1 < lineView.rest.length; i$1++) { if (lineNo(lineView.rest[i$1]) > lineN) { return { map: lineView.measure.maps[i$1], cache: lineView.measure.caches[i$1], before: true }; } } } } // Render a line into the hidden node display.externalMeasured. Used // when measurement is needed for a line that's not in the viewport. function updateExternalMeasurement(cm, line) { line = visualLine(line); var lineN = lineNo(line); var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN); view.lineN = lineN; var built = view.built = buildLineContent(cm, view); view.text = built.pre; removeChildrenAndAdd(cm.display.lineMeasure, built.pre); return view; } // Get a {top, bottom, left, right} box (in line-local coordinates) // for a given character. function measureChar(cm, line, ch, bias) { return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias); } // Find a line view that corresponds to the given line number. function findViewForLine(cm, lineN) { if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo) { return cm.display.view[findViewIndex(cm, lineN)]; } var ext = cm.display.externalMeasured; if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size) { return ext; } } // Measurement can be split in two steps, the set-up work that // applies to the whole line, and the measurement of the actual // character. Functions like coordsChar, that need to do a lot of // measurements in a row, can thus ensure that the set-up work is // only done once. function prepareMeasureForLine(cm, line) { var lineN = lineNo(line); var view = findViewForLine(cm, lineN); if (view && !view.text) { view = null; } else if (view && view.changes) { updateLineForChanges(cm, view, lineN, getDimensions(cm)); cm.curOp.forceUpdate = true; } if (!view) { view = updateExternalMeasurement(cm, line); } var info = mapFromLineView(view, line, lineN); return { line: line, view: view, rect: null, map: info.map, cache: info.cache, before: info.before, hasHeights: false }; } // Given a prepared measurement object, measures the position of an // actual character (or fetches it from the cache). function measureCharPrepared(cm, prepared, ch, bias, varHeight) { if (prepared.before) { ch = -1; } var key = ch + (bias || ""), found; if (prepared.cache.hasOwnProperty(key)) { found = prepared.cache[key]; } else { if (!prepared.rect) { prepared.rect = prepared.view.text.getBoundingClientRect(); } if (!prepared.hasHeights) { ensureLineHeights(cm, prepared.view, prepared.rect); prepared.hasHeights = true; } found = measureCharInner(cm, prepared, ch, bias); if (!found.bogus) { prepared.cache[key] = found; } } return { left: found.left, right: found.right, top: varHeight ? found.rtop : found.top, bottom: varHeight ? found.rbottom : found.bottom }; } var nullRect = { left: 0, right: 0, top: 0, bottom: 0 }; function nodeAndOffsetInLineMap(map, ch, bias) { var node, start, end, collapse, mStart, mEnd; // First, search the line map for the text node corresponding to, // or closest to, the target character. for (var i = 0; i < map.length; i += 3) { mStart = map[i]; mEnd = map[i + 1]; if (ch < mStart) { start = 0; end = 1; collapse = "left"; } else if (ch < mEnd) { start = ch - mStart; end = start + 1; } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) { end = mEnd - mStart; start = end - 1; if (ch >= mEnd) { collapse = "right"; } } if (start != null) { node = map[i + 2]; if (mStart == mEnd && bias == (node.insertLeft ? "left" : "right")) { collapse = bias; } if (bias == "left" && start == 0) { while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) { node = map[(i -= 3) + 2]; collapse = "left"; } } if (bias == "right" && start == mEnd - mStart) { while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) { node = map[(i += 3) + 2]; collapse = "right"; } } break; } } return { node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd }; } function getUsefulRect(rects, bias) { var rect = nullRect; if (bias == "left") { for (var i = 0; i < rects.length; i++) { if ((rect = rects[i]).left != rect.right) { break; } } } else { for (var i$1 = rects.length - 1; i$1 >= 0; i$1--) { if ((rect = rects[i$1]).left != rect.right) { break; } } } return rect; } function measureCharInner(cm, prepared, ch, bias) { var place = nodeAndOffsetInLineMap(prepared.map, ch, bias); var node = place.node, start = place.start, end = place.end, collapse = place.collapse; var rect; if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates. for (var i$1 = 0; i$1 < 4; i$1++) { // Retry a maximum of 4 times when nonsense rectangles are returned while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) { --start; } while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) { ++end; } if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart) { rect = node.parentNode.getBoundingClientRect(); } else { rect = getUsefulRect(range(node, start, end).getClientRects(), bias); } if (rect.left || rect.right || start == 0) { break; } end = start; start = start - 1; collapse = "right"; } if (ie && ie_version < 11) { rect = maybeUpdateRectForZooming(cm.display.measure, rect); } } else { // If it is a widget, simply get the box for the whole widget. if (start > 0) { collapse = bias = "right"; } var rects; if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1) { rect = rects[bias == "right" ? rects.length - 1 : 0]; } else { rect = node.getBoundingClientRect(); } } if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) { var rSpan = node.parentNode.getClientRects()[0]; if (rSpan) { rect = { left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom }; } else { rect = nullRect; } } var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top; var mid = (rtop + rbot) / 2; var heights = prepared.view.measure.heights; var i = 0; for (; i < heights.length - 1; i++) { if (mid < heights[i]) { break; } } var top = i ? heights[i - 1] : 0, bot = heights[i]; var result = { left: (collapse == "right" ? rect.right : rect.left) - prepared.rect.left, right: (collapse == "left" ? rect.left : rect.right) - prepared.rect.left, top: top, bottom: bot }; if (!rect.left && !rect.right) { result.bogus = true; } if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; } return result; } // Work around problem with bounding client rects on ranges being // returned incorrectly when zoomed on IE10 and below. function maybeUpdateRectForZooming(measure, rect) { if (!window.screen || screen.logicalXDPI == null || screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure)) { return rect; } var scaleX = screen.logicalXDPI / screen.deviceXDPI; var scaleY = screen.logicalYDPI / screen.deviceYDPI; return { left: rect.left * scaleX, right: rect.right * scaleX, top: rect.top * scaleY, bottom: rect.bottom * scaleY }; } function clearLineMeasurementCacheFor(lineView) { if (lineView.measure) { lineView.measure.cache = {}; lineView.measure.heights = null; if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++) { lineView.measure.caches[i] = {}; } } } } function clearLineMeasurementCache(cm) { cm.display.externalMeasure = null; removeChildren(cm.display.lineMeasure); for (var i = 0; i < cm.display.view.length; i++) { clearLineMeasurementCacheFor(cm.display.view[i]); } } function clearCaches(cm) { clearLineMeasurementCache(cm); cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null; if (!cm.options.lineWrapping) { cm.display.maxLineChanged = true; } cm.display.lineNumChars = null; } function pageScrollX(doc) { // Work around https://bugs.chromium.org/p/chromium/issues/detail?id=489206 // which causes page_Offset and bounding client rects to use // different reference viewports and invalidate our calculations. if (chrome && android) { return -(doc.body.getBoundingClientRect().left - parseInt(getComputedStyle(doc.body).marginLeft)); } return doc.defaultView.pageXOffset || (doc.documentElement || doc.body).scrollLeft; } function pageScrollY(doc) { if (chrome && android) { return -(doc.body.getBoundingClientRect().top - parseInt(getComputedStyle(doc.body).marginTop)); } return doc.defaultView.pageYOffset || (doc.documentElement || doc.body).scrollTop; } function widgetTopHeight(lineObj) { var ref = visualLine(lineObj); var widgets = ref.widgets; var height = 0; if (widgets) { for (var i = 0; i < widgets.length; ++i) { if (widgets[i].above) { height += widgetHeight(widgets[i]); } } } return height; } // Converts a {top, bottom, left, right} box from line-local // coordinates into another coordinate system. Context may be one of // "line", "div" (display.lineDiv), "local"./null (editor), "window", // or "page". function intoCoordSystem(cm, lineObj, rect, context, includeWidgets) { if (!includeWidgets) { var height = widgetTopHeight(lineObj); rect.top += height; rect.bottom += height; } if (context == "line") { return rect; } if (!context) { context = "local"; } var yOff = heightAtLine(lineObj); if (context == "local") { yOff += paddingTop(cm.display); } else { yOff -= cm.display.viewOffset; } if (context == "page" || context == "window") { var lOff = cm.display.lineSpace.getBoundingClientRect(); yOff += lOff.top + (context == "window" ? 0 : pageScrollY(doc(cm))); var xOff = lOff.left + (context == "window" ? 0 : pageScrollX(doc(cm))); rect.left += xOff; rect.right += xOff; } rect.top += yOff; rect.bottom += yOff; return rect; } // Coverts a box from "div" coords to another coordinate system. // Context may be "window", "page", "div", or "local"./null. function fromCoordSystem(cm, coords, context) { if (context == "div") { return coords; } var left = coords.left, top = coords.top; // First move into "page" coordinate system if (context == "page") { left -= pageScrollX(doc(cm)); top -= pageScrollY(doc(cm)); } else if (context == "local" || !context) { var localBox = cm.display.sizer.getBoundingClientRect(); left += localBox.left; top += localBox.top; } var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect(); return { left: left - lineSpaceBox.left, top: top - lineSpaceBox.top }; } function charCoords(cm, pos, context, lineObj, bias) { if (!lineObj) { lineObj = getLine(cm.doc, pos.line); } return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context); } // Returns a box for a given cursor position, which may have an // 'other' property containing the position of the secondary cursor // on a bidi boundary. // A cursor Pos(line, char, "before") is on the same visual line as `char - 1` // and after `char - 1` in writing order of `char - 1` // A cursor Pos(line, char, "after") is on the same visual line as `char` // and before `char` in writing order of `char` // Examples (upper-case letters are RTL, lower-case are LTR): // Pos(0, 1, ...) // before after // ab a|b a|b // aB a|B aB| // Ab |Ab A|b // AB B|A B|A // Every position after the last character on a line is considered to stick // to the last character on the line. function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) { lineObj = lineObj || getLine(cm.doc, pos.line); if (!preparedMeasure) { preparedMeasure = prepareMeasureForLine(cm, lineObj); } function get(ch, right) { var m = measureCharPrepared(cm, preparedMeasure, ch, right ? "right" : "left", varHeight); if (right) { m.left = m.right; } else { m.right = m.left; } return intoCoordSystem(cm, lineObj, m, context); } var order = getOrder(lineObj, cm.doc.direction), ch = pos.ch, sticky = pos.sticky; if (ch >= lineObj.text.length) { ch = lineObj.text.length; sticky = "before"; } else if (ch <= 0) { ch = 0; sticky = "after"; } if (!order) { return get(sticky == "before" ? ch - 1 : ch, sticky == "before"); } function getBidi(ch, partPos, invert) { var part = order[partPos], right = part.level == 1; return get(invert ? ch - 1 : ch, right != invert); } var partPos = getBidiPartAt(order, ch, sticky); var other = bidiOther; var val = getBidi(ch, partPos, sticky == "before"); if (other != null) { val.other = getBidi(ch, other, sticky != "before"); } return val; } // Used to cheaply estimate the coordinates for a position. Used for // intermediate scroll updates. function estimateCoords(cm, pos) { var left = 0; pos = clipPos(cm.doc, pos); if (!cm.options.lineWrapping) { left = charWidth(cm.display) * pos.ch; } var lineObj = getLine(cm.doc, pos.line); var top = heightAtLine(lineObj) + paddingTop(cm.display); return { left: left, right: left, top: top, bottom: top + lineObj.height }; } // Positions returned by coordsChar contain some extra information. // xRel is the relative x position of the input coordinates compared // to the found position (so xRel > 0 means the coordinates are to // the right of the character position, for example). When outside // is true, that means the coordinates lie outside the line's // vertical range. function PosWithInfo(line, ch, sticky, outside, xRel) { var pos = Pos(line, ch, sticky); pos.xRel = xRel; if (outside) { pos.outside = outside; } return pos; } // Compute the character position closest to the given coordinates. // Input must be lineSpace-local ("div" coordinate system). function coordsChar(cm, x, y) { var doc = cm.doc; y += cm.display.viewOffset; if (y < 0) { return PosWithInfo(doc.first, 0, null, -1, -1); } var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1; if (lineN > last) { return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, null, 1, 1); } if (x < 0) { x = 0; } var lineObj = getLine(doc, lineN); for (;;) { var found = coordsCharInner(cm, lineObj, lineN, x, y); var collapsed = collapsedSpanAround(lineObj, found.ch + (found.xRel > 0 || found.outside > 0 ? 1 : 0)); if (!collapsed) { return found; } var rangeEnd = collapsed.find(1); if (rangeEnd.line == lineN) { return rangeEnd; } lineObj = getLine(doc, lineN = rangeEnd.line); } } function wrappedLineExtent(cm, lineObj, preparedMeasure, y) { y -= widgetTopHeight(lineObj); var end = lineObj.text.length; var begin = findFirst(function (ch) { return measureCharPrepared(cm, preparedMeasure, ch - 1).bottom <= y; }, end, 0); end = findFirst(function (ch) { return measureCharPrepared(cm, preparedMeasure, ch).top > y; }, begin, end); return { begin: begin, end: end }; } function wrappedLineExtentChar(cm, lineObj, preparedMeasure, target) { if (!preparedMeasure) { preparedMeasure = prepareMeasureForLine(cm, lineObj); } var targetTop = intoCoordSystem(cm, lineObj, measureCharPrepared(cm, preparedMeasure, target), "line").top; return wrappedLineExtent(cm, lineObj, preparedMeasure, targetTop); } // Returns true if the given side of a box is after the given // coordinates, in top-to-bottom, left-to-right order. function boxIsAfter(box, x, y, left) { return box.bottom <= y ? false : box.top > y ? true : (left ? box.left : box.right) > x; } function coordsCharInner(cm, lineObj, lineNo, x, y) { // Move y into line-local coordinate space y -= heightAtLine(lineObj); var preparedMeasure = prepareMeasureForLine(cm, lineObj); // When directly calling `measureCharPrepared`, we have to adjust // for the widgets at this line. var widgetHeight = widgetTopHeight(lineObj); var begin = 0, end = lineObj.text.length, ltr = true; var order = getOrder(lineObj, cm.doc.direction); // If the line isn't plain left-to-right text, first figure out // which bidi section the coordinates fall into. if (order) { var part = (cm.options.lineWrapping ? coordsBidiPartWrapped : coordsBidiPart)(cm, lineObj, lineNo, preparedMeasure, order, x, y); ltr = part.level != 1; // The awkward -1 offsets are needed because findFirst (called // on these below) will treat its first bound as inclusive, // second as exclusive, but we want to actually address the // characters in the part's range begin = ltr ? part.from : part.to - 1; end = ltr ? part.to : part.from - 1; } // A binary search to find the first character whose bounding box // starts after the coordinates. If we run across any whose box wrap // the coordinates, store that. var chAround = null, boxAround = null; var ch = findFirst(function (ch) { var box = measureCharPrepared(cm, preparedMeasure, ch); box.top += widgetHeight; box.bottom += widgetHeight; if (!boxIsAfter(box, x, y, false)) { return false; } if (box.top <= y && box.left <= x) { chAround = ch; boxAround = box; } return true; }, begin, end); var baseX, sticky, outside = false; // If a box around the coordinates was found, use that if (boxAround) { // Distinguish coordinates nearer to the left or right side of the box var atLeft = x - boxAround.left < boxAround.right - x, atStart = atLeft == ltr; ch = chAround + (atStart ? 0 : 1); sticky = atStart ? "after" : "before"; baseX = atLeft ? boxAround.left : boxAround.right; } else { // (Adjust for extended bound, if necessary.) if (!ltr && (ch == end || ch == begin)) { ch++; } // To determine which side to associate with, get the box to the // left of the character and compare it's vertical position to the // coordinates sticky = ch == 0 ? "after" : ch == lineObj.text.length ? "before" : measureCharPrepared(cm, preparedMeasure, ch - (ltr ? 1 : 0)).bottom + widgetHeight <= y == ltr ? "after" : "before"; // Now get accurate coordinates for this place, in order to get a // base X position var coords = cursorCoords(cm, Pos(lineNo, ch, sticky), "line", lineObj, preparedMeasure); baseX = coords.left; outside = y < coords.top ? -1 : y >= coords.bottom ? 1 : 0; } ch = skipExtendingChars(lineObj.text, ch, 1); return PosWithInfo(lineNo, ch, sticky, outside, x - baseX); } function coordsBidiPart(cm, lineObj, lineNo, preparedMeasure, order, x, y) { // Bidi parts are sorted left-to-right, and in a non-line-wrapping // situation, we can take this ordering to correspond to the visual // ordering. This finds the first part whose end is after the given // coordinates. var index = findFirst(function (i) { var part = order[i], ltr = part.level != 1; return boxIsAfter(cursorCoords(cm, Pos(lineNo, ltr ? part.to : part.from, ltr ? "before" : "after"), "line", lineObj, preparedMeasure), x, y, true); }, 0, order.length - 1); var part = order[index]; // If this isn't the first part, the part's start is also after // the coordinates, and the coordinates aren't on the same line as // that start, move one part back. if (index > 0) { var ltr = part.level != 1; var start = cursorCoords(cm, Pos(lineNo, ltr ? part.from : part.to, ltr ? "after" : "before"), "line", lineObj, preparedMeasure); if (boxIsAfter(start, x, y, true) && start.top > y) { part = order[index - 1]; } } return part; } function coordsBidiPartWrapped(cm, lineObj, _lineNo, preparedMeasure, order, x, y) { // In a wrapped line, rtl text on wrapping boundaries can do things // that don't correspond to the ordering in our `order` array at // all, so a binary search doesn't work, and we want to return a // part that only spans one line so that the binary search in // coordsCharInner is safe. As such, we first find the extent of the // wrapped line, and then do a flat search in which we discard any // spans that aren't on the line. var ref = wrappedLineExtent(cm, lineObj, preparedMeasure, y); var begin = ref.begin; var end = ref.end; if (/\s/.test(lineObj.text.charAt(end - 1))) { end--; } var part = null, closestDist = null; for (var i = 0; i < order.length; i++) { var p = order[i]; if (p.from >= end || p.to <= begin) { continue; } var ltr = p.level != 1; var endX = measureCharPrepared(cm, preparedMeasure, ltr ? Math.min(end, p.to) - 1 : Math.max(begin, p.from)).right; // Weigh against spans ending before this, so that they are only // picked if nothing ends after var dist = endX < x ? x - endX + 1e9 : endX - x; if (!part || closestDist > dist) { part = p; closestDist = dist; } } if (!part) { part = order[order.length - 1]; } // Clip the part to the wrapped line. if (part.from < begin) { part = { from: begin, to: part.to, level: part.level }; } if (part.to > end) { part = { from: part.from, to: end, level: part.level }; } return part; } var measureText; // Compute the default text height. function textHeight(display) { if (display.cachedTextHeight != null) { return display.cachedTextHeight; } if (measureText == null) { measureText = elt("pre", null, "CodeMirror-line-like"); // Measure a bunch of lines, for browsers that compute // fractional heights. for (var i = 0; i < 49; ++i) { measureText.appendChild(document.createTextNode("x")); measureText.appendChild(elt("br")); } measureText.appendChild(document.createTextNode("x")); } removeChildrenAndAdd(display.measure, measureText); var height = measureText.offsetHeight / 50; if (height > 3) { display.cachedTextHeight = height; } removeChildren(display.measure); return height || 1; } // Compute the default character width. function charWidth(display) { if (display.cachedCharWidth != null) { return display.cachedCharWidth; } var anchor = elt("span", "xxxxxxxxxx"); var pre = elt("pre", [anchor], "CodeMirror-line-like"); removeChildrenAndAdd(display.measure, pre); var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10; if (width > 2) { display.cachedCharWidth = width; } return width || 10; } // Do a bulk-read of the DOM positions and sizes needed to draw the // view, so that we don't interleave reading and writing to the DOM. function getDimensions(cm) { var d = cm.display, left = {}, width = {}; var gutterLeft = d.gutters.clientLeft; for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) { var id = cm.display.gutterSpecs[i].className; left[id] = n.offsetLeft + n.clientLeft + gutterLeft; width[id] = n.clientWidth; } return { fixedPos: compensateForHScroll(d), gutterTotalWidth: d.gutters.offsetWidth, gutterLeft: left, gutterWidth: width, wrapperWidth: d.wrapper.clientWidth }; } // Computes display.scroller.scrollLeft + display.gutters.offsetWidth, // but using getBoundingClientRect to get a sub-pixel-accurate // result. function compensateForHScroll(display) { return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left; } // Returns a function that estimates the height of a line, to use as // first approximation until the line becomes visible (and is thus // properly measurable). function estimateHeight(cm) { var th = textHeight(cm.display), wrapping = cm.options.lineWrapping; var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3); return function (line) { if (lineIsHidden(cm.doc, line)) { return 0; } var widgetsHeight = 0; if (line.widgets) { for (var i = 0; i < line.widgets.length; i++) { if (line.widgets[i].height) { widgetsHeight += line.widgets[i].height; } } } if (wrapping) { return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th; } else { return widgetsHeight + th; } }; } function estimateLineHeights(cm) { var doc = cm.doc, est = estimateHeight(cm); doc.iter(function (line) { var estHeight = est(line); if (estHeight != line.height) { updateLineHeight(line, estHeight); } }); } // Given a mouse event, find the corresponding position. If liberal // is false, it checks whether a gutter or scrollbar was clicked, // and returns null if it was. forRect is used by rectangular // selections, and tries to estimate a character position even for // coordinates beyond the right of the text. function posFromMouse(cm, e, liberal, forRect) { var display = cm.display; if (!liberal && e_target(e).getAttribute("cm-not-content") == "true") { return null; } var x, y, space = display.lineSpace.getBoundingClientRect(); // Fails unpredictably on IE[67] when mouse is dragged around quickly. try { x = e.clientX - space.left; y = e.clientY - space.top; } catch (e$1) { return null; } var coords = coordsChar(cm, x, y), line; if (forRect && coords.xRel > 0 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) { var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length; coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff)); } return coords; } // Find the view element corresponding to a given line. Return null // when the line isn't visible. function findViewIndex(cm, n) { if (n >= cm.display.viewTo) { return null; } n -= cm.display.viewFrom; if (n < 0) { return null; } var view = cm.display.view; for (var i = 0; i < view.length; i++) { n -= view[i].size; if (n < 0) { return i; } } } // Updates the display.view data structure for a given change to the // document. From and to are in pre-change coordinates. Lendiff is // the amount of lines added or subtracted by the change. This is // used for changes that span multiple lines, or change the way // lines are divided into visual lines. regLineChange (below) // registers single-line changes. function regChange(cm, from, to, lendiff) { if (from == null) { from = cm.doc.first; } if (to == null) { to = cm.doc.first + cm.doc.size; } if (!lendiff) { lendiff = 0; } var display = cm.display; if (lendiff && to < display.viewTo && (display.updateLineNumbers == null || display.updateLineNumbers > from)) { display.updateLineNumbers = from; } cm.curOp.viewChanged = true; if (from >= display.viewTo) { // Change after if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo) { resetView(cm); } } else if (to <= display.viewFrom) { // Change before if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) { resetView(cm); } else { display.viewFrom += lendiff; display.viewTo += lendiff; } } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap resetView(cm); } else if (from <= display.viewFrom) { // Top overlap var cut = viewCuttingPoint(cm, to, to + lendiff, 1); if (cut) { display.view = display.view.slice(cut.index); display.viewFrom = cut.lineN; display.viewTo += lendiff; } else { resetView(cm); } } else if (to >= display.viewTo) { // Bottom overlap var cut$1 = viewCuttingPoint(cm, from, from, -1); if (cut$1) { display.view = display.view.slice(0, cut$1.index); display.viewTo = cut$1.lineN; } else { resetView(cm); } } else { // Gap in the middle var cutTop = viewCuttingPoint(cm, from, from, -1); var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1); if (cutTop && cutBot) { display.view = display.view.slice(0, cutTop.index).concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN)).concat(display.view.slice(cutBot.index)); display.viewTo += lendiff; } else { resetView(cm); } } var ext = display.externalMeasured; if (ext) { if (to < ext.lineN) { ext.lineN += lendiff; } else if (from < ext.lineN + ext.size) { display.externalMeasured = null; } } } // Register a change to a single line. Type must be one of "text", // "gutter", "class", "widget" function regLineChange(cm, line, type) { cm.curOp.viewChanged = true; var display = cm.display, ext = cm.display.externalMeasured; if (ext && line >= ext.lineN && line < ext.lineN + ext.size) { display.externalMeasured = null; } if (line < display.viewFrom || line >= display.viewTo) { return; } var lineView = display.view[findViewIndex(cm, line)]; if (lineView.node == null) { return; } var arr = lineView.changes || (lineView.changes = []); if (indexOf(arr, type) == -1) { arr.push(type); } } // Clear the view. function resetView(cm) { cm.display.viewFrom = cm.display.viewTo = cm.doc.first; cm.display.view = []; cm.display.viewOffset = 0; } function viewCuttingPoint(cm, oldN, newN, dir) { var index = findViewIndex(cm, oldN), diff, view = cm.display.view; if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size) { return { index: index, lineN: newN }; } var n = cm.display.viewFrom; for (var i = 0; i < index; i++) { n += view[i].size; } if (n != oldN) { if (dir > 0) { if (index == view.length - 1) { return null; } diff = n + view[index].size - oldN; index++; } else { diff = n - oldN; } oldN += diff; newN += diff; } while (visualLineNo(cm.doc, newN) != newN) { if (index == (dir < 0 ? 0 : view.length - 1)) { return null; } newN += dir * view[index - (dir < 0 ? 1 : 0)].size; index += dir; } return { index: index, lineN: newN }; } // Force the view to cover a given range, adding empty view element // or clipping off existing ones as needed. function adjustView(cm, from, to) { var display = cm.display, view = display.view; if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) { display.view = buildViewArray(cm, from, to); display.viewFrom = from; } else { if (display.viewFrom > from) { display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view); } else if (display.viewFrom < from) { display.view = display.view.slice(findViewIndex(cm, from)); } display.viewFrom = from; if (display.viewTo < to) { display.view = display.view.concat(buildViewArray(cm, display.viewTo, to)); } else if (display.viewTo > to) { display.view = display.view.slice(0, findViewIndex(cm, to)); } } display.viewTo = to; } // Count the number of lines in the view whose DOM representation is // out of date (or nonexistent). function countDirtyView(cm) { var view = cm.display.view, dirty = 0; for (var i = 0; i < view.length; i++) { var lineView = view[i]; if (!lineView.hidden && (!lineView.node || lineView.changes)) { ++dirty; } } return dirty; } function updateSelection(cm) { cm.display.input.showSelection(cm.display.input.prepareSelection()); } function prepareSelection(cm, primary) { if (primary === void 0) primary = true; var doc = cm.doc, result = {}; var curFragment = result.cursors = document.createDocumentFragment(); var selFragment = result.selection = document.createDocumentFragment(); var customCursor = cm.options.$customCursor; if (customCursor) { primary = true; } for (var i = 0; i < doc.sel.ranges.length; i++) { if (!primary && i == doc.sel.primIndex) { continue; } var range = doc.sel.ranges[i]; if (range.from().line >= cm.display.viewTo || range.to().line < cm.display.viewFrom) { continue; } var collapsed = range.empty(); if (customCursor) { var head = customCursor(cm, range); if (head) { drawSelectionCursor(cm, head, curFragment); } } else if (collapsed || cm.options.showCursorWhenSelecting) { drawSelectionCursor(cm, range.head, curFragment); } if (!collapsed) { drawSelectionRange(cm, range, selFragment); } } return result; } // Draws a cursor for the given range function drawSelectionCursor(cm, head, output) { var pos = cursorCoords(cm, head, "div", null, null, !cm.options.singleCursorHeightPerLine); var cursor = output.appendChild(elt("div", "\u00a0", "CodeMirror-cursor")); cursor.style.left = pos.left + "px"; cursor.style.top = pos.top + "px"; cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + "px"; if (/\bcm-fat-cursor\b/.test(cm.getWrapperElement().className)) { var charPos = charCoords(cm, head, "div", null, null); var width = charPos.right - charPos.left; cursor.style.width = (width > 0 ? width : cm.defaultCharWidth()) + "px"; } if (pos.other) { // Secondary cursor, shown when on a 'jump' in bi-directional text var otherCursor = output.appendChild(elt("div", "\u00a0", "CodeMirror-cursor CodeMirror-secondarycursor")); otherCursor.style.display = ""; otherCursor.style.left = pos.other.left + "px"; otherCursor.style.top = pos.other.top + "px"; otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + "px"; } } function cmpCoords(a, b) { return a.top - b.top || a.left - b.left; } // Draws the given range as a highlighted selection function drawSelectionRange(cm, range, output) { var display = cm.display, doc = cm.doc; var fragment = document.createDocumentFragment(); var padding = paddingH(cm.display), leftSide = padding.left; var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right; var docLTR = doc.direction == "ltr"; function add(left, top, width, bottom) { if (top < 0) { top = 0; } top = Math.round(top); bottom = Math.round(bottom); fragment.appendChild(elt("div", null, "CodeMirror-selected", "position: absolute; left: " + left + "px;\n top: " + top + "px; width: " + (width == null ? rightSide - left : width) + "px;\n height: " + (bottom - top) + "px")); } function drawForLine(line, fromArg, toArg) { var lineObj = getLine(doc, line); var lineLen = lineObj.text.length; var start, end; function coords(ch, bias) { return charCoords(cm, Pos(line, ch), "div", lineObj, bias); } function wrapX(pos, dir, side) { var extent = wrappedLineExtentChar(cm, lineObj, null, pos); var prop = dir == "ltr" == (side == "after") ? "left" : "right"; var ch = side == "after" ? extent.begin : extent.end - (/\s/.test(lineObj.text.charAt(extent.end - 1)) ? 2 : 1); return coords(ch, prop)[prop]; } var order = getOrder(lineObj, doc.direction); iterateBidiSections(order, fromArg || 0, toArg == null ? lineLen : toArg, function (from, to, dir, i) { var ltr = dir == "ltr"; var fromPos = coords(from, ltr ? "left" : "right"); var toPos = coords(to - 1, ltr ? "right" : "left"); var openStart = fromArg == null && from == 0, openEnd = toArg == null && to == lineLen; var first = i == 0, last = !order || i == order.length - 1; if (toPos.top - fromPos.top <= 3) { // Single line var openLeft = (docLTR ? openStart : openEnd) && first; var openRight = (docLTR ? openEnd : openStart) && last; var left = openLeft ? leftSide : (ltr ? fromPos : toPos).left; var right = openRight ? rightSide : (ltr ? toPos : fromPos).right; add(left, fromPos.top, right - left, fromPos.bottom); } else { // Multiple lines var topLeft, topRight, botLeft, botRight; if (ltr) { topLeft = docLTR && openStart && first ? leftSide : fromPos.left; topRight = docLTR ? rightSide : wrapX(from, dir, "before"); botLeft = docLTR ? leftSide : wrapX(to, dir, "after"); botRight = docLTR && openEnd && last ? rightSide : toPos.right; } else { topLeft = !docLTR ? leftSide : wrapX(from, dir, "before"); topRight = !docLTR && openStart && first ? rightSide : fromPos.right; botLeft = !docLTR && openEnd && last ? leftSide : toPos.left; botRight = !docLTR ? rightSide : wrapX(to, dir, "after"); } add(topLeft, fromPos.top, topRight - topLeft, fromPos.bottom); if (fromPos.bottom < toPos.top) { add(leftSide, fromPos.bottom, null, toPos.top); } add(botLeft, toPos.top, botRight - botLeft, toPos.bottom); } if (!start || cmpCoords(fromPos, start) < 0) { start = fromPos; } if (cmpCoords(toPos, start) < 0) { start = toPos; } if (!end || cmpCoords(fromPos, end) < 0) { end = fromPos; } if (cmpCoords(toPos, end) < 0) { end = toPos; } }); return { start: start, end: end }; } var sFrom = range.from(), sTo = range.to(); if (sFrom.line == sTo.line) { drawForLine(sFrom.line, sFrom.ch, sTo.ch); } else { var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line); var singleVLine = visualLine(fromLine) == visualLine(toLine); var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end; var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start; if (singleVLine) { if (leftEnd.top < rightStart.top - 2) { add(leftEnd.right, leftEnd.top, null, leftEnd.bottom); add(leftSide, rightStart.top, rightStart.left, rightStart.bottom); } else { add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom); } } if (leftEnd.bottom < rightStart.top) { add(leftSide, leftEnd.bottom, null, rightStart.top); } } output.appendChild(fragment); } // Cursor-blinking function restartBlink(cm) { if (!cm.state.focused) { return; } var display = cm.display; clearInterval(display.blinker); var on = true; display.cursorDiv.style.visibility = ""; if (cm.options.cursorBlinkRate > 0) { display.blinker = setInterval(function () { if (!cm.hasFocus()) { onBlur(cm); } display.cursorDiv.style.visibility = (on = !on) ? "" : "hidden"; }, cm.options.cursorBlinkRate); } else if (cm.options.cursorBlinkRate < 0) { display.cursorDiv.style.visibility = "hidden"; } } function ensureFocus(cm) { if (!cm.hasFocus()) { cm.display.input.focus(); if (!cm.state.focused) { onFocus(cm); } } } function delayBlurEvent(cm) { cm.state.delayingBlurEvent = true; setTimeout(function () { if (cm.state.delayingBlurEvent) { cm.state.delayingBlurEvent = false; if (cm.state.focused) { onBlur(cm); } } }, 100); } function onFocus(cm, e) { if (cm.state.delayingBlurEvent && !cm.state.draggingText) { cm.state.delayingBlurEvent = false; } if (cm.options.readOnly == "nocursor") { return; } if (!cm.state.focused) { signal(cm, "focus", cm, e); cm.state.focused = true; addClass(cm.display.wrapper, "CodeMirror-focused"); // This test prevents this from firing when a context // menu is closed (since the input reset would kill the // select-all detection hack) if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) { cm.display.input.reset(); if (webkit) { setTimeout(function () { return cm.display.input.reset(true); }, 20); } // Issue #1730 } cm.display.input.receivedFocus(); } restartBlink(cm); } function onBlur(cm, e) { if (cm.state.delayingBlurEvent) { return; } if (cm.state.focused) { signal(cm, "blur", cm, e); cm.state.focused = false; rmClass(cm.display.wrapper, "CodeMirror-focused"); } clearInterval(cm.display.blinker); setTimeout(function () { if (!cm.state.focused) { cm.display.shift = false; } }, 150); } // Read the actual heights of the rendered lines, and update their // stored heights to match. function updateHeightsInViewport(cm) { var display = cm.display; var prevBottom = display.lineDiv.offsetTop; var viewTop = Math.max(0, display.scroller.getBoundingClientRect().top); var oldHeight = display.lineDiv.getBoundingClientRect().top; var mustScroll = 0; for (var i = 0; i < display.view.length; i++) { var cur = display.view[i], wrapping = cm.options.lineWrapping; var height = void 0, width = 0; if (cur.hidden) { continue; } oldHeight += cur.line.height; if (ie && ie_version < 8) { var bot = cur.node.offsetTop + cur.node.offsetHeight; height = bot - prevBottom; prevBottom = bot; } else { var box = cur.node.getBoundingClientRect(); height = box.bottom - box.top; // Check that lines don't extend past the right of the current // editor width if (!wrapping && cur.text.firstChild) { width = cur.text.firstChild.getBoundingClientRect().right - box.left - 1; } } var diff = cur.line.height - height; if (diff > .005 || diff < -.005) { if (oldHeight < viewTop) { mustScroll -= diff; } updateLineHeight(cur.line, height); updateWidgetHeight(cur.line); if (cur.rest) { for (var j = 0; j < cur.rest.length; j++) { updateWidgetHeight(cur.rest[j]); } } } if (width > cm.display.sizerWidth) { var chWidth = Math.ceil(width / charWidth(cm.display)); if (chWidth > cm.display.maxLineLength) { cm.display.maxLineLength = chWidth; cm.display.maxLine = cur.line; cm.display.maxLineChanged = true; } } } if (Math.abs(mustScroll) > 2) { display.scroller.scrollTop += mustScroll; } } // Read and store the height of line widgets associated with the // given line. function updateWidgetHeight(line) { if (line.widgets) { for (var i = 0; i < line.widgets.length; ++i) { var w = line.widgets[i], parent = w.node.parentNode; if (parent) { w.height = parent.offsetHeight; } } } } // Compute the lines that are visible in a given viewport (defaults // the current scroll position). viewport may contain top, // height, and ensure (see op.scrollToPos) properties. function visibleLines(display, doc, viewport) { var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop; top = Math.floor(top - paddingTop(display)); var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight; var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom); // Ensure is a {from: {line, ch}, to: {line, ch}} object, and // forces those lines into the viewport (if possible). if (viewport && viewport.ensure) { var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line; if (ensureFrom < from) { from = ensureFrom; to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight); } else if (Math.min(ensureTo, doc.lastLine()) >= to) { from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight); to = ensureTo; } } return { from: from, to: Math.max(to, from + 1) }; } // SCROLLING THINGS INTO VIEW // If an editor sits on the top or bottom of the window, partially // scrolled out of view, this ensures that the cursor is visible. function maybeScrollWindow(cm, rect) { if (signalDOMEvent(cm, "scrollCursorIntoView")) { return; } var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null; var doc = display.wrapper.ownerDocument; if (rect.top + box.top < 0) { doScroll = true; } else if (rect.bottom + box.top > (doc.defaultView.innerHeight || doc.documentElement.clientHeight)) { doScroll = false; } if (doScroll != null && !phantom) { var scrollNode = elt("div", "\u200b", null, "position: absolute;\n top: " + (rect.top - display.viewOffset - paddingTop(cm.display)) + "px;\n height: " + (rect.bottom - rect.top + scrollGap(cm) + display.barHeight) + "px;\n left: " + rect.left + "px; width: " + Math.max(2, rect.right - rect.left) + "px;"); cm.display.lineSpace.appendChild(scrollNode); scrollNode.scrollIntoView(doScroll); cm.display.lineSpace.removeChild(scrollNode); } } // Scroll a given position into view (immediately), verifying that // it actually became visible (as line heights are accurately // measured, the position of something may 'drift' during drawing). function scrollPosIntoView(cm, pos, end, margin) { if (margin == null) { margin = 0; } var rect; if (!cm.options.lineWrapping && pos == end) { // Set pos and end to the cursor positions around the character pos sticks to // If pos.sticky == "before", that is around pos.ch - 1, otherwise around pos.ch // If pos == Pos(_, 0, "before"), pos and end are unchanged end = pos.sticky == "before" ? Pos(pos.line, pos.ch + 1, "before") : pos; pos = pos.ch ? Pos(pos.line, pos.sticky == "before" ? pos.ch - 1 : pos.ch, "after") : pos; } for (var limit = 0; limit < 5; limit++) { var changed = false; var coords = cursorCoords(cm, pos); var endCoords = !end || end == pos ? coords : cursorCoords(cm, end); rect = { left: Math.min(coords.left, endCoords.left), top: Math.min(coords.top, endCoords.top) - margin, right: Math.max(coords.left, endCoords.left), bottom: Math.max(coords.bottom, endCoords.bottom) + margin }; var scrollPos = calculateScrollPos(cm, rect); var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft; if (scrollPos.scrollTop != null) { updateScrollTop(cm, scrollPos.scrollTop); if (Math.abs(cm.doc.scrollTop - startTop) > 1) { changed = true; } } if (scrollPos.scrollLeft != null) { setScrollLeft(cm, scrollPos.scrollLeft); if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) { changed = true; } } if (!changed) { break; } } return rect; } // Scroll a given set of coordinates into view (immediately). function scrollIntoView(cm, rect) { var scrollPos = calculateScrollPos(cm, rect); if (scrollPos.scrollTop != null) { updateScrollTop(cm, scrollPos.scrollTop); } if (scrollPos.scrollLeft != null) { setScrollLeft(cm, scrollPos.scrollLeft); } } // Calculate a new scroll position needed to scroll the given // rectangle into view. Returns an object with scrollTop and // scrollLeft properties. When these are undefined, the // vertical/horizontal position does not need to be adjusted. function calculateScrollPos(cm, rect) { var display = cm.display, snapMargin = textHeight(cm.display); if (rect.top < 0) { rect.top = 0; } var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop; var screen = displayHeight(cm), result = {}; if (rect.bottom - rect.top > screen) { rect.bottom = rect.top + screen; } var docBottom = cm.doc.height + paddingVert(display); var atTop = rect.top < snapMargin, atBottom = rect.bottom > docBottom - snapMargin; if (rect.top < screentop) { result.scrollTop = atTop ? 0 : rect.top; } else if (rect.bottom > screentop + screen) { var newTop = Math.min(rect.top, (atBottom ? docBottom : rect.bottom) - screen); if (newTop != screentop) { result.scrollTop = newTop; } } var gutterSpace = cm.options.fixedGutter ? 0 : display.gutters.offsetWidth; var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft - gutterSpace; var screenw = displayWidth(cm) - display.gutters.offsetWidth; var tooWide = rect.right - rect.left > screenw; if (tooWide) { rect.right = rect.left + screenw; } if (rect.left < 10) { result.scrollLeft = 0; } else if (rect.left < screenleft) { result.scrollLeft = Math.max(0, rect.left + gutterSpace - (tooWide ? 0 : 10)); } else if (rect.right > screenw + screenleft - 3) { result.scrollLeft = rect.right + (tooWide ? 0 : 10) - screenw; } return result; } // Store a relative adjustment to the scroll position in the current // operation (to be applied when the operation finishes). function addToScrollTop(cm, top) { if (top == null) { return; } resolveScrollToPos(cm); cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top; } // Make sure that at the end of the operation the current cursor is // shown. function ensureCursorVisible(cm) { resolveScrollToPos(cm); var cur = cm.getCursor(); cm.curOp.scrollToPos = { from: cur, to: cur, margin: cm.options.cursorScrollMargin }; } function scrollToCoords(cm, x, y) { if (x != null || y != null) { resolveScrollToPos(cm); } if (x != null) { cm.curOp.scrollLeft = x; } if (y != null) { cm.curOp.scrollTop = y; } } function scrollToRange(cm, range) { resolveScrollToPos(cm); cm.curOp.scrollToPos = range; } // When an operation has its scrollToPos property set, and another // scroll action is applied before the end of the operation, this // 'simulates' scrolling that position into view in a cheap way, so // that the effect of intermediate scroll commands is not ignored. function resolveScrollToPos(cm) { var range = cm.curOp.scrollToPos; if (range) { cm.curOp.scrollToPos = null; var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to); scrollToCoordsRange(cm, from, to, range.margin); } } function scrollToCoordsRange(cm, from, to, margin) { var sPos = calculateScrollPos(cm, { left: Math.min(from.left, to.left), top: Math.min(from.top, to.top) - margin, right: Math.max(from.right, to.right), bottom: Math.max(from.bottom, to.bottom) + margin }); scrollToCoords(cm, sPos.scrollLeft, sPos.scrollTop); } // Sync the scrollable area and scrollbars, ensure the viewport // covers the visible area. function updateScrollTop(cm, val) { if (Math.abs(cm.doc.scrollTop - val) < 2) { return; } if (!gecko) { updateDisplaySimple(cm, { top: val }); } setScrollTop(cm, val, true); if (gecko) { updateDisplaySimple(cm); } startWorker(cm, 100); } function setScrollTop(cm, val, forceScroll) { val = Math.max(0, Math.min(cm.display.scroller.scrollHeight - cm.display.scroller.clientHeight, val)); if (cm.display.scroller.scrollTop == val && !forceScroll) { return; } cm.doc.scrollTop = val; cm.display.scrollbars.setScrollTop(val); if (cm.display.scroller.scrollTop != val) { cm.display.scroller.scrollTop = val; } } // Sync scroller and scrollbar, ensure the gutter elements are // aligned. function setScrollLeft(cm, val, isScroller, forceScroll) { val = Math.max(0, Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth)); if ((isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) && !forceScroll) { return; } cm.doc.scrollLeft = val; alignHorizontally(cm); if (cm.display.scroller.scrollLeft != val) { cm.display.scroller.scrollLeft = val; } cm.display.scrollbars.setScrollLeft(val); } // SCROLLBARS // Prepare DOM reads needed to update the scrollbars. Done in one // shot to minimize update/measure roundtrips. function measureForScrollbars(cm) { var d = cm.display, gutterW = d.gutters.offsetWidth; var docH = Math.round(cm.doc.height + paddingVert(cm.display)); return { clientHeight: d.scroller.clientHeight, viewHeight: d.wrapper.clientHeight, scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth, viewWidth: d.wrapper.clientWidth, barLeft: cm.options.fixedGutter ? gutterW : 0, docHeight: docH, scrollHeight: docH + scrollGap(cm) + d.barHeight, nativeBarWidth: d.nativeBarWidth, gutterWidth: gutterW }; } var NativeScrollbars = function (place, scroll, cm) { this.cm = cm; var vert = this.vert = elt("div", [elt("div", null, null, "min-width: 1px")], "CodeMirror-vscrollbar"); var horiz = this.horiz = elt("div", [elt("div", null, null, "height: 100%; min-height: 1px")], "CodeMirror-hscrollbar"); vert.tabIndex = horiz.tabIndex = -1; place(vert); place(horiz); on(vert, "scroll", function () { if (vert.clientHeight) { scroll(vert.scrollTop, "vertical"); } }); on(horiz, "scroll", function () { if (horiz.clientWidth) { scroll(horiz.scrollLeft, "horizontal"); } }); this.checkedZeroWidth = false; // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8). if (ie && ie_version < 8) { this.horiz.style.minHeight = this.vert.style.minWidth = "18px"; } }; NativeScrollbars.prototype.update = function (measure) { var needsH = measure.scrollWidth > measure.clientWidth + 1; var needsV = measure.scrollHeight > measure.clientHeight + 1; var sWidth = measure.nativeBarWidth; if (needsV) { this.vert.style.display = "block"; this.vert.style.bottom = needsH ? sWidth + "px" : "0"; var totalHeight = measure.viewHeight - (needsH ? sWidth : 0); // A bug in IE8 can cause this value to be negative, so guard it. this.vert.firstChild.style.height = Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + "px"; } else { this.vert.scrollTop = 0; this.vert.style.display = ""; this.vert.firstChild.style.height = "0"; } if (needsH) { this.horiz.style.display = "block"; this.horiz.style.right = needsV ? sWidth + "px" : "0"; this.horiz.style.left = measure.barLeft + "px"; var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0); this.horiz.firstChild.style.width = Math.max(0, measure.scrollWidth - measure.clientWidth + totalWidth) + "px"; } else { this.horiz.style.display = ""; this.horiz.firstChild.style.width = "0"; } if (!this.checkedZeroWidth && measure.clientHeight > 0) { if (sWidth == 0) { this.zeroWidthHack(); } this.checkedZeroWidth = true; } return { right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0 }; }; NativeScrollbars.prototype.setScrollLeft = function (pos) { if (this.horiz.scrollLeft != pos) { this.horiz.scrollLeft = pos; } if (this.disableHoriz) { this.enableZeroWidthBar(this.horiz, this.disableHoriz, "horiz"); } }; NativeScrollbars.prototype.setScrollTop = function (pos) { if (this.vert.scrollTop != pos) { this.vert.scrollTop = pos; } if (this.disableVert) { this.enableZeroWidthBar(this.vert, this.disableVert, "vert"); } }; NativeScrollbars.prototype.zeroWidthHack = function () { var w = mac && !mac_geMountainLion ? "12px" : "18px"; this.horiz.style.height = this.vert.style.width = w; this.horiz.style.visibility = this.vert.style.visibility = "hidden"; this.disableHoriz = new Delayed(); this.disableVert = new Delayed(); }; NativeScrollbars.prototype.enableZeroWidthBar = function (bar, delay, type) { bar.style.visibility = ""; function maybeDisable() { // To find out whether the scrollbar is still visible, we // check whether the element under the pixel in the bottom // right corner of the scrollbar box is the scrollbar box // itself (when the bar is still visible) or its filler child // (when the bar is hidden). If it is still visible, we keep // it enabled, if it's hidden, we disable pointer events. var box = bar.getBoundingClientRect(); var elt = type == "vert" ? document.elementFromPoint(box.right - 1, (box.top + box.bottom) / 2) : document.elementFromPoint((box.right + box.left) / 2, box.bottom - 1); if (elt != bar) { bar.style.visibility = "hidden"; } else { delay.set(1000, maybeDisable); } } delay.set(1000, maybeDisable); }; NativeScrollbars.prototype.clear = function () { var parent = this.horiz.parentNode; parent.removeChild(this.horiz); parent.removeChild(this.vert); }; var NullScrollbars = function () {}; NullScrollbars.prototype.update = function () { return { bottom: 0, right: 0 }; }; NullScrollbars.prototype.setScrollLeft = function () {}; NullScrollbars.prototype.setScrollTop = function () {}; NullScrollbars.prototype.clear = function () {}; function updateScrollbars(cm, measure) { if (!measure) { measure = measureForScrollbars(cm); } var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight; updateScrollbarsInner(cm, measure); for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) { if (startWidth != cm.display.barWidth && cm.options.lineWrapping) { updateHeightsInViewport(cm); } updateScrollbarsInner(cm, measureForScrollbars(cm)); startWidth = cm.display.barWidth; startHeight = cm.display.barHeight; } } // Re-synchronize the fake scrollbars with the actual size of the // content. function updateScrollbarsInner(cm, measure) { var d = cm.display; var sizes = d.scrollbars.update(measure); d.sizer.style.paddingRight = (d.barWidth = sizes.right) + "px"; d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + "px"; d.heightForcer.style.borderBottom = sizes.bottom + "px solid transparent"; if (sizes.right && sizes.bottom) { d.scrollbarFiller.style.display = "block"; d.scrollbarFiller.style.height = sizes.bottom + "px"; d.scrollbarFiller.style.width = sizes.right + "px"; } else { d.scrollbarFiller.style.display = ""; } if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) { d.gutterFiller.style.display = "block"; d.gutterFiller.style.height = sizes.bottom + "px"; d.gutterFiller.style.width = measure.gutterWidth + "px"; } else { d.gutterFiller.style.display = ""; } } var scrollbarModel = { "native": NativeScrollbars, "null": NullScrollbars }; function initScrollbars(cm) { if (cm.display.scrollbars) { cm.display.scrollbars.clear(); if (cm.display.scrollbars.addClass) { rmClass(cm.display.wrapper, cm.display.scrollbars.addClass); } } cm.display.scrollbars = new scrollbarModel[cm.options.scrollbarStyle](function (node) { cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller); // Prevent clicks in the scrollbars from killing focus on(node, "mousedown", function () { if (cm.state.focused) { setTimeout(function () { return cm.display.input.focus(); }, 0); } }); node.setAttribute("cm-not-content", "true"); }, function (pos, axis) { if (axis == "horizontal") { setScrollLeft(cm, pos); } else { updateScrollTop(cm, pos); } }, cm); if (cm.display.scrollbars.addClass) { addClass(cm.display.wrapper, cm.display.scrollbars.addClass); } } // Operations are used to wrap a series of changes to the editor // state in such a way that each change won't have to update the // cursor and display (which would be awkward, slow, and // error-prone). Instead, display updates are batched and then all // combined and executed at once. var nextOpId = 0; // Start a new operation. function startOperation(cm) { cm.curOp = { cm: cm, viewChanged: false, // Flag that indicates that lines might need to be redrawn startHeight: cm.doc.height, // Used to detect need to update scrollbar forceUpdate: false, // Used to force a redraw updateInput: 0, // Whether to reset the input textarea typing: false, // Whether this reset should be careful to leave existing text (for compositing) changeObjs: null, // Accumulated changes, for firing change events cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already selectionChanged: false, // Whether the selection needs to be redrawn updateMaxLine: false, // Set when the widest line needs to be determined anew scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet scrollToPos: null, // Used to scroll to a specific position focus: false, id: ++nextOpId, // Unique ID markArrays: null // Used by addMarkedSpan }; pushOperation(cm.curOp); } // Finish an operation, updating the display and signalling delayed events function endOperation(cm) { var op = cm.curOp; if (op) { finishOperation(op, function (group) { for (var i = 0; i < group.ops.length; i++) { group.ops[i].cm.curOp = null; } endOperations(group); }); } } // The DOM updates done when an operation finishes are batched so // that the minimum number of relayouts are required. function endOperations(group) { var ops = group.ops; for (var i = 0; i < ops.length; i++) // Read DOM { endOperation_R1(ops[i]); } for (var i$1 = 0; i$1 < ops.length; i$1++) // Write DOM (maybe) { endOperation_W1(ops[i$1]); } for (var i$2 = 0; i$2 < ops.length; i$2++) // Read DOM { endOperation_R2(ops[i$2]); } for (var i$3 = 0; i$3 < ops.length; i$3++) // Write DOM (maybe) { endOperation_W2(ops[i$3]); } for (var i$4 = 0; i$4 < ops.length; i$4++) // Read DOM { endOperation_finish(ops[i$4]); } } function endOperation_R1(op) { var cm = op.cm, display = cm.display; maybeClipScrollbars(cm); if (op.updateMaxLine) { findMaxLine(cm); } op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null || op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom || op.scrollToPos.to.line >= display.viewTo) || display.maxLineChanged && cm.options.lineWrapping; op.update = op.mustUpdate && new DisplayUpdate(cm, op.mustUpdate && { top: op.scrollTop, ensure: op.scrollToPos }, op.forceUpdate); } function endOperation_W1(op) { op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update); } function endOperation_R2(op) { var cm = op.cm, display = cm.display; if (op.updatedDisplay) { updateHeightsInViewport(cm); } op.barMeasure = measureForScrollbars(cm); // If the max line changed since it was last measured, measure it, // and ensure the document's width matches it. // updateDisplay_W2 will use these properties to do the actual resizing if (display.maxLineChanged && !cm.options.lineWrapping) { op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3; cm.display.sizerWidth = op.adjustWidthTo; op.barMeasure.scrollWidth = Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth); op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm)); } if (op.updatedDisplay || op.selectionChanged) { op.preparedSelection = display.input.prepareSelection(); } } function endOperation_W2(op) { var cm = op.cm; if (op.adjustWidthTo != null) { cm.display.sizer.style.minWidth = op.adjustWidthTo + "px"; if (op.maxScrollLeft < cm.doc.scrollLeft) { setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true); } cm.display.maxLineChanged = false; } var takeFocus = op.focus && op.focus == activeElt(root(cm)); if (op.preparedSelection) { cm.display.input.showSelection(op.preparedSelection, takeFocus); } if (op.updatedDisplay || op.startHeight != cm.doc.height) { updateScrollbars(cm, op.barMeasure); } if (op.updatedDisplay) { setDocumentHeight(cm, op.barMeasure); } if (op.selectionChanged) { restartBlink(cm); } if (cm.state.focused && op.updateInput) { cm.display.input.reset(op.typing); } if (takeFocus) { ensureFocus(op.cm); } } function endOperation_finish(op) { var cm = op.cm, display = cm.display, doc = cm.doc; if (op.updatedDisplay) { postUpdateDisplay(cm, op.update); } // Abort mouse wheel delta measurement, when scrolling explicitly if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos)) { display.wheelStartX = display.wheelStartY = null; } // Propagate the scroll position to the actual DOM scroller if (op.scrollTop != null) { setScrollTop(cm, op.scrollTop, op.forceScroll); } if (op.scrollLeft != null) { setScrollLeft(cm, op.scrollLeft, true, true); } // If we need to scroll a specific position into view, do so. if (op.scrollToPos) { var rect = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from), clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin); maybeScrollWindow(cm, rect); } // Fire events for markers that are hidden/unidden by editing or // undoing var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers; if (hidden) { for (var i = 0; i < hidden.length; ++i) { if (!hidden[i].lines.length) { signal(hidden[i], "hide"); } } } if (unhidden) { for (var i$1 = 0; i$1 < unhidden.length; ++i$1) { if (unhidden[i$1].lines.length) { signal(unhidden[i$1], "unhide"); } } } if (display.wrapper.offsetHeight) { doc.scrollTop = cm.display.scroller.scrollTop; } // Fire change events, and delayed event handlers if (op.changeObjs) { signal(cm, "changes", cm, op.changeObjs); } if (op.update) { op.update.finish(); } } // Run the given function in an operation function runInOp(cm, f) { if (cm.curOp) { return f(); } startOperation(cm); try { return f(); } finally { endOperation(cm); } } // Wraps a function in an operation. Returns the wrapped function. function operation(cm, f) { return function () { if (cm.curOp) { return f.apply(cm, arguments); } startOperation(cm); try { return f.apply(cm, arguments); } finally { endOperation(cm); } }; } // Used to add methods to editor and doc instances, wrapping them in // operations. function methodOp(f) { return function () { if (this.curOp) { return f.apply(this, arguments); } startOperation(this); try { return f.apply(this, arguments); } finally { endOperation(this); } }; } function docMethodOp(f) { return function () { var cm = this.cm; if (!cm || cm.curOp) { return f.apply(this, arguments); } startOperation(cm); try { return f.apply(this, arguments); } finally { endOperation(cm); } }; } // HIGHLIGHT WORKER function startWorker(cm, time) { if (cm.doc.highlightFrontier < cm.display.viewTo) { cm.state.highlight.set(time, bind(highlightWorker, cm)); } } function highlightWorker(cm) { var doc = cm.doc; if (doc.highlightFrontier >= cm.display.viewTo) { return; } var end = +new Date() + cm.options.workTime; var context = getContextBefore(cm, doc.highlightFrontier); var changedLines = []; doc.iter(context.line, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function (line) { if (context.line >= cm.display.viewFrom) { // Visible var oldStyles = line.styles; var resetState = line.text.length > cm.options.maxHighlightLength ? copyState(doc.mode, context.state) : null; var highlighted = highlightLine(cm, line, context, true); if (resetState) { context.state = resetState; } line.styles = highlighted.styles; var oldCls = line.styleClasses, newCls = highlighted.classes; if (newCls) { line.styleClasses = newCls; } else if (oldCls) { line.styleClasses = null; } var ischange = !oldStyles || oldStyles.length != line.styles.length || oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass); for (var i = 0; !ischange && i < oldStyles.length; ++i) { ischange = oldStyles[i] != line.styles[i]; } if (ischange) { changedLines.push(context.line); } line.stateAfter = context.save(); context.nextLine(); } else { if (line.text.length <= cm.options.maxHighlightLength) { processLine(cm, line.text, context); } line.stateAfter = context.line % 5 == 0 ? context.save() : null; context.nextLine(); } if (+new Date() > end) { startWorker(cm, cm.options.workDelay); return true; } }); doc.highlightFrontier = context.line; doc.modeFrontier = Math.max(doc.modeFrontier, context.line); if (changedLines.length) { runInOp(cm, function () { for (var i = 0; i < changedLines.length; i++) { regLineChange(cm, changedLines[i], "text"); } }); } } // DISPLAY DRAWING var DisplayUpdate = function (cm, viewport, force) { var display = cm.display; this.viewport = viewport; // Store some values that we'll need later (but don't want to force a relayout for) this.visible = visibleLines(display, cm.doc, viewport); this.editorIsHidden = !display.wrapper.offsetWidth; this.wrapperHeight = display.wrapper.clientHeight; this.wrapperWidth = display.wrapper.clientWidth; this.oldDisplayWidth = displayWidth(cm); this.force = force; this.dims = getDimensions(cm); this.events = []; }; DisplayUpdate.prototype.signal = function (emitter, type) { if (hasHandler(emitter, type)) { this.events.push(arguments); } }; DisplayUpdate.prototype.finish = function () { for (var i = 0; i < this.events.length; i++) { signal.apply(null, this.events[i]); } }; function maybeClipScrollbars(cm) { var display = cm.display; if (!display.scrollbarsClipped && display.scroller.offsetWidth) { display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth; display.heightForcer.style.height = scrollGap(cm) + "px"; display.sizer.style.marginBottom = -display.nativeBarWidth + "px"; display.sizer.style.borderRightWidth = scrollGap(cm) + "px"; display.scrollbarsClipped = true; } } function selectionSnapshot(cm) { if (cm.hasFocus()) { return null; } var active = activeElt(root(cm)); if (!active || !contains(cm.display.lineDiv, active)) { return null; } var result = { activeElt: active }; if (window.getSelection) { var sel = win(cm).getSelection(); if (sel.anchorNode && sel.extend && contains(cm.display.lineDiv, sel.anchorNode)) { result.anchorNode = sel.anchorNode; result.anchorOffset = sel.anchorOffset; result.focusNode = sel.focusNode; result.focusOffset = sel.focusOffset; } } return result; } function restoreSelection(snapshot) { if (!snapshot || !snapshot.activeElt || snapshot.activeElt == activeElt(rootNode(snapshot.activeElt))) { return; } snapshot.activeElt.focus(); if (!/^(INPUT|TEXTAREA)$/.test(snapshot.activeElt.nodeName) && snapshot.anchorNode && contains(document.body, snapshot.anchorNode) && contains(document.body, snapshot.focusNode)) { var doc = snapshot.activeElt.ownerDocument; var sel = doc.defaultView.getSelection(), range = doc.createRange(); range.setEnd(snapshot.anchorNode, snapshot.anchorOffset); range.collapse(false); sel.removeAllRanges(); sel.addRange(range); sel.extend(snapshot.focusNode, snapshot.focusOffset); } } // Does the actual updating of the line display. Bails out // (returning false) when there is nothing to be done and forced is // false. function updateDisplayIfNeeded(cm, update) { var display = cm.display, doc = cm.doc; if (update.editorIsHidden) { resetView(cm); return false; } // Bail out if the visible area is already rendered and nothing changed. if (!update.force && update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo && (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) && display.renderedView == display.view && countDirtyView(cm) == 0) { return false; } if (maybeUpdateLineNumberWidth(cm)) { resetView(cm); update.dims = getDimensions(cm); } // Compute a suitable new viewport (from & to) var end = doc.first + doc.size; var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first); var to = Math.min(end, update.visible.to + cm.options.viewportMargin); if (display.viewFrom < from && from - display.viewFrom < 20) { from = Math.max(doc.first, display.viewFrom); } if (display.viewTo > to && display.viewTo - to < 20) { to = Math.min(end, display.viewTo); } if (sawCollapsedSpans) { from = visualLineNo(cm.doc, from); to = visualLineEndNo(cm.doc, to); } var different = from != display.viewFrom || to != display.viewTo || display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth; adjustView(cm, from, to); display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom)); // Position the mover div to align with the current scroll position cm.display.mover.style.top = display.viewOffset + "px"; var toUpdate = countDirtyView(cm); if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view && (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo)) { return false; } // For big changes, we hide the enclosing element during the // update, since that speeds up the operations on most browsers. var selSnapshot = selectionSnapshot(cm); if (toUpdate > 4) { display.lineDiv.style.display = "none"; } patchDisplay(cm, display.updateLineNumbers, update.dims); if (toUpdate > 4) { display.lineDiv.style.display = ""; } display.renderedView = display.view; // There might have been a widget with a focused element that got // hidden or updated, if so re-focus it. restoreSelection(selSnapshot); // Prevent selection and cursors from interfering with the scroll // width and height. removeChildren(display.cursorDiv); removeChildren(display.selectionDiv); display.gutters.style.height = display.sizer.style.minHeight = 0; if (different) { display.lastWrapHeight = update.wrapperHeight; display.lastWrapWidth = update.wrapperWidth; startWorker(cm, 400); } display.updateLineNumbers = null; return true; } function postUpdateDisplay(cm, update) { var viewport = update.viewport; for (var first = true;; first = false) { if (!first || !cm.options.lineWrapping || update.oldDisplayWidth == displayWidth(cm)) { // Clip forced viewport to actual scrollable area. if (viewport && viewport.top != null) { viewport = { top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top) }; } // Updated line heights might result in the drawn area not // actually covering the viewport. Keep looping until it does. update.visible = visibleLines(cm.display, cm.doc, viewport); if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo) { break; } } else if (first) { update.visible = visibleLines(cm.display, cm.doc, viewport); } if (!updateDisplayIfNeeded(cm, update)) { break; } updateHeightsInViewport(cm); var barMeasure = measureForScrollbars(cm); updateSelection(cm); updateScrollbars(cm, barMeasure); setDocumentHeight(cm, barMeasure); update.force = false; } update.signal(cm, "update", cm); if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) { update.signal(cm, "viewportChange", cm, cm.display.viewFrom, cm.display.viewTo); cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo; } } function updateDisplaySimple(cm, viewport) { var update = new DisplayUpdate(cm, viewport); if (updateDisplayIfNeeded(cm, update)) { updateHeightsInViewport(cm); postUpdateDisplay(cm, update); var barMeasure = measureForScrollbars(cm); updateSelection(cm); updateScrollbars(cm, barMeasure); setDocumentHeight(cm, barMeasure); update.finish(); } } // Sync the actual display DOM structure with display.view, removing // nodes for lines that are no longer in view, and creating the ones // that are not there yet, and updating the ones that are out of // date. function patchDisplay(cm, updateNumbersFrom, dims) { var display = cm.display, lineNumbers = cm.options.lineNumbers; var container = display.lineDiv, cur = container.firstChild; function rm(node) { var next = node.nextSibling; // Works around a throw-scroll bug in OS X Webkit if (webkit && mac && cm.display.currentWheelTarget == node) { node.style.display = "none"; } else { node.parentNode.removeChild(node); } return next; } var view = display.view, lineN = display.viewFrom; // Loop over the elements in the view, syncing cur (the DOM nodes // in display.lineDiv) with the view as we go. for (var i = 0; i < view.length; i++) { var lineView = view[i]; if (lineView.hidden) ;else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet var node = buildLineElement(cm, lineView, lineN, dims); container.insertBefore(node, cur); } else { // Already drawn while (cur != lineView.node) { cur = rm(cur); } var updateNumber = lineNumbers && updateNumbersFrom != null && updateNumbersFrom <= lineN && lineView.lineNumber; if (lineView.changes) { if (indexOf(lineView.changes, "gutter") > -1) { updateNumber = false; } updateLineForChanges(cm, lineView, lineN, dims); } if (updateNumber) { removeChildren(lineView.lineNumber); lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN))); } cur = lineView.node.nextSibling; } lineN += lineView.size; } while (cur) { cur = rm(cur); } } function updateGutterSpace(display) { var width = display.gutters.offsetWidth; display.sizer.style.marginLeft = width + "px"; // Send an event to consumers responding to changes in gutter width. signalLater(display, "gutterChanged", display); } function setDocumentHeight(cm, measure) { cm.display.sizer.style.minHeight = measure.docHeight + "px"; cm.display.heightForcer.style.top = measure.docHeight + "px"; cm.display.gutters.style.height = measure.docHeight + cm.display.barHeight + scrollGap(cm) + "px"; } // Re-align line numbers and gutter marks to compensate for // horizontal scrolling. function alignHorizontally(cm) { var display = cm.display, view = display.view; if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) { return; } var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft; var gutterW = display.gutters.offsetWidth, left = comp + "px"; for (var i = 0; i < view.length; i++) { if (!view[i].hidden) { if (cm.options.fixedGutter) { if (view[i].gutter) { view[i].gutter.style.left = left; } if (view[i].gutterBackground) { view[i].gutterBackground.style.left = left; } } var align = view[i].alignable; if (align) { for (var j = 0; j < align.length; j++) { align[j].style.left = left; } } } } if (cm.options.fixedGutter) { display.gutters.style.left = comp + gutterW + "px"; } } // Used to ensure that the line number gutter is still the right // size for the current document size. Returns true when an update // is needed. function maybeUpdateLineNumberWidth(cm) { if (!cm.options.lineNumbers) { return false; } var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display; if (last.length != display.lineNumChars) { var test = display.measure.appendChild(elt("div", [elt("div", last)], "CodeMirror-linenumber CodeMirror-gutter-elt")); var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW; display.lineGutter.style.width = ""; display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding) + 1; display.lineNumWidth = display.lineNumInnerWidth + padding; display.lineNumChars = display.lineNumInnerWidth ? last.length : -1; display.lineGutter.style.width = display.lineNumWidth + "px"; updateGutterSpace(cm.display); return true; } return false; } function getGutters(gutters, lineNumbers) { var result = [], sawLineNumbers = false; for (var i = 0; i < gutters.length; i++) { var name = gutters[i], style = null; if (typeof name != "string") { style = name.style; name = name.className; } if (name == "CodeMirror-linenumbers") { if (!lineNumbers) { continue; } else { sawLineNumbers = true; } } result.push({ className: name, style: style }); } if (lineNumbers && !sawLineNumbers) { result.push({ className: "CodeMirror-linenumbers", style: null }); } return result; } // Rebuild the gutter elements, ensure the margin to the left of the // code matches their width. function renderGutters(display) { var gutters = display.gutters, specs = display.gutterSpecs; removeChildren(gutters); display.lineGutter = null; for (var i = 0; i < specs.length; ++i) { var ref = specs[i]; var className = ref.className; var style = ref.style; var gElt = gutters.appendChild(elt("div", null, "CodeMirror-gutter " + className)); if (style) { gElt.style.cssText = style; } if (className == "CodeMirror-linenumbers") { display.lineGutter = gElt; gElt.style.width = (display.lineNumWidth || 1) + "px"; } } gutters.style.display = specs.length ? "" : "none"; updateGutterSpace(display); } function updateGutters(cm) { renderGutters(cm.display); regChange(cm); alignHorizontally(cm); } // The display handles the DOM integration, both for input reading // and content drawing. It holds references to DOM nodes and // display-related state. function Display(place, doc, input, options) { var d = this; this.input = input; // Covers bottom-right square when both scrollbars are present. d.scrollbarFiller = elt("div", null, "CodeMirror-scrollbar-filler"); d.scrollbarFiller.setAttribute("cm-not-content", "true"); // Covers bottom of gutter when coverGutterNextToScrollbar is on // and h scrollbar is present. d.gutterFiller = elt("div", null, "CodeMirror-gutter-filler"); d.gutterFiller.setAttribute("cm-not-content", "true"); // Will contain the actual code, positioned to cover the viewport. d.lineDiv = eltP("div", null, "CodeMirror-code"); // Elements are added to these to represent selection and cursors. d.selectionDiv = elt("div", null, null, "position: relative; z-index: 1"); d.cursorDiv = elt("div", null, "CodeMirror-cursors"); // A visibility: hidden element used to find the size of things. d.measure = elt("div", null, "CodeMirror-measure"); // When lines outside of the viewport are measured, they are drawn in this. d.lineMeasure = elt("div", null, "CodeMirror-measure"); // Wraps everything that needs to exist inside the vertically-padded coordinate system d.lineSpace = eltP("div", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv], null, "position: relative; outline: none"); var lines = eltP("div", [d.lineSpace], "CodeMirror-lines"); // Moved around its parent to cover visible view. d.mover = elt("div", [lines], null, "position: relative"); // Set to the height of the document, allowing scrolling. d.sizer = elt("div", [d.mover], "CodeMirror-sizer"); d.sizerWidth = null; // Behavior of elts with overflow: auto and padding is // inconsistent across browsers. This is used to ensure the // scrollable area is big enough. d.heightForcer = elt("div", null, null, "position: absolute; height: " + scrollerGap + "px; width: 1px;"); // Will contain the gutters, if any. d.gutters = elt("div", null, "CodeMirror-gutters"); d.lineGutter = null; // Actual scrollable element. d.scroller = elt("div", [d.sizer, d.heightForcer, d.gutters], "CodeMirror-scroll"); d.scroller.setAttribute("tabIndex", "-1"); // The element in which the editor lives. d.wrapper = elt("div", [d.scrollbarFiller, d.gutterFiller, d.scroller], "CodeMirror"); // See #6982. FIXME remove when this has been fixed for a while in Chrome if (chrome && chrome_version >= 105) { d.wrapper.style.clipPath = "inset(0px)"; } // This attribute is respected by automatic translation systems such as Google Translate, // and may also be respected by tools used by human translators. d.wrapper.setAttribute('translate', 'no'); // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported) if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; } if (!webkit && !(gecko && mobile)) { d.scroller.draggable = true; } if (place) { if (place.appendChild) { place.appendChild(d.wrapper); } else { place(d.wrapper); } } // Current rendered range (may be bigger than the view window). d.viewFrom = d.viewTo = doc.first; d.reportedViewFrom = d.reportedViewTo = doc.first; // Information about the rendered lines. d.view = []; d.renderedView = null; // Holds info about a single rendered line when it was rendered // for measurement, while not in view. d.externalMeasured = null; // Empty space (in pixels) above the view d.viewOffset = 0; d.lastWrapHeight = d.lastWrapWidth = 0; d.updateLineNumbers = null; d.nativeBarWidth = d.barHeight = d.barWidth = 0; d.scrollbarsClipped = false; // Used to only resize the line number gutter when necessary (when // the amount of lines crosses a boundary that makes its width change) d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null; // Set to true when a non-horizontal-scrolling line widget is // added. As an optimization, line widget aligning is skipped when // this is false. d.alignWidgets = false; d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null; // Tracks the maximum line length so that the horizontal scrollbar // can be kept static when scrolling. d.maxLine = null; d.maxLineLength = 0; d.maxLineChanged = false; // Used for measuring wheel scrolling granularity d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null; // True when shift is held down. d.shift = false; // Used to track whether anything happened since the context menu // was opened. d.selForContextMenu = null; d.activeTouch = null; d.gutterSpecs = getGutters(options.gutters, options.lineNumbers); renderGutters(d); input.init(d); } // Since the delta values reported on mouse wheel events are // unstandardized between browsers and even browser versions, and // generally horribly unpredictable, this code starts by measuring // the scroll effect that the first few mouse wheel events have, // and, from that, detects the way it can convert deltas to pixel // offsets afterwards. // // The reason we want to know the amount a wheel event will scroll // is that it gives us a chance to update the display before the // actual scrolling happens, reducing flickering. var wheelSamples = 0, wheelPixelsPerUnit = null; // Fill in a browser-detected starting value on browsers where we // know one. These don't have to be accurate -- the result of them // being wrong would just be a slight flicker on the first wheel // scroll (if it is large enough). if (ie) { wheelPixelsPerUnit = -.53; } else if (gecko) { wheelPixelsPerUnit = 15; } else if (chrome) { wheelPixelsPerUnit = -.7; } else if (safari) { wheelPixelsPerUnit = -1 / 3; } function wheelEventDelta(e) { var dx = e.wheelDeltaX, dy = e.wheelDeltaY; if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) { dx = e.detail; } if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) { dy = e.detail; } else if (dy == null) { dy = e.wheelDelta; } return { x: dx, y: dy }; } function wheelEventPixels(e) { var delta = wheelEventDelta(e); delta.x *= wheelPixelsPerUnit; delta.y *= wheelPixelsPerUnit; return delta; } function onScrollWheel(cm, e) { // On Chrome 102, viewport updates somehow stop wheel-based // scrolling. Turning off pointer events during the scroll seems // to avoid the issue. if (chrome && chrome_version == 102) { if (cm.display.chromeScrollHack == null) { cm.display.sizer.style.pointerEvents = "none"; } else { clearTimeout(cm.display.chromeScrollHack); } cm.display.chromeScrollHack = setTimeout(function () { cm.display.chromeScrollHack = null; cm.display.sizer.style.pointerEvents = ""; }, 100); } var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y; var pixelsPerUnit = wheelPixelsPerUnit; if (e.deltaMode === 0) { dx = e.deltaX; dy = e.deltaY; pixelsPerUnit = 1; } var display = cm.display, scroll = display.scroller; // Quit if there's nothing to scroll here var canScrollX = scroll.scrollWidth > scroll.clientWidth; var canScrollY = scroll.scrollHeight > scroll.clientHeight; if (!(dx && canScrollX || dy && canScrollY)) { return; } // Webkit browsers on OS X abort momentum scrolls when the target // of the scroll event is removed from the scrollable element. // This hack (see related code in patchDisplay) makes sure the // element is kept around. if (dy && mac && webkit) { outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) { for (var i = 0; i < view.length; i++) { if (view[i].node == cur) { cm.display.currentWheelTarget = cur; break outer; } } } } // On some browsers, horizontal scrolling will cause redraws to // happen before the gutter has been realigned, causing it to // wriggle around in a most unseemly way. When we have an // estimated pixels/delta value, we just handle horizontal // scrolling entirely here. It'll be slightly off from native, but // better than glitching out. if (dx && !gecko && !presto && pixelsPerUnit != null) { if (dy && canScrollY) { updateScrollTop(cm, Math.max(0, scroll.scrollTop + dy * pixelsPerUnit)); } setScrollLeft(cm, Math.max(0, scroll.scrollLeft + dx * pixelsPerUnit)); // Only prevent default scrolling if vertical scrolling is // actually possible. Otherwise, it causes vertical scroll // jitter on OSX trackpads when deltaX is small and deltaY // is large (issue #3579) if (!dy || dy && canScrollY) { e_preventDefault(e); } display.wheelStartX = null; // Abort measurement, if in progress return; } // 'Project' the visible viewport to cover the area that is being // scrolled into view (if we know enough to estimate it). if (dy && pixelsPerUnit != null) { var pixels = dy * pixelsPerUnit; var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight; if (pixels < 0) { top = Math.max(0, top + pixels - 50); } else { bot = Math.min(cm.doc.height, bot + pixels + 50); } updateDisplaySimple(cm, { top: top, bottom: bot }); } if (wheelSamples < 20 && e.deltaMode !== 0) { if (display.wheelStartX == null) { display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop; display.wheelDX = dx; display.wheelDY = dy; setTimeout(function () { if (display.wheelStartX == null) { return; } var movedX = scroll.scrollLeft - display.wheelStartX; var movedY = scroll.scrollTop - display.wheelStartY; var sample = movedY && display.wheelDY && movedY / display.wheelDY || movedX && display.wheelDX && movedX / display.wheelDX; display.wheelStartX = display.wheelStartY = null; if (!sample) { return; } wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1); ++wheelSamples; }, 200); } else { display.wheelDX += dx; display.wheelDY += dy; } } } // Selection objects are immutable. A new one is created every time // the selection changes. A selection is one or more non-overlapping // (and non-touching) ranges, sorted, and an integer that indicates // which one is the primary selection (the one that's scrolled into // view, that getCursor returns, etc). var Selection = function (ranges, primIndex) { this.ranges = ranges; this.primIndex = primIndex; }; Selection.prototype.primary = function () { return this.ranges[this.primIndex]; }; Selection.prototype.equals = function (other) { if (other == this) { return true; } if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) { return false; } for (var i = 0; i < this.ranges.length; i++) { var here = this.ranges[i], there = other.ranges[i]; if (!equalCursorPos(here.anchor, there.anchor) || !equalCursorPos(here.head, there.head)) { return false; } } return true; }; Selection.prototype.deepCopy = function () { var out = []; for (var i = 0; i < this.ranges.length; i++) { out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head)); } return new Selection(out, this.primIndex); }; Selection.prototype.somethingSelected = function () { for (var i = 0; i < this.ranges.length; i++) { if (!this.ranges[i].empty()) { return true; } } return false; }; Selection.prototype.contains = function (pos, end) { if (!end) { end = pos; } for (var i = 0; i < this.ranges.length; i++) { var range = this.ranges[i]; if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0) { return i; } } return -1; }; var Range = function (anchor, head) { this.anchor = anchor; this.head = head; }; Range.prototype.from = function () { return minPos(this.anchor, this.head); }; Range.prototype.to = function () { return maxPos(this.anchor, this.head); }; Range.prototype.empty = function () { return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch; }; // Take an unsorted, potentially overlapping set of ranges, and // build a selection out of it. 'Consumes' ranges array (modifying // it). function normalizeSelection(cm, ranges, primIndex) { var mayTouch = cm && cm.options.selectionsMayTouch; var prim = ranges[primIndex]; ranges.sort(function (a, b) { return cmp(a.from(), b.from()); }); primIndex = indexOf(ranges, prim); for (var i = 1; i < ranges.length; i++) { var cur = ranges[i], prev = ranges[i - 1]; var diff = cmp(prev.to(), cur.from()); if (mayTouch && !cur.empty() ? diff > 0 : diff >= 0) { var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to()); var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head; if (i <= primIndex) { --primIndex; } ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to)); } } return new Selection(ranges, primIndex); } function simpleSelection(anchor, head) { return new Selection([new Range(anchor, head || anchor)], 0); } // Compute the position of the end of a change (its 'to' property // refers to the pre-change end). function changeEnd(change) { if (!change.text) { return change.to; } return Pos(change.from.line + change.text.length - 1, lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0)); } // Adjust a position to refer to the post-change position of the // same text, or the end of the change if the change covers it. function adjustForChange(pos, change) { if (cmp(pos, change.from) < 0) { return pos; } if (cmp(pos, change.to) <= 0) { return changeEnd(change); } var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch; if (pos.line == change.to.line) { ch += changeEnd(change).ch - change.to.ch; } return Pos(line, ch); } function computeSelAfterChange(doc, change) { var out = []; for (var i = 0; i < doc.sel.ranges.length; i++) { var range = doc.sel.ranges[i]; out.push(new Range(adjustForChange(range.anchor, change), adjustForChange(range.head, change))); } return normalizeSelection(doc.cm, out, doc.sel.primIndex); } function offsetPos(pos, old, nw) { if (pos.line == old.line) { return Pos(nw.line, pos.ch - old.ch + nw.ch); } else { return Pos(nw.line + (pos.line - old.line), pos.ch); } } // Used by replaceSelections to allow moving the selection to the // start or around the replaced test. Hint may be "start" or "around". function computeReplacedSel(doc, changes, hint) { var out = []; var oldPrev = Pos(doc.first, 0), newPrev = oldPrev; for (var i = 0; i < changes.length; i++) { var change = changes[i]; var from = offsetPos(change.from, oldPrev, newPrev); var to = offsetPos(changeEnd(change), oldPrev, newPrev); oldPrev = change.to; newPrev = to; if (hint == "around") { var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0; out[i] = new Range(inv ? to : from, inv ? from : to); } else { out[i] = new Range(from, from); } } return new Selection(out, doc.sel.primIndex); } // Used to get the editor into a consistent state again when options change. function loadMode(cm) { cm.doc.mode = getMode(cm.options, cm.doc.modeOption); resetModeState(cm); } function resetModeState(cm) { cm.doc.iter(function (line) { if (line.stateAfter) { line.stateAfter = null; } if (line.styles) { line.styles = null; } }); cm.doc.modeFrontier = cm.doc.highlightFrontier = cm.doc.first; startWorker(cm, 100); cm.state.modeGen++; if (cm.curOp) { regChange(cm); } } // DOCUMENT DATA STRUCTURE // By default, updates that start and end at the beginning of a line // are treated specially, in order to make the association of line // widgets and marker elements with the text behave more intuitive. function isWholeLineUpdate(doc, change) { return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == "" && (!doc.cm || doc.cm.options.wholeLineUpdateBefore); } // Perform a change on the document data structure. function updateDoc(doc, change, markedSpans, estimateHeight) { function spansFor(n) { return markedSpans ? markedSpans[n] : null; } function update(line, text, spans) { updateLine(line, text, spans, estimateHeight); signalLater(line, "change", line, change); } function linesFor(start, end) { var result = []; for (var i = start; i < end; ++i) { result.push(new Line(text[i], spansFor(i), estimateHeight)); } return result; } var from = change.from, to = change.to, text = change.text; var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line); var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line; // Adjust the line structure if (change.full) { doc.insert(0, linesFor(0, text.length)); doc.remove(text.length, doc.size - text.length); } else if (isWholeLineUpdate(doc, change)) { // This is a whole-line replace. Treated specially to make // sure line objects move the way they are supposed to. var added = linesFor(0, text.length - 1); update(lastLine, lastLine.text, lastSpans); if (nlines) { doc.remove(from.line, nlines); } if (added.length) { doc.insert(from.line, added); } } else if (firstLine == lastLine) { if (text.length == 1) { update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans); } else { var added$1 = linesFor(1, text.length - 1); added$1.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight)); update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0)); doc.insert(from.line + 1, added$1); } } else if (text.length == 1) { update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0)); doc.remove(from.line + 1, nlines); } else { update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0)); update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans); var added$2 = linesFor(1, text.length - 1); if (nlines > 1) { doc.remove(from.line + 1, nlines - 1); } doc.insert(from.line + 1, added$2); } signalLater(doc, "change", doc, change); } // Call f for all linked documents. function linkedDocs(doc, f, sharedHistOnly) { function propagate(doc, skip, sharedHist) { if (doc.linked) { for (var i = 0; i < doc.linked.length; ++i) { var rel = doc.linked[i]; if (rel.doc == skip) { continue; } var shared = sharedHist && rel.sharedHist; if (sharedHistOnly && !shared) { continue; } f(rel.doc, shared); propagate(rel.doc, doc, shared); } } } propagate(doc, null, true); } // Attach a document to an editor. function attachDoc(cm, doc) { if (doc.cm) { throw new Error("This document is already in use."); } cm.doc = doc; doc.cm = cm; estimateLineHeights(cm); loadMode(cm); setDirectionClass(cm); cm.options.direction = doc.direction; if (!cm.options.lineWrapping) { findMaxLine(cm); } cm.options.mode = doc.modeOption; regChange(cm); } function setDirectionClass(cm) { (cm.doc.direction == "rtl" ? addClass : rmClass)(cm.display.lineDiv, "CodeMirror-rtl"); } function directionChanged(cm) { runInOp(cm, function () { setDirectionClass(cm); regChange(cm); }); } function History(prev) { // Arrays of change events and selections. Doing something adds an // event to done and clears undo. Undoing moves events from done // to undone, redoing moves them in the other direction. this.done = []; this.undone = []; this.undoDepth = prev ? prev.undoDepth : Infinity; // Used to track when changes can be merged into a single undo // event this.lastModTime = this.lastSelTime = 0; this.lastOp = this.lastSelOp = null; this.lastOrigin = this.lastSelOrigin = null; // Used by the isClean() method this.generation = this.maxGeneration = prev ? prev.maxGeneration : 1; } // Create a history change event from an updateDoc-style change // object. function historyChangeFromChange(doc, change) { var histChange = { from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to) }; attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1); linkedDocs(doc, function (doc) { return attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1); }, true); return histChange; } // Pop all selection events off the end of a history array. Stop at // a change event. function clearSelectionEvents(array) { while (array.length) { var last = lst(array); if (last.ranges) { array.pop(); } else { break; } } } // Find the top change event in the history. Pop off selection // events that are in the way. function lastChangeEvent(hist, force) { if (force) { clearSelectionEvents(hist.done); return lst(hist.done); } else if (hist.done.length && !lst(hist.done).ranges) { return lst(hist.done); } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) { hist.done.pop(); return lst(hist.done); } } // Register a change in the history. Merges changes that are within // a single operation, or are close together with an origin that // allows merging (starting with "+") into a single event. function addChangeToHistory(doc, change, selAfter, opId) { var hist = doc.history; hist.undone.length = 0; var time = +new Date(), cur; var last; if ((hist.lastOp == opId || hist.lastOrigin == change.origin && change.origin && (change.origin.charAt(0) == "+" && hist.lastModTime > time - (doc.cm ? doc.cm.options.historyEventDelay : 500) || change.origin.charAt(0) == "*")) && (cur = lastChangeEvent(hist, hist.lastOp == opId))) { // Merge this change into the last event last = lst(cur.changes); if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) { // Optimized case for simple insertion -- don't want to add // new changesets for every character typed last.to = changeEnd(change); } else { // Add new sub-event cur.changes.push(historyChangeFromChange(doc, change)); } } else { // Can not be merged, start a new event. var before = lst(hist.done); if (!before || !before.ranges) { pushSelectionToHistory(doc.sel, hist.done); } cur = { changes: [historyChangeFromChange(doc, change)], generation: hist.generation }; hist.done.push(cur); while (hist.done.length > hist.undoDepth) { hist.done.shift(); if (!hist.done[0].ranges) { hist.done.shift(); } } } hist.done.push(selAfter); hist.generation = ++hist.maxGeneration; hist.lastModTime = hist.lastSelTime = time; hist.lastOp = hist.lastSelOp = opId; hist.lastOrigin = hist.lastSelOrigin = change.origin; if (!last) { signal(doc, "historyAdded"); } } function selectionEventCanBeMerged(doc, origin, prev, sel) { var ch = origin.charAt(0); return ch == "*" || ch == "+" && prev.ranges.length == sel.ranges.length && prev.somethingSelected() == sel.somethingSelected() && new Date() - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500); } // Called whenever the selection changes, sets the new selection as // the pending selection in the history, and pushes the old pending // selection into the 'done' array when it was significantly // different (in number of selected ranges, emptiness, or time). function addSelectionToHistory(doc, sel, opId, options) { var hist = doc.history, origin = options && options.origin; // A new event is started when the previous origin does not match // the current, or the origins don't allow matching. Origins // starting with * are always merged, those starting with + are // merged when similar and close together in time. if (opId == hist.lastSelOp || origin && hist.lastSelOrigin == origin && (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin || selectionEventCanBeMerged(doc, origin, lst(hist.done), sel))) { hist.done[hist.done.length - 1] = sel; } else { pushSelectionToHistory(sel, hist.done); } hist.lastSelTime = +new Date(); hist.lastSelOrigin = origin; hist.lastSelOp = opId; if (options && options.clearRedo !== false) { clearSelectionEvents(hist.undone); } } function pushSelectionToHistory(sel, dest) { var top = lst(dest); if (!(top && top.ranges && top.equals(sel))) { dest.push(sel); } } // Used to store marked span information in the history. function attachLocalSpans(doc, change, from, to) { var existing = change["spans_" + doc.id], n = 0; doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function (line) { if (line.markedSpans) { (existing || (existing = change["spans_" + doc.id] = {}))[n] = line.markedSpans; } ++n; }); } // When un/re-doing restores text containing marked spans, those // that have been explicitly cleared should not be restored. function removeClearedSpans(spans) { if (!spans) { return null; } var out; for (var i = 0; i < spans.length; ++i) { if (spans[i].marker.explicitlyCleared) { if (!out) { out = spans.slice(0, i); } } else if (out) { out.push(spans[i]); } } return !out ? spans : out.length ? out : null; } // Retrieve and filter the old marked spans stored in a change event. function getOldSpans(doc, change) { var found = change["spans_" + doc.id]; if (!found) { return null; } var nw = []; for (var i = 0; i < change.text.length; ++i) { nw.push(removeClearedSpans(found[i])); } return nw; } // Used for un/re-doing changes from the history. Combines the // result of computing the existing spans with the set of spans that // existed in the history (so that deleting around a span and then // undoing brings back the span). function mergeOldSpans(doc, change) { var old = getOldSpans(doc, change); var stretched = stretchSpansOverChange(doc, change); if (!old) { return stretched; } if (!stretched) { return old; } for (var i = 0; i < old.length; ++i) { var oldCur = old[i], stretchCur = stretched[i]; if (oldCur && stretchCur) { spans: for (var j = 0; j < stretchCur.length; ++j) { var span = stretchCur[j]; for (var k = 0; k < oldCur.length; ++k) { if (oldCur[k].marker == span.marker) { continue spans; } } oldCur.push(span); } } else if (stretchCur) { old[i] = stretchCur; } } return old; } // Used both to provide a JSON-safe object in .getHistory, and, when // detaching a document, to split the history in two function copyHistoryArray(events, newGroup, instantiateSel) { var copy = []; for (var i = 0; i < events.length; ++i) { var event = events[i]; if (event.ranges) { copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event); continue; } var changes = event.changes, newChanges = []; copy.push({ changes: newChanges }); for (var j = 0; j < changes.length; ++j) { var change = changes[j], m = void 0; newChanges.push({ from: change.from, to: change.to, text: change.text }); if (newGroup) { for (var prop in change) { if (m = prop.match(/^spans_(\d+)$/)) { if (indexOf(newGroup, Number(m[1])) > -1) { lst(newChanges)[prop] = change[prop]; delete change[prop]; } } } } } } return copy; } // The 'scroll' parameter given to many of these indicated whether // the new cursor position should be scrolled into view after // modifying the selection. // If shift is held or the extend flag is set, extends a range to // include a given position (and optionally a second position). // Otherwise, simply returns the range between the given positions. // Used for cursor motion and such. function extendRange(range, head, other, extend) { if (extend) { var anchor = range.anchor; if (other) { var posBefore = cmp(head, anchor) < 0; if (posBefore != cmp(other, anchor) < 0) { anchor = head; head = other; } else if (posBefore != cmp(head, other) < 0) { head = other; } } return new Range(anchor, head); } else { return new Range(other || head, head); } } // Extend the primary selection range, discard the rest. function extendSelection(doc, head, other, options, extend) { if (extend == null) { extend = doc.cm && (doc.cm.display.shift || doc.extend); } setSelection(doc, new Selection([extendRange(doc.sel.primary(), head, other, extend)], 0), options); } // Extend all selections (pos is an array of selections with length // equal the number of selections) function extendSelections(doc, heads, options) { var out = []; var extend = doc.cm && (doc.cm.display.shift || doc.extend); for (var i = 0; i < doc.sel.ranges.length; i++) { out[i] = extendRange(doc.sel.ranges[i], heads[i], null, extend); } var newSel = normalizeSelection(doc.cm, out, doc.sel.primIndex); setSelection(doc, newSel, options); } // Updates a single range in the selection. function replaceOneSelection(doc, i, range, options) { var ranges = doc.sel.ranges.slice(0); ranges[i] = range; setSelection(doc, normalizeSelection(doc.cm, ranges, doc.sel.primIndex), options); } // Reset the selection to a single range. function setSimpleSelection(doc, anchor, head, options) { setSelection(doc, simpleSelection(anchor, head), options); } // Give beforeSelectionChange handlers a change to influence a // selection update. function filterSelectionChange(doc, sel, options) { var obj = { ranges: sel.ranges, update: function (ranges) { this.ranges = []; for (var i = 0; i < ranges.length; i++) { this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor), clipPos(doc, ranges[i].head)); } }, origin: options && options.origin }; signal(doc, "beforeSelectionChange", doc, obj); if (doc.cm) { signal(doc.cm, "beforeSelectionChange", doc.cm, obj); } if (obj.ranges != sel.ranges) { return normalizeSelection(doc.cm, obj.ranges, obj.ranges.length - 1); } else { return sel; } } function setSelectionReplaceHistory(doc, sel, options) { var done = doc.history.done, last = lst(done); if (last && last.ranges) { done[done.length - 1] = sel; setSelectionNoUndo(doc, sel, options); } else { setSelection(doc, sel, options); } } // Set a new selection. function setSelection(doc, sel, options) { setSelectionNoUndo(doc, sel, options); addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options); } function setSelectionNoUndo(doc, sel, options) { if (hasHandler(doc, "beforeSelectionChange") || doc.cm && hasHandler(doc.cm, "beforeSelectionChange")) { sel = filterSelectionChange(doc, sel, options); } var bias = options && options.bias || (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1); setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true)); if (!(options && options.scroll === false) && doc.cm && doc.cm.getOption("readOnly") != "nocursor") { ensureCursorVisible(doc.cm); } } function setSelectionInner(doc, sel) { if (sel.equals(doc.sel)) { return; } doc.sel = sel; if (doc.cm) { doc.cm.curOp.updateInput = 1; doc.cm.curOp.selectionChanged = true; signalCursorActivity(doc.cm); } signalLater(doc, "cursorActivity", doc); } // Verify that the selection does not partially select any atomic // marked ranges. function reCheckSelection(doc) { setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false)); } // Return a selection that does not partially select any atomic // ranges. function skipAtomicInSelection(doc, sel, bias, mayClear) { var out; for (var i = 0; i < sel.ranges.length; i++) { var range = sel.ranges[i]; var old = sel.ranges.length == doc.sel.ranges.length && doc.sel.ranges[i]; var newAnchor = skipAtomic(doc, range.anchor, old && old.anchor, bias, mayClear); var newHead = range.head == range.anchor ? newAnchor : skipAtomic(doc, range.head, old && old.head, bias, mayClear); if (out || newAnchor != range.anchor || newHead != range.head) { if (!out) { out = sel.ranges.slice(0, i); } out[i] = new Range(newAnchor, newHead); } } return out ? normalizeSelection(doc.cm, out, sel.primIndex) : sel; } function skipAtomicInner(doc, pos, oldPos, dir, mayClear) { var line = getLine(doc, pos.line); if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) { var sp = line.markedSpans[i], m = sp.marker; // Determine if we should prevent the cursor being placed to the left/right of an atomic marker // Historically this was determined using the inclusiveLeft/Right option, but the new way to control it // is with selectLeft/Right var preventCursorLeft = "selectLeft" in m ? !m.selectLeft : m.inclusiveLeft; var preventCursorRight = "selectRight" in m ? !m.selectRight : m.inclusiveRight; if ((sp.from == null || (preventCursorLeft ? sp.from <= pos.ch : sp.from < pos.ch)) && (sp.to == null || (preventCursorRight ? sp.to >= pos.ch : sp.to > pos.ch))) { if (mayClear) { signal(m, "beforeCursorEnter"); if (m.explicitlyCleared) { if (!line.markedSpans) { break; } else { --i; continue; } } } if (!m.atomic) { continue; } if (oldPos) { var near = m.find(dir < 0 ? 1 : -1), diff = void 0; if (dir < 0 ? preventCursorRight : preventCursorLeft) { near = movePos(doc, near, -dir, near && near.line == pos.line ? line : null); } if (near && near.line == pos.line && (diff = cmp(near, oldPos)) && (dir < 0 ? diff < 0 : diff > 0)) { return skipAtomicInner(doc, near, pos, dir, mayClear); } } var far = m.find(dir < 0 ? -1 : 1); if (dir < 0 ? preventCursorLeft : preventCursorRight) { far = movePos(doc, far, dir, far.line == pos.line ? line : null); } return far ? skipAtomicInner(doc, far, pos, dir, mayClear) : null; } } } return pos; } // Ensure a given position is not inside an atomic range. function skipAtomic(doc, pos, oldPos, bias, mayClear) { var dir = bias || 1; var found = skipAtomicInner(doc, pos, oldPos, dir, mayClear) || !mayClear && skipAtomicInner(doc, pos, oldPos, dir, true) || skipAtomicInner(doc, pos, oldPos, -dir, mayClear) || !mayClear && skipAtomicInner(doc, pos, oldPos, -dir, true); if (!found) { doc.cantEdit = true; return Pos(doc.first, 0); } return found; } function movePos(doc, pos, dir, line) { if (dir < 0 && pos.ch == 0) { if (pos.line > doc.first) { return clipPos(doc, Pos(pos.line - 1)); } else { return null; } } else if (dir > 0 && pos.ch == (line || getLine(doc, pos.line)).text.length) { if (pos.line < doc.first + doc.size - 1) { return Pos(pos.line + 1, 0); } else { return null; } } else { return new Pos(pos.line, pos.ch + dir); } } function selectAll(cm) { cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll); } // UPDATING // Allow "beforeChange" event handlers to influence a change function filterChange(doc, change, update) { var obj = { canceled: false, from: change.from, to: change.to, text: change.text, origin: change.origin, cancel: function () { return obj.canceled = true; } }; if (update) { obj.update = function (from, to, text, origin) { if (from) { obj.from = clipPos(doc, from); } if (to) { obj.to = clipPos(doc, to); } if (text) { obj.text = text; } if (origin !== undefined) { obj.origin = origin; } }; } signal(doc, "beforeChange", doc, obj); if (doc.cm) { signal(doc.cm, "beforeChange", doc.cm, obj); } if (obj.canceled) { if (doc.cm) { doc.cm.curOp.updateInput = 2; } return null; } return { from: obj.from, to: obj.to, text: obj.text, origin: obj.origin }; } // Apply a change to a document, and add it to the document's // history, and propagating it to all linked documents. function makeChange(doc, change, ignoreReadOnly) { if (doc.cm) { if (!doc.cm.curOp) { return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly); } if (doc.cm.state.suppressEdits) { return; } } if (hasHandler(doc, "beforeChange") || doc.cm && hasHandler(doc.cm, "beforeChange")) { change = filterChange(doc, change, true); if (!change) { return; } } // Possibly split or suppress the update based on the presence // of read-only spans in its range. var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to); if (split) { for (var i = split.length - 1; i >= 0; --i) { makeChangeInner(doc, { from: split[i].from, to: split[i].to, text: i ? [""] : change.text, origin: change.origin }); } } else { makeChangeInner(doc, change); } } function makeChangeInner(doc, change) { if (change.text.length == 1 && change.text[0] == "" && cmp(change.from, change.to) == 0) { return; } var selAfter = computeSelAfterChange(doc, change); addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN); makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change)); var rebased = []; linkedDocs(doc, function (doc, sharedHist) { if (!sharedHist && indexOf(rebased, doc.history) == -1) { rebaseHist(doc.history, change); rebased.push(doc.history); } makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change)); }); } // Revert a change stored in a document's history. function makeChangeFromHistory(doc, type, allowSelectionOnly) { var suppress = doc.cm && doc.cm.state.suppressEdits; if (suppress && !allowSelectionOnly) { return; } var hist = doc.history, event, selAfter = doc.sel; var source = type == "undo" ? hist.done : hist.undone, dest = type == "undo" ? hist.undone : hist.done; // Verify that there is a useable event (so that ctrl-z won't // needlessly clear selection events) var i = 0; for (; i < source.length; i++) { event = source[i]; if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges) { break; } } if (i == source.length) { return; } hist.lastOrigin = hist.lastSelOrigin = null; for (;;) { event = source.pop(); if (event.ranges) { pushSelectionToHistory(event, dest); if (allowSelectionOnly && !event.equals(doc.sel)) { setSelection(doc, event, { clearRedo: false }); return; } selAfter = event; } else if (suppress) { source.push(event); return; } else { break; } } // Build up a reverse change object to add to the opposite history // stack (redo when undoing, and vice versa). var antiChanges = []; pushSelectionToHistory(selAfter, dest); dest.push({ changes: antiChanges, generation: hist.generation }); hist.generation = event.generation || ++hist.maxGeneration; var filter = hasHandler(doc, "beforeChange") || doc.cm && hasHandler(doc.cm, "beforeChange"); var loop = function (i) { var change = event.changes[i]; change.origin = type; if (filter && !filterChange(doc, change, false)) { source.length = 0; return {}; } antiChanges.push(historyChangeFromChange(doc, change)); var after = i ? computeSelAfterChange(doc, change) : lst(source); makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change)); if (!i && doc.cm) { doc.cm.scrollIntoView({ from: change.from, to: changeEnd(change) }); } var rebased = []; // Propagate to the linked documents linkedDocs(doc, function (doc, sharedHist) { if (!sharedHist && indexOf(rebased, doc.history) == -1) { rebaseHist(doc.history, change); rebased.push(doc.history); } makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change)); }); }; for (var i$1 = event.changes.length - 1; i$1 >= 0; --i$1) { var returned = loop(i$1); if (returned) return returned.v; } } // Sub-views need their line numbers shifted when text is added // above or below them in the parent document. function shiftDoc(doc, distance) { if (distance == 0) { return; } doc.first += distance; doc.sel = new Selection(map(doc.sel.ranges, function (range) { return new Range(Pos(range.anchor.line + distance, range.anchor.ch), Pos(range.head.line + distance, range.head.ch)); }), doc.sel.primIndex); if (doc.cm) { regChange(doc.cm, doc.first, doc.first - distance, distance); for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++) { regLineChange(doc.cm, l, "gutter"); } } } // More lower-level change function, handling only a single document // (not linked ones). function makeChangeSingleDoc(doc, change, selAfter, spans) { if (doc.cm && !doc.cm.curOp) { return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans); } if (change.to.line < doc.first) { shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line)); return; } if (change.from.line > doc.lastLine()) { return; } // Clip the change to the size of this doc if (change.from.line < doc.first) { var shift = change.text.length - 1 - (doc.first - change.from.line); shiftDoc(doc, shift); change = { from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch), text: [lst(change.text)], origin: change.origin }; } var last = doc.lastLine(); if (change.to.line > last) { change = { from: change.from, to: Pos(last, getLine(doc, last).text.length), text: [change.text[0]], origin: change.origin }; } change.removed = getBetween(doc, change.from, change.to); if (!selAfter) { selAfter = computeSelAfterChange(doc, change); } if (doc.cm) { makeChangeSingleDocInEditor(doc.cm, change, spans); } else { updateDoc(doc, change, spans); } setSelectionNoUndo(doc, selAfter, sel_dontScroll); if (doc.cantEdit && skipAtomic(doc, Pos(doc.firstLine(), 0))) { doc.cantEdit = false; } } // Handle the interaction of a change to a document with the editor // that this document is part of. function makeChangeSingleDocInEditor(cm, change, spans) { var doc = cm.doc, display = cm.display, from = change.from, to = change.to; var recomputeMaxLength = false, checkWidthStart = from.line; if (!cm.options.lineWrapping) { checkWidthStart = lineNo(visualLine(getLine(doc, from.line))); doc.iter(checkWidthStart, to.line + 1, function (line) { if (line == display.maxLine) { recomputeMaxLength = true; return true; } }); } if (doc.sel.contains(change.from, change.to) > -1) { signalCursorActivity(cm); } updateDoc(doc, change, spans, estimateHeight(cm)); if (!cm.options.lineWrapping) { doc.iter(checkWidthStart, from.line + change.text.length, function (line) { var len = lineLength(line); if (len > display.maxLineLength) { display.maxLine = line; display.maxLineLength = len; display.maxLineChanged = true; recomputeMaxLength = false; } }); if (recomputeMaxLength) { cm.curOp.updateMaxLine = true; } } retreatFrontier(doc, from.line); startWorker(cm, 400); var lendiff = change.text.length - (to.line - from.line) - 1; // Remember that these lines changed, for updating the display if (change.full) { regChange(cm); } else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change)) { regLineChange(cm, from.line, "text"); } else { regChange(cm, from.line, to.line + 1, lendiff); } var changesHandler = hasHandler(cm, "changes"), changeHandler = hasHandler(cm, "change"); if (changeHandler || changesHandler) { var obj = { from: from, to: to, text: change.text, removed: change.removed, origin: change.origin }; if (changeHandler) { signalLater(cm, "change", cm, obj); } if (changesHandler) { (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj); } } cm.display.selForContextMenu = null; } function replaceRange(doc, code, from, to, origin) { var assign; if (!to) { to = from; } if (cmp(to, from) < 0) { assign = [to, from], from = assign[0], to = assign[1]; } if (typeof code == "string") { code = doc.splitLines(code); } makeChange(doc, { from: from, to: to, text: code, origin: origin }); } // Rebasing/resetting history to deal with externally-sourced changes function rebaseHistSelSingle(pos, from, to, diff) { if (to < pos.line) { pos.line += diff; } else if (from < pos.line) { pos.line = from; pos.ch = 0; } } // Tries to rebase an array of history events given a change in the // document. If the change touches the same lines as the event, the // event, and everything 'behind' it, is discarded. If the change is // before the event, the event's positions are updated. Uses a // copy-on-write scheme for the positions, to avoid having to // reallocate them all on every rebase, but also avoid problems with // shared position objects being unsafely updated. function rebaseHistArray(array, from, to, diff) { for (var i = 0; i < array.length; ++i) { var sub = array[i], ok = true; if (sub.ranges) { if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; } for (var j = 0; j < sub.ranges.length; j++) { rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff); rebaseHistSelSingle(sub.ranges[j].head, from, to, diff); } continue; } for (var j$1 = 0; j$1 < sub.changes.length; ++j$1) { var cur = sub.changes[j$1]; if (to < cur.from.line) { cur.from = Pos(cur.from.line + diff, cur.from.ch); cur.to = Pos(cur.to.line + diff, cur.to.ch); } else if (from <= cur.to.line) { ok = false; break; } } if (!ok) { array.splice(0, i + 1); i = 0; } } } function rebaseHist(hist, change) { var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1; rebaseHistArray(hist.done, from, to, diff); rebaseHistArray(hist.undone, from, to, diff); } // Utility for applying a change to a line by handle or number, // returning the number and optionally registering the line as // changed. function changeLine(doc, handle, changeType, op) { var no = handle, line = handle; if (typeof handle == "number") { line = getLine(doc, clipLine(doc, handle)); } else { no = lineNo(handle); } if (no == null) { return null; } if (op(line, no) && doc.cm) { regLineChange(doc.cm, no, changeType); } return line; } // The document is represented as a BTree consisting of leaves, with // chunk of lines in them, and branches, with up to ten leaves or // other branch nodes below them. The top node is always a branch // node, and is the document object itself (meaning it has // additional methods and properties). // // All nodes have parent links. The tree is used both to go from // line numbers to line objects, and to go from objects to numbers. // It also indexes by height, and is used to convert between height // and line object, and to find the total height of the document. // // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html function LeafChunk(lines) { this.lines = lines; this.parent = null; var height = 0; for (var i = 0; i < lines.length; ++i) { lines[i].parent = this; height += lines[i].height; } this.height = height; } LeafChunk.prototype = { chunkSize: function () { return this.lines.length; }, // Remove the n lines at offset 'at'. removeInner: function (at, n) { for (var i = at, e = at + n; i < e; ++i) { var line = this.lines[i]; this.height -= line.height; cleanUpLine(line); signalLater(line, "delete"); } this.lines.splice(at, n); }, // Helper used to collapse a small branch into a single leaf. collapse: function (lines) { lines.push.apply(lines, this.lines); }, // Insert the given array of lines at offset 'at', count them as // having the given height. insertInner: function (at, lines, height) { this.height += height; this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at)); for (var i = 0; i < lines.length; ++i) { lines[i].parent = this; } }, // Used to iterate over a part of the tree. iterN: function (at, n, op) { for (var e = at + n; at < e; ++at) { if (op(this.lines[at])) { return true; } } } }; function BranchChunk(children) { this.children = children; var size = 0, height = 0; for (var i = 0; i < children.length; ++i) { var ch = children[i]; size += ch.chunkSize(); height += ch.height; ch.parent = this; } this.size = size; this.height = height; this.parent = null; } BranchChunk.prototype = { chunkSize: function () { return this.size; }, removeInner: function (at, n) { this.size -= n; for (var i = 0; i < this.children.length; ++i) { var child = this.children[i], sz = child.chunkSize(); if (at < sz) { var rm = Math.min(n, sz - at), oldHeight = child.height; child.removeInner(at, rm); this.height -= oldHeight - child.height; if (sz == rm) { this.children.splice(i--, 1); child.parent = null; } if ((n -= rm) == 0) { break; } at = 0; } else { at -= sz; } } // If the result is smaller than 25 lines, ensure that it is a // single leaf node. if (this.size - n < 25 && (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) { var lines = []; this.collapse(lines); this.children = [new LeafChunk(lines)]; this.children[0].parent = this; } }, collapse: function (lines) { for (var i = 0; i < this.children.length; ++i) { this.children[i].collapse(lines); } }, insertInner: function (at, lines, height) { this.size += lines.length; this.height += height; for (var i = 0; i < this.children.length; ++i) { var child = this.children[i], sz = child.chunkSize(); if (at <= sz) { child.insertInner(at, lines, height); if (child.lines && child.lines.length > 50) { // To avoid memory thrashing when child.lines is huge (e.g. first view of a large file), it's never spliced. // Instead, small slices are taken. They're taken in order because sequential memory accesses are fastest. var remaining = child.lines.length % 25 + 25; for (var pos = remaining; pos < child.lines.length;) { var leaf = new LeafChunk(child.lines.slice(pos, pos += 25)); child.height -= leaf.height; this.children.splice(++i, 0, leaf); leaf.parent = this; } child.lines = child.lines.slice(0, remaining); this.maybeSpill(); } break; } at -= sz; } }, // When a node has grown, check whether it should be split. maybeSpill: function () { if (this.children.length <= 10) { return; } var me = this; do { var spilled = me.children.splice(me.children.length - 5, 5); var sibling = new BranchChunk(spilled); if (!me.parent) { // Become the parent node var copy = new BranchChunk(me.children); copy.parent = me; me.children = [copy, sibling]; me = copy; } else { me.size -= sibling.size; me.height -= sibling.height; var myIndex = indexOf(me.parent.children, me); me.parent.children.splice(myIndex + 1, 0, sibling); } sibling.parent = me.parent; } while (me.children.length > 10); me.parent.maybeSpill(); }, iterN: function (at, n, op) { for (var i = 0; i < this.children.length; ++i) { var child = this.children[i], sz = child.chunkSize(); if (at < sz) { var used = Math.min(n, sz - at); if (child.iterN(at, used, op)) { return true; } if ((n -= used) == 0) { break; } at = 0; } else { at -= sz; } } } }; // Line widgets are block elements displayed above or below a line. var LineWidget = function (doc, node, options) { if (options) { for (var opt in options) { if (options.hasOwnProperty(opt)) { this[opt] = options[opt]; } } } this.doc = doc; this.node = node; }; LineWidget.prototype.clear = function () { var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line); if (no == null || !ws) { return; } for (var i = 0; i < ws.length; ++i) { if (ws[i] == this) { ws.splice(i--, 1); } } if (!ws.length) { line.widgets = null; } var height = widgetHeight(this); updateLineHeight(line, Math.max(0, line.height - height)); if (cm) { runInOp(cm, function () { adjustScrollWhenAboveVisible(cm, line, -height); regLineChange(cm, no, "widget"); }); signalLater(cm, "lineWidgetCleared", cm, this, no); } }; LineWidget.prototype.changed = function () { var this$1 = this; var oldH = this.height, cm = this.doc.cm, line = this.line; this.height = null; var diff = widgetHeight(this) - oldH; if (!diff) { return; } if (!lineIsHidden(this.doc, line)) { updateLineHeight(line, line.height + diff); } if (cm) { runInOp(cm, function () { cm.curOp.forceUpdate = true; adjustScrollWhenAboveVisible(cm, line, diff); signalLater(cm, "lineWidgetChanged", cm, this$1, lineNo(line)); }); } }; eventMixin(LineWidget); function adjustScrollWhenAboveVisible(cm, line, diff) { if (heightAtLine(line) < (cm.curOp && cm.curOp.scrollTop || cm.doc.scrollTop)) { addToScrollTop(cm, diff); } } function addLineWidget(doc, handle, node, options) { var widget = new LineWidget(doc, node, options); var cm = doc.cm; if (cm && widget.noHScroll) { cm.display.alignWidgets = true; } changeLine(doc, handle, "widget", function (line) { var widgets = line.widgets || (line.widgets = []); if (widget.insertAt == null) { widgets.push(widget); } else { widgets.splice(Math.min(widgets.length, Math.max(0, widget.insertAt)), 0, widget); } widget.line = line; if (cm && !lineIsHidden(doc, line)) { var aboveVisible = heightAtLine(line) < doc.scrollTop; updateLineHeight(line, line.height + widgetHeight(widget)); if (aboveVisible) { addToScrollTop(cm, widget.height); } cm.curOp.forceUpdate = true; } return true; }); if (cm) { signalLater(cm, "lineWidgetAdded", cm, widget, typeof handle == "number" ? handle : lineNo(handle)); } return widget; } // TEXTMARKERS // Created with markText and setBookmark methods. A TextMarker is a // handle that can be used to clear or find a marked position in the // document. Line objects hold arrays (markedSpans) containing // {from, to, marker} object pointing to such marker objects, and // indicating that such a marker is present on that line. Multiple // lines may point to the same marker when it spans across lines. // The spans will have null for their from/to properties when the // marker continues beyond the start/end of the line. Markers have // links back to the lines they currently touch. // Collapsed markers have unique ids, in order to be able to order // them, which is needed for uniquely determining an outer marker // when they overlap (they may nest, but not partially overlap). var nextMarkerId = 0; var TextMarker = function (doc, type) { this.lines = []; this.type = type; this.doc = doc; this.id = ++nextMarkerId; }; // Clear the marker. TextMarker.prototype.clear = function () { if (this.explicitlyCleared) { return; } var cm = this.doc.cm, withOp = cm && !cm.curOp; if (withOp) { startOperation(cm); } if (hasHandler(this, "clear")) { var found = this.find(); if (found) { signalLater(this, "clear", found.from, found.to); } } var min = null, max = null; for (var i = 0; i < this.lines.length; ++i) { var line = this.lines[i]; var span = getMarkedSpanFor(line.markedSpans, this); if (cm && !this.collapsed) { regLineChange(cm, lineNo(line), "text"); } else if (cm) { if (span.to != null) { max = lineNo(line); } if (span.from != null) { min = lineNo(line); } } line.markedSpans = removeMarkedSpan(line.markedSpans, span); if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm) { updateLineHeight(line, textHeight(cm.display)); } } if (cm && this.collapsed && !cm.options.lineWrapping) { for (var i$1 = 0; i$1 < this.lines.length; ++i$1) { var visual = visualLine(this.lines[i$1]), len = lineLength(visual); if (len > cm.display.maxLineLength) { cm.display.maxLine = visual; cm.display.maxLineLength = len; cm.display.maxLineChanged = true; } } } if (min != null && cm && this.collapsed) { regChange(cm, min, max + 1); } this.lines.length = 0; this.explicitlyCleared = true; if (this.atomic && this.doc.cantEdit) { this.doc.cantEdit = false; if (cm) { reCheckSelection(cm.doc); } } if (cm) { signalLater(cm, "markerCleared", cm, this, min, max); } if (withOp) { endOperation(cm); } if (this.parent) { this.parent.clear(); } }; // Find the position of the marker in the document. Returns a {from, // to} object by default. Side can be passed to get a specific side // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the // Pos objects returned contain a line object, rather than a line // number (used to prevent looking up the same line twice). TextMarker.prototype.find = function (side, lineObj) { if (side == null && this.type == "bookmark") { side = 1; } var from, to; for (var i = 0; i < this.lines.length; ++i) { var line = this.lines[i]; var span = getMarkedSpanFor(line.markedSpans, this); if (span.from != null) { from = Pos(lineObj ? line : lineNo(line), span.from); if (side == -1) { return from; } } if (span.to != null) { to = Pos(lineObj ? line : lineNo(line), span.to); if (side == 1) { return to; } } } return from && { from: from, to: to }; }; // Signals that the marker's widget changed, and surrounding layout // should be recomputed. TextMarker.prototype.changed = function () { var this$1 = this; var pos = this.find(-1, true), widget = this, cm = this.doc.cm; if (!pos || !cm) { return; } runInOp(cm, function () { var line = pos.line, lineN = lineNo(pos.line); var view = findViewForLine(cm, lineN); if (view) { clearLineMeasurementCacheFor(view); cm.curOp.selectionChanged = cm.curOp.forceUpdate = true; } cm.curOp.updateMaxLine = true; if (!lineIsHidden(widget.doc, line) && widget.height != null) { var oldHeight = widget.height; widget.height = null; var dHeight = widgetHeight(widget) - oldHeight; if (dHeight) { updateLineHeight(line, line.height + dHeight); } } signalLater(cm, "markerChanged", cm, this$1); }); }; TextMarker.prototype.attachLine = function (line) { if (!this.lines.length && this.doc.cm) { var op = this.doc.cm.curOp; if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1) { (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this); } } this.lines.push(line); }; TextMarker.prototype.detachLine = function (line) { this.lines.splice(indexOf(this.lines, line), 1); if (!this.lines.length && this.doc.cm) { var op = this.doc.cm.curOp; (op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this); } }; eventMixin(TextMarker); // Create a marker, wire it up to the right lines, and function markText(doc, from, to, options, type) { // Shared markers (across linked documents) are handled separately // (markTextShared will call out to this again, once per // document). if (options && options.shared) { return markTextShared(doc, from, to, options, type); } // Ensure we are in an operation. if (doc.cm && !doc.cm.curOp) { return operation(doc.cm, markText)(doc, from, to, options, type); } var marker = new TextMarker(doc, type), diff = cmp(from, to); if (options) { copyObj(options, marker, false); } // Don't connect empty markers unless clearWhenEmpty is false if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false) { return marker; } if (marker.replacedWith) { // Showing up as a widget implies collapsed (widget replaces text) marker.collapsed = true; marker.widgetNode = eltP("span", [marker.replacedWith], "CodeMirror-widget"); if (!options.handleMouseEvents) { marker.widgetNode.setAttribute("cm-ignore-events", "true"); } if (options.insertLeft) { marker.widgetNode.insertLeft = true; } } if (marker.collapsed) { if (conflictingCollapsedRange(doc, from.line, from, to, marker) || from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker)) { throw new Error("Inserting collapsed marker partially overlapping an existing one"); } seeCollapsedSpans(); } if (marker.addToHistory) { addChangeToHistory(doc, { from: from, to: to, origin: "markText" }, doc.sel, NaN); } var curLine = from.line, cm = doc.cm, updateMaxLine; doc.iter(curLine, to.line + 1, function (line) { if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine) { updateMaxLine = true; } if (marker.collapsed && curLine != from.line) { updateLineHeight(line, 0); } addMarkedSpan(line, new MarkedSpan(marker, curLine == from.line ? from.ch : null, curLine == to.line ? to.ch : null), doc.cm && doc.cm.curOp); ++curLine; }); // lineIsHidden depends on the presence of the spans, so needs a second pass if (marker.collapsed) { doc.iter(from.line, to.line + 1, function (line) { if (lineIsHidden(doc, line)) { updateLineHeight(line, 0); } }); } if (marker.clearOnEnter) { on(marker, "beforeCursorEnter", function () { return marker.clear(); }); } if (marker.readOnly) { seeReadOnlySpans(); if (doc.history.done.length || doc.history.undone.length) { doc.clearHistory(); } } if (marker.collapsed) { marker.id = ++nextMarkerId; marker.atomic = true; } if (cm) { // Sync editor state if (updateMaxLine) { cm.curOp.updateMaxLine = true; } if (marker.collapsed) { regChange(cm, from.line, to.line + 1); } else if (marker.className || marker.startStyle || marker.endStyle || marker.css || marker.attributes || marker.title) { for (var i = from.line; i <= to.line; i++) { regLineChange(cm, i, "text"); } } if (marker.atomic) { reCheckSelection(cm.doc); } signalLater(cm, "markerAdded", cm, marker); } return marker; } // SHARED TEXTMARKERS // A shared marker spans multiple linked documents. It is // implemented as a meta-marker-object controlling multiple normal // markers. var SharedTextMarker = function (markers, primary) { this.markers = markers; this.primary = primary; for (var i = 0; i < markers.length; ++i) { markers[i].parent = this; } }; SharedTextMarker.prototype.clear = function () { if (this.explicitlyCleared) { return; } this.explicitlyCleared = true; for (var i = 0; i < this.markers.length; ++i) { this.markers[i].clear(); } signalLater(this, "clear"); }; SharedTextMarker.prototype.find = function (side, lineObj) { return this.primary.find(side, lineObj); }; eventMixin(SharedTextMarker); function markTextShared(doc, from, to, options, type) { options = copyObj(options); options.shared = false; var markers = [markText(doc, from, to, options, type)], primary = markers[0]; var widget = options.widgetNode; linkedDocs(doc, function (doc) { if (widget) { options.widgetNode = widget.cloneNode(true); } markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type)); for (var i = 0; i < doc.linked.length; ++i) { if (doc.linked[i].isParent) { return; } } primary = lst(markers); }); return new SharedTextMarker(markers, primary); } function findSharedMarkers(doc) { return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())), function (m) { return m.parent; }); } function copySharedMarkers(doc, markers) { for (var i = 0; i < markers.length; i++) { var marker = markers[i], pos = marker.find(); var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to); if (cmp(mFrom, mTo)) { var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type); marker.markers.push(subMark); subMark.parent = marker; } } } function detachSharedMarkers(markers) { var loop = function (i) { var marker = markers[i], linked = [marker.primary.doc]; linkedDocs(marker.primary.doc, function (d) { return linked.push(d); }); for (var j = 0; j < marker.markers.length; j++) { var subMarker = marker.markers[j]; if (indexOf(linked, subMarker.doc) == -1) { subMarker.parent = null; marker.markers.splice(j--, 1); } } }; for (var i = 0; i < markers.length; i++) loop(i); } var nextDocId = 0; var Doc = function (text, mode, firstLine, lineSep, direction) { if (!(this instanceof Doc)) { return new Doc(text, mode, firstLine, lineSep, direction); } if (firstLine == null) { firstLine = 0; } BranchChunk.call(this, [new LeafChunk([new Line("", null)])]); this.first = firstLine; this.scrollTop = this.scrollLeft = 0; this.cantEdit = false; this.cleanGeneration = 1; this.modeFrontier = this.highlightFrontier = firstLine; var start = Pos(firstLine, 0); this.sel = simpleSelection(start); this.history = new History(null); this.id = ++nextDocId; this.modeOption = mode; this.lineSep = lineSep; this.direction = direction == "rtl" ? "rtl" : "ltr"; this.extend = false; if (typeof text == "string") { text = this.splitLines(text); } updateDoc(this, { from: start, to: start, text: text }); setSelection(this, simpleSelection(start), sel_dontScroll); }; Doc.prototype = createObj(BranchChunk.prototype, { constructor: Doc, // Iterate over the document. Supports two forms -- with only one // argument, it calls that for each line in the document. With // three, it iterates over the range given by the first two (with // the second being non-inclusive). iter: function (from, to, op) { if (op) { this.iterN(from - this.first, to - from, op); } else { this.iterN(this.first, this.first + this.size, from); } }, // Non-public interface for adding and removing lines. insert: function (at, lines) { var height = 0; for (var i = 0; i < lines.length; ++i) { height += lines[i].height; } this.insertInner(at - this.first, lines, height); }, remove: function (at, n) { this.removeInner(at - this.first, n); }, // From here, the methods are part of the public interface. Most // are also available from CodeMirror (editor) instances. getValue: function (lineSep) { var lines = getLines(this, this.first, this.first + this.size); if (lineSep === false) { return lines; } return lines.join(lineSep || this.lineSeparator()); }, setValue: docMethodOp(function (code) { var top = Pos(this.first, 0), last = this.first + this.size - 1; makeChange(this, { from: top, to: Pos(last, getLine(this, last).text.length), text: this.splitLines(code), origin: "setValue", full: true }, true); if (this.cm) { scrollToCoords(this.cm, 0, 0); } setSelection(this, simpleSelection(top), sel_dontScroll); }), replaceRange: function (code, from, to, origin) { from = clipPos(this, from); to = to ? clipPos(this, to) : from; replaceRange(this, code, from, to, origin); }, getRange: function (from, to, lineSep) { var lines = getBetween(this, clipPos(this, from), clipPos(this, to)); if (lineSep === false) { return lines; } if (lineSep === '') { return lines.join(''); } return lines.join(lineSep || this.lineSeparator()); }, getLine: function (line) { var l = this.getLineHandle(line); return l && l.text; }, getLineHandle: function (line) { if (isLine(this, line)) { return getLine(this, line); } }, getLineNumber: function (line) { return lineNo(line); }, getLineHandleVisualStart: function (line) { if (typeof line == "number") { line = getLine(this, line); } return visualLine(line); }, lineCount: function () { return this.size; }, firstLine: function () { return this.first; }, lastLine: function () { return this.first + this.size - 1; }, clipPos: function (pos) { return clipPos(this, pos); }, getCursor: function (start) { var range = this.sel.primary(), pos; if (start == null || start == "head") { pos = range.head; } else if (start == "anchor") { pos = range.anchor; } else if (start == "end" || start == "to" || start === false) { pos = range.to(); } else { pos = range.from(); } return pos; }, listSelections: function () { return this.sel.ranges; }, somethingSelected: function () { return this.sel.somethingSelected(); }, setCursor: docMethodOp(function (line, ch, options) { setSimpleSelection(this, clipPos(this, typeof line == "number" ? Pos(line, ch || 0) : line), null, options); }), setSelection: docMethodOp(function (anchor, head, options) { setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options); }), extendSelection: docMethodOp(function (head, other, options) { extendSelection(this, clipPos(this, head), other && clipPos(this, other), options); }), extendSelections: docMethodOp(function (heads, options) { extendSelections(this, clipPosArray(this, heads), options); }), extendSelectionsBy: docMethodOp(function (f, options) { var heads = map(this.sel.ranges, f); extendSelections(this, clipPosArray(this, heads), options); }), setSelections: docMethodOp(function (ranges, primary, options) { if (!ranges.length) { return; } var out = []; for (var i = 0; i < ranges.length; i++) { out[i] = new Range(clipPos(this, ranges[i].anchor), clipPos(this, ranges[i].head || ranges[i].anchor)); } if (primary == null) { primary = Math.min(ranges.length - 1, this.sel.primIndex); } setSelection(this, normalizeSelection(this.cm, out, primary), options); }), addSelection: docMethodOp(function (anchor, head, options) { var ranges = this.sel.ranges.slice(0); ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor))); setSelection(this, normalizeSelection(this.cm, ranges, ranges.length - 1), options); }), getSelection: function (lineSep) { var ranges = this.sel.ranges, lines; for (var i = 0; i < ranges.length; i++) { var sel = getBetween(this, ranges[i].from(), ranges[i].to()); lines = lines ? lines.concat(sel) : sel; } if (lineSep === false) { return lines; } else { return lines.join(lineSep || this.lineSeparator()); } }, getSelections: function (lineSep) { var parts = [], ranges = this.sel.ranges; for (var i = 0; i < ranges.length; i++) { var sel = getBetween(this, ranges[i].from(), ranges[i].to()); if (lineSep !== false) { sel = sel.join(lineSep || this.lineSeparator()); } parts[i] = sel; } return parts; }, replaceSelection: function (code, collapse, origin) { var dup = []; for (var i = 0; i < this.sel.ranges.length; i++) { dup[i] = code; } this.replaceSelections(dup, collapse, origin || "+input"); }, replaceSelections: docMethodOp(function (code, collapse, origin) { var changes = [], sel = this.sel; for (var i = 0; i < sel.ranges.length; i++) { var range = sel.ranges[i]; changes[i] = { from: range.from(), to: range.to(), text: this.splitLines(code[i]), origin: origin }; } var newSel = collapse && collapse != "end" && computeReplacedSel(this, changes, collapse); for (var i$1 = changes.length - 1; i$1 >= 0; i$1--) { makeChange(this, changes[i$1]); } if (newSel) { setSelectionReplaceHistory(this, newSel); } else if (this.cm) { ensureCursorVisible(this.cm); } }), undo: docMethodOp(function () { makeChangeFromHistory(this, "undo"); }), redo: docMethodOp(function () { makeChangeFromHistory(this, "redo"); }), undoSelection: docMethodOp(function () { makeChangeFromHistory(this, "undo", true); }), redoSelection: docMethodOp(function () { makeChangeFromHistory(this, "redo", true); }), setExtending: function (val) { this.extend = val; }, getExtending: function () { return this.extend; }, historySize: function () { var hist = this.history, done = 0, undone = 0; for (var i = 0; i < hist.done.length; i++) { if (!hist.done[i].ranges) { ++done; } } for (var i$1 = 0; i$1 < hist.undone.length; i$1++) { if (!hist.undone[i$1].ranges) { ++undone; } } return { undo: done, redo: undone }; }, clearHistory: function () { var this$1 = this; this.history = new History(this.history); linkedDocs(this, function (doc) { return doc.history = this$1.history; }, true); }, markClean: function () { this.cleanGeneration = this.changeGeneration(true); }, changeGeneration: function (forceSplit) { if (forceSplit) { this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null; } return this.history.generation; }, isClean: function (gen) { return this.history.generation == (gen || this.cleanGeneration); }, getHistory: function () { return { done: copyHistoryArray(this.history.done), undone: copyHistoryArray(this.history.undone) }; }, setHistory: function (histData) { var hist = this.history = new History(this.history); hist.done = copyHistoryArray(histData.done.slice(0), null, true); hist.undone = copyHistoryArray(histData.undone.slice(0), null, true); }, setGutterMarker: docMethodOp(function (line, gutterID, value) { return changeLine(this, line, "gutter", function (line) { var markers = line.gutterMarkers || (line.gutterMarkers = {}); markers[gutterID] = value; if (!value && isEmpty(markers)) { line.gutterMarkers = null; } return true; }); }), clearGutter: docMethodOp(function (gutterID) { var this$1 = this; this.iter(function (line) { if (line.gutterMarkers && line.gutterMarkers[gutterID]) { changeLine(this$1, line, "gutter", function () { line.gutterMarkers[gutterID] = null; if (isEmpty(line.gutterMarkers)) { line.gutterMarkers = null; } return true; }); } }); }), lineInfo: function (line) { var n; if (typeof line == "number") { if (!isLine(this, line)) { return null; } n = line; line = getLine(this, line); if (!line) { return null; } } else { n = lineNo(line); if (n == null) { return null; } } return { line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers, textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass, widgets: line.widgets }; }, addLineClass: docMethodOp(function (handle, where, cls) { return changeLine(this, handle, where == "gutter" ? "gutter" : "class", function (line) { var prop = where == "text" ? "textClass" : where == "background" ? "bgClass" : where == "gutter" ? "gutterClass" : "wrapClass"; if (!line[prop]) { line[prop] = cls; } else if (classTest(cls).test(line[prop])) { return false; } else { line[prop] += " " + cls; } return true; }); }), removeLineClass: docMethodOp(function (handle, where, cls) { return changeLine(this, handle, where == "gutter" ? "gutter" : "class", function (line) { var prop = where == "text" ? "textClass" : where == "background" ? "bgClass" : where == "gutter" ? "gutterClass" : "wrapClass"; var cur = line[prop]; if (!cur) { return false; } else if (cls == null) { line[prop] = null; } else { var found = cur.match(classTest(cls)); if (!found) { return false; } var end = found.index + found[0].length; line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? "" : " ") + cur.slice(end) || null; } return true; }); }), addLineWidget: docMethodOp(function (handle, node, options) { return addLineWidget(this, handle, node, options); }), removeLineWidget: function (widget) { widget.clear(); }, markText: function (from, to, options) { return markText(this, clipPos(this, from), clipPos(this, to), options, options && options.type || "range"); }, setBookmark: function (pos, options) { var realOpts = { replacedWith: options && (options.nodeType == null ? options.widget : options), insertLeft: options && options.insertLeft, clearWhenEmpty: false, shared: options && options.shared, handleMouseEvents: options && options.handleMouseEvents }; pos = clipPos(this, pos); return markText(this, pos, pos, realOpts, "bookmark"); }, findMarksAt: function (pos) { pos = clipPos(this, pos); var markers = [], spans = getLine(this, pos.line).markedSpans; if (spans) { for (var i = 0; i < spans.length; ++i) { var span = spans[i]; if ((span.from == null || span.from <= pos.ch) && (span.to == null || span.to >= pos.ch)) { markers.push(span.marker.parent || span.marker); } } } return markers; }, findMarks: function (from, to, filter) { from = clipPos(this, from); to = clipPos(this, to); var found = [], lineNo = from.line; this.iter(from.line, to.line + 1, function (line) { var spans = line.markedSpans; if (spans) { for (var i = 0; i < spans.length; i++) { var span = spans[i]; if (!(span.to != null && lineNo == from.line && from.ch >= span.to || span.from == null && lineNo != from.line || span.from != null && lineNo == to.line && span.from >= to.ch) && (!filter || filter(span.marker))) { found.push(span.marker.parent || span.marker); } } } ++lineNo; }); return found; }, getAllMarks: function () { var markers = []; this.iter(function (line) { var sps = line.markedSpans; if (sps) { for (var i = 0; i < sps.length; ++i) { if (sps[i].from != null) { markers.push(sps[i].marker); } } } }); return markers; }, posFromIndex: function (off) { var ch, lineNo = this.first, sepSize = this.lineSeparator().length; this.iter(function (line) { var sz = line.text.length + sepSize; if (sz > off) { ch = off; return true; } off -= sz; ++lineNo; }); return clipPos(this, Pos(lineNo, ch)); }, indexFromPos: function (coords) { coords = clipPos(this, coords); var index = coords.ch; if (coords.line < this.first || coords.ch < 0) { return 0; } var sepSize = this.lineSeparator().length; this.iter(this.first, coords.line, function (line) { // iter aborts when callback returns a truthy value index += line.text.length + sepSize; }); return index; }, copy: function (copyHistory) { var doc = new Doc(getLines(this, this.first, this.first + this.size), this.modeOption, this.first, this.lineSep, this.direction); doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft; doc.sel = this.sel; doc.extend = false; if (copyHistory) { doc.history.undoDepth = this.history.undoDepth; doc.setHistory(this.getHistory()); } return doc; }, linkedDoc: function (options) { if (!options) { options = {}; } var from = this.first, to = this.first + this.size; if (options.from != null && options.from > from) { from = options.from; } if (options.to != null && options.to < to) { to = options.to; } var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from, this.lineSep, this.direction); if (options.sharedHist) { copy.history = this.history; } (this.linked || (this.linked = [])).push({ doc: copy, sharedHist: options.sharedHist }); copy.linked = [{ doc: this, isParent: true, sharedHist: options.sharedHist }]; copySharedMarkers(copy, findSharedMarkers(this)); return copy; }, unlinkDoc: function (other) { if (other instanceof CodeMirror) { other = other.doc; } if (this.linked) { for (var i = 0; i < this.linked.length; ++i) { var link = this.linked[i]; if (link.doc != other) { continue; } this.linked.splice(i, 1); other.unlinkDoc(this); detachSharedMarkers(findSharedMarkers(this)); break; } } // If the histories were shared, split them again if (other.history == this.history) { var splitIds = [other.id]; linkedDocs(other, function (doc) { return splitIds.push(doc.id); }, true); other.history = new History(null); other.history.done = copyHistoryArray(this.history.done, splitIds); other.history.undone = copyHistoryArray(this.history.undone, splitIds); } }, iterLinkedDocs: function (f) { linkedDocs(this, f); }, getMode: function () { return this.mode; }, getEditor: function () { return this.cm; }, splitLines: function (str) { if (this.lineSep) { return str.split(this.lineSep); } return splitLinesAuto(str); }, lineSeparator: function () { return this.lineSep || "\n"; }, setDirection: docMethodOp(function (dir) { if (dir != "rtl") { dir = "ltr"; } if (dir == this.direction) { return; } this.direction = dir; this.iter(function (line) { return line.order = null; }); if (this.cm) { directionChanged(this.cm); } }) }); // Public alias. Doc.prototype.eachLine = Doc.prototype.iter; // Kludge to work around strange IE behavior where it'll sometimes // re-fire a series of drag-related events right after the drop (#1551) var lastDrop = 0; function onDrop(e) { var cm = this; clearDragCursor(cm); if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) { return; } e_preventDefault(e); if (ie) { lastDrop = +new Date(); } var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files; if (!pos || cm.isReadOnly()) { return; } // Might be a file drop, in which case we simply extract the text // and insert it. if (files && files.length && window.FileReader && window.File) { var n = files.length, text = Array(n), read = 0; var markAsReadAndPasteIfAllFilesAreRead = function () { if (++read == n) { operation(cm, function () { pos = clipPos(cm.doc, pos); var change = { from: pos, to: pos, text: cm.doc.splitLines(text.filter(function (t) { return t != null; }).join(cm.doc.lineSeparator())), origin: "paste" }; makeChange(cm.doc, change); setSelectionReplaceHistory(cm.doc, simpleSelection(clipPos(cm.doc, pos), clipPos(cm.doc, changeEnd(change)))); })(); } }; var readTextFromFile = function (file, i) { if (cm.options.allowDropFileTypes && indexOf(cm.options.allowDropFileTypes, file.type) == -1) { markAsReadAndPasteIfAllFilesAreRead(); return; } var reader = new FileReader(); reader.onerror = function () { return markAsReadAndPasteIfAllFilesAreRead(); }; reader.onload = function () { var content = reader.result; if (/[\x00-\x08\x0e-\x1f]{2}/.test(content)) { markAsReadAndPasteIfAllFilesAreRead(); return; } text[i] = content; markAsReadAndPasteIfAllFilesAreRead(); }; reader.readAsText(file); }; for (var i = 0; i < files.length; i++) { readTextFromFile(files[i], i); } } else { // Normal drop // Don't do a replace if the drop happened inside of the selected text. if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) { cm.state.draggingText(e); // Ensure the editor is re-focused setTimeout(function () { return cm.display.input.focus(); }, 20); return; } try { var text$1 = e.dataTransfer.getData("Text"); if (text$1) { var selected; if (cm.state.draggingText && !cm.state.draggingText.copy) { selected = cm.listSelections(); } setSelectionNoUndo(cm.doc, simpleSelection(pos, pos)); if (selected) { for (var i$1 = 0; i$1 < selected.length; ++i$1) { replaceRange(cm.doc, "", selected[i$1].anchor, selected[i$1].head, "drag"); } } cm.replaceSelection(text$1, "around", "paste"); cm.display.input.focus(); } } catch (e$1) {} } } function onDragStart(cm, e) { if (ie && (!cm.state.draggingText || +new Date() - lastDrop < 100)) { e_stop(e); return; } if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) { return; } e.dataTransfer.setData("Text", cm.getSelection()); e.dataTransfer.effectAllowed = "copyMove"; // Use dummy image instead of default browsers image. // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there. if (e.dataTransfer.setDragImage && !safari) { var img = elt("img", null, null, "position: fixed; left: 0; top: 0;"); img.src = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="; if (presto) { img.width = img.height = 1; cm.display.wrapper.appendChild(img); // Force a relayout, or Opera won't use our image for some obscure reason img._top = img.offsetTop; } e.dataTransfer.setDragImage(img, 0, 0); if (presto) { img.parentNode.removeChild(img); } } } function onDragOver(cm, e) { var pos = posFromMouse(cm, e); if (!pos) { return; } var frag = document.createDocumentFragment(); drawSelectionCursor(cm, pos, frag); if (!cm.display.dragCursor) { cm.display.dragCursor = elt("div", null, "CodeMirror-cursors CodeMirror-dragcursors"); cm.display.lineSpace.insertBefore(cm.display.dragCursor, cm.display.cursorDiv); } removeChildrenAndAdd(cm.display.dragCursor, frag); } function clearDragCursor(cm) { if (cm.display.dragCursor) { cm.display.lineSpace.removeChild(cm.display.dragCursor); cm.display.dragCursor = null; } } // These must be handled carefully, because naively registering a // handler for each editor will cause the editors to never be // garbage collected. function forEachCodeMirror(f) { if (!document.getElementsByClassName) { return; } var byClass = document.getElementsByClassName("CodeMirror"), editors = []; for (var i = 0; i < byClass.length; i++) { var cm = byClass[i].CodeMirror; if (cm) { editors.push(cm); } } if (editors.length) { editors[0].operation(function () { for (var i = 0; i < editors.length; i++) { f(editors[i]); } }); } } var globalsRegistered = false; function ensureGlobalHandlers() { if (globalsRegistered) { return; } registerGlobalHandlers(); globalsRegistered = true; } function registerGlobalHandlers() { // When the window resizes, we need to refresh active editors. var resizeTimer; on(window, "resize", function () { if (resizeTimer == null) { resizeTimer = setTimeout(function () { resizeTimer = null; forEachCodeMirror(onResize); }, 100); } }); // When the window loses focus, we want to show the editor as blurred on(window, "blur", function () { return forEachCodeMirror(onBlur); }); } // Called when the window resizes function onResize(cm) { var d = cm.display; // Might be a text scaling operation, clear size caches. d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null; d.scrollbarsClipped = false; cm.setSize(); } var keyNames = { 3: "Pause", 8: "Backspace", 9: "Tab", 13: "Enter", 16: "Shift", 17: "Ctrl", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Esc", 32: "Space", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "Left", 38: "Up", 39: "Right", 40: "Down", 44: "PrintScrn", 45: "Insert", 46: "Delete", 59: ";", 61: "=", 91: "Mod", 92: "Mod", 93: "Mod", 106: "*", 107: "=", 109: "-", 110: ".", 111: "/", 145: "ScrollLock", 173: "-", 186: ";", 187: "=", 188: ",", 189: "-", 190: ".", 191: "/", 192: "`", 219: "[", 220: "\\", 221: "]", 222: "'", 224: "Mod", 63232: "Up", 63233: "Down", 63234: "Left", 63235: "Right", 63272: "Delete", 63273: "Home", 63275: "End", 63276: "PageUp", 63277: "PageDown", 63302: "Insert" }; // Number keys for (var i = 0; i < 10; i++) { keyNames[i + 48] = keyNames[i + 96] = String(i); } // Alphabetic keys for (var i$1 = 65; i$1 <= 90; i$1++) { keyNames[i$1] = String.fromCharCode(i$1); } // Function keys for (var i$2 = 1; i$2 <= 12; i$2++) { keyNames[i$2 + 111] = keyNames[i$2 + 63235] = "F" + i$2; } var keyMap = {}; keyMap.basic = { "Left": "goCharLeft", "Right": "goCharRight", "Up": "goLineUp", "Down": "goLineDown", "End": "goLineEnd", "Home": "goLineStartSmart", "PageUp": "goPageUp", "PageDown": "goPageDown", "Delete": "delCharAfter", "Backspace": "delCharBefore", "Shift-Backspace": "delCharBefore", "Tab": "defaultTab", "Shift-Tab": "indentAuto", "Enter": "newlineAndIndent", "Insert": "toggleOverwrite", "Esc": "singleSelection" }; // Note that the save and find-related commands aren't defined by // default. User code or addons can define them. Unknown commands // are simply ignored. keyMap.pcDefault = { "Ctrl-A": "selectAll", "Ctrl-D": "deleteLine", "Ctrl-Z": "undo", "Shift-Ctrl-Z": "redo", "Ctrl-Y": "redo", "Ctrl-Home": "goDocStart", "Ctrl-End": "goDocEnd", "Ctrl-Up": "goLineUp", "Ctrl-Down": "goLineDown", "Ctrl-Left": "goGroupLeft", "Ctrl-Right": "goGroupRight", "Alt-Left": "goLineStart", "Alt-Right": "goLineEnd", "Ctrl-Backspace": "delGroupBefore", "Ctrl-Delete": "delGroupAfter", "Ctrl-S": "save", "Ctrl-F": "find", "Ctrl-G": "findNext", "Shift-Ctrl-G": "findPrev", "Shift-Ctrl-F": "replace", "Shift-Ctrl-R": "replaceAll", "Ctrl-[": "indentLess", "Ctrl-]": "indentMore", "Ctrl-U": "undoSelection", "Shift-Ctrl-U": "redoSelection", "Alt-U": "redoSelection", "fallthrough": "basic" }; // Very basic readline/emacs-style bindings, which are standard on Mac. keyMap.emacsy = { "Ctrl-F": "goCharRight", "Ctrl-B": "goCharLeft", "Ctrl-P": "goLineUp", "Ctrl-N": "goLineDown", "Ctrl-A": "goLineStart", "Ctrl-E": "goLineEnd", "Ctrl-V": "goPageDown", "Shift-Ctrl-V": "goPageUp", "Ctrl-D": "delCharAfter", "Ctrl-H": "delCharBefore", "Alt-Backspace": "delWordBefore", "Ctrl-K": "killLine", "Ctrl-T": "transposeChars", "Ctrl-O": "openLine" }; keyMap.macDefault = { "Cmd-A": "selectAll", "Cmd-D": "deleteLine", "Cmd-Z": "undo", "Shift-Cmd-Z": "redo", "Cmd-Y": "redo", "Cmd-Home": "goDocStart", "Cmd-Up": "goDocStart", "Cmd-End": "goDocEnd", "Cmd-Down": "goDocEnd", "Alt-Left": "goGroupLeft", "Alt-Right": "goGroupRight", "Cmd-Left": "goLineLeft", "Cmd-Right": "goLineRight", "Alt-Backspace": "delGroupBefore", "Ctrl-Alt-Backspace": "delGroupAfter", "Alt-Delete": "delGroupAfter", "Cmd-S": "save", "Cmd-F": "find", "Cmd-G": "findNext", "Shift-Cmd-G": "findPrev", "Cmd-Alt-F": "replace", "Shift-Cmd-Alt-F": "replaceAll", "Cmd-[": "indentLess", "Cmd-]": "indentMore", "Cmd-Backspace": "delWrappedLineLeft", "Cmd-Delete": "delWrappedLineRight", "Cmd-U": "undoSelection", "Shift-Cmd-U": "redoSelection", "Ctrl-Up": "goDocStart", "Ctrl-Down": "goDocEnd", "fallthrough": ["basic", "emacsy"] }; keyMap["default"] = mac ? keyMap.macDefault : keyMap.pcDefault; // KEYMAP DISPATCH function normalizeKeyName(name) { var parts = name.split(/-(?!$)/); name = parts[parts.length - 1]; var alt, ctrl, shift, cmd; for (var i = 0; i < parts.length - 1; i++) { var mod = parts[i]; if (/^(cmd|meta|m)$/i.test(mod)) { cmd = true; } else if (/^a(lt)?$/i.test(mod)) { alt = true; } else if (/^(c|ctrl|control)$/i.test(mod)) { ctrl = true; } else if (/^s(hift)?$/i.test(mod)) { shift = true; } else { throw new Error("Unrecognized modifier name: " + mod); } } if (alt) { name = "Alt-" + name; } if (ctrl) { name = "Ctrl-" + name; } if (cmd) { name = "Cmd-" + name; } if (shift) { name = "Shift-" + name; } return name; } // This is a kludge to keep keymaps mostly working as raw objects // (backwards compatibility) while at the same time support features // like normalization and multi-stroke key bindings. It compiles a // new normalized keymap, and then updates the old object to reflect // this. function normalizeKeyMap(keymap) { var copy = {}; for (var keyname in keymap) { if (keymap.hasOwnProperty(keyname)) { var value = keymap[keyname]; if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) { continue; } if (value == "...") { delete keymap[keyname]; continue; } var keys = map(keyname.split(" "), normalizeKeyName); for (var i = 0; i < keys.length; i++) { var val = void 0, name = void 0; if (i == keys.length - 1) { name = keys.join(" "); val = value; } else { name = keys.slice(0, i + 1).join(" "); val = "..."; } var prev = copy[name]; if (!prev) { copy[name] = val; } else if (prev != val) { throw new Error("Inconsistent bindings for " + name); } } delete keymap[keyname]; } } for (var prop in copy) { keymap[prop] = copy[prop]; } return keymap; } function lookupKey(key, map, handle, context) { map = getKeyMap(map); var found = map.call ? map.call(key, context) : map[key]; if (found === false) { return "nothing"; } if (found === "...") { return "multi"; } if (found != null && handle(found)) { return "handled"; } if (map.fallthrough) { if (Object.prototype.toString.call(map.fallthrough) != "[object Array]") { return lookupKey(key, map.fallthrough, handle, context); } for (var i = 0; i < map.fallthrough.length; i++) { var result = lookupKey(key, map.fallthrough[i], handle, context); if (result) { return result; } } } } // Modifier key presses don't count as 'real' key presses for the // purpose of keymap fallthrough. function isModifierKey(value) { var name = typeof value == "string" ? value : keyNames[value.keyCode]; return name == "Ctrl" || name == "Alt" || name == "Shift" || name == "Mod"; } function addModifierNames(name, event, noShift) { var base = name; if (event.altKey && base != "Alt") { name = "Alt-" + name; } if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != "Ctrl") { name = "Ctrl-" + name; } if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != "Mod") { name = "Cmd-" + name; } if (!noShift && event.shiftKey && base != "Shift") { name = "Shift-" + name; } return name; } // Look up the name of a key as indicated by an event object. function keyName(event, noShift) { if (presto && event.keyCode == 34 && event["char"]) { return false; } var name = keyNames[event.keyCode]; if (name == null || event.altGraphKey) { return false; } // Ctrl-ScrollLock has keyCode 3, same as Ctrl-Pause, // so we'll use event.code when available (Chrome 48+, FF 38+, Safari 10.1+) if (event.keyCode == 3 && event.code) { name = event.code; } return addModifierNames(name, event, noShift); } function getKeyMap(val) { return typeof val == "string" ? keyMap[val] : val; } // Helper for deleting text near the selection(s), used to implement // backspace, delete, and similar functionality. function deleteNearSelection(cm, compute) { var ranges = cm.doc.sel.ranges, kill = []; // Build up a set of ranges to kill first, merging overlapping // ranges. for (var i = 0; i < ranges.length; i++) { var toKill = compute(ranges[i]); while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) { var replaced = kill.pop(); if (cmp(replaced.from, toKill.from) < 0) { toKill.from = replaced.from; break; } } kill.push(toKill); } // Next, remove those actual ranges. runInOp(cm, function () { for (var i = kill.length - 1; i >= 0; i--) { replaceRange(cm.doc, "", kill[i].from, kill[i].to, "+delete"); } ensureCursorVisible(cm); }); } function moveCharLogically(line, ch, dir) { var target = skipExtendingChars(line.text, ch + dir, dir); return target < 0 || target > line.text.length ? null : target; } function moveLogically(line, start, dir) { var ch = moveCharLogically(line, start.ch, dir); return ch == null ? null : new Pos(start.line, ch, dir < 0 ? "after" : "before"); } function endOfLine(visually, cm, lineObj, lineNo, dir) { if (visually) { if (cm.doc.direction == "rtl") { dir = -dir; } var order = getOrder(lineObj, cm.doc.direction); if (order) { var part = dir < 0 ? lst(order) : order[0]; var moveInStorageOrder = dir < 0 == (part.level == 1); var sticky = moveInStorageOrder ? "after" : "before"; var ch; // With a wrapped rtl chunk (possibly spanning multiple bidi parts), // it could be that the last bidi part is not on the last visual line, // since visual lines contain content order-consecutive chunks. // Thus, in rtl, we are looking for the first (content-order) character // in the rtl chunk that is on the last line (that is, the same line // as the last (content-order) character). if (part.level > 0 || cm.doc.direction == "rtl") { var prep = prepareMeasureForLine(cm, lineObj); ch = dir < 0 ? lineObj.text.length - 1 : 0; var targetTop = measureCharPrepared(cm, prep, ch).top; ch = findFirst(function (ch) { return measureCharPrepared(cm, prep, ch).top == targetTop; }, dir < 0 == (part.level == 1) ? part.from : part.to - 1, ch); if (sticky == "before") { ch = moveCharLogically(lineObj, ch, 1); } } else { ch = dir < 0 ? part.to : part.from; } return new Pos(lineNo, ch, sticky); } } return new Pos(lineNo, dir < 0 ? lineObj.text.length : 0, dir < 0 ? "before" : "after"); } function moveVisually(cm, line, start, dir) { var bidi = getOrder(line, cm.doc.direction); if (!bidi) { return moveLogically(line, start, dir); } if (start.ch >= line.text.length) { start.ch = line.text.length; start.sticky = "before"; } else if (start.ch <= 0) { start.ch = 0; start.sticky = "after"; } var partPos = getBidiPartAt(bidi, start.ch, start.sticky), part = bidi[partPos]; if (cm.doc.direction == "ltr" && part.level % 2 == 0 && (dir > 0 ? part.to > start.ch : part.from < start.ch)) { // Case 1: We move within an ltr part in an ltr editor. Even with wrapped lines, // nothing interesting happens. return moveLogically(line, start, dir); } var mv = function (pos, dir) { return moveCharLogically(line, pos instanceof Pos ? pos.ch : pos, dir); }; var prep; var getWrappedLineExtent = function (ch) { if (!cm.options.lineWrapping) { return { begin: 0, end: line.text.length }; } prep = prep || prepareMeasureForLine(cm, line); return wrappedLineExtentChar(cm, line, prep, ch); }; var wrappedLineExtent = getWrappedLineExtent(start.sticky == "before" ? mv(start, -1) : start.ch); if (cm.doc.direction == "rtl" || part.level == 1) { var moveInStorageOrder = part.level == 1 == dir < 0; var ch = mv(start, moveInStorageOrder ? 1 : -1); if (ch != null && (!moveInStorageOrder ? ch >= part.from && ch >= wrappedLineExtent.begin : ch <= part.to && ch <= wrappedLineExtent.end)) { // Case 2: We move within an rtl part or in an rtl editor on the same visual line var sticky = moveInStorageOrder ? "before" : "after"; return new Pos(start.line, ch, sticky); } } // Case 3: Could not move within this bidi part in this visual line, so leave // the current bidi part var searchInVisualLine = function (partPos, dir, wrappedLineExtent) { var getRes = function (ch, moveInStorageOrder) { return moveInStorageOrder ? new Pos(start.line, mv(ch, 1), "before") : new Pos(start.line, ch, "after"); }; for (; partPos >= 0 && partPos < bidi.length; partPos += dir) { var part = bidi[partPos]; var moveInStorageOrder = dir > 0 == (part.level != 1); var ch = moveInStorageOrder ? wrappedLineExtent.begin : mv(wrappedLineExtent.end, -1); if (part.from <= ch && ch < part.to) { return getRes(ch, moveInStorageOrder); } ch = moveInStorageOrder ? part.from : mv(part.to, -1); if (wrappedLineExtent.begin <= ch && ch < wrappedLineExtent.end) { return getRes(ch, moveInStorageOrder); } } }; // Case 3a: Look for other bidi parts on the same visual line var res = searchInVisualLine(partPos + dir, dir, wrappedLineExtent); if (res) { return res; } // Case 3b: Look for other bidi parts on the next visual line var nextCh = dir > 0 ? wrappedLineExtent.end : mv(wrappedLineExtent.begin, -1); if (nextCh != null && !(dir > 0 && nextCh == line.text.length)) { res = searchInVisualLine(dir > 0 ? 0 : bidi.length - 1, dir, getWrappedLineExtent(nextCh)); if (res) { return res; } } // Case 4: Nowhere to move return null; } // Commands are parameter-less actions that can be performed on an // editor, mostly used for keybindings. var commands = { selectAll: selectAll, singleSelection: function (cm) { return cm.setSelection(cm.getCursor("anchor"), cm.getCursor("head"), sel_dontScroll); }, killLine: function (cm) { return deleteNearSelection(cm, function (range) { if (range.empty()) { var len = getLine(cm.doc, range.head.line).text.length; if (range.head.ch == len && range.head.line < cm.lastLine()) { return { from: range.head, to: Pos(range.head.line + 1, 0) }; } else { return { from: range.head, to: Pos(range.head.line, len) }; } } else { return { from: range.from(), to: range.to() }; } }); }, deleteLine: function (cm) { return deleteNearSelection(cm, function (range) { return { from: Pos(range.from().line, 0), to: clipPos(cm.doc, Pos(range.to().line + 1, 0)) }; }); }, delLineLeft: function (cm) { return deleteNearSelection(cm, function (range) { return { from: Pos(range.from().line, 0), to: range.from() }; }); }, delWrappedLineLeft: function (cm) { return deleteNearSelection(cm, function (range) { var top = cm.charCoords(range.head, "div").top + 5; var leftPos = cm.coordsChar({ left: 0, top: top }, "div"); return { from: leftPos, to: range.from() }; }); }, delWrappedLineRight: function (cm) { return deleteNearSelection(cm, function (range) { var top = cm.charCoords(range.head, "div").top + 5; var rightPos = cm.coordsChar({ left: cm.display.lineDiv.offsetWidth + 100, top: top }, "div"); return { from: range.from(), to: rightPos }; }); }, undo: function (cm) { return cm.undo(); }, redo: function (cm) { return cm.redo(); }, undoSelection: function (cm) { return cm.undoSelection(); }, redoSelection: function (cm) { return cm.redoSelection(); }, goDocStart: function (cm) { return cm.extendSelection(Pos(cm.firstLine(), 0)); }, goDocEnd: function (cm) { return cm.extendSelection(Pos(cm.lastLine())); }, goLineStart: function (cm) { return cm.extendSelectionsBy(function (range) { return lineStart(cm, range.head.line); }, { origin: "+move", bias: 1 }); }, goLineStartSmart: function (cm) { return cm.extendSelectionsBy(function (range) { return lineStartSmart(cm, range.head); }, { origin: "+move", bias: 1 }); }, goLineEnd: function (cm) { return cm.extendSelectionsBy(function (range) { return lineEnd(cm, range.head.line); }, { origin: "+move", bias: -1 }); }, goLineRight: function (cm) { return cm.extendSelectionsBy(function (range) { var top = cm.cursorCoords(range.head, "div").top + 5; return cm.coordsChar({ left: cm.display.lineDiv.offsetWidth + 100, top: top }, "div"); }, sel_move); }, goLineLeft: function (cm) { return cm.extendSelectionsBy(function (range) { var top = cm.cursorCoords(range.head, "div").top + 5; return cm.coordsChar({ left: 0, top: top }, "div"); }, sel_move); }, goLineLeftSmart: function (cm) { return cm.extendSelectionsBy(function (range) { var top = cm.cursorCoords(range.head, "div").top + 5; var pos = cm.coordsChar({ left: 0, top: top }, "div"); if (pos.ch < cm.getLine(pos.line).search(/\S/)) { return lineStartSmart(cm, range.head); } return pos; }, sel_move); }, goLineUp: function (cm) { return cm.moveV(-1, "line"); }, goLineDown: function (cm) { return cm.moveV(1, "line"); }, goPageUp: function (cm) { return cm.moveV(-1, "page"); }, goPageDown: function (cm) { return cm.moveV(1, "page"); }, goCharLeft: function (cm) { return cm.moveH(-1, "char"); }, goCharRight: function (cm) { return cm.moveH(1, "char"); }, goColumnLeft: function (cm) { return cm.moveH(-1, "column"); }, goColumnRight: function (cm) { return cm.moveH(1, "column"); }, goWordLeft: function (cm) { return cm.moveH(-1, "word"); }, goGroupRight: function (cm) { return cm.moveH(1, "group"); }, goGroupLeft: function (cm) { return cm.moveH(-1, "group"); }, goWordRight: function (cm) { return cm.moveH(1, "word"); }, delCharBefore: function (cm) { return cm.deleteH(-1, "codepoint"); }, delCharAfter: function (cm) { return cm.deleteH(1, "char"); }, delWordBefore: function (cm) { return cm.deleteH(-1, "word"); }, delWordAfter: function (cm) { return cm.deleteH(1, "word"); }, delGroupBefore: function (cm) { return cm.deleteH(-1, "group"); }, delGroupAfter: function (cm) { return cm.deleteH(1, "group"); }, indentAuto: function (cm) { return cm.indentSelection("smart"); }, indentMore: function (cm) { return cm.indentSelection("add"); }, indentLess: function (cm) { return cm.indentSelection("subtract"); }, insertTab: function (cm) { return cm.replaceSelection("\t"); }, insertSoftTab: function (cm) { var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize; for (var i = 0; i < ranges.length; i++) { var pos = ranges[i].from(); var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize); spaces.push(spaceStr(tabSize - col % tabSize)); } cm.replaceSelections(spaces); }, defaultTab: function (cm) { if (cm.somethingSelected()) { cm.indentSelection("add"); } else { cm.execCommand("insertTab"); } }, // Swap the two chars left and right of each selection's head. // Move cursor behind the two swapped characters afterwards. // // Doesn't consider line feeds a character. // Doesn't scan more than one line above to find a character. // Doesn't do anything on an empty line. // Doesn't do anything with non-empty selections. transposeChars: function (cm) { return runInOp(cm, function () { var ranges = cm.listSelections(), newSel = []; for (var i = 0; i < ranges.length; i++) { if (!ranges[i].empty()) { continue; } var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text; if (line) { if (cur.ch == line.length) { cur = new Pos(cur.line, cur.ch - 1); } if (cur.ch > 0) { cur = new Pos(cur.line, cur.ch + 1); cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2), Pos(cur.line, cur.ch - 2), cur, "+transpose"); } else if (cur.line > cm.doc.first) { var prev = getLine(cm.doc, cur.line - 1).text; if (prev) { cur = new Pos(cur.line, 1); cm.replaceRange(line.charAt(0) + cm.doc.lineSeparator() + prev.charAt(prev.length - 1), Pos(cur.line - 1, prev.length - 1), cur, "+transpose"); } } } newSel.push(new Range(cur, cur)); } cm.setSelections(newSel); }); }, newlineAndIndent: function (cm) { return runInOp(cm, function () { var sels = cm.listSelections(); for (var i = sels.length - 1; i >= 0; i--) { cm.replaceRange(cm.doc.lineSeparator(), sels[i].anchor, sels[i].head, "+input"); } sels = cm.listSelections(); for (var i$1 = 0; i$1 < sels.length; i$1++) { cm.indentLine(sels[i$1].from().line, null, true); } ensureCursorVisible(cm); }); }, openLine: function (cm) { return cm.replaceSelection("\n", "start"); }, toggleOverwrite: function (cm) { return cm.toggleOverwrite(); } }; function lineStart(cm, lineN) { var line = getLine(cm.doc, lineN); var visual = visualLine(line); if (visual != line) { lineN = lineNo(visual); } return endOfLine(true, cm, visual, lineN, 1); } function lineEnd(cm, lineN) { var line = getLine(cm.doc, lineN); var visual = visualLineEnd(line); if (visual != line) { lineN = lineNo(visual); } return endOfLine(true, cm, line, lineN, -1); } function lineStartSmart(cm, pos) { var start = lineStart(cm, pos.line); var line = getLine(cm.doc, start.line); var order = getOrder(line, cm.doc.direction); if (!order || order[0].level == 0) { var firstNonWS = Math.max(start.ch, line.text.search(/\S/)); var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch; return Pos(start.line, inWS ? 0 : firstNonWS, start.sticky); } return start; } // Run a handler that was bound to a key. function doHandleBinding(cm, bound, dropShift) { if (typeof bound == "string") { bound = commands[bound]; if (!bound) { return false; } } // Ensure previous input has been read, so that the handler sees a // consistent view of the document cm.display.input.ensurePolled(); var prevShift = cm.display.shift, done = false; try { if (cm.isReadOnly()) { cm.state.suppressEdits = true; } if (dropShift) { cm.display.shift = false; } done = bound(cm) != Pass; } finally { cm.display.shift = prevShift; cm.state.suppressEdits = false; } return done; } function lookupKeyForEditor(cm, name, handle) { for (var i = 0; i < cm.state.keyMaps.length; i++) { var result = lookupKey(name, cm.state.keyMaps[i], handle, cm); if (result) { return result; } } return cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm) || lookupKey(name, cm.options.keyMap, handle, cm); } // Note that, despite the name, this function is also used to check // for bound mouse clicks. var stopSeq = new Delayed(); function dispatchKey(cm, name, e, handle) { var seq = cm.state.keySeq; if (seq) { if (isModifierKey(name)) { return "handled"; } if (/\'$/.test(name)) { cm.state.keySeq = null; } else { stopSeq.set(50, function () { if (cm.state.keySeq == seq) { cm.state.keySeq = null; cm.display.input.reset(); } }); } if (dispatchKeyInner(cm, seq + " " + name, e, handle)) { return true; } } return dispatchKeyInner(cm, name, e, handle); } function dispatchKeyInner(cm, name, e, handle) { var result = lookupKeyForEditor(cm, name, handle); if (result == "multi") { cm.state.keySeq = name; } if (result == "handled") { signalLater(cm, "keyHandled", cm, name, e); } if (result == "handled" || result == "multi") { e_preventDefault(e); restartBlink(cm); } return !!result; } // Handle a key from the keydown event. function handleKeyBinding(cm, e) { var name = keyName(e, true); if (!name) { return false; } if (e.shiftKey && !cm.state.keySeq) { // First try to resolve full name (including 'Shift-'). Failing // that, see if there is a cursor-motion command (starting with // 'go') bound to the keyname without 'Shift-'. return dispatchKey(cm, "Shift-" + name, e, function (b) { return doHandleBinding(cm, b, true); }) || dispatchKey(cm, name, e, function (b) { if (typeof b == "string" ? /^go[A-Z]/.test(b) : b.motion) { return doHandleBinding(cm, b); } }); } else { return dispatchKey(cm, name, e, function (b) { return doHandleBinding(cm, b); }); } } // Handle a key from the keypress event function handleCharBinding(cm, e, ch) { return dispatchKey(cm, "'" + ch + "'", e, function (b) { return doHandleBinding(cm, b, true); }); } var lastStoppedKey = null; function onKeyDown(e) { var cm = this; if (e.target && e.target != cm.display.input.getField()) { return; } cm.curOp.focus = activeElt(root(cm)); if (signalDOMEvent(cm, e)) { return; } // IE does strange things with escape. if (ie && ie_version < 11 && e.keyCode == 27) { e.returnValue = false; } var code = e.keyCode; cm.display.shift = code == 16 || e.shiftKey; var handled = handleKeyBinding(cm, e); if (presto) { lastStoppedKey = handled ? code : null; // Opera has no cut event... we try to at least catch the key combo if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey)) { cm.replaceSelection("", null, "cut"); } } if (gecko && !mac && !handled && code == 46 && e.shiftKey && !e.ctrlKey && document.execCommand) { document.execCommand("cut"); } // Turn mouse into crosshair when Alt is held on Mac. if (code == 18 && !/\bCodeMirror-crosshair\b/.test(cm.display.lineDiv.className)) { showCrossHair(cm); } } function showCrossHair(cm) { var lineDiv = cm.display.lineDiv; addClass(lineDiv, "CodeMirror-crosshair"); function up(e) { if (e.keyCode == 18 || !e.altKey) { rmClass(lineDiv, "CodeMirror-crosshair"); off(document, "keyup", up); off(document, "mouseover", up); } } on(document, "keyup", up); on(document, "mouseover", up); } function onKeyUp(e) { if (e.keyCode == 16) { this.doc.sel.shift = false; } signalDOMEvent(this, e); } function onKeyPress(e) { var cm = this; if (e.target && e.target != cm.display.input.getField()) { return; } if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) { return; } var keyCode = e.keyCode, charCode = e.charCode; if (presto && keyCode == lastStoppedKey) { lastStoppedKey = null; e_preventDefault(e); return; } if (presto && (!e.which || e.which < 10) && handleKeyBinding(cm, e)) { return; } var ch = String.fromCharCode(charCode == null ? keyCode : charCode); // Some browsers fire keypress events for backspace if (ch == "\x08") { return; } if (handleCharBinding(cm, e, ch)) { return; } cm.display.input.onKeyPress(e); } var DOUBLECLICK_DELAY = 400; var PastClick = function (time, pos, button) { this.time = time; this.pos = pos; this.button = button; }; PastClick.prototype.compare = function (time, pos, button) { return this.time + DOUBLECLICK_DELAY > time && cmp(pos, this.pos) == 0 && button == this.button; }; var lastClick, lastDoubleClick; function clickRepeat(pos, button) { var now = +new Date(); if (lastDoubleClick && lastDoubleClick.compare(now, pos, button)) { lastClick = lastDoubleClick = null; return "triple"; } else if (lastClick && lastClick.compare(now, pos, button)) { lastDoubleClick = new PastClick(now, pos, button); lastClick = null; return "double"; } else { lastClick = new PastClick(now, pos, button); lastDoubleClick = null; return "single"; } } // A mouse down can be a single click, double click, triple click, // start of selection drag, start of text drag, new cursor // (ctrl-click), rectangle drag (alt-drag), or xwin // middle-click-paste. Or it might be a click on something we should // not interfere with, such as a scrollbar or widget. function onMouseDown(e) { var cm = this, display = cm.display; if (signalDOMEvent(cm, e) || display.activeTouch && display.input.supportsTouch()) { return; } display.input.ensurePolled(); display.shift = e.shiftKey; if (eventInWidget(display, e)) { if (!webkit) { // Briefly turn off draggability, to allow widgets to do // normal dragging things. display.scroller.draggable = false; setTimeout(function () { return display.scroller.draggable = true; }, 100); } return; } if (clickInGutter(cm, e)) { return; } var pos = posFromMouse(cm, e), button = e_button(e), repeat = pos ? clickRepeat(pos, button) : "single"; win(cm).focus(); // #3261: make sure, that we're not starting a second selection if (button == 1 && cm.state.selectingText) { cm.state.selectingText(e); } if (pos && handleMappedButton(cm, button, pos, repeat, e)) { return; } if (button == 1) { if (pos) { leftButtonDown(cm, pos, repeat, e); } else if (e_target(e) == display.scroller) { e_preventDefault(e); } } else if (button == 2) { if (pos) { extendSelection(cm.doc, pos); } setTimeout(function () { return display.input.focus(); }, 20); } else if (button == 3) { if (captureRightClick) { cm.display.input.onContextMenu(e); } else { delayBlurEvent(cm); } } } function handleMappedButton(cm, button, pos, repeat, event) { var name = "Click"; if (repeat == "double") { name = "Double" + name; } else if (repeat == "triple") { name = "Triple" + name; } name = (button == 1 ? "Left" : button == 2 ? "Middle" : "Right") + name; return dispatchKey(cm, addModifierNames(name, event), event, function (bound) { if (typeof bound == "string") { bound = commands[bound]; } if (!bound) { return false; } var done = false; try { if (cm.isReadOnly()) { cm.state.suppressEdits = true; } done = bound(cm, pos) != Pass; } finally { cm.state.suppressEdits = false; } return done; }); } function configureMouse(cm, repeat, event) { var option = cm.getOption("configureMouse"); var value = option ? option(cm, repeat, event) : {}; if (value.unit == null) { var rect = chromeOS ? event.shiftKey && event.metaKey : event.altKey; value.unit = rect ? "rectangle" : repeat == "single" ? "char" : repeat == "double" ? "word" : "line"; } if (value.extend == null || cm.doc.extend) { value.extend = cm.doc.extend || event.shiftKey; } if (value.addNew == null) { value.addNew = mac ? event.metaKey : event.ctrlKey; } if (value.moveOnDrag == null) { value.moveOnDrag = !(mac ? event.altKey : event.ctrlKey); } return value; } function leftButtonDown(cm, pos, repeat, event) { if (ie) { setTimeout(bind(ensureFocus, cm), 0); } else { cm.curOp.focus = activeElt(root(cm)); } var behavior = configureMouse(cm, repeat, event); var sel = cm.doc.sel, contained; if (cm.options.dragDrop && dragAndDrop && !cm.isReadOnly() && repeat == "single" && (contained = sel.contains(pos)) > -1 && (cmp((contained = sel.ranges[contained]).from(), pos) < 0 || pos.xRel > 0) && (cmp(contained.to(), pos) > 0 || pos.xRel < 0)) { leftButtonStartDrag(cm, event, pos, behavior); } else { leftButtonSelect(cm, event, pos, behavior); } } // Start a text drag. When it ends, see if any dragging actually // happen, and treat as a click if it didn't. function leftButtonStartDrag(cm, event, pos, behavior) { var display = cm.display, moved = false; var dragEnd = operation(cm, function (e) { if (webkit) { display.scroller.draggable = false; } cm.state.draggingText = false; if (cm.state.delayingBlurEvent) { if (cm.hasFocus()) { cm.state.delayingBlurEvent = false; } else { delayBlurEvent(cm); } } off(display.wrapper.ownerDocument, "mouseup", dragEnd); off(display.wrapper.ownerDocument, "mousemove", mouseMove); off(display.scroller, "dragstart", dragStart); off(display.scroller, "drop", dragEnd); if (!moved) { e_preventDefault(e); if (!behavior.addNew) { extendSelection(cm.doc, pos, null, null, behavior.extend); } // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081) if (webkit && !safari || ie && ie_version == 9) { setTimeout(function () { display.wrapper.ownerDocument.body.focus({ preventScroll: true }); display.input.focus(); }, 20); } else { display.input.focus(); } } }); var mouseMove = function (e2) { moved = moved || Math.abs(event.clientX - e2.clientX) + Math.abs(event.clientY - e2.clientY) >= 10; }; var dragStart = function () { return moved = true; }; // Let the drag handler handle this. if (webkit) { display.scroller.draggable = true; } cm.state.draggingText = dragEnd; dragEnd.copy = !behavior.moveOnDrag; on(display.wrapper.ownerDocument, "mouseup", dragEnd); on(display.wrapper.ownerDocument, "mousemove", mouseMove); on(display.scroller, "dragstart", dragStart); on(display.scroller, "drop", dragEnd); cm.state.delayingBlurEvent = true; setTimeout(function () { return display.input.focus(); }, 20); // IE's approach to draggable if (display.scroller.dragDrop) { display.scroller.dragDrop(); } } function rangeForUnit(cm, pos, unit) { if (unit == "char") { return new Range(pos, pos); } if (unit == "word") { return cm.findWordAt(pos); } if (unit == "line") { return new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0))); } var result = unit(cm, pos); return new Range(result.from, result.to); } // Normal selection, as opposed to text dragging. function leftButtonSelect(cm, event, start, behavior) { if (ie) { delayBlurEvent(cm); } var display = cm.display, doc = cm.doc; e_preventDefault(event); var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges; if (behavior.addNew && !behavior.extend) { ourIndex = doc.sel.contains(start); if (ourIndex > -1) { ourRange = ranges[ourIndex]; } else { ourRange = new Range(start, start); } } else { ourRange = doc.sel.primary(); ourIndex = doc.sel.primIndex; } if (behavior.unit == "rectangle") { if (!behavior.addNew) { ourRange = new Range(start, start); } start = posFromMouse(cm, event, true, true); ourIndex = -1; } else { var range = rangeForUnit(cm, start, behavior.unit); if (behavior.extend) { ourRange = extendRange(ourRange, range.anchor, range.head, behavior.extend); } else { ourRange = range; } } if (!behavior.addNew) { ourIndex = 0; setSelection(doc, new Selection([ourRange], 0), sel_mouse); startSel = doc.sel; } else if (ourIndex == -1) { ourIndex = ranges.length; setSelection(doc, normalizeSelection(cm, ranges.concat([ourRange]), ourIndex), { scroll: false, origin: "*mouse" }); } else if (ranges.length > 1 && ranges[ourIndex].empty() && behavior.unit == "char" && !behavior.extend) { setSelection(doc, normalizeSelection(cm, ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0), { scroll: false, origin: "*mouse" }); startSel = doc.sel; } else { replaceOneSelection(doc, ourIndex, ourRange, sel_mouse); } var lastPos = start; function extendTo(pos) { if (cmp(lastPos, pos) == 0) { return; } lastPos = pos; if (behavior.unit == "rectangle") { var ranges = [], tabSize = cm.options.tabSize; var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize); var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize); var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol); for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line)); line <= end; line++) { var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize); if (left == right) { ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos))); } else if (text.length > leftPos) { ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize)))); } } if (!ranges.length) { ranges.push(new Range(start, start)); } setSelection(doc, normalizeSelection(cm, startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex), { origin: "*mouse", scroll: false }); cm.scrollIntoView(pos); } else { var oldRange = ourRange; var range = rangeForUnit(cm, pos, behavior.unit); var anchor = oldRange.anchor, head; if (cmp(range.anchor, anchor) > 0) { head = range.head; anchor = minPos(oldRange.from(), range.anchor); } else { head = range.anchor; anchor = maxPos(oldRange.to(), range.head); } var ranges$1 = startSel.ranges.slice(0); ranges$1[ourIndex] = bidiSimplify(cm, new Range(clipPos(doc, anchor), head)); setSelection(doc, normalizeSelection(cm, ranges$1, ourIndex), sel_mouse); } } var editorSize = display.wrapper.getBoundingClientRect(); // Used to ensure timeout re-tries don't fire when another extend // happened in the meantime (clearTimeout isn't reliable -- at // least on Chrome, the timeouts still happen even when cleared, // if the clear happens after their scheduled firing time). var counter = 0; function extend(e) { var curCount = ++counter; var cur = posFromMouse(cm, e, true, behavior.unit == "rectangle"); if (!cur) { return; } if (cmp(cur, lastPos) != 0) { cm.curOp.focus = activeElt(root(cm)); extendTo(cur); var visible = visibleLines(display, doc); if (cur.line >= visible.to || cur.line < visible.from) { setTimeout(operation(cm, function () { if (counter == curCount) { extend(e); } }), 150); } } else { var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0; if (outside) { setTimeout(operation(cm, function () { if (counter != curCount) { return; } display.scroller.scrollTop += outside; extend(e); }), 50); } } } function done(e) { cm.state.selectingText = false; counter = Infinity; // If e is null or undefined we interpret this as someone trying // to explicitly cancel the selection rather than the user // letting go of the mouse button. if (e) { e_preventDefault(e); display.input.focus(); } off(display.wrapper.ownerDocument, "mousemove", move); off(display.wrapper.ownerDocument, "mouseup", up); doc.history.lastSelOrigin = null; } var move = operation(cm, function (e) { if (e.buttons === 0 || !e_button(e)) { done(e); } else { extend(e); } }); var up = operation(cm, done); cm.state.selectingText = up; on(display.wrapper.ownerDocument, "mousemove", move); on(display.wrapper.ownerDocument, "mouseup", up); } // Used when mouse-selecting to adjust the anchor to the proper side // of a bidi jump depending on the visual position of the head. function bidiSimplify(cm, range) { var anchor = range.anchor; var head = range.head; var anchorLine = getLine(cm.doc, anchor.line); if (cmp(anchor, head) == 0 && anchor.sticky == head.sticky) { return range; } var order = getOrder(anchorLine); if (!order) { return range; } var index = getBidiPartAt(order, anchor.ch, anchor.sticky), part = order[index]; if (part.from != anchor.ch && part.to != anchor.ch) { return range; } var boundary = index + (part.from == anchor.ch == (part.level != 1) ? 0 : 1); if (boundary == 0 || boundary == order.length) { return range; } // Compute the relative visual position of the head compared to the // anchor (<0 is to the left, >0 to the right) var leftSide; if (head.line != anchor.line) { leftSide = (head.line - anchor.line) * (cm.doc.direction == "ltr" ? 1 : -1) > 0; } else { var headIndex = getBidiPartAt(order, head.ch, head.sticky); var dir = headIndex - index || (head.ch - anchor.ch) * (part.level == 1 ? -1 : 1); if (headIndex == boundary - 1 || headIndex == boundary) { leftSide = dir < 0; } else { leftSide = dir > 0; } } var usePart = order[boundary + (leftSide ? -1 : 0)]; var from = leftSide == (usePart.level == 1); var ch = from ? usePart.from : usePart.to, sticky = from ? "after" : "before"; return anchor.ch == ch && anchor.sticky == sticky ? range : new Range(new Pos(anchor.line, ch, sticky), head); } // Determines whether an event happened in the gutter, and fires the // handlers for the corresponding event. function gutterEvent(cm, e, type, prevent) { var mX, mY; if (e.touches) { mX = e.touches[0].clientX; mY = e.touches[0].clientY; } else { try { mX = e.clientX; mY = e.clientY; } catch (e$1) { return false; } } if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) { return false; } if (prevent) { e_preventDefault(e); } var display = cm.display; var lineBox = display.lineDiv.getBoundingClientRect(); if (mY > lineBox.bottom || !hasHandler(cm, type)) { return e_defaultPrevented(e); } mY -= lineBox.top - display.viewOffset; for (var i = 0; i < cm.display.gutterSpecs.length; ++i) { var g = display.gutters.childNodes[i]; if (g && g.getBoundingClientRect().right >= mX) { var line = lineAtHeight(cm.doc, mY); var gutter = cm.display.gutterSpecs[i]; signal(cm, type, cm, line, gutter.className, e); return e_defaultPrevented(e); } } } function clickInGutter(cm, e) { return gutterEvent(cm, e, "gutterClick", true); } // CONTEXT MENU HANDLING // To make the context menu work, we need to briefly unhide the // textarea (making it as unobtrusive as possible) to let the // right-click take effect on it. function onContextMenu(cm, e) { if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) { return; } if (signalDOMEvent(cm, e, "contextmenu")) { return; } if (!captureRightClick) { cm.display.input.onContextMenu(e); } } function contextMenuInGutter(cm, e) { if (!hasHandler(cm, "gutterContextMenu")) { return false; } return gutterEvent(cm, e, "gutterContextMenu", false); } function themeChanged(cm) { cm.display.wrapper.className = cm.display.wrapper.className.replace(/\s*cm-s-\S+/g, "") + cm.options.theme.replace(/(^|\s)\s*/g, " cm-s-"); clearCaches(cm); } var Init = { toString: function () { return "CodeMirror.Init"; } }; var defaults = {}; var optionHandlers = {}; function defineOptions(CodeMirror) { var optionHandlers = CodeMirror.optionHandlers; function option(name, deflt, handle, notOnInit) { CodeMirror.defaults[name] = deflt; if (handle) { optionHandlers[name] = notOnInit ? function (cm, val, old) { if (old != Init) { handle(cm, val, old); } } : handle; } } CodeMirror.defineOption = option; // Passed to option handlers when there is no old value. CodeMirror.Init = Init; // These two are, on init, called from the constructor because they // have to be initialized before the editor can start at all. option("value", "", function (cm, val) { return cm.setValue(val); }, true); option("mode", null, function (cm, val) { cm.doc.modeOption = val; loadMode(cm); }, true); option("indentUnit", 2, loadMode, true); option("indentWithTabs", false); option("smartIndent", true); option("tabSize", 4, function (cm) { resetModeState(cm); clearCaches(cm); regChange(cm); }, true); option("lineSeparator", null, function (cm, val) { cm.doc.lineSep = val; if (!val) { return; } var newBreaks = [], lineNo = cm.doc.first; cm.doc.iter(function (line) { for (var pos = 0;;) { var found = line.text.indexOf(val, pos); if (found == -1) { break; } pos = found + val.length; newBreaks.push(Pos(lineNo, found)); } lineNo++; }); for (var i = newBreaks.length - 1; i >= 0; i--) { replaceRange(cm.doc, val, newBreaks[i], Pos(newBreaks[i].line, newBreaks[i].ch + val.length)); } }); option("specialChars", /[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g, function (cm, val, old) { cm.state.specialChars = new RegExp(val.source + (val.test("\t") ? "" : "|\t"), "g"); if (old != Init) { cm.refresh(); } }); option("specialCharPlaceholder", defaultSpecialCharPlaceholder, function (cm) { return cm.refresh(); }, true); option("electricChars", true); option("inputStyle", mobile ? "contenteditable" : "textarea", function () { throw new Error("inputStyle can not (yet) be changed in a running editor"); // FIXME }, true); option("spellcheck", false, function (cm, val) { return cm.getInputField().spellcheck = val; }, true); option("autocorrect", false, function (cm, val) { return cm.getInputField().autocorrect = val; }, true); option("autocapitalize", false, function (cm, val) { return cm.getInputField().autocapitalize = val; }, true); option("rtlMoveVisually", !windows); option("wholeLineUpdateBefore", true); option("theme", "default", function (cm) { themeChanged(cm); updateGutters(cm); }, true); option("keyMap", "default", function (cm, val, old) { var next = getKeyMap(val); var prev = old != Init && getKeyMap(old); if (prev && prev.detach) { prev.detach(cm, next); } if (next.attach) { next.attach(cm, prev || null); } }); option("extraKeys", null); option("configureMouse", null); option("lineWrapping", false, wrappingChanged, true); option("gutters", [], function (cm, val) { cm.display.gutterSpecs = getGutters(val, cm.options.lineNumbers); updateGutters(cm); }, true); option("fixedGutter", true, function (cm, val) { cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + "px" : "0"; cm.refresh(); }, true); option("coverGutterNextToScrollbar", false, function (cm) { return updateScrollbars(cm); }, true); option("scrollbarStyle", "native", function (cm) { initScrollbars(cm); updateScrollbars(cm); cm.display.scrollbars.setScrollTop(cm.doc.scrollTop); cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft); }, true); option("lineNumbers", false, function (cm, val) { cm.display.gutterSpecs = getGutters(cm.options.gutters, val); updateGutters(cm); }, true); option("firstLineNumber", 1, updateGutters, true); option("lineNumberFormatter", function (integer) { return integer; }, updateGutters, true); option("showCursorWhenSelecting", false, updateSelection, true); option("resetSelectionOnContextMenu", true); option("lineWiseCopyCut", true); option("pasteLinesPerSelection", true); option("selectionsMayTouch", false); option("readOnly", false, function (cm, val) { if (val == "nocursor") { onBlur(cm); cm.display.input.blur(); } cm.display.input.readOnlyChanged(val); }); option("screenReaderLabel", null, function (cm, val) { val = val === '' ? null : val; cm.display.input.screenReaderLabelChanged(val); }); option("disableInput", false, function (cm, val) { if (!val) { cm.display.input.reset(); } }, true); option("dragDrop", true, dragDropChanged); option("allowDropFileTypes", null); option("cursorBlinkRate", 530); option("cursorScrollMargin", 0); option("cursorHeight", 1, updateSelection, true); option("singleCursorHeightPerLine", true, updateSelection, true); option("workTime", 100); option("workDelay", 100); option("flattenSpans", true, resetModeState, true); option("addModeClass", false, resetModeState, true); option("pollInterval", 100); option("undoDepth", 200, function (cm, val) { return cm.doc.history.undoDepth = val; }); option("historyEventDelay", 1250); option("viewportMargin", 10, function (cm) { return cm.refresh(); }, true); option("maxHighlightLength", 10000, resetModeState, true); option("moveInputWithCursor", true, function (cm, val) { if (!val) { cm.display.input.resetPosition(); } }); option("tabindex", null, function (cm, val) { return cm.display.input.getField().tabIndex = val || ""; }); option("autofocus", null); option("direction", "ltr", function (cm, val) { return cm.doc.setDirection(val); }, true); option("phrases", null); } function dragDropChanged(cm, value, old) { var wasOn = old && old != Init; if (!value != !wasOn) { var funcs = cm.display.dragFunctions; var toggle = value ? on : off; toggle(cm.display.scroller, "dragstart", funcs.start); toggle(cm.display.scroller, "dragenter", funcs.enter); toggle(cm.display.scroller, "dragover", funcs.over); toggle(cm.display.scroller, "dragleave", funcs.leave); toggle(cm.display.scroller, "drop", funcs.drop); } } function wrappingChanged(cm) { if (cm.options.lineWrapping) { addClass(cm.display.wrapper, "CodeMirror-wrap"); cm.display.sizer.style.minWidth = ""; cm.display.sizerWidth = null; } else { rmClass(cm.display.wrapper, "CodeMirror-wrap"); findMaxLine(cm); } estimateLineHeights(cm); regChange(cm); clearCaches(cm); setTimeout(function () { return updateScrollbars(cm); }, 100); } // A CodeMirror instance represents an editor. This is the object // that user code is usually dealing with. function CodeMirror(place, options) { var this$1 = this; if (!(this instanceof CodeMirror)) { return new CodeMirror(place, options); } this.options = options = options ? copyObj(options) : {}; // Determine effective options based on given values and defaults. copyObj(defaults, options, false); var doc = options.value; if (typeof doc == "string") { doc = new Doc(doc, options.mode, null, options.lineSeparator, options.direction); } else if (options.mode) { doc.modeOption = options.mode; } this.doc = doc; var input = new CodeMirror.inputStyles[options.inputStyle](this); var display = this.display = new Display(place, doc, input, options); display.wrapper.CodeMirror = this; themeChanged(this); if (options.lineWrapping) { this.display.wrapper.className += " CodeMirror-wrap"; } initScrollbars(this); this.state = { keyMaps: [], // stores maps added by addKeyMap overlays: [], // highlighting overlays, as added by addOverlay modeGen: 0, // bumped when mode/overlay changes, used to invalidate highlighting info overwrite: false, delayingBlurEvent: false, focused: false, suppressEdits: false, // used to disable editing during key handlers when in readOnly mode pasteIncoming: -1, cutIncoming: -1, // help recognize paste/cut edits in input.poll selectingText: false, draggingText: false, highlight: new Delayed(), // stores highlight worker timeout keySeq: null, // Unfinished key sequence specialChars: null }; if (options.autofocus && !mobile) { display.input.focus(); } // Override magic textarea content restore that IE sometimes does // on our hidden textarea on reload if (ie && ie_version < 11) { setTimeout(function () { return this$1.display.input.reset(true); }, 20); } registerEventHandlers(this); ensureGlobalHandlers(); startOperation(this); this.curOp.forceUpdate = true; attachDoc(this, doc); if (options.autofocus && !mobile || this.hasFocus()) { setTimeout(function () { if (this$1.hasFocus() && !this$1.state.focused) { onFocus(this$1); } }, 20); } else { onBlur(this); } for (var opt in optionHandlers) { if (optionHandlers.hasOwnProperty(opt)) { optionHandlers[opt](this, options[opt], Init); } } maybeUpdateLineNumberWidth(this); if (options.finishInit) { options.finishInit(this); } for (var i = 0; i < initHooks.length; ++i) { initHooks[i](this); } endOperation(this); // Suppress optimizelegibility in Webkit, since it breaks text // measuring on line wrapping boundaries. if (webkit && options.lineWrapping && getComputedStyle(display.lineDiv).textRendering == "optimizelegibility") { display.lineDiv.style.textRendering = "auto"; } } // The default configuration options. CodeMirror.defaults = defaults; // Functions to run when options are changed. CodeMirror.optionHandlers = optionHandlers; // Attach the necessary event handlers when initializing the editor function registerEventHandlers(cm) { var d = cm.display; on(d.scroller, "mousedown", operation(cm, onMouseDown)); // Older IE's will not fire a second mousedown for a double click if (ie && ie_version < 11) { on(d.scroller, "dblclick", operation(cm, function (e) { if (signalDOMEvent(cm, e)) { return; } var pos = posFromMouse(cm, e); if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) { return; } e_preventDefault(e); var word = cm.findWordAt(pos); extendSelection(cm.doc, word.anchor, word.head); })); } else { on(d.scroller, "dblclick", function (e) { return signalDOMEvent(cm, e) || e_preventDefault(e); }); } // Some browsers fire contextmenu *after* opening the menu, at // which point we can't mess with it anymore. Context menu is // handled in onMouseDown for these browsers. on(d.scroller, "contextmenu", function (e) { return onContextMenu(cm, e); }); on(d.input.getField(), "contextmenu", function (e) { if (!d.scroller.contains(e.target)) { onContextMenu(cm, e); } }); // Used to suppress mouse event handling when a touch happens var touchFinished, prevTouch = { end: 0 }; function finishTouch() { if (d.activeTouch) { touchFinished = setTimeout(function () { return d.activeTouch = null; }, 1000); prevTouch = d.activeTouch; prevTouch.end = +new Date(); } } function isMouseLikeTouchEvent(e) { if (e.touches.length != 1) { return false; } var touch = e.touches[0]; return touch.radiusX <= 1 && touch.radiusY <= 1; } function farAway(touch, other) { if (other.left == null) { return true; } var dx = other.left - touch.left, dy = other.top - touch.top; return dx * dx + dy * dy > 20 * 20; } on(d.scroller, "touchstart", function (e) { if (!signalDOMEvent(cm, e) && !isMouseLikeTouchEvent(e) && !clickInGutter(cm, e)) { d.input.ensurePolled(); clearTimeout(touchFinished); var now = +new Date(); d.activeTouch = { start: now, moved: false, prev: now - prevTouch.end <= 300 ? prevTouch : null }; if (e.touches.length == 1) { d.activeTouch.left = e.touches[0].pageX; d.activeTouch.top = e.touches[0].pageY; } } }); on(d.scroller, "touchmove", function () { if (d.activeTouch) { d.activeTouch.moved = true; } }); on(d.scroller, "touchend", function (e) { var touch = d.activeTouch; if (touch && !eventInWidget(d, e) && touch.left != null && !touch.moved && new Date() - touch.start < 300) { var pos = cm.coordsChar(d.activeTouch, "page"), range; if (!touch.prev || farAway(touch, touch.prev)) // Single tap { range = new Range(pos, pos); } else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap { range = cm.findWordAt(pos); } else // Triple tap { range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0))); } cm.setSelection(range.anchor, range.head); cm.focus(); e_preventDefault(e); } finishTouch(); }); on(d.scroller, "touchcancel", finishTouch); // Sync scrolling between fake scrollbars and real scrollable // area, ensure viewport is updated when scrolling. on(d.scroller, "scroll", function () { if (d.scroller.clientHeight) { updateScrollTop(cm, d.scroller.scrollTop); setScrollLeft(cm, d.scroller.scrollLeft, true); signal(cm, "scroll", cm); } }); // Listen to wheel events in order to try and update the viewport on time. on(d.scroller, "mousewheel", function (e) { return onScrollWheel(cm, e); }); on(d.scroller, "DOMMouseScroll", function (e) { return onScrollWheel(cm, e); }); // Prevent wrapper from ever scrolling on(d.wrapper, "scroll", function () { return d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; }); d.dragFunctions = { enter: function (e) { if (!signalDOMEvent(cm, e)) { e_stop(e); } }, over: function (e) { if (!signalDOMEvent(cm, e)) { onDragOver(cm, e); e_stop(e); } }, start: function (e) { return onDragStart(cm, e); }, drop: operation(cm, onDrop), leave: function (e) { if (!signalDOMEvent(cm, e)) { clearDragCursor(cm); } } }; var inp = d.input.getField(); on(inp, "keyup", function (e) { return onKeyUp.call(cm, e); }); on(inp, "keydown", operation(cm, onKeyDown)); on(inp, "keypress", operation(cm, onKeyPress)); on(inp, "focus", function (e) { return onFocus(cm, e); }); on(inp, "blur", function (e) { return onBlur(cm, e); }); } var initHooks = []; CodeMirror.defineInitHook = function (f) { return initHooks.push(f); }; // Indent the given line. The how parameter can be "smart", // "add"/null, "subtract", or "prev". When aggressive is false // (typically set to true for forced single-line indents), empty // lines are not indented, and places where the mode returns Pass // are left alone. function indentLine(cm, n, how, aggressive) { var doc = cm.doc, state; if (how == null) { how = "add"; } if (how == "smart") { // Fall back to "prev" when the mode doesn't have an indentation // method. if (!doc.mode.indent) { how = "prev"; } else { state = getContextBefore(cm, n).state; } } var tabSize = cm.options.tabSize; var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize); if (line.stateAfter) { line.stateAfter = null; } var curSpaceString = line.text.match(/^\s*/)[0], indentation; if (!aggressive && !/\S/.test(line.text)) { indentation = 0; how = "not"; } else if (how == "smart") { indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text); if (indentation == Pass || indentation > 150) { if (!aggressive) { return; } how = "prev"; } } if (how == "prev") { if (n > doc.first) { indentation = countColumn(getLine(doc, n - 1).text, null, tabSize); } else { indentation = 0; } } else if (how == "add") { indentation = curSpace + cm.options.indentUnit; } else if (how == "subtract") { indentation = curSpace - cm.options.indentUnit; } else if (typeof how == "number") { indentation = curSpace + how; } indentation = Math.max(0, indentation); var indentString = "", pos = 0; if (cm.options.indentWithTabs) { for (var i = Math.floor(indentation / tabSize); i; --i) { pos += tabSize; indentString += "\t"; } } if (pos < indentation) { indentString += spaceStr(indentation - pos); } if (indentString != curSpaceString) { replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), "+input"); line.stateAfter = null; return true; } else { // Ensure that, if the cursor was in the whitespace at the start // of the line, it is moved to the end of that space. for (var i$1 = 0; i$1 < doc.sel.ranges.length; i$1++) { var range = doc.sel.ranges[i$1]; if (range.head.line == n && range.head.ch < curSpaceString.length) { var pos$1 = Pos(n, curSpaceString.length); replaceOneSelection(doc, i$1, new Range(pos$1, pos$1)); break; } } } } // This will be set to a {lineWise: bool, text: [string]} object, so // that, when pasting, we know what kind of selections the copied // text was made out of. var lastCopied = null; function setLastCopied(newLastCopied) { lastCopied = newLastCopied; } function applyTextInput(cm, inserted, deleted, sel, origin) { var doc = cm.doc; cm.display.shift = false; if (!sel) { sel = doc.sel; } var recent = +new Date() - 200; var paste = origin == "paste" || cm.state.pasteIncoming > recent; var textLines = splitLinesAuto(inserted), multiPaste = null; // When pasting N lines into N selections, insert one line per selection if (paste && sel.ranges.length > 1) { if (lastCopied && lastCopied.text.join("\n") == inserted) { if (sel.ranges.length % lastCopied.text.length == 0) { multiPaste = []; for (var i = 0; i < lastCopied.text.length; i++) { multiPaste.push(doc.splitLines(lastCopied.text[i])); } } } else if (textLines.length == sel.ranges.length && cm.options.pasteLinesPerSelection) { multiPaste = map(textLines, function (l) { return [l]; }); } } var updateInput = cm.curOp.updateInput; // Normal behavior is to insert the new text into every selection for (var i$1 = sel.ranges.length - 1; i$1 >= 0; i$1--) { var range = sel.ranges[i$1]; var from = range.from(), to = range.to(); if (range.empty()) { if (deleted && deleted > 0) // Handle deletion { from = Pos(from.line, from.ch - deleted); } else if (cm.state.overwrite && !paste) // Handle overwrite { to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length)); } else if (paste && lastCopied && lastCopied.lineWise && lastCopied.text.join("\n") == textLines.join("\n")) { from = to = Pos(from.line, 0); } } var changeEvent = { from: from, to: to, text: multiPaste ? multiPaste[i$1 % multiPaste.length] : textLines, origin: origin || (paste ? "paste" : cm.state.cutIncoming > recent ? "cut" : "+input") }; makeChange(cm.doc, changeEvent); signalLater(cm, "inputRead", cm, changeEvent); } if (inserted && !paste) { triggerElectric(cm, inserted); } ensureCursorVisible(cm); if (cm.curOp.updateInput < 2) { cm.curOp.updateInput = updateInput; } cm.curOp.typing = true; cm.state.pasteIncoming = cm.state.cutIncoming = -1; } function handlePaste(e, cm) { var pasted = e.clipboardData && e.clipboardData.getData("Text"); if (pasted) { e.preventDefault(); if (!cm.isReadOnly() && !cm.options.disableInput && cm.hasFocus()) { runInOp(cm, function () { return applyTextInput(cm, pasted, 0, null, "paste"); }); } return true; } } function triggerElectric(cm, inserted) { // When an 'electric' character is inserted, immediately trigger a reindent if (!cm.options.electricChars || !cm.options.smartIndent) { return; } var sel = cm.doc.sel; for (var i = sel.ranges.length - 1; i >= 0; i--) { var range = sel.ranges[i]; if (range.head.ch > 100 || i && sel.ranges[i - 1].head.line == range.head.line) { continue; } var mode = cm.getModeAt(range.head); var indented = false; if (mode.electricChars) { for (var j = 0; j < mode.electricChars.length; j++) { if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) { indented = indentLine(cm, range.head.line, "smart"); break; } } } else if (mode.electricInput) { if (mode.electricInput.test(getLine(cm.doc, range.head.line).text.slice(0, range.head.ch))) { indented = indentLine(cm, range.head.line, "smart"); } } if (indented) { signalLater(cm, "electricInput", cm, range.head.line); } } } function copyableRanges(cm) { var text = [], ranges = []; for (var i = 0; i < cm.doc.sel.ranges.length; i++) { var line = cm.doc.sel.ranges[i].head.line; var lineRange = { anchor: Pos(line, 0), head: Pos(line + 1, 0) }; ranges.push(lineRange); text.push(cm.getRange(lineRange.anchor, lineRange.head)); } return { text: text, ranges: ranges }; } function disableBrowserMagic(field, spellcheck, autocorrect, autocapitalize) { field.setAttribute("autocorrect", autocorrect ? "on" : "off"); field.setAttribute("autocapitalize", autocapitalize ? "on" : "off"); field.setAttribute("spellcheck", !!spellcheck); } function hiddenTextarea() { var te = elt("textarea", null, null, "position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"); var div = elt("div", [te], null, "overflow: hidden; position: relative; width: 3px; height: 0px;"); // The textarea is kept positioned near the cursor to prevent the // fact that it'll be scrolled into view on input from scrolling // our fake cursor out of view. On webkit, when wrap=off, paste is // very slow. So make the area wide instead. if (webkit) { te.style.width = "1000px"; } else { te.setAttribute("wrap", "off"); } // If border: 0; -- iOS fails to open keyboard (issue #1287) if (ios) { te.style.border = "1px solid black"; } return div; } // The publicly visible API. Note that methodOp(f) means // 'wrap f in an operation, performed on its `this` parameter'. // This is not the complete set of editor methods. Most of the // methods defined on the Doc type are also injected into // CodeMirror.prototype, for backwards compatibility and // convenience. function addEditorMethods(CodeMirror) { var optionHandlers = CodeMirror.optionHandlers; var helpers = CodeMirror.helpers = {}; CodeMirror.prototype = { constructor: CodeMirror, focus: function () { win(this).focus(); this.display.input.focus(); }, setOption: function (option, value) { var options = this.options, old = options[option]; if (options[option] == value && option != "mode") { return; } options[option] = value; if (optionHandlers.hasOwnProperty(option)) { operation(this, optionHandlers[option])(this, value, old); } signal(this, "optionChange", this, option); }, getOption: function (option) { return this.options[option]; }, getDoc: function () { return this.doc; }, addKeyMap: function (map, bottom) { this.state.keyMaps[bottom ? "push" : "unshift"](getKeyMap(map)); }, removeKeyMap: function (map) { var maps = this.state.keyMaps; for (var i = 0; i < maps.length; ++i) { if (maps[i] == map || maps[i].name == map) { maps.splice(i, 1); return true; } } }, addOverlay: methodOp(function (spec, options) { var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec); if (mode.startState) { throw new Error("Overlays may not be stateful."); } insertSorted(this.state.overlays, { mode: mode, modeSpec: spec, opaque: options && options.opaque, priority: options && options.priority || 0 }, function (overlay) { return overlay.priority; }); this.state.modeGen++; regChange(this); }), removeOverlay: methodOp(function (spec) { var overlays = this.state.overlays; for (var i = 0; i < overlays.length; ++i) { var cur = overlays[i].modeSpec; if (cur == spec || typeof spec == "string" && cur.name == spec) { overlays.splice(i, 1); this.state.modeGen++; regChange(this); return; } } }), indentLine: methodOp(function (n, dir, aggressive) { if (typeof dir != "string" && typeof dir != "number") { if (dir == null) { dir = this.options.smartIndent ? "smart" : "prev"; } else { dir = dir ? "add" : "subtract"; } } if (isLine(this.doc, n)) { indentLine(this, n, dir, aggressive); } }), indentSelection: methodOp(function (how) { var ranges = this.doc.sel.ranges, end = -1; for (var i = 0; i < ranges.length; i++) { var range = ranges[i]; if (!range.empty()) { var from = range.from(), to = range.to(); var start = Math.max(end, from.line); end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1; for (var j = start; j < end; ++j) { indentLine(this, j, how); } var newRanges = this.doc.sel.ranges; if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0) { replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll); } } else if (range.head.line > end) { indentLine(this, range.head.line, how, true); end = range.head.line; if (i == this.doc.sel.primIndex) { ensureCursorVisible(this); } } } }), // Fetch the parser token for a given character. Useful for hacks // that want to inspect the mode state (say, for completion). getTokenAt: function (pos, precise) { return takeToken(this, pos, precise); }, getLineTokens: function (line, precise) { return takeToken(this, Pos(line), precise, true); }, getTokenTypeAt: function (pos) { pos = clipPos(this.doc, pos); var styles = getLineStyles(this, getLine(this.doc, pos.line)); var before = 0, after = (styles.length - 1) / 2, ch = pos.ch; var type; if (ch == 0) { type = styles[2]; } else { for (;;) { var mid = before + after >> 1; if ((mid ? styles[mid * 2 - 1] : 0) >= ch) { after = mid; } else if (styles[mid * 2 + 1] < ch) { before = mid + 1; } else { type = styles[mid * 2 + 2]; break; } } } var cut = type ? type.indexOf("overlay ") : -1; return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1); }, getModeAt: function (pos) { var mode = this.doc.mode; if (!mode.innerMode) { return mode; } return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode; }, getHelper: function (pos, type) { return this.getHelpers(pos, type)[0]; }, getHelpers: function (pos, type) { var found = []; if (!helpers.hasOwnProperty(type)) { return found; } var help = helpers[type], mode = this.getModeAt(pos); if (typeof mode[type] == "string") { if (help[mode[type]]) { found.push(help[mode[type]]); } } else if (mode[type]) { for (var i = 0; i < mode[type].length; i++) { var val = help[mode[type][i]]; if (val) { found.push(val); } } } else if (mode.helperType && help[mode.helperType]) { found.push(help[mode.helperType]); } else if (help[mode.name]) { found.push(help[mode.name]); } for (var i$1 = 0; i$1 < help._global.length; i$1++) { var cur = help._global[i$1]; if (cur.pred(mode, this) && indexOf(found, cur.val) == -1) { found.push(cur.val); } } return found; }, getStateAfter: function (line, precise) { var doc = this.doc; line = clipLine(doc, line == null ? doc.first + doc.size - 1 : line); return getContextBefore(this, line + 1, precise).state; }, cursorCoords: function (start, mode) { var pos, range = this.doc.sel.primary(); if (start == null) { pos = range.head; } else if (typeof start == "object") { pos = clipPos(this.doc, start); } else { pos = start ? range.from() : range.to(); } return cursorCoords(this, pos, mode || "page"); }, charCoords: function (pos, mode) { return charCoords(this, clipPos(this.doc, pos), mode || "page"); }, coordsChar: function (coords, mode) { coords = fromCoordSystem(this, coords, mode || "page"); return coordsChar(this, coords.left, coords.top); }, lineAtHeight: function (height, mode) { height = fromCoordSystem(this, { top: height, left: 0 }, mode || "page").top; return lineAtHeight(this.doc, height + this.display.viewOffset); }, heightAtLine: function (line, mode, includeWidgets) { var end = false, lineObj; if (typeof line == "number") { var last = this.doc.first + this.doc.size - 1; if (line < this.doc.first) { line = this.doc.first; } else if (line > last) { line = last; end = true; } lineObj = getLine(this.doc, line); } else { lineObj = line; } return intoCoordSystem(this, lineObj, { top: 0, left: 0 }, mode || "page", includeWidgets || end).top + (end ? this.doc.height - heightAtLine(lineObj) : 0); }, defaultTextHeight: function () { return textHeight(this.display); }, defaultCharWidth: function () { return charWidth(this.display); }, getViewport: function () { return { from: this.display.viewFrom, to: this.display.viewTo }; }, addWidget: function (pos, node, scroll, vert, horiz) { var display = this.display; pos = cursorCoords(this, clipPos(this.doc, pos)); var top = pos.bottom, left = pos.left; node.style.position = "absolute"; node.setAttribute("cm-ignore-events", "true"); this.display.input.setUneditable(node); display.sizer.appendChild(node); if (vert == "over") { top = pos.top; } else if (vert == "above" || vert == "near") { var vspace = Math.max(display.wrapper.clientHeight, this.doc.height), hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth); // Default to positioning above (if specified and possible); otherwise default to positioning below if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight) { top = pos.top - node.offsetHeight; } else if (pos.bottom + node.offsetHeight <= vspace) { top = pos.bottom; } if (left + node.offsetWidth > hspace) { left = hspace - node.offsetWidth; } } node.style.top = top + "px"; node.style.left = node.style.right = ""; if (horiz == "right") { left = display.sizer.clientWidth - node.offsetWidth; node.style.right = "0px"; } else { if (horiz == "left") { left = 0; } else if (horiz == "middle") { left = (display.sizer.clientWidth - node.offsetWidth) / 2; } node.style.left = left + "px"; } if (scroll) { scrollIntoView(this, { left: left, top: top, right: left + node.offsetWidth, bottom: top + node.offsetHeight }); } }, triggerOnKeyDown: methodOp(onKeyDown), triggerOnKeyPress: methodOp(onKeyPress), triggerOnKeyUp: onKeyUp, triggerOnMouseDown: methodOp(onMouseDown), execCommand: function (cmd) { if (commands.hasOwnProperty(cmd)) { return commands[cmd].call(null, this); } }, triggerElectric: methodOp(function (text) { triggerElectric(this, text); }), findPosH: function (from, amount, unit, visually) { var dir = 1; if (amount < 0) { dir = -1; amount = -amount; } var cur = clipPos(this.doc, from); for (var i = 0; i < amount; ++i) { cur = findPosH(this.doc, cur, dir, unit, visually); if (cur.hitSide) { break; } } return cur; }, moveH: methodOp(function (dir, unit) { var this$1 = this; this.extendSelectionsBy(function (range) { if (this$1.display.shift || this$1.doc.extend || range.empty()) { return findPosH(this$1.doc, range.head, dir, unit, this$1.options.rtlMoveVisually); } else { return dir < 0 ? range.from() : range.to(); } }, sel_move); }), deleteH: methodOp(function (dir, unit) { var sel = this.doc.sel, doc = this.doc; if (sel.somethingSelected()) { doc.replaceSelection("", null, "+delete"); } else { deleteNearSelection(this, function (range) { var other = findPosH(doc, range.head, dir, unit, false); return dir < 0 ? { from: other, to: range.head } : { from: range.head, to: other }; }); } }), findPosV: function (from, amount, unit, goalColumn) { var dir = 1, x = goalColumn; if (amount < 0) { dir = -1; amount = -amount; } var cur = clipPos(this.doc, from); for (var i = 0; i < amount; ++i) { var coords = cursorCoords(this, cur, "div"); if (x == null) { x = coords.left; } else { coords.left = x; } cur = findPosV(this, coords, dir, unit); if (cur.hitSide) { break; } } return cur; }, moveV: methodOp(function (dir, unit) { var this$1 = this; var doc = this.doc, goals = []; var collapse = !this.display.shift && !doc.extend && doc.sel.somethingSelected(); doc.extendSelectionsBy(function (range) { if (collapse) { return dir < 0 ? range.from() : range.to(); } var headPos = cursorCoords(this$1, range.head, "div"); if (range.goalColumn != null) { headPos.left = range.goalColumn; } goals.push(headPos.left); var pos = findPosV(this$1, headPos, dir, unit); if (unit == "page" && range == doc.sel.primary()) { addToScrollTop(this$1, charCoords(this$1, pos, "div").top - headPos.top); } return pos; }, sel_move); if (goals.length) { for (var i = 0; i < doc.sel.ranges.length; i++) { doc.sel.ranges[i].goalColumn = goals[i]; } } }), // Find the word at the given position (as returned by coordsChar). findWordAt: function (pos) { var doc = this.doc, line = getLine(doc, pos.line).text; var start = pos.ch, end = pos.ch; if (line) { var helper = this.getHelper(pos, "wordChars"); if ((pos.sticky == "before" || end == line.length) && start) { --start; } else { ++end; } var startChar = line.charAt(start); var check = isWordChar(startChar, helper) ? function (ch) { return isWordChar(ch, helper); } : /\s/.test(startChar) ? function (ch) { return /\s/.test(ch); } : function (ch) { return !/\s/.test(ch) && !isWordChar(ch); }; while (start > 0 && check(line.charAt(start - 1))) { --start; } while (end < line.length && check(line.charAt(end))) { ++end; } } return new Range(Pos(pos.line, start), Pos(pos.line, end)); }, toggleOverwrite: function (value) { if (value != null && value == this.state.overwrite) { return; } if (this.state.overwrite = !this.state.overwrite) { addClass(this.display.cursorDiv, "CodeMirror-overwrite"); } else { rmClass(this.display.cursorDiv, "CodeMirror-overwrite"); } signal(this, "overwriteToggle", this, this.state.overwrite); }, hasFocus: function () { return this.display.input.getField() == activeElt(root(this)); }, isReadOnly: function () { return !!(this.options.readOnly || this.doc.cantEdit); }, scrollTo: methodOp(function (x, y) { scrollToCoords(this, x, y); }), getScrollInfo: function () { var scroller = this.display.scroller; return { left: scroller.scrollLeft, top: scroller.scrollTop, height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight, width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth, clientHeight: displayHeight(this), clientWidth: displayWidth(this) }; }, scrollIntoView: methodOp(function (range, margin) { if (range == null) { range = { from: this.doc.sel.primary().head, to: null }; if (margin == null) { margin = this.options.cursorScrollMargin; } } else if (typeof range == "number") { range = { from: Pos(range, 0), to: null }; } else if (range.from == null) { range = { from: range, to: null }; } if (!range.to) { range.to = range.from; } range.margin = margin || 0; if (range.from.line != null) { scrollToRange(this, range); } else { scrollToCoordsRange(this, range.from, range.to, range.margin); } }), setSize: methodOp(function (width, height) { var this$1 = this; var interpret = function (val) { return typeof val == "number" || /^\d+$/.test(String(val)) ? val + "px" : val; }; if (width != null) { this.display.wrapper.style.width = interpret(width); } if (height != null) { this.display.wrapper.style.height = interpret(height); } if (this.options.lineWrapping) { clearLineMeasurementCache(this); } var lineNo = this.display.viewFrom; this.doc.iter(lineNo, this.display.viewTo, function (line) { if (line.widgets) { for (var i = 0; i < line.widgets.length; i++) { if (line.widgets[i].noHScroll) { regLineChange(this$1, lineNo, "widget"); break; } } } ++lineNo; }); this.curOp.forceUpdate = true; signal(this, "refresh", this); }), operation: function (f) { return runInOp(this, f); }, startOperation: function () { return startOperation(this); }, endOperation: function () { return endOperation(this); }, refresh: methodOp(function () { var oldHeight = this.display.cachedTextHeight; regChange(this); this.curOp.forceUpdate = true; clearCaches(this); scrollToCoords(this, this.doc.scrollLeft, this.doc.scrollTop); updateGutterSpace(this.display); if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5 || this.options.lineWrapping) { estimateLineHeights(this); } signal(this, "refresh", this); }), swapDoc: methodOp(function (doc) { var old = this.doc; old.cm = null; // Cancel the current text selection if any (#5821) if (this.state.selectingText) { this.state.selectingText(); } attachDoc(this, doc); clearCaches(this); this.display.input.reset(); scrollToCoords(this, doc.scrollLeft, doc.scrollTop); this.curOp.forceScroll = true; signalLater(this, "swapDoc", this, old); return old; }), phrase: function (phraseText) { var phrases = this.options.phrases; return phrases && Object.prototype.hasOwnProperty.call(phrases, phraseText) ? phrases[phraseText] : phraseText; }, getInputField: function () { return this.display.input.getField(); }, getWrapperElement: function () { return this.display.wrapper; }, getScrollerElement: function () { return this.display.scroller; }, getGutterElement: function () { return this.display.gutters; } }; eventMixin(CodeMirror); CodeMirror.registerHelper = function (type, name, value) { if (!helpers.hasOwnProperty(type)) { helpers[type] = CodeMirror[type] = { _global: [] }; } helpers[type][name] = value; }; CodeMirror.registerGlobalHelper = function (type, name, predicate, value) { CodeMirror.registerHelper(type, name, value); helpers[type]._global.push({ pred: predicate, val: value }); }; } // Used for horizontal relative motion. Dir is -1 or 1 (left or // right), unit can be "codepoint", "char", "column" (like char, but // doesn't cross line boundaries), "word" (across next word), or // "group" (to the start of next group of word or // non-word-non-whitespace chars). The visually param controls // whether, in right-to-left text, direction 1 means to move towards // the next index in the string, or towards the character to the right // of the current position. The resulting position will have a // hitSide=true property if it reached the end of the document. function findPosH(doc, pos, dir, unit, visually) { var oldPos = pos; var origDir = dir; var lineObj = getLine(doc, pos.line); var lineDir = visually && doc.direction == "rtl" ? -dir : dir; function findNextLine() { var l = pos.line + lineDir; if (l < doc.first || l >= doc.first + doc.size) { return false; } pos = new Pos(l, pos.ch, pos.sticky); return lineObj = getLine(doc, l); } function moveOnce(boundToLine) { var next; if (unit == "codepoint") { var ch = lineObj.text.charCodeAt(pos.ch + (dir > 0 ? 0 : -1)); if (isNaN(ch)) { next = null; } else { var astral = dir > 0 ? ch >= 0xD800 && ch < 0xDC00 : ch >= 0xDC00 && ch < 0xDFFF; next = new Pos(pos.line, Math.max(0, Math.min(lineObj.text.length, pos.ch + dir * (astral ? 2 : 1))), -dir); } } else if (visually) { next = moveVisually(doc.cm, lineObj, pos, dir); } else { next = moveLogically(lineObj, pos, dir); } if (next == null) { if (!boundToLine && findNextLine()) { pos = endOfLine(visually, doc.cm, lineObj, pos.line, lineDir); } else { return false; } } else { pos = next; } return true; } if (unit == "char" || unit == "codepoint") { moveOnce(); } else if (unit == "column") { moveOnce(true); } else if (unit == "word" || unit == "group") { var sawType = null, group = unit == "group"; var helper = doc.cm && doc.cm.getHelper(pos, "wordChars"); for (var first = true;; first = false) { if (dir < 0 && !moveOnce(!first)) { break; } var cur = lineObj.text.charAt(pos.ch) || "\n"; var type = isWordChar(cur, helper) ? "w" : group && cur == "\n" ? "n" : !group || /\s/.test(cur) ? null : "p"; if (group && !first && !type) { type = "s"; } if (sawType && sawType != type) { if (dir < 0) { dir = 1; moveOnce(); pos.sticky = "after"; } break; } if (type) { sawType = type; } if (dir > 0 && !moveOnce(!first)) { break; } } } var result = skipAtomic(doc, pos, oldPos, origDir, true); if (equalCursorPos(oldPos, result)) { result.hitSide = true; } return result; } // For relative vertical movement. Dir may be -1 or 1. Unit can be // "page" or "line". The resulting position will have a hitSide=true // property if it reached the end of the document. function findPosV(cm, pos, dir, unit) { var doc = cm.doc, x = pos.left, y; if (unit == "page") { var pageSize = Math.min(cm.display.wrapper.clientHeight, win(cm).innerHeight || doc(cm).documentElement.clientHeight); var moveAmount = Math.max(pageSize - .5 * textHeight(cm.display), 3); y = (dir > 0 ? pos.bottom : pos.top) + dir * moveAmount; } else if (unit == "line") { y = dir > 0 ? pos.bottom + 3 : pos.top - 3; } var target; for (;;) { target = coordsChar(cm, x, y); if (!target.outside) { break; } if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break; } y += dir * 5; } return target; } // CONTENTEDITABLE INPUT STYLE var ContentEditableInput = function (cm) { this.cm = cm; this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null; this.polling = new Delayed(); this.composing = null; this.gracePeriod = false; this.readDOMTimeout = null; }; ContentEditableInput.prototype.init = function (display) { var this$1 = this; var input = this, cm = input.cm; var div = input.div = display.lineDiv; div.contentEditable = true; disableBrowserMagic(div, cm.options.spellcheck, cm.options.autocorrect, cm.options.autocapitalize); function belongsToInput(e) { for (var t = e.target; t; t = t.parentNode) { if (t == div) { return true; } if (/\bCodeMirror-(?:line)?widget\b/.test(t.className)) { break; } } return false; } on(div, "paste", function (e) { if (!belongsToInput(e) || signalDOMEvent(cm, e) || handlePaste(e, cm)) { return; } // IE doesn't fire input events, so we schedule a read for the pasted content in this way if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1.updateFromDOM(); }), 20); } }); on(div, "compositionstart", function (e) { this$1.composing = { data: e.data, done: false }; }); on(div, "compositionupdate", function (e) { if (!this$1.composing) { this$1.composing = { data: e.data, done: false }; } }); on(div, "compositionend", function (e) { if (this$1.composing) { if (e.data != this$1.composing.data) { this$1.readFromDOMSoon(); } this$1.composing.done = true; } }); on(div, "touchstart", function () { return input.forceCompositionEnd(); }); on(div, "input", function () { if (!this$1.composing) { this$1.readFromDOMSoon(); } }); function onCopyCut(e) { if (!belongsToInput(e) || signalDOMEvent(cm, e)) { return; } if (cm.somethingSelected()) { setLastCopied({ lineWise: false, text: cm.getSelections() }); if (e.type == "cut") { cm.replaceSelection("", null, "cut"); } } else if (!cm.options.lineWiseCopyCut) { return; } else { var ranges = copyableRanges(cm); setLastCopied({ lineWise: true, text: ranges.text }); if (e.type == "cut") { cm.operation(function () { cm.setSelections(ranges.ranges, 0, sel_dontScroll); cm.replaceSelection("", null, "cut"); }); } } if (e.clipboardData) { e.clipboardData.clearData(); var content = lastCopied.text.join("\n"); // iOS exposes the clipboard API, but seems to discard content inserted into it e.clipboardData.setData("Text", content); if (e.clipboardData.getData("Text") == content) { e.preventDefault(); return; } } // Old-fashioned briefly-focus-a-textarea hack var kludge = hiddenTextarea(), te = kludge.firstChild; disableBrowserMagic(te); cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild); te.value = lastCopied.text.join("\n"); var hadFocus = activeElt(rootNode(div)); selectInput(te); setTimeout(function () { cm.display.lineSpace.removeChild(kludge); hadFocus.focus(); if (hadFocus == div) { input.showPrimarySelection(); } }, 50); } on(div, "copy", onCopyCut); on(div, "cut", onCopyCut); }; ContentEditableInput.prototype.screenReaderLabelChanged = function (label) { // Label for screenreaders, accessibility if (label) { this.div.setAttribute('aria-label', label); } else { this.div.removeAttribute('aria-label'); } }; ContentEditableInput.prototype.prepareSelection = function () { var result = prepareSelection(this.cm, false); result.focus = activeElt(rootNode(this.div)) == this.div; return result; }; ContentEditableInput.prototype.showSelection = function (info, takeFocus) { if (!info || !this.cm.display.view.length) { return; } if (info.focus || takeFocus) { this.showPrimarySelection(); } this.showMultipleSelections(info); }; ContentEditableInput.prototype.getSelection = function () { return this.cm.display.wrapper.ownerDocument.getSelection(); }; ContentEditableInput.prototype.showPrimarySelection = function () { var sel = this.getSelection(), cm = this.cm, prim = cm.doc.sel.primary(); var from = prim.from(), to = prim.to(); if (cm.display.viewTo == cm.display.viewFrom || from.line >= cm.display.viewTo || to.line < cm.display.viewFrom) { sel.removeAllRanges(); return; } var curAnchor = domToPos(cm, sel.anchorNode, sel.anchorOffset); var curFocus = domToPos(cm, sel.focusNode, sel.focusOffset); if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad && cmp(minPos(curAnchor, curFocus), from) == 0 && cmp(maxPos(curAnchor, curFocus), to) == 0) { return; } var view = cm.display.view; var start = from.line >= cm.display.viewFrom && posToDOM(cm, from) || { node: view[0].measure.map[2], offset: 0 }; var end = to.line < cm.display.viewTo && posToDOM(cm, to); if (!end) { var measure = view[view.length - 1].measure; var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map; end = { node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3] }; } if (!start || !end) { sel.removeAllRanges(); return; } var old = sel.rangeCount && sel.getRangeAt(0), rng; try { rng = range(start.node, start.offset, end.offset, end.node); } catch (e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible if (rng) { if (!gecko && cm.state.focused) { sel.collapse(start.node, start.offset); if (!rng.collapsed) { sel.removeAllRanges(); sel.addRange(rng); } } else { sel.removeAllRanges(); sel.addRange(rng); } if (old && sel.anchorNode == null) { sel.addRange(old); } else if (gecko) { this.startGracePeriod(); } } this.rememberSelection(); }; ContentEditableInput.prototype.startGracePeriod = function () { var this$1 = this; clearTimeout(this.gracePeriod); this.gracePeriod = setTimeout(function () { this$1.gracePeriod = false; if (this$1.selectionChanged()) { this$1.cm.operation(function () { return this$1.cm.curOp.selectionChanged = true; }); } }, 20); }; ContentEditableInput.prototype.showMultipleSelections = function (info) { removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors); removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection); }; ContentEditableInput.prototype.rememberSelection = function () { var sel = this.getSelection(); this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset; this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset; }; ContentEditableInput.prototype.selectionInEditor = function () { var sel = this.getSelection(); if (!sel.rangeCount) { return false; } var node = sel.getRangeAt(0).commonAncestorContainer; return contains(this.div, node); }; ContentEditableInput.prototype.focus = function () { if (this.cm.options.readOnly != "nocursor") { if (!this.selectionInEditor() || activeElt(rootNode(this.div)) != this.div) { this.showSelection(this.prepareSelection(), true); } this.div.focus(); } }; ContentEditableInput.prototype.blur = function () { this.div.blur(); }; ContentEditableInput.prototype.getField = function () { return this.div; }; ContentEditableInput.prototype.supportsTouch = function () { return true; }; ContentEditableInput.prototype.receivedFocus = function () { var this$1 = this; var input = this; if (this.selectionInEditor()) { setTimeout(function () { return this$1.pollSelection(); }, 20); } else { runInOp(this.cm, function () { return input.cm.curOp.selectionChanged = true; }); } function poll() { if (input.cm.state.focused) { input.pollSelection(); input.polling.set(input.cm.options.pollInterval, poll); } } this.polling.set(this.cm.options.pollInterval, poll); }; ContentEditableInput.prototype.selectionChanged = function () { var sel = this.getSelection(); return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset || sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset; }; ContentEditableInput.prototype.pollSelection = function () { if (this.readDOMTimeout != null || this.gracePeriod || !this.selectionChanged()) { return; } var sel = this.getSelection(), cm = this.cm; // On Android Chrome (version 56, at least), backspacing into an // uneditable block element will put the cursor in that element, // and then, because it's not editable, hide the virtual keyboard. // Because Android doesn't allow us to actually detect backspace // presses in a sane way, this code checks for when that happens // and simulates a backspace press in this case. if (android && chrome && this.cm.display.gutterSpecs.length && isInGutter(sel.anchorNode)) { this.cm.triggerOnKeyDown({ type: "keydown", keyCode: 8, preventDefault: Math.abs }); this.blur(); this.focus(); return; } if (this.composing) { return; } this.rememberSelection(); var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset); var head = domToPos(cm, sel.focusNode, sel.focusOffset); if (anchor && head) { runInOp(cm, function () { setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll); if (anchor.bad || head.bad) { cm.curOp.selectionChanged = true; } }); } }; ContentEditableInput.prototype.pollContent = function () { if (this.readDOMTimeout != null) { clearTimeout(this.readDOMTimeout); this.readDOMTimeout = null; } var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary(); var from = sel.from(), to = sel.to(); if (from.ch == 0 && from.line > cm.firstLine()) { from = Pos(from.line - 1, getLine(cm.doc, from.line - 1).length); } if (to.ch == getLine(cm.doc, to.line).text.length && to.line < cm.lastLine()) { to = Pos(to.line + 1, 0); } if (from.line < display.viewFrom || to.line > display.viewTo - 1) { return false; } var fromIndex, fromLine, fromNode; if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) { fromLine = lineNo(display.view[0].line); fromNode = display.view[0].node; } else { fromLine = lineNo(display.view[fromIndex].line); fromNode = display.view[fromIndex - 1].node.nextSibling; } var toIndex = findViewIndex(cm, to.line); var toLine, toNode; if (toIndex == display.view.length - 1) { toLine = display.viewTo - 1; toNode = display.lineDiv.lastChild; } else { toLine = lineNo(display.view[toIndex + 1].line) - 1; toNode = display.view[toIndex + 1].node.previousSibling; } if (!fromNode) { return false; } var newText = cm.doc.splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine)); var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length)); while (newText.length > 1 && oldText.length > 1) { if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; } else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; } else { break; } } var cutFront = 0, cutEnd = 0; var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length); while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront)) { ++cutFront; } var newBot = lst(newText), oldBot = lst(oldText); var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0), oldBot.length - (oldText.length == 1 ? cutFront : 0)); while (cutEnd < maxCutEnd && newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1)) { ++cutEnd; } // Try to move start of change to start of selection if ambiguous if (newText.length == 1 && oldText.length == 1 && fromLine == from.line) { while (cutFront && cutFront > from.ch && newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1)) { cutFront--; cutEnd++; } } newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd).replace(/^\u200b+/, ""); newText[0] = newText[0].slice(cutFront).replace(/\u200b+$/, ""); var chFrom = Pos(fromLine, cutFront); var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0); if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) { replaceRange(cm.doc, newText, chFrom, chTo, "+input"); return true; } }; ContentEditableInput.prototype.ensurePolled = function () { this.forceCompositionEnd(); }; ContentEditableInput.prototype.reset = function () { this.forceCompositionEnd(); }; ContentEditableInput.prototype.forceCompositionEnd = function () { if (!this.composing) { return; } clearTimeout(this.readDOMTimeout); this.composing = null; this.updateFromDOM(); this.div.blur(); this.div.focus(); }; ContentEditableInput.prototype.readFromDOMSoon = function () { var this$1 = this; if (this.readDOMTimeout != null) { return; } this.readDOMTimeout = setTimeout(function () { this$1.readDOMTimeout = null; if (this$1.composing) { if (this$1.composing.done) { this$1.composing = null; } else { return; } } this$1.updateFromDOM(); }, 80); }; ContentEditableInput.prototype.updateFromDOM = function () { var this$1 = this; if (this.cm.isReadOnly() || !this.pollContent()) { runInOp(this.cm, function () { return regChange(this$1.cm); }); } }; ContentEditableInput.prototype.setUneditable = function (node) { node.contentEditable = "false"; }; ContentEditableInput.prototype.onKeyPress = function (e) { if (e.charCode == 0 || this.composing) { return; } e.preventDefault(); if (!this.cm.isReadOnly()) { operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0); } }; ContentEditableInput.prototype.readOnlyChanged = function (val) { this.div.contentEditable = String(val != "nocursor"); }; ContentEditableInput.prototype.onContextMenu = function () {}; ContentEditableInput.prototype.resetPosition = function () {}; ContentEditableInput.prototype.needsContentAttribute = true; function posToDOM(cm, pos) { var view = findViewForLine(cm, pos.line); if (!view || view.hidden) { return null; } var line = getLine(cm.doc, pos.line); var info = mapFromLineView(view, line, pos.line); var order = getOrder(line, cm.doc.direction), side = "left"; if (order) { var partPos = getBidiPartAt(order, pos.ch); side = partPos % 2 ? "right" : "left"; } var result = nodeAndOffsetInLineMap(info.map, pos.ch, side); result.offset = result.collapse == "right" ? result.end : result.start; return result; } function isInGutter(node) { for (var scan = node; scan; scan = scan.parentNode) { if (/CodeMirror-gutter-wrapper/.test(scan.className)) { return true; } } return false; } function badPos(pos, bad) { if (bad) { pos.bad = true; } return pos; } function domTextBetween(cm, from, to, fromLine, toLine) { var text = "", closing = false, lineSep = cm.doc.lineSeparator(), extraLinebreak = false; function recognizeMarker(id) { return function (marker) { return marker.id == id; }; } function close() { if (closing) { text += lineSep; if (extraLinebreak) { text += lineSep; } closing = extraLinebreak = false; } } function addText(str) { if (str) { close(); text += str; } } function walk(node) { if (node.nodeType == 1) { var cmText = node.getAttribute("cm-text"); if (cmText) { addText(cmText); return; } var markerID = node.getAttribute("cm-marker"), range; if (markerID) { var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID)); if (found.length && (range = found[0].find(0))) { addText(getBetween(cm.doc, range.from, range.to).join(lineSep)); } return; } if (node.getAttribute("contenteditable") == "false") { return; } var isBlock = /^(pre|div|p|li|table|br)$/i.test(node.nodeName); if (!/^br$/i.test(node.nodeName) && node.textContent.length == 0) { return; } if (isBlock) { close(); } for (var i = 0; i < node.childNodes.length; i++) { walk(node.childNodes[i]); } if (/^(pre|p)$/i.test(node.nodeName)) { extraLinebreak = true; } if (isBlock) { closing = true; } } else if (node.nodeType == 3) { addText(node.nodeValue.replace(/\u200b/g, "").replace(/\u00a0/g, " ")); } } for (;;) { walk(from); if (from == to) { break; } from = from.nextSibling; extraLinebreak = false; } return text; } function domToPos(cm, node, offset) { var lineNode; if (node == cm.display.lineDiv) { lineNode = cm.display.lineDiv.childNodes[offset]; if (!lineNode) { return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true); } node = null; offset = 0; } else { for (lineNode = node;; lineNode = lineNode.parentNode) { if (!lineNode || lineNode == cm.display.lineDiv) { return null; } if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) { break; } } } for (var i = 0; i < cm.display.view.length; i++) { var lineView = cm.display.view[i]; if (lineView.node == lineNode) { return locateNodeInLineView(lineView, node, offset); } } } function locateNodeInLineView(lineView, node, offset) { var wrapper = lineView.text.firstChild, bad = false; if (!node || !contains(wrapper, node)) { return badPos(Pos(lineNo(lineView.line), 0), true); } if (node == wrapper) { bad = true; node = wrapper.childNodes[offset]; offset = 0; if (!node) { var line = lineView.rest ? lst(lineView.rest) : lineView.line; return badPos(Pos(lineNo(line), line.text.length), bad); } } var textNode = node.nodeType == 3 ? node : null, topNode = node; if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) { textNode = node.firstChild; if (offset) { offset = textNode.nodeValue.length; } } while (topNode.parentNode != wrapper) { topNode = topNode.parentNode; } var measure = lineView.measure, maps = measure.maps; function find(textNode, topNode, offset) { for (var i = -1; i < (maps ? maps.length : 0); i++) { var map = i < 0 ? measure.map : maps[i]; for (var j = 0; j < map.length; j += 3) { var curNode = map[j + 2]; if (curNode == textNode || curNode == topNode) { var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]); var ch = map[j] + offset; if (offset < 0 || curNode != textNode) { ch = map[j + (offset ? 1 : 0)]; } return Pos(line, ch); } } } } var found = find(textNode, topNode, offset); if (found) { return badPos(found, bad); } // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) { found = find(after, after.firstChild, 0); if (found) { return badPos(Pos(found.line, found.ch - dist), bad); } else { dist += after.textContent.length; } } for (var before = topNode.previousSibling, dist$1 = offset; before; before = before.previousSibling) { found = find(before, before.firstChild, -1); if (found) { return badPos(Pos(found.line, found.ch + dist$1), bad); } else { dist$1 += before.textContent.length; } } } // TEXTAREA INPUT STYLE var TextareaInput = function (cm) { this.cm = cm; // See input.poll and input.reset this.prevInput = ""; // Flag that indicates whether we expect input to appear real soon // now (after some event like 'keypress' or 'input') and are // polling intensively. this.pollingFast = false; // Self-resetting timeout for the poller this.polling = new Delayed(); // Used to work around IE issue with selection being forgotten when focus moves away from textarea this.hasSelection = false; this.composing = null; this.resetting = false; }; TextareaInput.prototype.init = function (display) { var this$1 = this; var input = this, cm = this.cm; this.createField(display); var te = this.textarea; display.wrapper.insertBefore(this.wrapper, display.wrapper.firstChild); // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore) if (ios) { te.style.width = "0px"; } on(te, "input", function () { if (ie && ie_version >= 9 && this$1.hasSelection) { this$1.hasSelection = null; } input.poll(); }); on(te, "paste", function (e) { if (signalDOMEvent(cm, e) || handlePaste(e, cm)) { return; } cm.state.pasteIncoming = +new Date(); input.fastPoll(); }); function prepareCopyCut(e) { if (signalDOMEvent(cm, e)) { return; } if (cm.somethingSelected()) { setLastCopied({ lineWise: false, text: cm.getSelections() }); } else if (!cm.options.lineWiseCopyCut) { return; } else { var ranges = copyableRanges(cm); setLastCopied({ lineWise: true, text: ranges.text }); if (e.type == "cut") { cm.setSelections(ranges.ranges, null, sel_dontScroll); } else { input.prevInput = ""; te.value = ranges.text.join("\n"); selectInput(te); } } if (e.type == "cut") { cm.state.cutIncoming = +new Date(); } } on(te, "cut", prepareCopyCut); on(te, "copy", prepareCopyCut); on(display.scroller, "paste", function (e) { if (eventInWidget(display, e) || signalDOMEvent(cm, e)) { return; } if (!te.dispatchEvent) { cm.state.pasteIncoming = +new Date(); input.focus(); return; } // Pass the `paste` event to the textarea so it's handled by its event listener. var event = new Event("paste"); event.clipboardData = e.clipboardData; te.dispatchEvent(event); }); // Prevent normal selection in the editor (we handle our own) on(display.lineSpace, "selectstart", function (e) { if (!eventInWidget(display, e)) { e_preventDefault(e); } }); on(te, "compositionstart", function () { var start = cm.getCursor("from"); if (input.composing) { input.composing.range.clear(); } input.composing = { start: start, range: cm.markText(start, cm.getCursor("to"), { className: "CodeMirror-composing" }) }; }); on(te, "compositionend", function () { if (input.composing) { input.poll(); input.composing.range.clear(); input.composing = null; } }); }; TextareaInput.prototype.createField = function (_display) { // Wraps and hides input textarea this.wrapper = hiddenTextarea(); // The semihidden textarea that is focused when the editor is // focused, and receives input. this.textarea = this.wrapper.firstChild; var opts = this.cm.options; disableBrowserMagic(this.textarea, opts.spellcheck, opts.autocorrect, opts.autocapitalize); }; TextareaInput.prototype.screenReaderLabelChanged = function (label) { // Label for screenreaders, accessibility if (label) { this.textarea.setAttribute('aria-label', label); } else { this.textarea.removeAttribute('aria-label'); } }; TextareaInput.prototype.prepareSelection = function () { // Redraw the selection and/or cursor var cm = this.cm, display = cm.display, doc = cm.doc; var result = prepareSelection(cm); // Move the hidden textarea near the cursor to prevent scrolling artifacts if (cm.options.moveInputWithCursor) { var headPos = cursorCoords(cm, doc.sel.primary().head, "div"); var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect(); result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10, headPos.top + lineOff.top - wrapOff.top)); result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10, headPos.left + lineOff.left - wrapOff.left)); } return result; }; TextareaInput.prototype.showSelection = function (drawn) { var cm = this.cm, display = cm.display; removeChildrenAndAdd(display.cursorDiv, drawn.cursors); removeChildrenAndAdd(display.selectionDiv, drawn.selection); if (drawn.teTop != null) { this.wrapper.style.top = drawn.teTop + "px"; this.wrapper.style.left = drawn.teLeft + "px"; } }; // Reset the input to correspond to the selection (or to be empty, // when not typing and nothing is selected) TextareaInput.prototype.reset = function (typing) { if (this.contextMenuPending || this.composing && typing) { return; } var cm = this.cm; this.resetting = true; if (cm.somethingSelected()) { this.prevInput = ""; var content = cm.getSelection(); this.textarea.value = content; if (cm.state.focused) { selectInput(this.textarea); } if (ie && ie_version >= 9) { this.hasSelection = content; } } else if (!typing) { this.prevInput = this.textarea.value = ""; if (ie && ie_version >= 9) { this.hasSelection = null; } } this.resetting = false; }; TextareaInput.prototype.getField = function () { return this.textarea; }; TextareaInput.prototype.supportsTouch = function () { return false; }; TextareaInput.prototype.focus = function () { if (this.cm.options.readOnly != "nocursor" && (!mobile || activeElt(rootNode(this.textarea)) != this.textarea)) { try { this.textarea.focus(); } catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM } }; TextareaInput.prototype.blur = function () { this.textarea.blur(); }; TextareaInput.prototype.resetPosition = function () { this.wrapper.style.top = this.wrapper.style.left = 0; }; TextareaInput.prototype.receivedFocus = function () { this.slowPoll(); }; // Poll for input changes, using the normal rate of polling. This // runs as long as the editor is focused. TextareaInput.prototype.slowPoll = function () { var this$1 = this; if (this.pollingFast) { return; } this.polling.set(this.cm.options.pollInterval, function () { this$1.poll(); if (this$1.cm.state.focused) { this$1.slowPoll(); } }); }; // When an event has just come in that is likely to add or change // something in the input textarea, we poll faster, to ensure that // the change appears on the screen quickly. TextareaInput.prototype.fastPoll = function () { var missed = false, input = this; input.pollingFast = true; function p() { var changed = input.poll(); if (!changed && !missed) { missed = true; input.polling.set(60, p); } else { input.pollingFast = false; input.slowPoll(); } } input.polling.set(20, p); }; // Read input from the textarea, and update the document to match. // When something is selected, it is present in the textarea, and // selected (unless it is huge, in which case a placeholder is // used). When nothing is selected, the cursor sits after previously // seen text (can be empty), which is stored in prevInput (we must // not reset the textarea when typing, because that breaks IME). TextareaInput.prototype.poll = function () { var this$1 = this; var cm = this.cm, input = this.textarea, prevInput = this.prevInput; // Since this is called a *lot*, try to bail out as cheaply as // possible when it is clear that nothing happened. hasSelection // will be the case when there is a lot of text in the textarea, // in which case reading its value would be expensive. if (this.contextMenuPending || this.resetting || !cm.state.focused || hasSelection(input) && !prevInput && !this.composing || cm.isReadOnly() || cm.options.disableInput || cm.state.keySeq) { return false; } var text = input.value; // If nothing changed, bail. if (text == prevInput && !cm.somethingSelected()) { return false; } // Work around nonsensical selection resetting in IE9/10, and // inexplicable appearance of private area unicode characters on // some key combos in Mac (#2689). if (ie && ie_version >= 9 && this.hasSelection === text || mac && /[\uf700-\uf7ff]/.test(text)) { cm.display.input.reset(); return false; } if (cm.doc.sel == cm.display.selForContextMenu) { var first = text.charCodeAt(0); if (first == 0x200b && !prevInput) { prevInput = "\u200b"; } if (first == 0x21da) { this.reset(); return this.cm.execCommand("undo"); } } // Find the part of the input that is actually new var same = 0, l = Math.min(prevInput.length, text.length); while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) { ++same; } runInOp(cm, function () { applyTextInput(cm, text.slice(same), prevInput.length - same, null, this$1.composing ? "*compose" : null); // Don't leave long text in the textarea, since it makes further polling slow if (text.length > 1000 || text.indexOf("\n") > -1) { input.value = this$1.prevInput = ""; } else { this$1.prevInput = text; } if (this$1.composing) { this$1.composing.range.clear(); this$1.composing.range = cm.markText(this$1.composing.start, cm.getCursor("to"), { className: "CodeMirror-composing" }); } }); return true; }; TextareaInput.prototype.ensurePolled = function () { if (this.pollingFast && this.poll()) { this.pollingFast = false; } }; TextareaInput.prototype.onKeyPress = function () { if (ie && ie_version >= 9) { this.hasSelection = null; } this.fastPoll(); }; TextareaInput.prototype.onContextMenu = function (e) { var input = this, cm = input.cm, display = cm.display, te = input.textarea; if (input.contextMenuPending) { input.contextMenuPending(); } var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop; if (!pos || presto) { return; } // Opera is difficult. // Reset the current text selection only if the click is done outside of the selection // and 'resetSelectionOnContextMenu' option is true. var reset = cm.options.resetSelectionOnContextMenu; if (reset && cm.doc.sel.contains(pos) == -1) { operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll); } var oldCSS = te.style.cssText, oldWrapperCSS = input.wrapper.style.cssText; var wrapperBox = input.wrapper.offsetParent.getBoundingClientRect(); input.wrapper.style.cssText = "position: static"; te.style.cssText = "position: absolute; width: 30px; height: 30px;\n top: " + (e.clientY - wrapperBox.top - 5) + "px; left: " + (e.clientX - wrapperBox.left - 5) + "px;\n z-index: 1000; background: " + (ie ? "rgba(255, 255, 255, .05)" : "transparent") + ";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);"; var oldScrollY; if (webkit) { oldScrollY = te.ownerDocument.defaultView.scrollY; } // Work around Chrome issue (#2712) display.input.focus(); if (webkit) { te.ownerDocument.defaultView.scrollTo(null, oldScrollY); } display.input.reset(); // Adds "Select all" to context menu in FF if (!cm.somethingSelected()) { te.value = input.prevInput = " "; } input.contextMenuPending = rehide; display.selForContextMenu = cm.doc.sel; clearTimeout(display.detectingSelectAll); // Select-all will be greyed out if there's nothing to select, so // this adds a zero-width space so that we can later check whether // it got selected. function prepareSelectAllHack() { if (te.selectionStart != null) { var selected = cm.somethingSelected(); var extval = "\u200b" + (selected ? te.value : ""); te.value = "\u21da"; // Used to catch context-menu undo te.value = extval; input.prevInput = selected ? "" : "\u200b"; te.selectionStart = 1; te.selectionEnd = extval.length; // Re-set this, in case some other handler touched the // selection in the meantime. display.selForContextMenu = cm.doc.sel; } } function rehide() { if (input.contextMenuPending != rehide) { return; } input.contextMenuPending = false; input.wrapper.style.cssText = oldWrapperCSS; te.style.cssText = oldCSS; if (ie && ie_version < 9) { display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos); } // Try to detect the user choosing select-all if (te.selectionStart != null) { if (!ie || ie && ie_version < 9) { prepareSelectAllHack(); } var i = 0, poll = function () { if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0 && te.selectionEnd > 0 && input.prevInput == "\u200b") { operation(cm, selectAll)(cm); } else if (i++ < 10) { display.detectingSelectAll = setTimeout(poll, 500); } else { display.selForContextMenu = null; display.input.reset(); } }; display.detectingSelectAll = setTimeout(poll, 200); } } if (ie && ie_version >= 9) { prepareSelectAllHack(); } if (captureRightClick) { e_stop(e); var mouseup = function () { off(window, "mouseup", mouseup); setTimeout(rehide, 20); }; on(window, "mouseup", mouseup); } else { setTimeout(rehide, 50); } }; TextareaInput.prototype.readOnlyChanged = function (val) { if (!val) { this.reset(); } this.textarea.disabled = val == "nocursor"; this.textarea.readOnly = !!val; }; TextareaInput.prototype.setUneditable = function () {}; TextareaInput.prototype.needsContentAttribute = false; function fromTextArea(textarea, options) { options = options ? copyObj(options) : {}; options.value = textarea.value; if (!options.tabindex && textarea.tabIndex) { options.tabindex = textarea.tabIndex; } if (!options.placeholder && textarea.placeholder) { options.placeholder = textarea.placeholder; } // Set autofocus to true if this textarea is focused, or if it has // autofocus and no other element is focused. if (options.autofocus == null) { var hasFocus = activeElt(rootNode(textarea)); options.autofocus = hasFocus == textarea || textarea.getAttribute("autofocus") != null && hasFocus == document.body; } function save() { textarea.value = cm.getValue(); } var realSubmit; if (textarea.form) { on(textarea.form, "submit", save); // Deplorable hack to make the submit method do the right thing. if (!options.leaveSubmitMethodAlone) { var form = textarea.form; realSubmit = form.submit; try { var wrappedSubmit = form.submit = function () { save(); form.submit = realSubmit; form.submit(); form.submit = wrappedSubmit; }; } catch (e) {} } } options.finishInit = function (cm) { cm.save = save; cm.getTextArea = function () { return textarea; }; cm.toTextArea = function () { cm.toTextArea = isNaN; // Prevent this from being ran twice save(); textarea.parentNode.removeChild(cm.getWrapperElement()); textarea.style.display = ""; if (textarea.form) { off(textarea.form, "submit", save); if (!options.leaveSubmitMethodAlone && typeof textarea.form.submit == "function") { textarea.form.submit = realSubmit; } } }; }; textarea.style.display = "none"; var cm = CodeMirror(function (node) { return textarea.parentNode.insertBefore(node, textarea.nextSibling); }, options); return cm; } function addLegacyProps(CodeMirror) { CodeMirror.off = off; CodeMirror.on = on; CodeMirror.wheelEventPixels = wheelEventPixels; CodeMirror.Doc = Doc; CodeMirror.splitLines = splitLinesAuto; CodeMirror.countColumn = countColumn; CodeMirror.findColumn = findColumn; CodeMirror.isWordChar = isWordCharBasic; CodeMirror.Pass = Pass; CodeMirror.signal = signal; CodeMirror.Line = Line; CodeMirror.changeEnd = changeEnd; CodeMirror.scrollbarModel = scrollbarModel; CodeMirror.Pos = Pos; CodeMirror.cmpPos = cmp; CodeMirror.modes = modes; CodeMirror.mimeModes = mimeModes; CodeMirror.resolveMode = resolveMode; CodeMirror.getMode = getMode; CodeMirror.modeExtensions = modeExtensions; CodeMirror.extendMode = extendMode; CodeMirror.copyState = copyState; CodeMirror.startState = startState; CodeMirror.innerMode = innerMode; CodeMirror.commands = commands; CodeMirror.keyMap = keyMap; CodeMirror.keyName = keyName; CodeMirror.isModifierKey = isModifierKey; CodeMirror.lookupKey = lookupKey; CodeMirror.normalizeKeyMap = normalizeKeyMap; CodeMirror.StringStream = StringStream; CodeMirror.SharedTextMarker = SharedTextMarker; CodeMirror.TextMarker = TextMarker; CodeMirror.LineWidget = LineWidget; CodeMirror.e_preventDefault = e_preventDefault; CodeMirror.e_stopPropagation = e_stopPropagation; CodeMirror.e_stop = e_stop; CodeMirror.addClass = addClass; CodeMirror.contains = contains; CodeMirror.rmClass = rmClass; CodeMirror.keyNames = keyNames; } // EDITOR CONSTRUCTOR defineOptions(CodeMirror); addEditorMethods(CodeMirror); // Set up methods on CodeMirror's prototype to redirect to the editor's document. var dontDelegate = "iter insert remove copy getEditor constructor".split(" "); for (var prop in Doc.prototype) { if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0) { CodeMirror.prototype[prop] = function (method) { return function () { return method.apply(this.doc, arguments); }; }(Doc.prototype[prop]); } } eventMixin(Doc); CodeMirror.inputStyles = { "textarea": TextareaInput, "contenteditable": ContentEditableInput }; // Extra arguments are stored as the mode's dependencies, which is // used by (legacy) mechanisms like loadmode.js to automatically // load a mode. (Preferred mechanism is the require/define calls.) CodeMirror.defineMode = function (name /*, mode, …*/ ) { if (!CodeMirror.defaults.mode && name != "null") { CodeMirror.defaults.mode = name; } defineMode.apply(this, arguments); }; CodeMirror.defineMIME = defineMIME; // Minimal default mode. CodeMirror.defineMode("null", function () { return { token: function (stream) { return stream.skipToEnd(); } }; }); CodeMirror.defineMIME("text/plain", "null"); // EXTENSIONS CodeMirror.defineExtension = function (name, func) { CodeMirror.prototype[name] = func; }; CodeMirror.defineDocExtension = function (name, func) { Doc.prototype[name] = func; }; CodeMirror.fromTextArea = fromTextArea; addLegacyProps(CodeMirror); CodeMirror.version = "5.65.19"; return CodeMirror; }); /***/ }), /***/ 57270: /*!*****************************************************!*\ !*** ./node_modules/codemirror/mode/clike/clike.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; function Context(indented, column, type, info, align, prev) { this.indented = indented; this.column = column; this.type = type; this.info = info; this.align = align; this.prev = prev; } function pushContext(state, col, type, info) { var indent = state.indented; if (state.context && state.context.type == "statement" && type != "statement") indent = state.context.indented; return state.context = new Context(indent, col, type, info, null, state.context); } function popContext(state) { var t = state.context.type; if (t == ")" || t == "]" || t == "}") state.indented = state.context.indented; return state.context = state.context.prev; } function typeBefore(stream, state, pos) { if (state.prevToken == "variable" || state.prevToken == "type") return true; if (/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(stream.string.slice(0, pos))) return true; if (state.typeAtEndOfLine && stream.column() == stream.indentation()) return true; } function isTopScope(context) { for (;;) { if (!context || context.type == "top") return true; if (context.type == "}" && context.prev.info != "namespace") return false; context = context.prev; } } CodeMirror.defineMode("clike", function (config, parserConfig) { var indentUnit = config.indentUnit, statementIndentUnit = parserConfig.statementIndentUnit || indentUnit, dontAlignCalls = parserConfig.dontAlignCalls, keywords = parserConfig.keywords || {}, types = parserConfig.types || {}, builtin = parserConfig.builtin || {}, blockKeywords = parserConfig.blockKeywords || {}, defKeywords = parserConfig.defKeywords || {}, atoms = parserConfig.atoms || {}, hooks = parserConfig.hooks || {}, multiLineStrings = parserConfig.multiLineStrings, indentStatements = parserConfig.indentStatements !== false, indentSwitch = parserConfig.indentSwitch !== false, namespaceSeparator = parserConfig.namespaceSeparator, isPunctuationChar = parserConfig.isPunctuationChar || /[\[\]{}\(\),;\:\.]/, numberStart = parserConfig.numberStart || /[\d\.]/, number = parserConfig.number || /^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i, isOperatorChar = parserConfig.isOperatorChar || /[+\-*&%=<>!?|\/]/, isIdentifierChar = parserConfig.isIdentifierChar || /[\w\$_\xa1-\uffff]/, // An optional function that takes a {string} token and returns true if it // should be treated as a builtin. isReservedIdentifier = parserConfig.isReservedIdentifier || false; var curPunc, isDefKeyword; function tokenBase(stream, state) { var ch = stream.next(); if (hooks[ch]) { var result = hooks[ch](stream, state); if (result !== false) return result; } if (ch == '"' || ch == "'") { state.tokenize = tokenString(ch); return state.tokenize(stream, state); } if (numberStart.test(ch)) { stream.backUp(1); if (stream.match(number)) return "number"; stream.next(); } if (isPunctuationChar.test(ch)) { curPunc = ch; return null; } if (ch == "/") { if (stream.eat("*")) { state.tokenize = tokenComment; return tokenComment(stream, state); } if (stream.eat("/")) { stream.skipToEnd(); return "comment"; } } if (isOperatorChar.test(ch)) { while (!stream.match(/^\/[\/*]/, false) && stream.eat(isOperatorChar)) {} return "operator"; } stream.eatWhile(isIdentifierChar); if (namespaceSeparator) while (stream.match(namespaceSeparator)) stream.eatWhile(isIdentifierChar); var cur = stream.current(); if (contains(keywords, cur)) { if (contains(blockKeywords, cur)) curPunc = "newstatement"; if (contains(defKeywords, cur)) isDefKeyword = true; return "keyword"; } if (contains(types, cur)) return "type"; if (contains(builtin, cur) || isReservedIdentifier && isReservedIdentifier(cur)) { if (contains(blockKeywords, cur)) curPunc = "newstatement"; return "builtin"; } if (contains(atoms, cur)) return "atom"; return "variable"; } function tokenString(quote) { return function (stream, state) { var escaped = false, next, end = false; while ((next = stream.next()) != null) { if (next == quote && !escaped) { end = true; break; } escaped = !escaped && next == "\\"; } if (end || !(escaped || multiLineStrings)) state.tokenize = null; return "string"; }; } function tokenComment(stream, state) { var maybeEnd = false, ch; while (ch = stream.next()) { if (ch == "/" && maybeEnd) { state.tokenize = null; break; } maybeEnd = ch == "*"; } return "comment"; } function maybeEOL(stream, state) { if (parserConfig.typeFirstDefinitions && stream.eol() && isTopScope(state.context)) state.typeAtEndOfLine = typeBefore(stream, state, stream.pos); } // Interface return { startState: function (basecolumn) { return { tokenize: null, context: new Context((basecolumn || 0) - indentUnit, 0, "top", null, false), indented: 0, startOfLine: true, prevToken: null }; }, token: function (stream, state) { var ctx = state.context; if (stream.sol()) { if (ctx.align == null) ctx.align = false; state.indented = stream.indentation(); state.startOfLine = true; } if (stream.eatSpace()) { maybeEOL(stream, state); return null; } curPunc = isDefKeyword = null; var style = (state.tokenize || tokenBase)(stream, state); if (style == "comment" || style == "meta") return style; if (ctx.align == null) ctx.align = true; if (curPunc == ";" || curPunc == ":" || curPunc == "," && stream.match(/^\s*(?:\/\/.*)?$/, false)) while (state.context.type == "statement") popContext(state);else if (curPunc == "{") pushContext(state, stream.column(), "}");else if (curPunc == "[") pushContext(state, stream.column(), "]");else if (curPunc == "(") pushContext(state, stream.column(), ")");else if (curPunc == "}") { while (ctx.type == "statement") ctx = popContext(state); if (ctx.type == "}") ctx = popContext(state); while (ctx.type == "statement") ctx = popContext(state); } else if (curPunc == ctx.type) popContext(state);else if (indentStatements && ((ctx.type == "}" || ctx.type == "top") && curPunc != ";" || ctx.type == "statement" && curPunc == "newstatement")) { pushContext(state, stream.column(), "statement", stream.current()); } if (style == "variable" && (state.prevToken == "def" || parserConfig.typeFirstDefinitions && typeBefore(stream, state, stream.start) && isTopScope(state.context) && stream.match(/^\s*\(/, false))) style = "def"; if (hooks.token) { var result = hooks.token(stream, state, style); if (result !== undefined) style = result; } if (style == "def" && parserConfig.styleDefs === false) style = "variable"; state.startOfLine = false; state.prevToken = isDefKeyword ? "def" : style || curPunc; maybeEOL(stream, state); return style; }, indent: function (state, textAfter) { if (state.tokenize != tokenBase && state.tokenize != null || state.typeAtEndOfLine && isTopScope(state.context)) return CodeMirror.Pass; var ctx = state.context, firstChar = textAfter && textAfter.charAt(0); var closing = firstChar == ctx.type; if (ctx.type == "statement" && firstChar == "}") ctx = ctx.prev; if (parserConfig.dontIndentStatements) while (ctx.type == "statement" && parserConfig.dontIndentStatements.test(ctx.info)) ctx = ctx.prev; if (hooks.indent) { var hook = hooks.indent(state, ctx, textAfter, indentUnit); if (typeof hook == "number") return hook; } var switchBlock = ctx.prev && ctx.prev.info == "switch"; if (parserConfig.allmanIndentation && /[{(]/.test(firstChar)) { while (ctx.type != "top" && ctx.type != "}") ctx = ctx.prev; return ctx.indented; } if (ctx.type == "statement") return ctx.indented + (firstChar == "{" ? 0 : statementIndentUnit); if (ctx.align && (!dontAlignCalls || ctx.type != ")")) return ctx.column + (closing ? 0 : 1); if (ctx.type == ")" && !closing) return ctx.indented + statementIndentUnit; return ctx.indented + (closing ? 0 : indentUnit) + (!closing && switchBlock && !/^(?:case|default)\b/.test(textAfter) ? indentUnit : 0); }, electricInput: indentSwitch ? /^\s*(?:case .*?:|default:|\{\}?|\})$/ : /^\s*[{}]$/, blockCommentStart: "/*", blockCommentEnd: "*/", blockCommentContinue: " * ", lineComment: "//", fold: "brace" }; }); function words(str) { var obj = {}, words = str.split(" "); for (var i = 0; i < words.length; ++i) obj[words[i]] = true; return obj; } function contains(words, word) { if (typeof words === "function") { return words(word); } else { return words.propertyIsEnumerable(word); } } var cKeywords = "auto if break case register continue return default do sizeof " + "static else struct switch extern typedef union for goto while enum const " + "volatile inline restrict asm fortran"; // Keywords from https://en.cppreference.com/w/cpp/keyword includes C++20. var cppKeywords = "alignas alignof and and_eq audit axiom bitand bitor catch " + "class compl concept constexpr const_cast decltype delete dynamic_cast " + "explicit export final friend import module mutable namespace new noexcept " + "not not_eq operator or or_eq override private protected public " + "reinterpret_cast requires static_assert static_cast template this " + "thread_local throw try typeid typename using virtual xor xor_eq"; var objCKeywords = "bycopy byref in inout oneway out self super atomic nonatomic retain copy " + "readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd " + "@interface @implementation @end @protocol @encode @property @synthesize @dynamic @class " + "@public @package @private @protected @required @optional @try @catch @finally @import " + "@selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available"; var objCBuiltins = "FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION " + " NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER " + "NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION " + "NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"; // Do not use this. Use the cTypes function below. This is global just to avoid // excessive calls when cTypes is being called multiple times during a parse. var basicCTypes = words("int long char short double float unsigned signed " + "void bool"); // Do not use this. Use the objCTypes function below. This is global just to avoid // excessive calls when objCTypes is being called multiple times during a parse. var basicObjCTypes = words("SEL instancetype id Class Protocol BOOL"); // Returns true if identifier is a "C" type. // C type is defined as those that are reserved by the compiler (basicTypes), // and those that end in _t (Reserved by POSIX for types) // http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html function cTypes(identifier) { return contains(basicCTypes, identifier) || /.+_t$/.test(identifier); } // Returns true if identifier is a "Objective C" type. function objCTypes(identifier) { return cTypes(identifier) || contains(basicObjCTypes, identifier); } var cBlockKeywords = "case do else for if switch while struct enum union"; var cDefKeywords = "struct enum union"; function cppHook(stream, state) { if (!state.startOfLine) return false; for (var ch, next = null; ch = stream.peek();) { if (ch == "\\" && stream.match(/^.$/)) { next = cppHook; break; } else if (ch == "/" && stream.match(/^\/[\/\*]/, false)) { break; } stream.next(); } state.tokenize = next; return "meta"; } function pointerHook(_stream, state) { if (state.prevToken == "type") return "type"; return false; } // For C and C++ (and ObjC): identifiers starting with __ // or _ followed by a capital letter are reserved for the compiler. function cIsReservedIdentifier(token) { if (!token || token.length < 2) return false; if (token[0] != '_') return false; return token[1] == '_' || token[1] !== token[1].toLowerCase(); } function cpp14Literal(stream) { stream.eatWhile(/[\w\.']/); return "number"; } function cpp11StringHook(stream, state) { stream.backUp(1); // Raw strings. if (stream.match(/^(?:R|u8R|uR|UR|LR)/)) { var match = stream.match(/^"([^\s\\()]{0,16})\(/); if (!match) { return false; } state.cpp11RawStringDelim = match[1]; state.tokenize = tokenRawString; return tokenRawString(stream, state); } // Unicode strings/chars. if (stream.match(/^(?:u8|u|U|L)/)) { if (stream.match(/^["']/, /* eat */ false)) { return "string"; } return false; } // Ignore this hook. stream.next(); return false; } function cppLooksLikeConstructor(word) { var lastTwo = /(\w+)::~?(\w+)$/.exec(word); return lastTwo && lastTwo[1] == lastTwo[2]; } // C#-style strings where "" escapes a quote. function tokenAtString(stream, state) { var next; while ((next = stream.next()) != null) { if (next == '"' && !stream.eat('"')) { state.tokenize = null; break; } } return "string"; } // C++11 raw string literal is "( anything )", where // can be a string up to 16 characters long. function tokenRawString(stream, state) { // Escape characters that have special regex meanings. var delim = state.cpp11RawStringDelim.replace(/[^\w\s]/g, '\\$&'); var match = stream.match(new RegExp(".*?\\)" + delim + '"')); if (match) state.tokenize = null;else stream.skipToEnd(); return "string"; } function def(mimes, mode) { if (typeof mimes == "string") mimes = [mimes]; var words = []; function add(obj) { if (obj) for (var prop in obj) if (obj.hasOwnProperty(prop)) words.push(prop); } add(mode.keywords); add(mode.types); add(mode.builtin); add(mode.atoms); if (words.length) { mode.helperType = mimes[0]; CodeMirror.registerHelper("hintWords", mimes[0], words); } for (var i = 0; i < mimes.length; ++i) CodeMirror.defineMIME(mimes[i], mode); } def(["text/x-csrc", "text/x-c", "text/x-chdr"], { name: "clike", keywords: words(cKeywords), types: cTypes, blockKeywords: words(cBlockKeywords), defKeywords: words(cDefKeywords), typeFirstDefinitions: true, atoms: words("NULL true false"), isReservedIdentifier: cIsReservedIdentifier, hooks: { "#": cppHook, "*": pointerHook }, modeProps: { fold: ["brace", "include"] } }); def(["text/x-c++src", "text/x-c++hdr"], { name: "clike", keywords: words(cKeywords + " " + cppKeywords), types: cTypes, blockKeywords: words(cBlockKeywords + " class try catch"), defKeywords: words(cDefKeywords + " class namespace"), typeFirstDefinitions: true, atoms: words("true false NULL nullptr"), dontIndentStatements: /^template$/, isIdentifierChar: /[\w\$_~\xa1-\uffff]/, isReservedIdentifier: cIsReservedIdentifier, hooks: { "#": cppHook, "*": pointerHook, "u": cpp11StringHook, "U": cpp11StringHook, "L": cpp11StringHook, "R": cpp11StringHook, "0": cpp14Literal, "1": cpp14Literal, "2": cpp14Literal, "3": cpp14Literal, "4": cpp14Literal, "5": cpp14Literal, "6": cpp14Literal, "7": cpp14Literal, "8": cpp14Literal, "9": cpp14Literal, token: function (stream, state, style) { if (style == "variable" && stream.peek() == "(" && (state.prevToken == ";" || state.prevToken == null || state.prevToken == "}") && cppLooksLikeConstructor(stream.current())) return "def"; } }, namespaceSeparator: "::", modeProps: { fold: ["brace", "include"] } }); def("text/x-java", { name: "clike", keywords: words("abstract assert break case catch class const continue default " + "do else enum extends final finally for goto if implements import " + "instanceof interface native new package private protected public " + "return static strictfp super switch synchronized this throw throws transient " + "try volatile while @interface"), types: words("var byte short int long float double boolean char void Boolean Byte Character Double Float " + "Integer Long Number Object Short String StringBuffer StringBuilder Void"), blockKeywords: words("catch class do else finally for if switch try while"), defKeywords: words("class interface enum @interface"), typeFirstDefinitions: true, atoms: words("true false null"), number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i, hooks: { "@": function (stream) { // Don't match the @interface keyword. if (stream.match('interface', false)) return false; stream.eatWhile(/[\w\$_]/); return "meta"; }, '"': function (stream, state) { if (!stream.match(/""$/)) return false; state.tokenize = tokenTripleString; return state.tokenize(stream, state); } }, modeProps: { fold: ["brace", "import"] } }); def("text/x-csharp", { name: "clike", keywords: words("abstract as async await base break case catch checked class const continue" + " default delegate do else enum event explicit extern finally fixed for" + " foreach goto if implicit in init interface internal is lock namespace new" + " operator out override params private protected public readonly record ref required return sealed" + " sizeof stackalloc static struct switch this throw try typeof unchecked" + " unsafe using virtual void volatile while add alias ascending descending dynamic from get" + " global group into join let orderby partial remove select set value var yield"), types: words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func" + " Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32" + " UInt64 bool byte char decimal double short int long object" + " sbyte float string ushort uint ulong"), blockKeywords: words("catch class do else finally for foreach if struct switch try while"), defKeywords: words("class interface namespace record struct var"), typeFirstDefinitions: true, atoms: words("true false null"), hooks: { "@": function (stream, state) { if (stream.eat('"')) { state.tokenize = tokenAtString; return tokenAtString(stream, state); } stream.eatWhile(/[\w\$_]/); return "meta"; } } }); function tokenTripleString(stream, state) { var escaped = false; while (!stream.eol()) { if (!escaped && stream.match('"""')) { state.tokenize = null; break; } escaped = stream.next() == "\\" && !escaped; } return "string"; } function tokenNestedComment(depth) { return function (stream, state) { var ch; while (ch = stream.next()) { if (ch == "*" && stream.eat("/")) { if (depth == 1) { state.tokenize = null; break; } else { state.tokenize = tokenNestedComment(depth - 1); return state.tokenize(stream, state); } } else if (ch == "/" && stream.eat("*")) { state.tokenize = tokenNestedComment(depth + 1); return state.tokenize(stream, state); } } return "comment"; }; } def("text/x-scala", { name: "clike", keywords: words( /* scala */ "abstract case catch class def do else extends final finally for forSome if " + "implicit import lazy match new null object override package private protected return " + "sealed super this throw trait try type val var while with yield _ " + /* package scala */ "assert assume require print println printf readLine readBoolean readByte readShort " + "readChar readInt readLong readFloat readDouble"), types: words("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either " + "Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable " + "Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering " + "Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder " + "StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector " + /* package java.lang */ "Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable " + "Compiler Double Exception Float Integer Long Math Number Object Package Pair Process " + "Runtime Runnable SecurityManager Short StackTraceElement StrictMath String " + "StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"), multiLineStrings: true, blockKeywords: words("catch class enum do else finally for forSome if match switch try while"), defKeywords: words("class enum def object package trait type val var"), atoms: words("true false null"), indentStatements: false, indentSwitch: false, isOperatorChar: /[+\-*&%=<>!?|\/#:@]/, hooks: { "@": function (stream) { stream.eatWhile(/[\w\$_]/); return "meta"; }, '"': function (stream, state) { if (!stream.match('""')) return false; state.tokenize = tokenTripleString; return state.tokenize(stream, state); }, "'": function (stream) { if (stream.match(/^(\\[^'\s]+|[^\\'])'/)) return "string-2"; stream.eatWhile(/[\w\$_\xa1-\uffff]/); return "atom"; }, "=": function (stream, state) { var cx = state.context; if (cx.type == "}" && cx.align && stream.eat(">")) { state.context = new Context(cx.indented, cx.column, cx.type, cx.info, null, cx.prev); return "operator"; } else { return false; } }, "/": function (stream, state) { if (!stream.eat("*")) return false; state.tokenize = tokenNestedComment(1); return state.tokenize(stream, state); } }, modeProps: { closeBrackets: { pairs: '()[]{}""', triples: '"' } } }); function tokenKotlinString(tripleString) { return function (stream, state) { var escaped = false, next, end = false; while (!stream.eol()) { if (!tripleString && !escaped && stream.match('"')) { end = true; break; } if (tripleString && stream.match('"""')) { end = true; break; } next = stream.next(); if (!escaped && next == "$" && stream.match('{')) stream.skipTo("}"); escaped = !escaped && next == "\\" && !tripleString; } if (end || !tripleString) state.tokenize = null; return "string"; }; } def("text/x-kotlin", { name: "clike", keywords: words( /*keywords*/ "package as typealias class interface this super val operator " + "var fun for is in This throw return annotation " + "break continue object if else while do try when !in !is as? " + /*soft keywords*/ "file import where by get set abstract enum open inner override private public internal " + "protected catch finally out final vararg reified dynamic companion constructor init " + "sealed field property receiver param sparam lateinit data inline noinline tailrec " + "external annotation crossinline const operator infix suspend actual expect setparam value"), types: words( /* package java.lang */ "Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable " + "Compiler Double Exception Float Integer Long Math Number Object Package Pair Process " + "Runtime Runnable SecurityManager Short StackTraceElement StrictMath String " + "StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray " + "ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy " + "LazyThreadSafetyMode LongArray Nothing ShortArray Unit"), intendSwitch: false, indentStatements: false, multiLineStrings: true, number: /^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i, blockKeywords: words("catch class do else finally for if where try while enum"), defKeywords: words("class val var object interface fun"), atoms: words("true false null this"), hooks: { "@": function (stream) { stream.eatWhile(/[\w\$_]/); return "meta"; }, '*': function (_stream, state) { return state.prevToken == '.' ? 'variable' : 'operator'; }, '"': function (stream, state) { state.tokenize = tokenKotlinString(stream.match('""')); return state.tokenize(stream, state); }, "/": function (stream, state) { if (!stream.eat("*")) return false; state.tokenize = tokenNestedComment(1); return state.tokenize(stream, state); }, indent: function (state, ctx, textAfter, indentUnit) { var firstChar = textAfter && textAfter.charAt(0); if ((state.prevToken == "}" || state.prevToken == ")") && textAfter == "") return state.indented; if (state.prevToken == "operator" && textAfter != "}" && state.context.type != "}" || state.prevToken == "variable" && firstChar == "." || (state.prevToken == "}" || state.prevToken == ")") && firstChar == ".") return indentUnit * 2 + ctx.indented; if (ctx.align && ctx.type == "}") return ctx.indented + (state.context.type == (textAfter || "").charAt(0) ? 0 : indentUnit); } }, modeProps: { closeBrackets: { triples: '"' } } }); def(["x-shader/x-vertex", "x-shader/x-fragment"], { name: "clike", keywords: words("sampler1D sampler2D sampler3D samplerCube " + "sampler1DShadow sampler2DShadow " + "const attribute uniform varying " + "break continue discard return " + "for while do if else struct " + "in out inout"), types: words("float int bool void " + "vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 " + "mat2 mat3 mat4"), blockKeywords: words("for while do if else struct"), builtin: words("radians degrees sin cos tan asin acos atan " + "pow exp log exp2 sqrt inversesqrt " + "abs sign floor ceil fract mod min max clamp mix step smoothstep " + "length distance dot cross normalize ftransform faceforward " + "reflect refract matrixCompMult " + "lessThan lessThanEqual greaterThan greaterThanEqual " + "equal notEqual any all not " + "texture1D texture1DProj texture1DLod texture1DProjLod " + "texture2D texture2DProj texture2DLod texture2DProjLod " + "texture3D texture3DProj texture3DLod texture3DProjLod " + "textureCube textureCubeLod " + "shadow1D shadow2D shadow1DProj shadow2DProj " + "shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod " + "dFdx dFdy fwidth " + "noise1 noise2 noise3 noise4"), atoms: words("true false " + "gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex " + "gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 " + "gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 " + "gl_FogCoord gl_PointCoord " + "gl_Position gl_PointSize gl_ClipVertex " + "gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor " + "gl_TexCoord gl_FogFragCoord " + "gl_FragCoord gl_FrontFacing " + "gl_FragData gl_FragDepth " + "gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix " + "gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse " + "gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse " + "gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose " + "gl_ProjectionMatrixInverseTranspose " + "gl_ModelViewProjectionMatrixInverseTranspose " + "gl_TextureMatrixInverseTranspose " + "gl_NormalScale gl_DepthRange gl_ClipPlane " + "gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel " + "gl_FrontLightModelProduct gl_BackLightModelProduct " + "gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ " + "gl_FogParameters " + "gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords " + "gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats " + "gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits " + "gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits " + "gl_MaxDrawBuffers"), indentSwitch: false, hooks: { "#": cppHook }, modeProps: { fold: ["brace", "include"] } }); def("text/x-nesc", { name: "clike", keywords: words(cKeywords + " as atomic async call command component components configuration event generic " + "implementation includes interface module new norace nx_struct nx_union post provides " + "signal task uses abstract extends"), types: cTypes, blockKeywords: words(cBlockKeywords), atoms: words("null true false"), hooks: { "#": cppHook }, modeProps: { fold: ["brace", "include"] } }); def("text/x-objectivec", { name: "clike", keywords: words(cKeywords + " " + objCKeywords), types: objCTypes, builtin: words(objCBuiltins), blockKeywords: words(cBlockKeywords + " @synthesize @try @catch @finally @autoreleasepool @synchronized"), defKeywords: words(cDefKeywords + " @interface @implementation @protocol @class"), dontIndentStatements: /^@.*$/, typeFirstDefinitions: true, atoms: words("YES NO NULL Nil nil true false nullptr"), isReservedIdentifier: cIsReservedIdentifier, hooks: { "#": cppHook, "*": pointerHook }, modeProps: { fold: ["brace", "include"] } }); def("text/x-objectivec++", { name: "clike", keywords: words(cKeywords + " " + objCKeywords + " " + cppKeywords), types: objCTypes, builtin: words(objCBuiltins), blockKeywords: words(cBlockKeywords + " @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"), defKeywords: words(cDefKeywords + " @interface @implementation @protocol @class class namespace"), dontIndentStatements: /^@.*$|^template$/, typeFirstDefinitions: true, atoms: words("YES NO NULL Nil nil true false nullptr"), isReservedIdentifier: cIsReservedIdentifier, hooks: { "#": cppHook, "*": pointerHook, "u": cpp11StringHook, "U": cpp11StringHook, "L": cpp11StringHook, "R": cpp11StringHook, "0": cpp14Literal, "1": cpp14Literal, "2": cpp14Literal, "3": cpp14Literal, "4": cpp14Literal, "5": cpp14Literal, "6": cpp14Literal, "7": cpp14Literal, "8": cpp14Literal, "9": cpp14Literal, token: function (stream, state, style) { if (style == "variable" && stream.peek() == "(" && (state.prevToken == ";" || state.prevToken == null || state.prevToken == "}") && cppLooksLikeConstructor(stream.current())) return "def"; } }, namespaceSeparator: "::", modeProps: { fold: ["brace", "include"] } }); def("text/x-squirrel", { name: "clike", keywords: words("base break clone continue const default delete enum extends function in class" + " foreach local resume return this throw typeof yield constructor instanceof static"), types: cTypes, blockKeywords: words("case catch class else for foreach if switch try while"), defKeywords: words("function local class"), typeFirstDefinitions: true, atoms: words("true false null"), hooks: { "#": cppHook }, modeProps: { fold: ["brace", "include"] } }); // Ceylon Strings need to deal with interpolation var stringTokenizer = null; function tokenCeylonString(type) { return function (stream, state) { var escaped = false, next, end = false; while (!stream.eol()) { if (!escaped && stream.match('"') && (type == "single" || stream.match('""'))) { end = true; break; } if (!escaped && stream.match('``')) { stringTokenizer = tokenCeylonString(type); end = true; break; } next = stream.next(); escaped = type == "single" && !escaped && next == "\\"; } if (end) state.tokenize = null; return "string"; }; } def("text/x-ceylon", { name: "clike", keywords: words("abstracts alias assembly assert assign break case catch class continue dynamic else" + " exists extends finally for function given if import in interface is let module new" + " nonempty object of out outer package return satisfies super switch then this throw" + " try value void while"), types: function (word) { // In Ceylon all identifiers that start with an uppercase are types var first = word.charAt(0); return first === first.toUpperCase() && first !== first.toLowerCase(); }, blockKeywords: words("case catch class dynamic else finally for function if interface module new object switch try while"), defKeywords: words("class dynamic function interface module object package value"), builtin: words("abstract actual aliased annotation by default deprecated doc final formal late license" + " native optional sealed see serializable shared suppressWarnings tagged throws variable"), isPunctuationChar: /[\[\]{}\(\),;\:\.`]/, isOperatorChar: /[+\-*&%=<>!?|^~:\/]/, numberStart: /[\d#$]/, number: /^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i, multiLineStrings: true, typeFirstDefinitions: true, atoms: words("true false null larger smaller equal empty finished"), indentSwitch: false, styleDefs: false, hooks: { "@": function (stream) { stream.eatWhile(/[\w\$_]/); return "meta"; }, '"': function (stream, state) { state.tokenize = tokenCeylonString(stream.match('""') ? "triple" : "single"); return state.tokenize(stream, state); }, '`': function (stream, state) { if (!stringTokenizer || !stream.match('`')) return false; state.tokenize = stringTokenizer; stringTokenizer = null; return state.tokenize(stream, state); }, "'": function (stream) { stream.eatWhile(/[\w\$_\xa1-\uffff]/); return "atom"; }, token: function (_stream, state, style) { if ((style == "variable" || style == "type") && state.prevToken == ".") { return "variable-2"; } } }, modeProps: { fold: ["brace", "import"], closeBrackets: { triples: '"' } } }); }); /***/ }), /***/ 73419: /*!*************************************************!*\ !*** ./node_modules/codemirror/mode/css/css.js ***! \*************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineMode("css", function (config, parserConfig) { var inline = parserConfig.inline; if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode("text/css"); var indentUnit = config.indentUnit, tokenHooks = parserConfig.tokenHooks, documentTypes = parserConfig.documentTypes || {}, mediaTypes = parserConfig.mediaTypes || {}, mediaFeatures = parserConfig.mediaFeatures || {}, mediaValueKeywords = parserConfig.mediaValueKeywords || {}, propertyKeywords = parserConfig.propertyKeywords || {}, nonStandardPropertyKeywords = parserConfig.nonStandardPropertyKeywords || {}, fontProperties = parserConfig.fontProperties || {}, counterDescriptors = parserConfig.counterDescriptors || {}, colorKeywords = parserConfig.colorKeywords || {}, valueKeywords = parserConfig.valueKeywords || {}, allowNested = parserConfig.allowNested, lineComment = parserConfig.lineComment, supportsAtComponent = parserConfig.supportsAtComponent === true, highlightNonStandardPropertyKeywords = config.highlightNonStandardPropertyKeywords !== false; var type, override; function ret(style, tp) { type = tp; return style; } // Tokenizers function tokenBase(stream, state) { var ch = stream.next(); if (tokenHooks[ch]) { var result = tokenHooks[ch](stream, state); if (result !== false) return result; } if (ch == "@") { stream.eatWhile(/[\w\\\-]/); return ret("def", stream.current()); } else if (ch == "=" || (ch == "~" || ch == "|") && stream.eat("=")) { return ret(null, "compare"); } else if (ch == "\"" || ch == "'") { state.tokenize = tokenString(ch); return state.tokenize(stream, state); } else if (ch == "#") { stream.eatWhile(/[\w\\\-]/); return ret("atom", "hash"); } else if (ch == "!") { stream.match(/^\s*\w*/); return ret("keyword", "important"); } else if (/\d/.test(ch) || ch == "." && stream.eat(/\d/)) { stream.eatWhile(/[\w.%]/); return ret("number", "unit"); } else if (ch === "-") { if (/[\d.]/.test(stream.peek())) { stream.eatWhile(/[\w.%]/); return ret("number", "unit"); } else if (stream.match(/^-[\w\\\-]*/)) { stream.eatWhile(/[\w\\\-]/); if (stream.match(/^\s*:/, false)) return ret("variable-2", "variable-definition"); return ret("variable-2", "variable"); } else if (stream.match(/^\w+-/)) { return ret("meta", "meta"); } } else if (/[,+>*\/]/.test(ch)) { return ret(null, "select-op"); } else if (ch == "." && stream.match(/^-?[_a-z][_a-z0-9-]*/i)) { return ret("qualifier", "qualifier"); } else if (/[:;{}\[\]\(\)]/.test(ch)) { return ret(null, ch); } else if (stream.match(/^[\w-.]+(?=\()/)) { if (/^(url(-prefix)?|domain|regexp)$/i.test(stream.current())) { state.tokenize = tokenParenthesized; } return ret("variable callee", "variable"); } else if (/[\w\\\-]/.test(ch)) { stream.eatWhile(/[\w\\\-]/); return ret("property", "word"); } else { return ret(null, null); } } function tokenString(quote) { return function (stream, state) { var escaped = false, ch; while ((ch = stream.next()) != null) { if (ch == quote && !escaped) { if (quote == ")") stream.backUp(1); break; } escaped = !escaped && ch == "\\"; } if (ch == quote || !escaped && quote != ")") state.tokenize = null; return ret("string", "string"); }; } function tokenParenthesized(stream, state) { stream.next(); // Must be '(' if (!stream.match(/^\s*[\"\')]/, false)) state.tokenize = tokenString(")");else state.tokenize = null; return ret(null, "("); } // Context management function Context(type, indent, prev) { this.type = type; this.indent = indent; this.prev = prev; } function pushContext(state, stream, type, indent) { state.context = new Context(type, stream.indentation() + (indent === false ? 0 : indentUnit), state.context); return type; } function popContext(state) { if (state.context.prev) state.context = state.context.prev; return state.context.type; } function pass(type, stream, state) { return states[state.context.type](type, stream, state); } function popAndPass(type, stream, state, n) { for (var i = n || 1; i > 0; i--) state.context = state.context.prev; return pass(type, stream, state); } // Parser function wordAsValue(stream) { var word = stream.current().toLowerCase(); if (valueKeywords.hasOwnProperty(word)) override = "atom";else if (colorKeywords.hasOwnProperty(word)) override = "keyword";else override = "variable"; } var states = {}; states.top = function (type, stream, state) { if (type == "{") { return pushContext(state, stream, "block"); } else if (type == "}" && state.context.prev) { return popContext(state); } else if (supportsAtComponent && /@component/i.test(type)) { return pushContext(state, stream, "atComponentBlock"); } else if (/^@(-moz-)?document$/i.test(type)) { return pushContext(state, stream, "documentTypes"); } else if (/^@(media|supports|(-moz-)?document|import)$/i.test(type)) { return pushContext(state, stream, "atBlock"); } else if (/^@(font-face|counter-style)/i.test(type)) { state.stateArg = type; return "restricted_atBlock_before"; } else if (/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(type)) { return "keyframes"; } else if (type && type.charAt(0) == "@") { return pushContext(state, stream, "at"); } else if (type == "hash") { override = "builtin"; } else if (type == "word") { override = "tag"; } else if (type == "variable-definition") { return "maybeprop"; } else if (type == "interpolation") { return pushContext(state, stream, "interpolation"); } else if (type == ":") { return "pseudo"; } else if (allowNested && type == "(") { return pushContext(state, stream, "parens"); } return state.context.type; }; states.block = function (type, stream, state) { if (type == "word") { var word = stream.current().toLowerCase(); if (propertyKeywords.hasOwnProperty(word)) { override = "property"; return "maybeprop"; } else if (nonStandardPropertyKeywords.hasOwnProperty(word)) { override = highlightNonStandardPropertyKeywords ? "string-2" : "property"; return "maybeprop"; } else if (allowNested) { override = stream.match(/^\s*:(?:\s|$)/, false) ? "property" : "tag"; return "block"; } else { override += " error"; return "maybeprop"; } } else if (type == "meta") { return "block"; } else if (!allowNested && (type == "hash" || type == "qualifier")) { override = "error"; return "block"; } else { return states.top(type, stream, state); } }; states.maybeprop = function (type, stream, state) { if (type == ":") return pushContext(state, stream, "prop"); return pass(type, stream, state); }; states.prop = function (type, stream, state) { if (type == ";") return popContext(state); if (type == "{" && allowNested) return pushContext(state, stream, "propBlock"); if (type == "}" || type == "{") return popAndPass(type, stream, state); if (type == "(") return pushContext(state, stream, "parens"); if (type == "hash" && !/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(stream.current())) { override += " error"; } else if (type == "word") { wordAsValue(stream); } else if (type == "interpolation") { return pushContext(state, stream, "interpolation"); } return "prop"; }; states.propBlock = function (type, _stream, state) { if (type == "}") return popContext(state); if (type == "word") { override = "property"; return "maybeprop"; } return state.context.type; }; states.parens = function (type, stream, state) { if (type == "{" || type == "}") return popAndPass(type, stream, state); if (type == ")") return popContext(state); if (type == "(") return pushContext(state, stream, "parens"); if (type == "interpolation") return pushContext(state, stream, "interpolation"); if (type == "word") wordAsValue(stream); return "parens"; }; states.pseudo = function (type, stream, state) { if (type == "meta") return "pseudo"; if (type == "word") { override = "variable-3"; return state.context.type; } return pass(type, stream, state); }; states.documentTypes = function (type, stream, state) { if (type == "word" && documentTypes.hasOwnProperty(stream.current())) { override = "tag"; return state.context.type; } else { return states.atBlock(type, stream, state); } }; states.atBlock = function (type, stream, state) { if (type == "(") return pushContext(state, stream, "atBlock_parens"); if (type == "}" || type == ";") return popAndPass(type, stream, state); if (type == "{") return popContext(state) && pushContext(state, stream, allowNested ? "block" : "top"); if (type == "interpolation") return pushContext(state, stream, "interpolation"); if (type == "word") { var word = stream.current().toLowerCase(); if (word == "only" || word == "not" || word == "and" || word == "or") override = "keyword";else if (mediaTypes.hasOwnProperty(word)) override = "attribute";else if (mediaFeatures.hasOwnProperty(word)) override = "property";else if (mediaValueKeywords.hasOwnProperty(word)) override = "keyword";else if (propertyKeywords.hasOwnProperty(word)) override = "property";else if (nonStandardPropertyKeywords.hasOwnProperty(word)) override = highlightNonStandardPropertyKeywords ? "string-2" : "property";else if (valueKeywords.hasOwnProperty(word)) override = "atom";else if (colorKeywords.hasOwnProperty(word)) override = "keyword";else override = "error"; } return state.context.type; }; states.atComponentBlock = function (type, stream, state) { if (type == "}") return popAndPass(type, stream, state); if (type == "{") return popContext(state) && pushContext(state, stream, allowNested ? "block" : "top", false); if (type == "word") override = "error"; return state.context.type; }; states.atBlock_parens = function (type, stream, state) { if (type == ")") return popContext(state); if (type == "{" || type == "}") return popAndPass(type, stream, state, 2); return states.atBlock(type, stream, state); }; states.restricted_atBlock_before = function (type, stream, state) { if (type == "{") return pushContext(state, stream, "restricted_atBlock"); if (type == "word" && state.stateArg == "@counter-style") { override = "variable"; return "restricted_atBlock_before"; } return pass(type, stream, state); }; states.restricted_atBlock = function (type, stream, state) { if (type == "}") { state.stateArg = null; return popContext(state); } if (type == "word") { if (state.stateArg == "@font-face" && !fontProperties.hasOwnProperty(stream.current().toLowerCase()) || state.stateArg == "@counter-style" && !counterDescriptors.hasOwnProperty(stream.current().toLowerCase())) override = "error";else override = "property"; return "maybeprop"; } return "restricted_atBlock"; }; states.keyframes = function (type, stream, state) { if (type == "word") { override = "variable"; return "keyframes"; } if (type == "{") return pushContext(state, stream, "top"); return pass(type, stream, state); }; states.at = function (type, stream, state) { if (type == ";") return popContext(state); if (type == "{" || type == "}") return popAndPass(type, stream, state); if (type == "word") override = "tag";else if (type == "hash") override = "builtin"; return "at"; }; states.interpolation = function (type, stream, state) { if (type == "}") return popContext(state); if (type == "{" || type == ";") return popAndPass(type, stream, state); if (type == "word") override = "variable";else if (type != "variable" && type != "(" && type != ")") override = "error"; return "interpolation"; }; return { startState: function (base) { return { tokenize: null, state: inline ? "block" : "top", stateArg: null, context: new Context(inline ? "block" : "top", base || 0, null) }; }, token: function (stream, state) { if (!state.tokenize && stream.eatSpace()) return null; var style = (state.tokenize || tokenBase)(stream, state); if (style && typeof style == "object") { type = style[1]; style = style[0]; } override = style; if (type != "comment") state.state = states[state.state](type, stream, state); return override; }, indent: function (state, textAfter) { var cx = state.context, ch = textAfter && textAfter.charAt(0); var indent = cx.indent; if (cx.type == "prop" && (ch == "}" || ch == ")")) cx = cx.prev; if (cx.prev) { if (ch == "}" && (cx.type == "block" || cx.type == "top" || cx.type == "interpolation" || cx.type == "restricted_atBlock")) { // Resume indentation from parent context. cx = cx.prev; indent = cx.indent; } else if (ch == ")" && (cx.type == "parens" || cx.type == "atBlock_parens") || ch == "{" && (cx.type == "at" || cx.type == "atBlock")) { // Dedent relative to current context. indent = Math.max(0, cx.indent - indentUnit); } } return indent; }, electricChars: "}", blockCommentStart: "/*", blockCommentEnd: "*/", blockCommentContinue: " * ", lineComment: lineComment, fold: "brace" }; }); function keySet(array) { var keys = {}; for (var i = 0; i < array.length; ++i) { keys[array[i].toLowerCase()] = true; } return keys; } var documentTypes_ = ["domain", "regexp", "url", "url-prefix"], documentTypes = keySet(documentTypes_); var mediaTypes_ = ["all", "aural", "braille", "handheld", "print", "projection", "screen", "tty", "tv", "embossed"], mediaTypes = keySet(mediaTypes_); var mediaFeatures_ = ["width", "min-width", "max-width", "height", "min-height", "max-height", "device-width", "min-device-width", "max-device-width", "device-height", "min-device-height", "max-device-height", "aspect-ratio", "min-aspect-ratio", "max-aspect-ratio", "device-aspect-ratio", "min-device-aspect-ratio", "max-device-aspect-ratio", "color", "min-color", "max-color", "color-index", "min-color-index", "max-color-index", "monochrome", "min-monochrome", "max-monochrome", "resolution", "min-resolution", "max-resolution", "scan", "grid", "orientation", "device-pixel-ratio", "min-device-pixel-ratio", "max-device-pixel-ratio", "pointer", "any-pointer", "hover", "any-hover", "prefers-color-scheme", "dynamic-range", "video-dynamic-range"], mediaFeatures = keySet(mediaFeatures_); var mediaValueKeywords_ = ["landscape", "portrait", "none", "coarse", "fine", "on-demand", "hover", "interlace", "progressive", "dark", "light", "standard", "high"], mediaValueKeywords = keySet(mediaValueKeywords_); var propertyKeywords_ = ["align-content", "align-items", "align-self", "alignment-adjust", "alignment-baseline", "all", "anchor-point", "animation", "animation-delay", "animation-direction", "animation-duration", "animation-fill-mode", "animation-iteration-count", "animation-name", "animation-play-state", "animation-timing-function", "appearance", "azimuth", "backdrop-filter", "backface-visibility", "background", "background-attachment", "background-blend-mode", "background-clip", "background-color", "background-image", "background-origin", "background-position", "background-position-x", "background-position-y", "background-repeat", "background-size", "baseline-shift", "binding", "bleed", "block-size", "bookmark-label", "bookmark-level", "bookmark-state", "bookmark-target", "border", "border-bottom", "border-bottom-color", "border-bottom-left-radius", "border-bottom-right-radius", "border-bottom-style", "border-bottom-width", "border-collapse", "border-color", "border-image", "border-image-outset", "border-image-repeat", "border-image-slice", "border-image-source", "border-image-width", "border-left", "border-left-color", "border-left-style", "border-left-width", "border-radius", "border-right", "border-right-color", "border-right-style", "border-right-width", "border-spacing", "border-style", "border-top", "border-top-color", "border-top-left-radius", "border-top-right-radius", "border-top-style", "border-top-width", "border-width", "bottom", "box-decoration-break", "box-shadow", "box-sizing", "break-after", "break-before", "break-inside", "caption-side", "caret-color", "clear", "clip", "color", "color-profile", "column-count", "column-fill", "column-gap", "column-rule", "column-rule-color", "column-rule-style", "column-rule-width", "column-span", "column-width", "columns", "contain", "content", "counter-increment", "counter-reset", "crop", "cue", "cue-after", "cue-before", "cursor", "direction", "display", "dominant-baseline", "drop-initial-after-adjust", "drop-initial-after-align", "drop-initial-before-adjust", "drop-initial-before-align", "drop-initial-size", "drop-initial-value", "elevation", "empty-cells", "fit", "fit-content", "fit-position", "flex", "flex-basis", "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap", "float", "float-offset", "flow-from", "flow-into", "font", "font-family", "font-feature-settings", "font-kerning", "font-language-override", "font-optical-sizing", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-synthesis", "font-variant", "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", "font-variant-ligatures", "font-variant-numeric", "font-variant-position", "font-variation-settings", "font-weight", "gap", "grid", "grid-area", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows", "grid-column", "grid-column-end", "grid-column-gap", "grid-column-start", "grid-gap", "grid-row", "grid-row-end", "grid-row-gap", "grid-row-start", "grid-template", "grid-template-areas", "grid-template-columns", "grid-template-rows", "hanging-punctuation", "height", "hyphens", "icon", "image-orientation", "image-rendering", "image-resolution", "inline-box-align", "inset", "inset-block", "inset-block-end", "inset-block-start", "inset-inline", "inset-inline-end", "inset-inline-start", "isolation", "justify-content", "justify-items", "justify-self", "left", "letter-spacing", "line-break", "line-height", "line-height-step", "line-stacking", "line-stacking-ruby", "line-stacking-shift", "line-stacking-strategy", "list-style", "list-style-image", "list-style-position", "list-style-type", "margin", "margin-bottom", "margin-left", "margin-right", "margin-top", "marks", "marquee-direction", "marquee-loop", "marquee-play-count", "marquee-speed", "marquee-style", "mask-clip", "mask-composite", "mask-image", "mask-mode", "mask-origin", "mask-position", "mask-repeat", "mask-size", "mask-type", "max-block-size", "max-height", "max-inline-size", "max-width", "min-block-size", "min-height", "min-inline-size", "min-width", "mix-blend-mode", "move-to", "nav-down", "nav-index", "nav-left", "nav-right", "nav-up", "object-fit", "object-position", "offset", "offset-anchor", "offset-distance", "offset-path", "offset-position", "offset-rotate", "opacity", "order", "orphans", "outline", "outline-color", "outline-offset", "outline-style", "outline-width", "overflow", "overflow-style", "overflow-wrap", "overflow-x", "overflow-y", "padding", "padding-bottom", "padding-left", "padding-right", "padding-top", "page", "page-break-after", "page-break-before", "page-break-inside", "page-policy", "pause", "pause-after", "pause-before", "perspective", "perspective-origin", "pitch", "pitch-range", "place-content", "place-items", "place-self", "play-during", "position", "presentation-level", "punctuation-trim", "quotes", "region-break-after", "region-break-before", "region-break-inside", "region-fragment", "rendering-intent", "resize", "rest", "rest-after", "rest-before", "richness", "right", "rotate", "rotation", "rotation-point", "row-gap", "ruby-align", "ruby-overhang", "ruby-position", "ruby-span", "scale", "scroll-behavior", "scroll-margin", "scroll-margin-block", "scroll-margin-block-end", "scroll-margin-block-start", "scroll-margin-bottom", "scroll-margin-inline", "scroll-margin-inline-end", "scroll-margin-inline-start", "scroll-margin-left", "scroll-margin-right", "scroll-margin-top", "scroll-padding", "scroll-padding-block", "scroll-padding-block-end", "scroll-padding-block-start", "scroll-padding-bottom", "scroll-padding-inline", "scroll-padding-inline-end", "scroll-padding-inline-start", "scroll-padding-left", "scroll-padding-right", "scroll-padding-top", "scroll-snap-align", "scroll-snap-type", "shape-image-threshold", "shape-inside", "shape-margin", "shape-outside", "size", "speak", "speak-as", "speak-header", "speak-numeral", "speak-punctuation", "speech-rate", "stress", "string-set", "tab-size", "table-layout", "target", "target-name", "target-new", "target-position", "text-align", "text-align-last", "text-combine-upright", "text-decoration", "text-decoration-color", "text-decoration-line", "text-decoration-skip", "text-decoration-skip-ink", "text-decoration-style", "text-emphasis", "text-emphasis-color", "text-emphasis-position", "text-emphasis-style", "text-height", "text-indent", "text-justify", "text-orientation", "text-outline", "text-overflow", "text-rendering", "text-shadow", "text-size-adjust", "text-space-collapse", "text-transform", "text-underline-position", "text-wrap", "top", "touch-action", "transform", "transform-origin", "transform-style", "transition", "transition-delay", "transition-duration", "transition-property", "transition-timing-function", "translate", "unicode-bidi", "user-select", "vertical-align", "visibility", "voice-balance", "voice-duration", "voice-family", "voice-pitch", "voice-range", "voice-rate", "voice-stress", "voice-volume", "volume", "white-space", "widows", "width", "will-change", "word-break", "word-spacing", "word-wrap", "writing-mode", "z-index", // SVG-specific "clip-path", "clip-rule", "mask", "enable-background", "filter", "flood-color", "flood-opacity", "lighting-color", "stop-color", "stop-opacity", "pointer-events", "color-interpolation", "color-interpolation-filters", "color-rendering", "fill", "fill-opacity", "fill-rule", "image-rendering", "marker", "marker-end", "marker-mid", "marker-start", "paint-order", "shape-rendering", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "text-rendering", "baseline-shift", "dominant-baseline", "glyph-orientation-horizontal", "glyph-orientation-vertical", "text-anchor", "writing-mode"], propertyKeywords = keySet(propertyKeywords_); var nonStandardPropertyKeywords_ = ["accent-color", "aspect-ratio", "border-block", "border-block-color", "border-block-end", "border-block-end-color", "border-block-end-style", "border-block-end-width", "border-block-start", "border-block-start-color", "border-block-start-style", "border-block-start-width", "border-block-style", "border-block-width", "border-inline", "border-inline-color", "border-inline-end", "border-inline-end-color", "border-inline-end-style", "border-inline-end-width", "border-inline-start", "border-inline-start-color", "border-inline-start-style", "border-inline-start-width", "border-inline-style", "border-inline-width", "content-visibility", "margin-block", "margin-block-end", "margin-block-start", "margin-inline", "margin-inline-end", "margin-inline-start", "overflow-anchor", "overscroll-behavior", "padding-block", "padding-block-end", "padding-block-start", "padding-inline", "padding-inline-end", "padding-inline-start", "scroll-snap-stop", "scrollbar-3d-light-color", "scrollbar-arrow-color", "scrollbar-base-color", "scrollbar-dark-shadow-color", "scrollbar-face-color", "scrollbar-highlight-color", "scrollbar-shadow-color", "scrollbar-track-color", "searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button", "searchfield-results-decoration", "shape-inside", "zoom"], nonStandardPropertyKeywords = keySet(nonStandardPropertyKeywords_); var fontProperties_ = ["font-display", "font-family", "src", "unicode-range", "font-variant", "font-feature-settings", "font-stretch", "font-weight", "font-style"], fontProperties = keySet(fontProperties_); var counterDescriptors_ = ["additive-symbols", "fallback", "negative", "pad", "prefix", "range", "speak-as", "suffix", "symbols", "system"], counterDescriptors = keySet(counterDescriptors_); var colorKeywords_ = ["aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "grey", "green", "greenyellow", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen"], colorKeywords = keySet(colorKeywords_); var valueKeywords_ = ["above", "absolute", "activeborder", "additive", "activecaption", "afar", "after-white-space", "ahead", "alias", "all", "all-scroll", "alphabetic", "alternate", "always", "amharic", "amharic-abegede", "antialiased", "appworkspace", "arabic-indic", "armenian", "asterisks", "attr", "auto", "auto-flow", "avoid", "avoid-column", "avoid-page", "avoid-region", "axis-pan", "background", "backwards", "baseline", "below", "bidi-override", "binary", "bengali", "blink", "block", "block-axis", "blur", "bold", "bolder", "border", "border-box", "both", "bottom", "break", "break-all", "break-word", "brightness", "bullets", "button", "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "calc", "cambodian", "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret", "cell", "center", "checkbox", "circle", "cjk-decimal", "cjk-earthly-branch", "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote", "col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "column-reverse", "compact", "condensed", "conic-gradient", "contain", "content", "contents", "content-box", "context-menu", "continuous", "contrast", "copy", "counter", "counters", "cover", "crop", "cross", "crosshair", "cubic-bezier", "currentcolor", "cursive", "cyclic", "darken", "dashed", "decimal", "decimal-leading-zero", "default", "default-button", "dense", "destination-atop", "destination-in", "destination-out", "destination-over", "devanagari", "difference", "disc", "discard", "disclosure-closed", "disclosure-open", "document", "dot-dash", "dot-dot-dash", "dotted", "double", "down", "drop-shadow", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out", "element", "ellipse", "ellipsis", "embed", "end", "ethiopic", "ethiopic-abegede", "ethiopic-abegede-am-et", "ethiopic-abegede-gez", "ethiopic-abegede-ti-er", "ethiopic-abegede-ti-et", "ethiopic-halehame-aa-er", "ethiopic-halehame-aa-et", "ethiopic-halehame-am-et", "ethiopic-halehame-gez", "ethiopic-halehame-om-et", "ethiopic-halehame-sid-et", "ethiopic-halehame-so-et", "ethiopic-halehame-ti-er", "ethiopic-halehame-ti-et", "ethiopic-halehame-tig", "ethiopic-numeric", "ew-resize", "exclusion", "expanded", "extends", "extra-condensed", "extra-expanded", "fantasy", "fast", "fill", "fill-box", "fixed", "flat", "flex", "flex-end", "flex-start", "footnotes", "forwards", "from", "geometricPrecision", "georgian", "grayscale", "graytext", "grid", "groove", "gujarati", "gurmukhi", "hand", "hangul", "hangul-consonant", "hard-light", "hebrew", "help", "hidden", "hide", "higher", "highlight", "highlighttext", "hiragana", "hiragana-iroha", "horizontal", "hsl", "hsla", "hue", "hue-rotate", "icon", "ignore", "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite", "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis", "inline-block", "inline-flex", "inline-grid", "inline-table", "inset", "inside", "intrinsic", "invert", "italic", "japanese-formal", "japanese-informal", "justify", "kannada", "katakana", "katakana-iroha", "keep-all", "khmer", "korean-hangul-formal", "korean-hanja-formal", "korean-hanja-informal", "landscape", "lao", "large", "larger", "left", "level", "lighter", "lighten", "line-through", "linear", "linear-gradient", "lines", "list-item", "listbox", "listitem", "local", "logical", "loud", "lower", "lower-alpha", "lower-armenian", "lower-greek", "lower-hexadecimal", "lower-latin", "lower-norwegian", "lower-roman", "lowercase", "ltr", "luminosity", "malayalam", "manipulation", "match", "matrix", "matrix3d", "media-play-button", "media-slider", "media-sliderthumb", "media-volume-slider", "media-volume-sliderthumb", "medium", "menu", "menulist", "menulist-button", "menutext", "message-box", "middle", "min-intrinsic", "mix", "mongolian", "monospace", "move", "multiple", "multiple_mask_images", "multiply", "myanmar", "n-resize", "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop", "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap", "ns-resize", "numbers", "numeric", "nw-resize", "nwse-resize", "oblique", "octal", "opacity", "open-quote", "optimizeLegibility", "optimizeSpeed", "oriya", "oromo", "outset", "outside", "outside-shape", "overlay", "overline", "padding", "padding-box", "painted", "page", "paused", "persian", "perspective", "pinch-zoom", "plus-darker", "plus-lighter", "pointer", "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "push-button", "radial-gradient", "radio", "read-only", "read-write", "read-write-plaintext-only", "rectangle", "region", "relative", "repeat", "repeating-linear-gradient", "repeating-radial-gradient", "repeating-conic-gradient", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rgba", "ridge", "right", "rotate", "rotate3d", "rotateX", "rotateY", "rotateZ", "round", "row", "row-resize", "row-reverse", "rtl", "run-in", "running", "s-resize", "sans-serif", "saturate", "saturation", "scale", "scale3d", "scaleX", "scaleY", "scaleZ", "screen", "scroll", "scrollbar", "scroll-position", "se-resize", "searchfield", "searchfield-cancel-button", "searchfield-decoration", "searchfield-results-button", "searchfield-results-decoration", "self-start", "self-end", "semi-condensed", "semi-expanded", "separate", "sepia", "serif", "show", "sidama", "simp-chinese-formal", "simp-chinese-informal", "single", "skew", "skewX", "skewY", "skip-white-space", "slide", "slider-horizontal", "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow", "small", "small-caps", "small-caption", "smaller", "soft-light", "solid", "somali", "source-atop", "source-in", "source-out", "source-over", "space", "space-around", "space-between", "space-evenly", "spell-out", "square", "square-button", "start", "static", "status-bar", "stretch", "stroke", "stroke-box", "sub", "subpixel-antialiased", "svg_masks", "super", "sw-resize", "symbolic", "symbols", "system-ui", "table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row", "table-row-group", "tamil", "telugu", "text", "text-bottom", "text-top", "textarea", "textfield", "thai", "thick", "thin", "threeddarkshadow", "threedface", "threedhighlight", "threedlightshadow", "threedshadow", "tibetan", "tigre", "tigrinya-er", "tigrinya-er-abegede", "tigrinya-et", "tigrinya-et-abegede", "to", "top", "trad-chinese-formal", "trad-chinese-informal", "transform", "translate", "translate3d", "translateX", "translateY", "translateZ", "transparent", "ultra-condensed", "ultra-expanded", "underline", "unidirectional-pan", "unset", "up", "upper-alpha", "upper-armenian", "upper-greek", "upper-hexadecimal", "upper-latin", "upper-norwegian", "upper-roman", "uppercase", "urdu", "url", "var", "vertical", "vertical-text", "view-box", "visible", "visibleFill", "visiblePainted", "visibleStroke", "visual", "w-resize", "wait", "wave", "wider", "window", "windowframe", "windowtext", "words", "wrap", "wrap-reverse", "x-large", "x-small", "xor", "xx-large", "xx-small"], valueKeywords = keySet(valueKeywords_); var allWords = documentTypes_.concat(mediaTypes_).concat(mediaFeatures_).concat(mediaValueKeywords_).concat(propertyKeywords_).concat(nonStandardPropertyKeywords_).concat(colorKeywords_).concat(valueKeywords_); CodeMirror.registerHelper("hintWords", "css", allWords); function tokenCComment(stream, state) { var maybeEnd = false, ch; while ((ch = stream.next()) != null) { if (maybeEnd && ch == "/") { state.tokenize = null; break; } maybeEnd = ch == "*"; } return ["comment", "comment"]; } CodeMirror.defineMIME("text/css", { documentTypes: documentTypes, mediaTypes: mediaTypes, mediaFeatures: mediaFeatures, mediaValueKeywords: mediaValueKeywords, propertyKeywords: propertyKeywords, nonStandardPropertyKeywords: nonStandardPropertyKeywords, fontProperties: fontProperties, counterDescriptors: counterDescriptors, colorKeywords: colorKeywords, valueKeywords: valueKeywords, tokenHooks: { "/": function (stream, state) { if (!stream.eat("*")) return false; state.tokenize = tokenCComment; return tokenCComment(stream, state); } }, name: "css" }); CodeMirror.defineMIME("text/x-scss", { mediaTypes: mediaTypes, mediaFeatures: mediaFeatures, mediaValueKeywords: mediaValueKeywords, propertyKeywords: propertyKeywords, nonStandardPropertyKeywords: nonStandardPropertyKeywords, colorKeywords: colorKeywords, valueKeywords: valueKeywords, fontProperties: fontProperties, allowNested: true, lineComment: "//", tokenHooks: { "/": function (stream, state) { if (stream.eat("/")) { stream.skipToEnd(); return ["comment", "comment"]; } else if (stream.eat("*")) { state.tokenize = tokenCComment; return tokenCComment(stream, state); } else { return ["operator", "operator"]; } }, ":": function (stream) { if (stream.match(/^\s*\{/, false)) return [null, null]; return false; }, "$": function (stream) { stream.match(/^[\w-]+/); if (stream.match(/^\s*:/, false)) return ["variable-2", "variable-definition"]; return ["variable-2", "variable"]; }, "#": function (stream) { if (!stream.eat("{")) return false; return [null, "interpolation"]; } }, name: "css", helperType: "scss" }); CodeMirror.defineMIME("text/x-less", { mediaTypes: mediaTypes, mediaFeatures: mediaFeatures, mediaValueKeywords: mediaValueKeywords, propertyKeywords: propertyKeywords, nonStandardPropertyKeywords: nonStandardPropertyKeywords, colorKeywords: colorKeywords, valueKeywords: valueKeywords, fontProperties: fontProperties, allowNested: true, lineComment: "//", tokenHooks: { "/": function (stream, state) { if (stream.eat("/")) { stream.skipToEnd(); return ["comment", "comment"]; } else if (stream.eat("*")) { state.tokenize = tokenCComment; return tokenCComment(stream, state); } else { return ["operator", "operator"]; } }, "@": function (stream) { if (stream.eat("{")) return [null, "interpolation"]; if (stream.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i, false)) return false; stream.eatWhile(/[\w\\\-]/); if (stream.match(/^\s*:/, false)) return ["variable-2", "variable-definition"]; return ["variable-2", "variable"]; }, "&": function () { return ["atom", "atom"]; } }, name: "css", helperType: "less" }); CodeMirror.defineMIME("text/x-gss", { documentTypes: documentTypes, mediaTypes: mediaTypes, mediaFeatures: mediaFeatures, propertyKeywords: propertyKeywords, nonStandardPropertyKeywords: nonStandardPropertyKeywords, fontProperties: fontProperties, counterDescriptors: counterDescriptors, colorKeywords: colorKeywords, valueKeywords: valueKeywords, supportsAtComponent: true, tokenHooks: { "/": function (stream, state) { if (!stream.eat("*")) return false; state.tokenize = tokenCComment; return tokenCComment(stream, state); } }, name: "css", helperType: "gss" }); }); /***/ }), /***/ 43125: /*!***********************************************!*\ !*** ./node_modules/codemirror/mode/go/go.js ***! \***********************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineMode("go", function (config) { var indentUnit = config.indentUnit; var keywords = { "break": true, "case": true, "chan": true, "const": true, "continue": true, "default": true, "defer": true, "else": true, "fallthrough": true, "for": true, "func": true, "go": true, "goto": true, "if": true, "import": true, "interface": true, "map": true, "package": true, "range": true, "return": true, "select": true, "struct": true, "switch": true, "type": true, "var": true, "bool": true, "byte": true, "complex64": true, "complex128": true, "float32": true, "float64": true, "int8": true, "int16": true, "int32": true, "int64": true, "string": true, "uint8": true, "uint16": true, "uint32": true, "uint64": true, "int": true, "uint": true, "uintptr": true, "error": true, "rune": true, "any": true, "comparable": true }; var atoms = { "true": true, "false": true, "iota": true, "nil": true, "append": true, "cap": true, "close": true, "complex": true, "copy": true, "delete": true, "imag": true, "len": true, "make": true, "new": true, "panic": true, "print": true, "println": true, "real": true, "recover": true }; var isOperatorChar = /[+\-*&^%:=<>!|\/]/; var curPunc; function tokenBase(stream, state) { var ch = stream.next(); if (ch == '"' || ch == "'" || ch == "`") { state.tokenize = tokenString(ch); return state.tokenize(stream, state); } if (/[\d\.]/.test(ch)) { if (ch == ".") { stream.match(/^[0-9_]+([eE][\-+]?[0-9_]+)?/); } else if (ch == "0") { stream.match(/^[xX][0-9a-fA-F_]+/) || stream.match(/^[0-7_]+/); } else { stream.match(/^[0-9_]*\.?[0-9_]*([eE][\-+]?[0-9_]+)?/); } return "number"; } if (/[\[\]{}\(\),;\:\.]/.test(ch)) { curPunc = ch; return null; } if (ch == "/") { if (stream.eat("*")) { state.tokenize = tokenComment; return tokenComment(stream, state); } if (stream.eat("/")) { stream.skipToEnd(); return "comment"; } } if (isOperatorChar.test(ch)) { stream.eatWhile(isOperatorChar); return "operator"; } stream.eatWhile(/[\w\$_\xa1-\uffff]/); var cur = stream.current(); if (keywords.propertyIsEnumerable(cur)) { if (cur == "case" || cur == "default") curPunc = "case"; return "keyword"; } if (atoms.propertyIsEnumerable(cur)) return "atom"; return "variable"; } function tokenString(quote) { return function (stream, state) { var escaped = false, next, end = false; while ((next = stream.next()) != null) { if (next == quote && !escaped) { end = true; break; } escaped = !escaped && quote != "`" && next == "\\"; } if (end || !(escaped || quote == "`")) state.tokenize = tokenBase; return "string"; }; } function tokenComment(stream, state) { var maybeEnd = false, ch; while (ch = stream.next()) { if (ch == "/" && maybeEnd) { state.tokenize = tokenBase; break; } maybeEnd = ch == "*"; } return "comment"; } function Context(indented, column, type, align, prev) { this.indented = indented; this.column = column; this.type = type; this.align = align; this.prev = prev; } function pushContext(state, col, type) { return state.context = new Context(state.indented, col, type, null, state.context); } function popContext(state) { if (!state.context.prev) return; var t = state.context.type; if (t == ")" || t == "]" || t == "}") state.indented = state.context.indented; return state.context = state.context.prev; } // Interface return { startState: function (basecolumn) { return { tokenize: null, context: new Context((basecolumn || 0) - indentUnit, 0, "top", false), indented: 0, startOfLine: true }; }, token: function (stream, state) { var ctx = state.context; if (stream.sol()) { if (ctx.align == null) ctx.align = false; state.indented = stream.indentation(); state.startOfLine = true; if (ctx.type == "case") ctx.type = "}"; } if (stream.eatSpace()) return null; curPunc = null; var style = (state.tokenize || tokenBase)(stream, state); if (style == "comment") return style; if (ctx.align == null) ctx.align = true; if (curPunc == "{") pushContext(state, stream.column(), "}");else if (curPunc == "[") pushContext(state, stream.column(), "]");else if (curPunc == "(") pushContext(state, stream.column(), ")");else if (curPunc == "case") ctx.type = "case";else if (curPunc == "}" && ctx.type == "}") popContext(state);else if (curPunc == ctx.type) popContext(state); state.startOfLine = false; return style; }, indent: function (state, textAfter) { if (state.tokenize != tokenBase && state.tokenize != null) return CodeMirror.Pass; var ctx = state.context, firstChar = textAfter && textAfter.charAt(0); if (ctx.type == "case" && /^(?:case|default)\b/.test(textAfter)) { state.context.type = "}"; return ctx.indented; } var closing = firstChar == ctx.type; if (ctx.align) return ctx.column + (closing ? 0 : 1);else return ctx.indented + (closing ? 0 : indentUnit); }, electricChars: "{}):", closeBrackets: "()[]{}''\"\"``", fold: "brace", blockCommentStart: "/*", blockCommentEnd: "*/", lineComment: "//" }; }); CodeMirror.defineMIME("text/x-go", "go"); }); /***/ }), /***/ 42424: /*!*************************************************************!*\ !*** ./node_modules/codemirror/mode/htmlmixed/htmlmixed.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266), __webpack_require__(/*! ../xml/xml */ 97684), __webpack_require__(/*! ../javascript/javascript */ 64166), __webpack_require__(/*! ../css/css */ 73419));else {} })(function (CodeMirror) { "use strict"; var defaultTags = { script: [["lang", /(javascript|babel)/i, "javascript"], ["type", /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i, "javascript"], ["type", /./, "text/plain"], [null, null, "javascript"]], style: [["lang", /^css$/i, "css"], ["type", /^(text\/)?(x-)?(stylesheet|css)$/i, "css"], ["type", /./, "text/plain"], [null, null, "css"]] }; function maybeBackup(stream, pat, style) { var cur = stream.current(), close = cur.search(pat); if (close > -1) { stream.backUp(cur.length - close); } else if (cur.match(/<\/?$/)) { stream.backUp(cur.length); if (!stream.match(pat, false)) stream.match(cur); } return style; } var attrRegexpCache = {}; function getAttrRegexp(attr) { var regexp = attrRegexpCache[attr]; if (regexp) return regexp; return attrRegexpCache[attr] = new RegExp("\\s+" + attr + "\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"); } function getAttrValue(text, attr) { var match = text.match(getAttrRegexp(attr)); return match ? /^\s*(.*?)\s*$/.exec(match[2])[1] : ""; } function getTagRegexp(tagName, anchored) { return new RegExp((anchored ? "^" : "") + "<\/\\s*" + tagName + "\\s*>", "i"); } function addTags(from, to) { for (var tag in from) { var dest = to[tag] || (to[tag] = []); var source = from[tag]; for (var i = source.length - 1; i >= 0; i--) dest.unshift(source[i]); } } function findMatchingMode(tagInfo, tagText) { for (var i = 0; i < tagInfo.length; i++) { var spec = tagInfo[i]; if (!spec[0] || spec[1].test(getAttrValue(tagText, spec[0]))) return spec[2]; } } CodeMirror.defineMode("htmlmixed", function (config, parserConfig) { var htmlMode = CodeMirror.getMode(config, { name: "xml", htmlMode: true, multilineTagIndentFactor: parserConfig.multilineTagIndentFactor, multilineTagIndentPastTag: parserConfig.multilineTagIndentPastTag, allowMissingTagName: parserConfig.allowMissingTagName }); var tags = {}; var configTags = parserConfig && parserConfig.tags, configScript = parserConfig && parserConfig.scriptTypes; addTags(defaultTags, tags); if (configTags) addTags(configTags, tags); if (configScript) for (var i = configScript.length - 1; i >= 0; i--) tags.script.unshift(["type", configScript[i].matches, configScript[i].mode]); function html(stream, state) { var style = htmlMode.token(stream, state.htmlState), tag = /\btag\b/.test(style), tagName; if (tag && !/[<>\s\/]/.test(stream.current()) && (tagName = state.htmlState.tagName && state.htmlState.tagName.toLowerCase()) && tags.hasOwnProperty(tagName)) { state.inTag = tagName + " "; } else if (state.inTag && tag && />$/.test(stream.current())) { var inTag = /^([\S]+) (.*)/.exec(state.inTag); state.inTag = null; var modeSpec = stream.current() == ">" && findMatchingMode(tags[inTag[1]], inTag[2]); var mode = CodeMirror.getMode(config, modeSpec); var endTagA = getTagRegexp(inTag[1], true), endTag = getTagRegexp(inTag[1], false); state.token = function (stream, state) { if (stream.match(endTagA, false)) { state.token = html; state.localState = state.localMode = null; return null; } return maybeBackup(stream, endTag, state.localMode.token(stream, state.localState)); }; state.localMode = mode; state.localState = CodeMirror.startState(mode, htmlMode.indent(state.htmlState, "", "")); } else if (state.inTag) { state.inTag += stream.current(); if (stream.eol()) state.inTag += " "; } return style; } ; return { startState: function () { var state = CodeMirror.startState(htmlMode); return { token: html, inTag: null, localMode: null, localState: null, htmlState: state }; }, copyState: function (state) { var local; if (state.localState) { local = CodeMirror.copyState(state.localMode, state.localState); } return { token: state.token, inTag: state.inTag, localMode: state.localMode, localState: local, htmlState: CodeMirror.copyState(htmlMode, state.htmlState) }; }, token: function (stream, state) { return state.token(stream, state); }, indent: function (state, textAfter, line) { if (!state.localMode || /^\s*<\//.test(textAfter)) return htmlMode.indent(state.htmlState, textAfter, line);else if (state.localMode.indent) return state.localMode.indent(state.localState, textAfter, line);else return CodeMirror.Pass; }, innerMode: function (state) { return { state: state.localState || state.htmlState, mode: state.localMode || htmlMode }; } }; }, "xml", "javascript", "css"); CodeMirror.defineMIME("text/html", "htmlmixed"); }); /***/ }), /***/ 64166: /*!***************************************************************!*\ !*** ./node_modules/codemirror/mode/javascript/javascript.js ***! \***************************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineMode("javascript", function (config, parserConfig) { var indentUnit = config.indentUnit; var statementIndent = parserConfig.statementIndent; var jsonldMode = parserConfig.jsonld; var jsonMode = parserConfig.json || jsonldMode; var trackScope = parserConfig.trackScope !== false; var isTS = parserConfig.typescript; var wordRE = parserConfig.wordCharacters || /[\w$\xa1-\uffff]/; // Tokenizer var keywords = function () { function kw(type) { return { type: type, style: "keyword" }; } var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"), D = kw("keyword d"); var operator = kw("operator"), atom = { type: "atom", style: "atom" }; return { "if": kw("if"), "while": A, "with": A, "else": B, "do": B, "try": B, "finally": B, "return": D, "break": D, "continue": D, "new": kw("new"), "delete": C, "void": C, "throw": C, "debugger": kw("debugger"), "var": kw("var"), "const": kw("var"), "let": kw("var"), "function": kw("function"), "catch": kw("catch"), "for": kw("for"), "switch": kw("switch"), "case": kw("case"), "default": kw("default"), "in": operator, "typeof": operator, "instanceof": operator, "true": atom, "false": atom, "null": atom, "undefined": atom, "NaN": atom, "Infinity": atom, "this": kw("this"), "class": kw("class"), "super": kw("atom"), "yield": C, "export": kw("export"), "import": kw("import"), "extends": C, "await": C }; }(); var isOperatorChar = /[+\-*&%=<>!?|~^@]/; var isJsonldKeyword = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/; function readRegexp(stream) { var escaped = false, next, inSet = false; while ((next = stream.next()) != null) { if (!escaped) { if (next == "/" && !inSet) return; if (next == "[") inSet = true;else if (inSet && next == "]") inSet = false; } escaped = !escaped && next == "\\"; } } // Used as scratch variables to communicate multiple values without // consing up tons of objects. var type, content; function ret(tp, style, cont) { type = tp; content = cont; return style; } function tokenBase(stream, state) { var ch = stream.next(); if (ch == '"' || ch == "'") { state.tokenize = tokenString(ch); return state.tokenize(stream, state); } else if (ch == "." && stream.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/)) { return ret("number", "number"); } else if (ch == "." && stream.match("..")) { return ret("spread", "meta"); } else if (/[\[\]{}\(\),;\:\.]/.test(ch)) { return ret(ch); } else if (ch == "=" && stream.eat(">")) { return ret("=>", "operator"); } else if (ch == "0" && stream.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/)) { return ret("number", "number"); } else if (/\d/.test(ch)) { stream.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/); return ret("number", "number"); } else if (ch == "/") { if (stream.eat("*")) { state.tokenize = tokenComment; return tokenComment(stream, state); } else if (stream.eat("/")) { stream.skipToEnd(); return ret("comment", "comment"); } else if (expressionAllowed(stream, state, 1)) { readRegexp(stream); stream.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/); return ret("regexp", "string-2"); } else { stream.eat("="); return ret("operator", "operator", stream.current()); } } else if (ch == "`") { state.tokenize = tokenQuasi; return tokenQuasi(stream, state); } else if (ch == "#" && stream.peek() == "!") { stream.skipToEnd(); return ret("meta", "meta"); } else if (ch == "#" && stream.eatWhile(wordRE)) { return ret("variable", "property"); } else if (ch == "<" && stream.match("!--") || ch == "-" && stream.match("->") && !/\S/.test(stream.string.slice(0, stream.start))) { stream.skipToEnd(); return ret("comment", "comment"); } else if (isOperatorChar.test(ch)) { if (ch != ">" || !state.lexical || state.lexical.type != ">") { if (stream.eat("=")) { if (ch == "!" || ch == "=") stream.eat("="); } else if (/[<>*+\-|&?]/.test(ch)) { stream.eat(ch); if (ch == ">") stream.eat(ch); } } if (ch == "?" && stream.eat(".")) return ret("."); return ret("operator", "operator", stream.current()); } else if (wordRE.test(ch)) { stream.eatWhile(wordRE); var word = stream.current(); if (state.lastType != ".") { if (keywords.propertyIsEnumerable(word)) { var kw = keywords[word]; return ret(kw.type, kw.style, word); } if (word == "async" && stream.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, false)) return ret("async", "keyword", word); } return ret("variable", "variable", word); } } function tokenString(quote) { return function (stream, state) { var escaped = false, next; if (jsonldMode && stream.peek() == "@" && stream.match(isJsonldKeyword)) { state.tokenize = tokenBase; return ret("jsonld-keyword", "meta"); } while ((next = stream.next()) != null) { if (next == quote && !escaped) break; escaped = !escaped && next == "\\"; } if (!escaped) state.tokenize = tokenBase; return ret("string", "string"); }; } function tokenComment(stream, state) { var maybeEnd = false, ch; while (ch = stream.next()) { if (ch == "/" && maybeEnd) { state.tokenize = tokenBase; break; } maybeEnd = ch == "*"; } return ret("comment", "comment"); } function tokenQuasi(stream, state) { var escaped = false, next; while ((next = stream.next()) != null) { if (!escaped && (next == "`" || next == "$" && stream.eat("{"))) { state.tokenize = tokenBase; break; } escaped = !escaped && next == "\\"; } return ret("quasi", "string-2", stream.current()); } var brackets = "([{}])"; // This is a crude lookahead trick to try and notice that we're // parsing the argument patterns for a fat-arrow function before we // actually hit the arrow token. It only works if the arrow is on // the same line as the arguments and there's no strange noise // (comments) in between. Fallback is to only notice when we hit the // arrow, and not declare the arguments as locals for the arrow // body. function findFatArrow(stream, state) { if (state.fatArrowAt) state.fatArrowAt = null; var arrow = stream.string.indexOf("=>", stream.start); if (arrow < 0) return; if (isTS) { // Try to skip TypeScript return type declarations after the arguments var m = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(stream.string.slice(stream.start, arrow)); if (m) arrow = m.index; } var depth = 0, sawSomething = false; for (var pos = arrow - 1; pos >= 0; --pos) { var ch = stream.string.charAt(pos); var bracket = brackets.indexOf(ch); if (bracket >= 0 && bracket < 3) { if (!depth) { ++pos; break; } if (--depth == 0) { if (ch == "(") sawSomething = true; break; } } else if (bracket >= 3 && bracket < 6) { ++depth; } else if (wordRE.test(ch)) { sawSomething = true; } else if (/["'\/`]/.test(ch)) { for (;; --pos) { if (pos == 0) return; var next = stream.string.charAt(pos - 1); if (next == ch && stream.string.charAt(pos - 2) != "\\") { pos--; break; } } } else if (sawSomething && !depth) { ++pos; break; } } if (sawSomething && !depth) state.fatArrowAt = pos; } // Parser var atomicTypes = { "atom": true, "number": true, "variable": true, "string": true, "regexp": true, "this": true, "import": true, "jsonld-keyword": true }; function JSLexical(indented, column, type, align, prev, info) { this.indented = indented; this.column = column; this.type = type; this.prev = prev; this.info = info; if (align != null) this.align = align; } function inScope(state, varname) { if (!trackScope) return false; for (var v = state.localVars; v; v = v.next) if (v.name == varname) return true; for (var cx = state.context; cx; cx = cx.prev) { for (var v = cx.vars; v; v = v.next) if (v.name == varname) return true; } } function parseJS(state, style, type, content, stream) { var cc = state.cc; // Communicate our context to the combinators. // (Less wasteful than consing up a hundred closures on every call.) cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc; cx.style = style; if (!state.lexical.hasOwnProperty("align")) state.lexical.align = true; while (true) { var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement; if (combinator(type, content)) { while (cc.length && cc[cc.length - 1].lex) cc.pop()(); if (cx.marked) return cx.marked; if (type == "variable" && inScope(state, content)) return "variable-2"; return style; } } } // Combinator utils var cx = { state: null, column: null, marked: null, cc: null }; function pass() { for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]); } function cont() { pass.apply(null, arguments); return true; } function inList(name, list) { for (var v = list; v; v = v.next) if (v.name == name) return true; return false; } function register(varname) { var state = cx.state; cx.marked = "def"; if (!trackScope) return; if (state.context) { if (state.lexical.info == "var" && state.context && state.context.block) { // FIXME function decls are also not block scoped var newContext = registerVarScoped(varname, state.context); if (newContext != null) { state.context = newContext; return; } } else if (!inList(varname, state.localVars)) { state.localVars = new Var(varname, state.localVars); return; } } // Fall through means this is global if (parserConfig.globalVars && !inList(varname, state.globalVars)) state.globalVars = new Var(varname, state.globalVars); } function registerVarScoped(varname, context) { if (!context) { return null; } else if (context.block) { var inner = registerVarScoped(varname, context.prev); if (!inner) return null; if (inner == context.prev) return context; return new Context(inner, context.vars, true); } else if (inList(varname, context.vars)) { return context; } else { return new Context(context.prev, new Var(varname, context.vars), false); } } function isModifier(name) { return name == "public" || name == "private" || name == "protected" || name == "abstract" || name == "readonly"; } // Combinators function Context(prev, vars, block) { this.prev = prev; this.vars = vars; this.block = block; } function Var(name, next) { this.name = name; this.next = next; } var defaultVars = new Var("this", new Var("arguments", null)); function pushcontext() { cx.state.context = new Context(cx.state.context, cx.state.localVars, false); cx.state.localVars = defaultVars; } function pushblockcontext() { cx.state.context = new Context(cx.state.context, cx.state.localVars, true); cx.state.localVars = null; } pushcontext.lex = pushblockcontext.lex = true; function popcontext() { cx.state.localVars = cx.state.context.vars; cx.state.context = cx.state.context.prev; } popcontext.lex = true; function pushlex(type, info) { var result = function () { var state = cx.state, indent = state.indented; if (state.lexical.type == "stat") indent = state.lexical.indented;else for (var outer = state.lexical; outer && outer.type == ")" && outer.align; outer = outer.prev) indent = outer.indented; state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info); }; result.lex = true; return result; } function poplex() { var state = cx.state; if (state.lexical.prev) { if (state.lexical.type == ")") state.indented = state.lexical.indented; state.lexical = state.lexical.prev; } } poplex.lex = true; function expect(wanted) { function exp(type) { if (type == wanted) return cont();else if (wanted == ";" || type == "}" || type == ")" || type == "]") return pass();else return cont(exp); } ; return exp; } function statement(type, value) { if (type == "var") return cont(pushlex("vardef", value), vardef, expect(";"), poplex); if (type == "keyword a") return cont(pushlex("form"), parenExpr, statement, poplex); if (type == "keyword b") return cont(pushlex("form"), statement, poplex); if (type == "keyword d") return cx.stream.match(/^\s*$/, false) ? cont() : cont(pushlex("stat"), maybeexpression, expect(";"), poplex); if (type == "debugger") return cont(expect(";")); if (type == "{") return cont(pushlex("}"), pushblockcontext, block, poplex, popcontext); if (type == ";") return cont(); if (type == "if") { if (cx.state.lexical.info == "else" && cx.state.cc[cx.state.cc.length - 1] == poplex) cx.state.cc.pop()(); return cont(pushlex("form"), parenExpr, statement, poplex, maybeelse); } if (type == "function") return cont(functiondef); if (type == "for") return cont(pushlex("form"), pushblockcontext, forspec, statement, popcontext, poplex); if (type == "class" || isTS && value == "interface") { cx.marked = "keyword"; return cont(pushlex("form", type == "class" ? type : value), className, poplex); } if (type == "variable") { if (isTS && value == "declare") { cx.marked = "keyword"; return cont(statement); } else if (isTS && (value == "module" || value == "enum" || value == "type") && cx.stream.match(/^\s*\w/, false)) { cx.marked = "keyword"; if (value == "enum") return cont(enumdef);else if (value == "type") return cont(typename, expect("operator"), typeexpr, expect(";"));else return cont(pushlex("form"), pattern, expect("{"), pushlex("}"), block, poplex, poplex); } else if (isTS && value == "namespace") { cx.marked = "keyword"; return cont(pushlex("form"), expression, statement, poplex); } else if (isTS && value == "abstract") { cx.marked = "keyword"; return cont(statement); } else { return cont(pushlex("stat"), maybelabel); } } if (type == "switch") return cont(pushlex("form"), parenExpr, expect("{"), pushlex("}", "switch"), pushblockcontext, block, poplex, poplex, popcontext); if (type == "case") return cont(expression, expect(":")); if (type == "default") return cont(expect(":")); if (type == "catch") return cont(pushlex("form"), pushcontext, maybeCatchBinding, statement, poplex, popcontext); if (type == "export") return cont(pushlex("stat"), afterExport, poplex); if (type == "import") return cont(pushlex("stat"), afterImport, poplex); if (type == "async") return cont(statement); if (value == "@") return cont(expression, statement); return pass(pushlex("stat"), expression, expect(";"), poplex); } function maybeCatchBinding(type) { if (type == "(") return cont(funarg, expect(")")); } function expression(type, value) { return expressionInner(type, value, false); } function expressionNoComma(type, value) { return expressionInner(type, value, true); } function parenExpr(type) { if (type != "(") return pass(); return cont(pushlex(")"), maybeexpression, expect(")"), poplex); } function expressionInner(type, value, noComma) { if (cx.state.fatArrowAt == cx.stream.start) { var body = noComma ? arrowBodyNoComma : arrowBody; if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, expect("=>"), body, popcontext);else if (type == "variable") return pass(pushcontext, pattern, expect("=>"), body, popcontext); } var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma; if (atomicTypes.hasOwnProperty(type)) return cont(maybeop); if (type == "function") return cont(functiondef, maybeop); if (type == "class" || isTS && value == "interface") { cx.marked = "keyword"; return cont(pushlex("form"), classExpression, poplex); } if (type == "keyword c" || type == "async") return cont(noComma ? expressionNoComma : expression); if (type == "(") return cont(pushlex(")"), maybeexpression, expect(")"), poplex, maybeop); if (type == "operator" || type == "spread") return cont(noComma ? expressionNoComma : expression); if (type == "[") return cont(pushlex("]"), arrayLiteral, poplex, maybeop); if (type == "{") return contCommasep(objprop, "}", null, maybeop); if (type == "quasi") return pass(quasi, maybeop); if (type == "new") return cont(maybeTarget(noComma)); return cont(); } function maybeexpression(type) { if (type.match(/[;\}\)\],]/)) return pass(); return pass(expression); } function maybeoperatorComma(type, value) { if (type == ",") return cont(maybeexpression); return maybeoperatorNoComma(type, value, false); } function maybeoperatorNoComma(type, value, noComma) { var me = noComma == false ? maybeoperatorComma : maybeoperatorNoComma; var expr = noComma == false ? expression : expressionNoComma; if (type == "=>") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext); if (type == "operator") { if (/\+\+|--/.test(value) || isTS && value == "!") return cont(me); if (isTS && value == "<" && cx.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, false)) return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, me); if (value == "?") return cont(expression, expect(":"), expr); return cont(expr); } if (type == "quasi") { return pass(quasi, me); } if (type == ";") return; if (type == "(") return contCommasep(expressionNoComma, ")", "call", me); if (type == ".") return cont(property, me); if (type == "[") return cont(pushlex("]"), maybeexpression, expect("]"), poplex, me); if (isTS && value == "as") { cx.marked = "keyword"; return cont(typeexpr, me); } if (type == "regexp") { cx.state.lastType = cx.marked = "operator"; cx.stream.backUp(cx.stream.pos - cx.stream.start - 1); return cont(expr); } } function quasi(type, value) { if (type != "quasi") return pass(); if (value.slice(value.length - 2) != "${") return cont(quasi); return cont(maybeexpression, continueQuasi); } function continueQuasi(type) { if (type == "}") { cx.marked = "string-2"; cx.state.tokenize = tokenQuasi; return cont(quasi); } } function arrowBody(type) { findFatArrow(cx.stream, cx.state); return pass(type == "{" ? statement : expression); } function arrowBodyNoComma(type) { findFatArrow(cx.stream, cx.state); return pass(type == "{" ? statement : expressionNoComma); } function maybeTarget(noComma) { return function (type) { if (type == ".") return cont(noComma ? targetNoComma : target);else if (type == "variable" && isTS) return cont(maybeTypeArgs, noComma ? maybeoperatorNoComma : maybeoperatorComma);else return pass(noComma ? expressionNoComma : expression); }; } function target(_, value) { if (value == "target") { cx.marked = "keyword"; return cont(maybeoperatorComma); } } function targetNoComma(_, value) { if (value == "target") { cx.marked = "keyword"; return cont(maybeoperatorNoComma); } } function maybelabel(type) { if (type == ":") return cont(poplex, statement); return pass(maybeoperatorComma, expect(";"), poplex); } function property(type) { if (type == "variable") { cx.marked = "property"; return cont(); } } function objprop(type, value) { if (type == "async") { cx.marked = "property"; return cont(objprop); } else if (type == "variable" || cx.style == "keyword") { cx.marked = "property"; if (value == "get" || value == "set") return cont(getterSetter); var m; // Work around fat-arrow-detection complication for detecting typescript typed arrow params if (isTS && cx.state.fatArrowAt == cx.stream.start && (m = cx.stream.match(/^\s*:\s*/, false))) cx.state.fatArrowAt = cx.stream.pos + m[0].length; return cont(afterprop); } else if (type == "number" || type == "string") { cx.marked = jsonldMode ? "property" : cx.style + " property"; return cont(afterprop); } else if (type == "jsonld-keyword") { return cont(afterprop); } else if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(objprop); } else if (type == "[") { return cont(expression, maybetype, expect("]"), afterprop); } else if (type == "spread") { return cont(expressionNoComma, afterprop); } else if (value == "*") { cx.marked = "keyword"; return cont(objprop); } else if (type == ":") { return pass(afterprop); } } function getterSetter(type) { if (type != "variable") return pass(afterprop); cx.marked = "property"; return cont(functiondef); } function afterprop(type) { if (type == ":") return cont(expressionNoComma); if (type == "(") return pass(functiondef); } function commasep(what, end, sep) { function proceed(type, value) { if (sep ? sep.indexOf(type) > -1 : type == ",") { var lex = cx.state.lexical; if (lex.info == "call") lex.pos = (lex.pos || 0) + 1; return cont(function (type, value) { if (type == end || value == end) return pass(); return pass(what); }, proceed); } if (type == end || value == end) return cont(); if (sep && sep.indexOf(";") > -1) return pass(what); return cont(expect(end)); } return function (type, value) { if (type == end || value == end) return cont(); return pass(what, proceed); }; } function contCommasep(what, end, info) { for (var i = 3; i < arguments.length; i++) cx.cc.push(arguments[i]); return cont(pushlex(end, info), commasep(what, end), poplex); } function block(type) { if (type == "}") return cont(); return pass(statement, block); } function maybetype(type, value) { if (isTS) { if (type == ":") return cont(typeexpr); if (value == "?") return cont(maybetype); } } function maybetypeOrIn(type, value) { if (isTS && (type == ":" || value == "in")) return cont(typeexpr); } function mayberettype(type) { if (isTS && type == ":") { if (cx.stream.match(/^\s*\w+\s+is\b/, false)) return cont(expression, isKW, typeexpr);else return cont(typeexpr); } } function isKW(_, value) { if (value == "is") { cx.marked = "keyword"; return cont(); } } function typeexpr(type, value) { if (value == "keyof" || value == "typeof" || value == "infer" || value == "readonly") { cx.marked = "keyword"; return cont(value == "typeof" ? expressionNoComma : typeexpr); } if (type == "variable" || value == "void") { cx.marked = "type"; return cont(afterType); } if (value == "|" || value == "&") return cont(typeexpr); if (type == "string" || type == "number" || type == "atom") return cont(afterType); if (type == "[") return cont(pushlex("]"), commasep(typeexpr, "]", ","), poplex, afterType); if (type == "{") return cont(pushlex("}"), typeprops, poplex, afterType); if (type == "(") return cont(commasep(typearg, ")"), maybeReturnType, afterType); if (type == "<") return cont(commasep(typeexpr, ">"), typeexpr); if (type == "quasi") { return pass(quasiType, afterType); } } function maybeReturnType(type) { if (type == "=>") return cont(typeexpr); } function typeprops(type) { if (type.match(/[\}\)\]]/)) return cont(); if (type == "," || type == ";") return cont(typeprops); return pass(typeprop, typeprops); } function typeprop(type, value) { if (type == "variable" || cx.style == "keyword") { cx.marked = "property"; return cont(typeprop); } else if (value == "?" || type == "number" || type == "string") { return cont(typeprop); } else if (type == ":") { return cont(typeexpr); } else if (type == "[") { return cont(expect("variable"), maybetypeOrIn, expect("]"), typeprop); } else if (type == "(") { return pass(functiondecl, typeprop); } else if (!type.match(/[;\}\)\],]/)) { return cont(); } } function quasiType(type, value) { if (type != "quasi") return pass(); if (value.slice(value.length - 2) != "${") return cont(quasiType); return cont(typeexpr, continueQuasiType); } function continueQuasiType(type) { if (type == "}") { cx.marked = "string-2"; cx.state.tokenize = tokenQuasi; return cont(quasiType); } } function typearg(type, value) { if (type == "variable" && cx.stream.match(/^\s*[?:]/, false) || value == "?") return cont(typearg); if (type == ":") return cont(typeexpr); if (type == "spread") return cont(typearg); return pass(typeexpr); } function afterType(type, value) { if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType); if (value == "|" || type == "." || value == "&") return cont(typeexpr); if (type == "[") return cont(typeexpr, expect("]"), afterType); if (value == "extends" || value == "implements") { cx.marked = "keyword"; return cont(typeexpr); } if (value == "?") return cont(typeexpr, expect(":"), typeexpr); } function maybeTypeArgs(_, value) { if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType); } function typeparam() { return pass(typeexpr, maybeTypeDefault); } function maybeTypeDefault(_, value) { if (value == "=") return cont(typeexpr); } function vardef(_, value) { if (value == "enum") { cx.marked = "keyword"; return cont(enumdef); } return pass(pattern, maybetype, maybeAssign, vardefCont); } function pattern(type, value) { if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(pattern); } if (type == "variable") { register(value); return cont(); } if (type == "spread") return cont(pattern); if (type == "[") return contCommasep(eltpattern, "]"); if (type == "{") return contCommasep(proppattern, "}"); } function proppattern(type, value) { if (type == "variable" && !cx.stream.match(/^\s*:/, false)) { register(value); return cont(maybeAssign); } if (type == "variable") cx.marked = "property"; if (type == "spread") return cont(pattern); if (type == "}") return pass(); if (type == "[") return cont(expression, expect(']'), expect(':'), proppattern); return cont(expect(":"), pattern, maybeAssign); } function eltpattern() { return pass(pattern, maybeAssign); } function maybeAssign(_type, value) { if (value == "=") return cont(expressionNoComma); } function vardefCont(type) { if (type == ",") return cont(vardef); } function maybeelse(type, value) { if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex); } function forspec(type, value) { if (value == "await") return cont(forspec); if (type == "(") return cont(pushlex(")"), forspec1, poplex); } function forspec1(type) { if (type == "var") return cont(vardef, forspec2); if (type == "variable") return cont(forspec2); return pass(forspec2); } function forspec2(type, value) { if (type == ")") return cont(); if (type == ";") return cont(forspec2); if (value == "in" || value == "of") { cx.marked = "keyword"; return cont(expression, forspec2); } return pass(expression, forspec2); } function functiondef(type, value) { if (value == "*") { cx.marked = "keyword"; return cont(functiondef); } if (type == "variable") { register(value); return cont(functiondef); } if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, statement, popcontext); if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondef); } function functiondecl(type, value) { if (value == "*") { cx.marked = "keyword"; return cont(functiondecl); } if (type == "variable") { register(value); return cont(functiondecl); } if (type == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, popcontext); if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondecl); } function typename(type, value) { if (type == "keyword" || type == "variable") { cx.marked = "type"; return cont(typename); } else if (value == "<") { return cont(pushlex(">"), commasep(typeparam, ">"), poplex); } } function funarg(type, value) { if (value == "@") cont(expression, funarg); if (type == "spread") return cont(funarg); if (isTS && isModifier(value)) { cx.marked = "keyword"; return cont(funarg); } if (isTS && type == "this") return cont(maybetype, maybeAssign); return pass(pattern, maybetype, maybeAssign); } function classExpression(type, value) { // Class expressions may have an optional name. if (type == "variable") return className(type, value); return classNameAfter(type, value); } function className(type, value) { if (type == "variable") { register(value); return cont(classNameAfter); } } function classNameAfter(type, value) { if (value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, classNameAfter); if (value == "extends" || value == "implements" || isTS && type == ",") { if (value == "implements") cx.marked = "keyword"; return cont(isTS ? typeexpr : expression, classNameAfter); } if (type == "{") return cont(pushlex("}"), classBody, poplex); } function classBody(type, value) { if (type == "async" || type == "variable" && (value == "static" || value == "get" || value == "set" || isTS && isModifier(value)) && cx.stream.match(/^\s+#?[\w$\xa1-\uffff]/, false)) { cx.marked = "keyword"; return cont(classBody); } if (type == "variable" || cx.style == "keyword") { cx.marked = "property"; return cont(classfield, classBody); } if (type == "number" || type == "string") return cont(classfield, classBody); if (type == "[") return cont(expression, maybetype, expect("]"), classfield, classBody); if (value == "*") { cx.marked = "keyword"; return cont(classBody); } if (isTS && type == "(") return pass(functiondecl, classBody); if (type == ";" || type == ",") return cont(classBody); if (type == "}") return cont(); if (value == "@") return cont(expression, classBody); } function classfield(type, value) { if (value == "!") return cont(classfield); if (value == "?") return cont(classfield); if (type == ":") return cont(typeexpr, maybeAssign); if (value == "=") return cont(expressionNoComma); var context = cx.state.lexical.prev, isInterface = context && context.info == "interface"; return pass(isInterface ? functiondecl : functiondef); } function afterExport(type, value) { if (value == "*") { cx.marked = "keyword"; return cont(maybeFrom, expect(";")); } if (value == "default") { cx.marked = "keyword"; return cont(expression, expect(";")); } if (type == "{") return cont(commasep(exportField, "}"), maybeFrom, expect(";")); return pass(statement); } function exportField(type, value) { if (value == "as") { cx.marked = "keyword"; return cont(expect("variable")); } if (type == "variable") return pass(expressionNoComma, exportField); } function afterImport(type) { if (type == "string") return cont(); if (type == "(") return pass(expression); if (type == ".") return pass(maybeoperatorComma); return pass(importSpec, maybeMoreImports, maybeFrom); } function importSpec(type, value) { if (type == "{") return contCommasep(importSpec, "}"); if (type == "variable") register(value); if (value == "*") cx.marked = "keyword"; return cont(maybeAs); } function maybeMoreImports(type) { if (type == ",") return cont(importSpec, maybeMoreImports); } function maybeAs(_type, value) { if (value == "as") { cx.marked = "keyword"; return cont(importSpec); } } function maybeFrom(_type, value) { if (value == "from") { cx.marked = "keyword"; return cont(expression); } } function arrayLiteral(type) { if (type == "]") return cont(); return pass(commasep(expressionNoComma, "]")); } function enumdef() { return pass(pushlex("form"), pattern, expect("{"), pushlex("}"), commasep(enummember, "}"), poplex, poplex); } function enummember() { return pass(pattern, maybeAssign); } function isContinuedStatement(state, textAfter) { return state.lastType == "operator" || state.lastType == "," || isOperatorChar.test(textAfter.charAt(0)) || /[,.]/.test(textAfter.charAt(0)); } function expressionAllowed(stream, state, backUp) { return state.tokenize == tokenBase && /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(state.lastType) || state.lastType == "quasi" && /\{\s*$/.test(stream.string.slice(0, stream.pos - (backUp || 0))); } // Interface return { startState: function (basecolumn) { var state = { tokenize: tokenBase, lastType: "sof", cc: [], lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, "block", false), localVars: parserConfig.localVars, context: parserConfig.localVars && new Context(null, null, false), indented: basecolumn || 0 }; if (parserConfig.globalVars && typeof parserConfig.globalVars == "object") state.globalVars = parserConfig.globalVars; return state; }, token: function (stream, state) { if (stream.sol()) { if (!state.lexical.hasOwnProperty("align")) state.lexical.align = false; state.indented = stream.indentation(); findFatArrow(stream, state); } if (state.tokenize != tokenComment && stream.eatSpace()) return null; var style = state.tokenize(stream, state); if (type == "comment") return style; state.lastType = type == "operator" && (content == "++" || content == "--") ? "incdec" : type; return parseJS(state, style, type, content, stream); }, indent: function (state, textAfter) { if (state.tokenize == tokenComment || state.tokenize == tokenQuasi) return CodeMirror.Pass; if (state.tokenize != tokenBase) return 0; var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical, top; // Kludge to prevent 'maybelse' from blocking lexical scope pops if (!/^\s*else\b/.test(textAfter)) for (var i = state.cc.length - 1; i >= 0; --i) { var c = state.cc[i]; if (c == poplex) lexical = lexical.prev;else if (c != maybeelse && c != popcontext) break; } while ((lexical.type == "stat" || lexical.type == "form") && (firstChar == "}" || (top = state.cc[state.cc.length - 1]) && (top == maybeoperatorComma || top == maybeoperatorNoComma) && !/^[,\.=+\-*:?[\(]/.test(textAfter))) lexical = lexical.prev; if (statementIndent && lexical.type == ")" && lexical.prev.type == "stat") lexical = lexical.prev; var type = lexical.type, closing = firstChar == type; if (type == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info.length + 1 : 0);else if (type == "form" && firstChar == "{") return lexical.indented;else if (type == "form") return lexical.indented + indentUnit;else if (type == "stat") return lexical.indented + (isContinuedStatement(state, textAfter) ? statementIndent || indentUnit : 0);else if (lexical.info == "switch" && !closing && parserConfig.doubleIndentSwitch != false) return lexical.indented + (/^(?:case|default)\b/.test(textAfter) ? indentUnit : 2 * indentUnit);else if (lexical.align) return lexical.column + (closing ? 0 : 1);else return lexical.indented + (closing ? 0 : indentUnit); }, electricInput: /^\s*(?:case .*?:|default:|\{|\})$/, blockCommentStart: jsonMode ? null : "/*", blockCommentEnd: jsonMode ? null : "*/", blockCommentContinue: jsonMode ? null : " * ", lineComment: jsonMode ? null : "//", fold: "brace", closeBrackets: "()[]{}''\"\"``", helperType: jsonMode ? "json" : "javascript", jsonldMode: jsonldMode, jsonMode: jsonMode, expressionAllowed: expressionAllowed, skipExpression: function (state) { parseJS(state, "atom", "atom", "true", new CodeMirror.StringStream("", 2, null)); } }; }); CodeMirror.registerHelper("wordChars", "javascript", /[\w$]/); CodeMirror.defineMIME("text/javascript", "javascript"); CodeMirror.defineMIME("text/ecmascript", "javascript"); CodeMirror.defineMIME("application/javascript", "javascript"); CodeMirror.defineMIME("application/x-javascript", "javascript"); CodeMirror.defineMIME("application/ecmascript", "javascript"); CodeMirror.defineMIME("application/json", { name: "javascript", json: true }); CodeMirror.defineMIME("application/x-json", { name: "javascript", json: true }); CodeMirror.defineMIME("application/manifest+json", { name: "javascript", json: true }); CodeMirror.defineMIME("application/ld+json", { name: "javascript", jsonld: true }); CodeMirror.defineMIME("text/typescript", { name: "javascript", typescript: true }); CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true }); }); /***/ }), /***/ 50521: /*!***********************************************************!*\ !*** ./node_modules/codemirror/mode/markdown/markdown.js ***! \***********************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266), __webpack_require__(/*! ../xml/xml */ 97684), __webpack_require__(/*! ../meta */ 68834));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineMode("markdown", function (cmCfg, modeCfg) { var htmlMode = CodeMirror.getMode(cmCfg, "text/html"); var htmlModeMissing = htmlMode.name == "null"; function getMode(name) { if (CodeMirror.findModeByName) { var found = CodeMirror.findModeByName(name); if (found) name = found.mime || found.mimes[0]; } var mode = CodeMirror.getMode(cmCfg, name); return mode.name == "null" ? null : mode; } // Should characters that affect highlighting be highlighted separate? // Does not include characters that will be output (such as `1.` and `-` for lists) if (modeCfg.highlightFormatting === undefined) modeCfg.highlightFormatting = false; // Maximum number of nested blockquotes. Set to 0 for infinite nesting. // Excess `>` will emit `error` token. if (modeCfg.maxBlockquoteDepth === undefined) modeCfg.maxBlockquoteDepth = 0; // Turn on task lists? ("- [ ] " and "- [x] ") if (modeCfg.taskLists === undefined) modeCfg.taskLists = false; // Turn on strikethrough syntax if (modeCfg.strikethrough === undefined) modeCfg.strikethrough = false; if (modeCfg.emoji === undefined) modeCfg.emoji = false; if (modeCfg.fencedCodeBlockHighlighting === undefined) modeCfg.fencedCodeBlockHighlighting = true; if (modeCfg.fencedCodeBlockDefaultMode === undefined) modeCfg.fencedCodeBlockDefaultMode = 'text/plain'; if (modeCfg.xml === undefined) modeCfg.xml = true; // Allow token types to be overridden by user-provided token types. if (modeCfg.tokenTypeOverrides === undefined) modeCfg.tokenTypeOverrides = {}; var tokenTypes = { header: "header", code: "comment", quote: "quote", list1: "variable-2", list2: "variable-3", list3: "keyword", hr: "hr", image: "image", imageAltText: "image-alt-text", imageMarker: "image-marker", formatting: "formatting", linkInline: "link", linkEmail: "link", linkText: "link", linkHref: "string", em: "em", strong: "strong", strikethrough: "strikethrough", emoji: "builtin" }; for (var tokenType in tokenTypes) { if (tokenTypes.hasOwnProperty(tokenType) && modeCfg.tokenTypeOverrides[tokenType]) { tokenTypes[tokenType] = modeCfg.tokenTypeOverrides[tokenType]; } } var hrRE = /^([*\-_])(?:\s*\1){2,}\s*$/, listRE = /^(?:[*\-+]|^[0-9]+([.)]))\s+/, taskListRE = /^\[(x| )\](?=\s)/i // Must follow listRE , atxHeaderRE = modeCfg.allowAtxHeaderWithoutSpace ? /^(#+)/ : /^(#+)(?: |$)/, setextHeaderRE = /^ {0,3}(?:\={1,}|-{2,})\s*$/, textRE = /^[^#!\[\]*_\\<>` "'(~:]+/, fencedCodeRE = /^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/, linkDefRE = /^\s*\[[^\]]+?\]:.*$/ // naive link-definition , punctuation = /[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/, expandedTab = " "; // CommonMark specifies tab as 4 spaces function switchInline(stream, state, f) { state.f = state.inline = f; return f(stream, state); } function switchBlock(stream, state, f) { state.f = state.block = f; return f(stream, state); } function lineIsEmpty(line) { return !line || !/\S/.test(line.string); } // Blocks function blankLine(state) { // Reset linkTitle state state.linkTitle = false; state.linkHref = false; state.linkText = false; // Reset EM state state.em = false; // Reset STRONG state state.strong = false; // Reset strikethrough state state.strikethrough = false; // Reset state.quote state.quote = 0; // Reset state.indentedCode state.indentedCode = false; if (state.f == htmlBlock) { var exit = htmlModeMissing; if (!exit) { var inner = CodeMirror.innerMode(htmlMode, state.htmlState); exit = inner.mode.name == "xml" && inner.state.tagStart === null && !inner.state.context && inner.state.tokenize.isInText; } if (exit) { state.f = inlineNormal; state.block = blockNormal; state.htmlState = null; } } // Reset state.trailingSpace state.trailingSpace = 0; state.trailingSpaceNewLine = false; // Mark this line as blank state.prevLine = state.thisLine; state.thisLine = { stream: null }; return null; } function blockNormal(stream, state) { var firstTokenOnLine = stream.column() === state.indentation; var prevLineLineIsEmpty = lineIsEmpty(state.prevLine.stream); var prevLineIsIndentedCode = state.indentedCode; var prevLineIsHr = state.prevLine.hr; var prevLineIsList = state.list !== false; var maxNonCodeIndentation = (state.listStack[state.listStack.length - 1] || 0) + 3; state.indentedCode = false; var lineIndentation = state.indentation; // compute once per line (on first token) if (state.indentationDiff === null) { state.indentationDiff = state.indentation; if (prevLineIsList) { state.list = null; // While this list item's marker's indentation is less than the deepest // list item's content's indentation,pop the deepest list item // indentation off the stack, and update block indentation state while (lineIndentation < state.listStack[state.listStack.length - 1]) { state.listStack.pop(); if (state.listStack.length) { state.indentation = state.listStack[state.listStack.length - 1]; // less than the first list's indent -> the line is no longer a list } else { state.list = false; } } if (state.list !== false) { state.indentationDiff = lineIndentation - state.listStack[state.listStack.length - 1]; } } } // not comprehensive (currently only for setext detection purposes) var allowsInlineContinuation = !prevLineLineIsEmpty && !prevLineIsHr && !state.prevLine.header && (!prevLineIsList || !prevLineIsIndentedCode) && !state.prevLine.fencedCodeEnd; var isHr = (state.list === false || prevLineIsHr || prevLineLineIsEmpty) && state.indentation <= maxNonCodeIndentation && stream.match(hrRE); var match = null; if (state.indentationDiff >= 4 && (prevLineIsIndentedCode || state.prevLine.fencedCodeEnd || state.prevLine.header || prevLineLineIsEmpty)) { stream.skipToEnd(); state.indentedCode = true; return tokenTypes.code; } else if (stream.eatSpace()) { return null; } else if (firstTokenOnLine && state.indentation <= maxNonCodeIndentation && (match = stream.match(atxHeaderRE)) && match[1].length <= 6) { state.quote = 0; state.header = match[1].length; state.thisLine.header = true; if (modeCfg.highlightFormatting) state.formatting = "header"; state.f = state.inline; return getType(state); } else if (state.indentation <= maxNonCodeIndentation && stream.eat('>')) { state.quote = firstTokenOnLine ? 1 : state.quote + 1; if (modeCfg.highlightFormatting) state.formatting = "quote"; stream.eatSpace(); return getType(state); } else if (!isHr && !state.setext && firstTokenOnLine && state.indentation <= maxNonCodeIndentation && (match = stream.match(listRE))) { var listType = match[1] ? "ol" : "ul"; state.indentation = lineIndentation + stream.current().length; state.list = true; state.quote = 0; // Add this list item's content's indentation to the stack state.listStack.push(state.indentation); // Reset inline styles which shouldn't propagate across list items state.em = false; state.strong = false; state.code = false; state.strikethrough = false; if (modeCfg.taskLists && stream.match(taskListRE, false)) { state.taskList = true; } state.f = state.inline; if (modeCfg.highlightFormatting) state.formatting = ["list", "list-" + listType]; return getType(state); } else if (firstTokenOnLine && state.indentation <= maxNonCodeIndentation && (match = stream.match(fencedCodeRE, true))) { state.quote = 0; state.fencedEndRE = new RegExp(match[1] + "+ *$"); // try switching mode state.localMode = modeCfg.fencedCodeBlockHighlighting && getMode(match[2] || modeCfg.fencedCodeBlockDefaultMode); if (state.localMode) state.localState = CodeMirror.startState(state.localMode); state.f = state.block = local; if (modeCfg.highlightFormatting) state.formatting = "code-block"; state.code = -1; return getType(state); // SETEXT has lowest block-scope precedence after HR, so check it after // the others (code, blockquote, list...) } else if ( // if setext set, indicates line after ---/=== state.setext || // line before ---/=== (!allowsInlineContinuation || !prevLineIsList) && !state.quote && state.list === false && !state.code && !isHr && !linkDefRE.test(stream.string) && (match = stream.lookAhead(1)) && (match = match.match(setextHeaderRE))) { if (!state.setext) { state.header = match[0].charAt(0) == '=' ? 1 : 2; state.setext = state.header; } else { state.header = state.setext; // has no effect on type so we can reset it now state.setext = 0; stream.skipToEnd(); if (modeCfg.highlightFormatting) state.formatting = "header"; } state.thisLine.header = true; state.f = state.inline; return getType(state); } else if (isHr) { stream.skipToEnd(); state.hr = true; state.thisLine.hr = true; return tokenTypes.hr; } else if (stream.peek() === '[') { return switchInline(stream, state, footnoteLink); } return switchInline(stream, state, state.inline); } function htmlBlock(stream, state) { var style = htmlMode.token(stream, state.htmlState); if (!htmlModeMissing) { var inner = CodeMirror.innerMode(htmlMode, state.htmlState); if (inner.mode.name == "xml" && inner.state.tagStart === null && !inner.state.context && inner.state.tokenize.isInText || state.md_inside && stream.current().indexOf(">") > -1) { state.f = inlineNormal; state.block = blockNormal; state.htmlState = null; } } return style; } function local(stream, state) { var currListInd = state.listStack[state.listStack.length - 1] || 0; var hasExitedList = state.indentation < currListInd; var maxFencedEndInd = currListInd + 3; if (state.fencedEndRE && state.indentation <= maxFencedEndInd && (hasExitedList || stream.match(state.fencedEndRE))) { if (modeCfg.highlightFormatting) state.formatting = "code-block"; var returnType; if (!hasExitedList) returnType = getType(state); state.localMode = state.localState = null; state.block = blockNormal; state.f = inlineNormal; state.fencedEndRE = null; state.code = 0; state.thisLine.fencedCodeEnd = true; if (hasExitedList) return switchBlock(stream, state, state.block); return returnType; } else if (state.localMode) { return state.localMode.token(stream, state.localState); } else { stream.skipToEnd(); return tokenTypes.code; } } // Inline function getType(state) { var styles = []; if (state.formatting) { styles.push(tokenTypes.formatting); if (typeof state.formatting === "string") state.formatting = [state.formatting]; for (var i = 0; i < state.formatting.length; i++) { styles.push(tokenTypes.formatting + "-" + state.formatting[i]); if (state.formatting[i] === "header") { styles.push(tokenTypes.formatting + "-" + state.formatting[i] + "-" + state.header); } // Add `formatting-quote` and `formatting-quote-#` for blockquotes // Add `error` instead if the maximum blockquote nesting depth is passed if (state.formatting[i] === "quote") { if (!modeCfg.maxBlockquoteDepth || modeCfg.maxBlockquoteDepth >= state.quote) { styles.push(tokenTypes.formatting + "-" + state.formatting[i] + "-" + state.quote); } else { styles.push("error"); } } } } if (state.taskOpen) { styles.push("meta"); return styles.length ? styles.join(' ') : null; } if (state.taskClosed) { styles.push("property"); return styles.length ? styles.join(' ') : null; } if (state.linkHref) { styles.push(tokenTypes.linkHref, "url"); } else { // Only apply inline styles to non-url text if (state.strong) { styles.push(tokenTypes.strong); } if (state.em) { styles.push(tokenTypes.em); } if (state.strikethrough) { styles.push(tokenTypes.strikethrough); } if (state.emoji) { styles.push(tokenTypes.emoji); } if (state.linkText) { styles.push(tokenTypes.linkText); } if (state.code) { styles.push(tokenTypes.code); } if (state.image) { styles.push(tokenTypes.image); } if (state.imageAltText) { styles.push(tokenTypes.imageAltText, "link"); } if (state.imageMarker) { styles.push(tokenTypes.imageMarker); } } if (state.header) { styles.push(tokenTypes.header, tokenTypes.header + "-" + state.header); } if (state.quote) { styles.push(tokenTypes.quote); // Add `quote-#` where the maximum for `#` is modeCfg.maxBlockquoteDepth if (!modeCfg.maxBlockquoteDepth || modeCfg.maxBlockquoteDepth >= state.quote) { styles.push(tokenTypes.quote + "-" + state.quote); } else { styles.push(tokenTypes.quote + "-" + modeCfg.maxBlockquoteDepth); } } if (state.list !== false) { var listMod = (state.listStack.length - 1) % 3; if (!listMod) { styles.push(tokenTypes.list1); } else if (listMod === 1) { styles.push(tokenTypes.list2); } else { styles.push(tokenTypes.list3); } } if (state.trailingSpaceNewLine) { styles.push("trailing-space-new-line"); } else if (state.trailingSpace) { styles.push("trailing-space-" + (state.trailingSpace % 2 ? "a" : "b")); } return styles.length ? styles.join(' ') : null; } function handleText(stream, state) { if (stream.match(textRE, true)) { return getType(state); } return undefined; } function inlineNormal(stream, state) { var style = state.text(stream, state); if (typeof style !== 'undefined') return style; if (state.list) { // List marker (*, +, -, 1., etc) state.list = null; return getType(state); } if (state.taskList) { var taskOpen = stream.match(taskListRE, true)[1] === " "; if (taskOpen) state.taskOpen = true;else state.taskClosed = true; if (modeCfg.highlightFormatting) state.formatting = "task"; state.taskList = false; return getType(state); } state.taskOpen = false; state.taskClosed = false; if (state.header && stream.match(/^#+$/, true)) { if (modeCfg.highlightFormatting) state.formatting = "header"; return getType(state); } var ch = stream.next(); // Matches link titles present on next line if (state.linkTitle) { state.linkTitle = false; var matchCh = ch; if (ch === '(') { matchCh = ')'; } matchCh = (matchCh + '').replace(/([.?*+^\[\]\\(){}|-])/g, "\\$1"); var regex = '^\\s*(?:[^' + matchCh + '\\\\]+|\\\\\\\\|\\\\.)' + matchCh; if (stream.match(new RegExp(regex), true)) { return tokenTypes.linkHref; } } // If this block is changed, it may need to be updated in GFM mode if (ch === '`') { var previousFormatting = state.formatting; if (modeCfg.highlightFormatting) state.formatting = "code"; stream.eatWhile('`'); var count = stream.current().length; if (state.code == 0 && (!state.quote || count == 1)) { state.code = count; return getType(state); } else if (count == state.code) { // Must be exact var t = getType(state); state.code = 0; return t; } else { state.formatting = previousFormatting; return getType(state); } } else if (state.code) { return getType(state); } if (ch === '\\') { stream.next(); if (modeCfg.highlightFormatting) { var type = getType(state); var formattingEscape = tokenTypes.formatting + "-escape"; return type ? type + " " + formattingEscape : formattingEscape; } } if (ch === '!' && stream.match(/\[[^\]]*\] ?(?:\(|\[)/, false)) { state.imageMarker = true; state.image = true; if (modeCfg.highlightFormatting) state.formatting = "image"; return getType(state); } if (ch === '[' && state.imageMarker && stream.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/, false)) { state.imageMarker = false; state.imageAltText = true; if (modeCfg.highlightFormatting) state.formatting = "image"; return getType(state); } if (ch === ']' && state.imageAltText) { if (modeCfg.highlightFormatting) state.formatting = "image"; var type = getType(state); state.imageAltText = false; state.image = false; state.inline = state.f = linkHref; return type; } if (ch === '[' && !state.image) { if (state.linkText && stream.match(/^.*?\]/)) return getType(state); state.linkText = true; if (modeCfg.highlightFormatting) state.formatting = "link"; return getType(state); } if (ch === ']' && state.linkText) { if (modeCfg.highlightFormatting) state.formatting = "link"; var type = getType(state); state.linkText = false; state.inline = state.f = stream.match(/\(.*?\)| ?\[.*?\]/, false) ? linkHref : inlineNormal; return type; } if (ch === '<' && stream.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/, false)) { state.f = state.inline = linkInline; if (modeCfg.highlightFormatting) state.formatting = "link"; var type = getType(state); if (type) { type += " "; } else { type = ""; } return type + tokenTypes.linkInline; } if (ch === '<' && stream.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/, false)) { state.f = state.inline = linkInline; if (modeCfg.highlightFormatting) state.formatting = "link"; var type = getType(state); if (type) { type += " "; } else { type = ""; } return type + tokenTypes.linkEmail; } if (modeCfg.xml && ch === '<' && stream.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i, false)) { var end = stream.string.indexOf(">", stream.pos); if (end != -1) { var atts = stream.string.substring(stream.start, end); if (/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(atts)) state.md_inside = true; } stream.backUp(1); state.htmlState = CodeMirror.startState(htmlMode); return switchBlock(stream, state, htmlBlock); } if (modeCfg.xml && ch === '<' && stream.match(/^\/\w*?>/)) { state.md_inside = false; return "tag"; } else if (ch === "*" || ch === "_") { var len = 1, before = stream.pos == 1 ? " " : stream.string.charAt(stream.pos - 2); while (len < 3 && stream.eat(ch)) len++; var after = stream.peek() || " "; // See http://spec.commonmark.org/0.27/#emphasis-and-strong-emphasis var leftFlanking = !/\s/.test(after) && (!punctuation.test(after) || /\s/.test(before) || punctuation.test(before)); var rightFlanking = !/\s/.test(before) && (!punctuation.test(before) || /\s/.test(after) || punctuation.test(after)); var setEm = null, setStrong = null; if (len % 2) { // Em if (!state.em && leftFlanking && (ch === "*" || !rightFlanking || punctuation.test(before))) setEm = true;else if (state.em == ch && rightFlanking && (ch === "*" || !leftFlanking || punctuation.test(after))) setEm = false; } if (len > 1) { // Strong if (!state.strong && leftFlanking && (ch === "*" || !rightFlanking || punctuation.test(before))) setStrong = true;else if (state.strong == ch && rightFlanking && (ch === "*" || !leftFlanking || punctuation.test(after))) setStrong = false; } if (setStrong != null || setEm != null) { if (modeCfg.highlightFormatting) state.formatting = setEm == null ? "strong" : setStrong == null ? "em" : "strong em"; if (setEm === true) state.em = ch; if (setStrong === true) state.strong = ch; var t = getType(state); if (setEm === false) state.em = false; if (setStrong === false) state.strong = false; return t; } } else if (ch === ' ') { if (stream.eat('*') || stream.eat('_')) { // Probably surrounded by spaces if (stream.peek() === ' ') { // Surrounded by spaces, ignore return getType(state); } else { // Not surrounded by spaces, back up pointer stream.backUp(1); } } } if (modeCfg.strikethrough) { if (ch === '~' && stream.eatWhile(ch)) { if (state.strikethrough) { // Remove strikethrough if (modeCfg.highlightFormatting) state.formatting = "strikethrough"; var t = getType(state); state.strikethrough = false; return t; } else if (stream.match(/^[^\s]/, false)) { // Add strikethrough state.strikethrough = true; if (modeCfg.highlightFormatting) state.formatting = "strikethrough"; return getType(state); } } else if (ch === ' ') { if (stream.match('~~', true)) { // Probably surrounded by space if (stream.peek() === ' ') { // Surrounded by spaces, ignore return getType(state); } else { // Not surrounded by spaces, back up pointer stream.backUp(2); } } } } if (modeCfg.emoji && ch === ":" && stream.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)) { state.emoji = true; if (modeCfg.highlightFormatting) state.formatting = "emoji"; var retType = getType(state); state.emoji = false; return retType; } if (ch === ' ') { if (stream.match(/^ +$/, false)) { state.trailingSpace++; } else if (state.trailingSpace) { state.trailingSpaceNewLine = true; } } return getType(state); } function linkInline(stream, state) { var ch = stream.next(); if (ch === ">") { state.f = state.inline = inlineNormal; if (modeCfg.highlightFormatting) state.formatting = "link"; var type = getType(state); if (type) { type += " "; } else { type = ""; } return type + tokenTypes.linkInline; } stream.match(/^[^>]+/, true); return tokenTypes.linkInline; } function linkHref(stream, state) { // Check if space, and return NULL if so (to avoid marking the space) if (stream.eatSpace()) { return null; } var ch = stream.next(); if (ch === '(' || ch === '[') { state.f = state.inline = getLinkHrefInside(ch === "(" ? ")" : "]"); if (modeCfg.highlightFormatting) state.formatting = "link-string"; state.linkHref = true; return getType(state); } return 'error'; } var linkRE = { ")": /^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/, "]": /^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/ }; function getLinkHrefInside(endChar) { return function (stream, state) { var ch = stream.next(); if (ch === endChar) { state.f = state.inline = inlineNormal; if (modeCfg.highlightFormatting) state.formatting = "link-string"; var returnState = getType(state); state.linkHref = false; return returnState; } stream.match(linkRE[endChar]); state.linkHref = true; return getType(state); }; } function footnoteLink(stream, state) { if (stream.match(/^([^\]\\]|\\.)*\]:/, false)) { state.f = footnoteLinkInside; stream.next(); // Consume [ if (modeCfg.highlightFormatting) state.formatting = "link"; state.linkText = true; return getType(state); } return switchInline(stream, state, inlineNormal); } function footnoteLinkInside(stream, state) { if (stream.match(']:', true)) { state.f = state.inline = footnoteUrl; if (modeCfg.highlightFormatting) state.formatting = "link"; var returnType = getType(state); state.linkText = false; return returnType; } stream.match(/^([^\]\\]|\\.)+/, true); return tokenTypes.linkText; } function footnoteUrl(stream, state) { // Check if space, and return NULL if so (to avoid marking the space) if (stream.eatSpace()) { return null; } // Match URL stream.match(/^[^\s]+/, true); // Check for link title if (stream.peek() === undefined) { // End of line, set flag to check next line state.linkTitle = true; } else { // More content on line, check if link title stream.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/, true); } state.f = state.inline = inlineNormal; return tokenTypes.linkHref + " url"; } var mode = { startState: function () { return { f: blockNormal, prevLine: { stream: null }, thisLine: { stream: null }, block: blockNormal, htmlState: null, indentation: 0, inline: inlineNormal, text: handleText, formatting: false, linkText: false, linkHref: false, linkTitle: false, code: 0, em: false, strong: false, header: 0, setext: 0, hr: false, taskList: false, list: false, listStack: [], quote: 0, trailingSpace: 0, trailingSpaceNewLine: false, strikethrough: false, emoji: false, fencedEndRE: null }; }, copyState: function (s) { return { f: s.f, prevLine: s.prevLine, thisLine: s.thisLine, block: s.block, htmlState: s.htmlState && CodeMirror.copyState(htmlMode, s.htmlState), indentation: s.indentation, localMode: s.localMode, localState: s.localMode ? CodeMirror.copyState(s.localMode, s.localState) : null, inline: s.inline, text: s.text, formatting: false, linkText: s.linkText, linkTitle: s.linkTitle, linkHref: s.linkHref, code: s.code, em: s.em, strong: s.strong, strikethrough: s.strikethrough, emoji: s.emoji, header: s.header, setext: s.setext, hr: s.hr, taskList: s.taskList, list: s.list, listStack: s.listStack.slice(0), quote: s.quote, indentedCode: s.indentedCode, trailingSpace: s.trailingSpace, trailingSpaceNewLine: s.trailingSpaceNewLine, md_inside: s.md_inside, fencedEndRE: s.fencedEndRE }; }, token: function (stream, state) { // Reset state.formatting state.formatting = false; if (stream != state.thisLine.stream) { state.header = 0; state.hr = false; if (stream.match(/^\s*$/, true)) { blankLine(state); return null; } state.prevLine = state.thisLine; state.thisLine = { stream: stream }; // Reset state.taskList state.taskList = false; // Reset state.trailingSpace state.trailingSpace = 0; state.trailingSpaceNewLine = false; if (!state.localState) { state.f = state.block; if (state.f != htmlBlock) { var indentation = stream.match(/^\s*/, true)[0].replace(/\t/g, expandedTab).length; state.indentation = indentation; state.indentationDiff = null; if (indentation > 0) return null; } } } return state.f(stream, state); }, innerMode: function (state) { if (state.block == htmlBlock) return { state: state.htmlState, mode: htmlMode }; if (state.localState) return { state: state.localState, mode: state.localMode }; return { state: state, mode: mode }; }, indent: function (state, textAfter, line) { if (state.block == htmlBlock && htmlMode.indent) return htmlMode.indent(state.htmlState, textAfter, line); if (state.localState && state.localMode.indent) return state.localMode.indent(state.localState, textAfter, line); return CodeMirror.Pass; }, blankLine: blankLine, getType: getType, blockCommentStart: "", closeBrackets: "()[]{}''\"\"``", fold: "markdown" }; return mode; }, "xml"); CodeMirror.defineMIME("text/markdown", "markdown"); CodeMirror.defineMIME("text/x-markdown", "markdown"); }); /***/ }), /***/ 68834: /*!**********************************************!*\ !*** ./node_modules/codemirror/mode/meta.js ***! \**********************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; CodeMirror.modeInfo = [{ name: "APL", mime: "text/apl", mode: "apl", ext: ["dyalog", "apl"] }, { name: "PGP", mimes: ["application/pgp", "application/pgp-encrypted", "application/pgp-keys", "application/pgp-signature"], mode: "asciiarmor", ext: ["asc", "pgp", "sig"] }, { name: "ASN.1", mime: "text/x-ttcn-asn", mode: "asn.1", ext: ["asn", "asn1"] }, { name: "Asterisk", mime: "text/x-asterisk", mode: "asterisk", file: /^extensions\.conf$/i }, { name: "Brainfuck", mime: "text/x-brainfuck", mode: "brainfuck", ext: ["b", "bf"] }, { name: "C", mime: "text/x-csrc", mode: "clike", ext: ["c", "h", "ino"] }, { name: "C++", mime: "text/x-c++src", mode: "clike", ext: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"], alias: ["cpp"] }, { name: "Cobol", mime: "text/x-cobol", mode: "cobol", ext: ["cob", "cpy", "cbl"] }, { name: "C#", mime: "text/x-csharp", mode: "clike", ext: ["cs"], alias: ["csharp", "cs"] }, { name: "Clojure", mime: "text/x-clojure", mode: "clojure", ext: ["clj", "cljc", "cljx"] }, { name: "ClojureScript", mime: "text/x-clojurescript", mode: "clojure", ext: ["cljs"] }, { name: "Closure Stylesheets (GSS)", mime: "text/x-gss", mode: "css", ext: ["gss"] }, { name: "CMake", mime: "text/x-cmake", mode: "cmake", ext: ["cmake", "cmake.in"], file: /^CMakeLists\.txt$/ }, { name: "CoffeeScript", mimes: ["application/vnd.coffeescript", "text/coffeescript", "text/x-coffeescript"], mode: "coffeescript", ext: ["coffee"], alias: ["coffee", "coffee-script"] }, { name: "Common Lisp", mime: "text/x-common-lisp", mode: "commonlisp", ext: ["cl", "lisp", "el"], alias: ["lisp"] }, { name: "Cypher", mime: "application/x-cypher-query", mode: "cypher", ext: ["cyp", "cypher"] }, { name: "Cython", mime: "text/x-cython", mode: "python", ext: ["pyx", "pxd", "pxi"] }, { name: "Crystal", mime: "text/x-crystal", mode: "crystal", ext: ["cr"] }, { name: "CSS", mime: "text/css", mode: "css", ext: ["css"] }, { name: "CQL", mime: "text/x-cassandra", mode: "sql", ext: ["cql"] }, { name: "D", mime: "text/x-d", mode: "d", ext: ["d"] }, { name: "Dart", mimes: ["application/dart", "text/x-dart"], mode: "dart", ext: ["dart"] }, { name: "diff", mime: "text/x-diff", mode: "diff", ext: ["diff", "patch"] }, { name: "Django", mime: "text/x-django", mode: "django" }, { name: "Dockerfile", mime: "text/x-dockerfile", mode: "dockerfile", file: /^Dockerfile$/ }, { name: "DTD", mime: "application/xml-dtd", mode: "dtd", ext: ["dtd"] }, { name: "Dylan", mime: "text/x-dylan", mode: "dylan", ext: ["dylan", "dyl", "intr"] }, { name: "EBNF", mime: "text/x-ebnf", mode: "ebnf" }, { name: "ECL", mime: "text/x-ecl", mode: "ecl", ext: ["ecl"] }, { name: "edn", mime: "application/edn", mode: "clojure", ext: ["edn"] }, { name: "Eiffel", mime: "text/x-eiffel", mode: "eiffel", ext: ["e"] }, { name: "Elm", mime: "text/x-elm", mode: "elm", ext: ["elm"] }, { name: "Embedded JavaScript", mime: "application/x-ejs", mode: "htmlembedded", ext: ["ejs"] }, { name: "Embedded Ruby", mime: "application/x-erb", mode: "htmlembedded", ext: ["erb"] }, { name: "Erlang", mime: "text/x-erlang", mode: "erlang", ext: ["erl"] }, { name: "Esper", mime: "text/x-esper", mode: "sql" }, { name: "Factor", mime: "text/x-factor", mode: "factor", ext: ["factor"] }, { name: "FCL", mime: "text/x-fcl", mode: "fcl" }, { name: "Forth", mime: "text/x-forth", mode: "forth", ext: ["forth", "fth", "4th"] }, { name: "Fortran", mime: "text/x-fortran", mode: "fortran", ext: ["f", "for", "f77", "f90", "f95"] }, { name: "F#", mime: "text/x-fsharp", mode: "mllike", ext: ["fs"], alias: ["fsharp"] }, { name: "Gas", mime: "text/x-gas", mode: "gas", ext: ["s"] }, { name: "Gherkin", mime: "text/x-feature", mode: "gherkin", ext: ["feature"] }, { name: "GitHub Flavored Markdown", mime: "text/x-gfm", mode: "gfm", file: /^(readme|contributing|history)\.md$/i }, { name: "Go", mime: "text/x-go", mode: "go", ext: ["go"] }, { name: "Groovy", mime: "text/x-groovy", mode: "groovy", ext: ["groovy", "gradle"], file: /^Jenkinsfile$/ }, { name: "HAML", mime: "text/x-haml", mode: "haml", ext: ["haml"] }, { name: "Haskell", mime: "text/x-haskell", mode: "haskell", ext: ["hs"] }, { name: "Haskell (Literate)", mime: "text/x-literate-haskell", mode: "haskell-literate", ext: ["lhs"] }, { name: "Haxe", mime: "text/x-haxe", mode: "haxe", ext: ["hx"] }, { name: "HXML", mime: "text/x-hxml", mode: "haxe", ext: ["hxml"] }, { name: "ASP.NET", mime: "application/x-aspx", mode: "htmlembedded", ext: ["aspx"], alias: ["asp", "aspx"] }, { name: "HTML", mime: "text/html", mode: "htmlmixed", ext: ["html", "htm", "handlebars", "hbs"], alias: ["xhtml"] }, { name: "HTTP", mime: "message/http", mode: "http" }, { name: "IDL", mime: "text/x-idl", mode: "idl", ext: ["pro"] }, { name: "Pug", mime: "text/x-pug", mode: "pug", ext: ["jade", "pug"], alias: ["jade"] }, { name: "Java", mime: "text/x-java", mode: "clike", ext: ["java"] }, { name: "Java Server Pages", mime: "application/x-jsp", mode: "htmlembedded", ext: ["jsp"], alias: ["jsp"] }, { name: "JavaScript", mimes: ["text/javascript", "text/ecmascript", "application/javascript", "application/x-javascript", "application/ecmascript"], mode: "javascript", ext: ["js"], alias: ["ecmascript", "js", "node"] }, { name: "JSON", mimes: ["application/json", "application/x-json"], mode: "javascript", ext: ["json", "map"], alias: ["json5"] }, { name: "JSON-LD", mime: "application/ld+json", mode: "javascript", ext: ["jsonld"], alias: ["jsonld"] }, { name: "JSX", mime: "text/jsx", mode: "jsx", ext: ["jsx"] }, { name: "Jinja2", mime: "text/jinja2", mode: "jinja2", ext: ["j2", "jinja", "jinja2"] }, { name: "Julia", mime: "text/x-julia", mode: "julia", ext: ["jl"], alias: ["jl"] }, { name: "Kotlin", mime: "text/x-kotlin", mode: "clike", ext: ["kt"] }, { name: "LESS", mime: "text/x-less", mode: "css", ext: ["less"] }, { name: "LiveScript", mime: "text/x-livescript", mode: "livescript", ext: ["ls"], alias: ["ls"] }, { name: "Lua", mime: "text/x-lua", mode: "lua", ext: ["lua"] }, { name: "Markdown", mime: "text/x-markdown", mode: "markdown", ext: ["markdown", "md", "mkd"] }, { name: "mIRC", mime: "text/mirc", mode: "mirc" }, { name: "MariaDB SQL", mime: "text/x-mariadb", mode: "sql" }, { name: "Mathematica", mime: "text/x-mathematica", mode: "mathematica", ext: ["m", "nb", "wl", "wls"] }, { name: "Modelica", mime: "text/x-modelica", mode: "modelica", ext: ["mo"] }, { name: "MUMPS", mime: "text/x-mumps", mode: "mumps", ext: ["mps"] }, { name: "MS SQL", mime: "text/x-mssql", mode: "sql" }, { name: "mbox", mime: "application/mbox", mode: "mbox", ext: ["mbox"] }, { name: "MySQL", mime: "text/x-mysql", mode: "sql" }, { name: "Nginx", mime: "text/x-nginx-conf", mode: "nginx", file: /nginx.*\.conf$/i }, { name: "NSIS", mime: "text/x-nsis", mode: "nsis", ext: ["nsh", "nsi"] }, { name: "NTriples", mimes: ["application/n-triples", "application/n-quads", "text/n-triples"], mode: "ntriples", ext: ["nt", "nq"] }, { name: "Objective-C", mime: "text/x-objectivec", mode: "clike", ext: ["m"], alias: ["objective-c", "objc"] }, { name: "Objective-C++", mime: "text/x-objectivec++", mode: "clike", ext: ["mm"], alias: ["objective-c++", "objc++"] }, { name: "OCaml", mime: "text/x-ocaml", mode: "mllike", ext: ["ml", "mli", "mll", "mly"] }, { name: "Octave", mime: "text/x-octave", mode: "octave", ext: ["m"] }, { name: "Oz", mime: "text/x-oz", mode: "oz", ext: ["oz"] }, { name: "Pascal", mime: "text/x-pascal", mode: "pascal", ext: ["p", "pas"] }, { name: "PEG.js", mime: "null", mode: "pegjs", ext: ["jsonld"] }, { name: "Perl", mime: "text/x-perl", mode: "perl", ext: ["pl", "pm"] }, { name: "PHP", mimes: ["text/x-php", "application/x-httpd-php", "application/x-httpd-php-open"], mode: "php", ext: ["php", "php3", "php4", "php5", "php7", "phtml"] }, { name: "Pig", mime: "text/x-pig", mode: "pig", ext: ["pig"] }, { name: "Plain Text", mime: "text/plain", mode: "null", ext: ["txt", "text", "conf", "def", "list", "log"] }, { name: "PLSQL", mime: "text/x-plsql", mode: "sql", ext: ["pls"] }, { name: "PostgreSQL", mime: "text/x-pgsql", mode: "sql" }, { name: "PowerShell", mime: "application/x-powershell", mode: "powershell", ext: ["ps1", "psd1", "psm1"] }, { name: "Properties files", mime: "text/x-properties", mode: "properties", ext: ["properties", "ini", "in"], alias: ["ini", "properties"] }, { name: "ProtoBuf", mime: "text/x-protobuf", mode: "protobuf", ext: ["proto"] }, { name: "Python", mime: "text/x-python", mode: "python", ext: ["BUILD", "bzl", "py", "pyw"], file: /^(BUCK|BUILD)$/ }, { name: "Puppet", mime: "text/x-puppet", mode: "puppet", ext: ["pp"] }, { name: "Q", mime: "text/x-q", mode: "q", ext: ["q"] }, { name: "R", mime: "text/x-rsrc", mode: "r", ext: ["r", "R"], alias: ["rscript"] }, { name: "reStructuredText", mime: "text/x-rst", mode: "rst", ext: ["rst"], alias: ["rst"] }, { name: "RPM Changes", mime: "text/x-rpm-changes", mode: "rpm" }, { name: "RPM Spec", mime: "text/x-rpm-spec", mode: "rpm", ext: ["spec"] }, { name: "Ruby", mime: "text/x-ruby", mode: "ruby", ext: ["rb"], alias: ["jruby", "macruby", "rake", "rb", "rbx"] }, { name: "Rust", mime: "text/x-rustsrc", mode: "rust", ext: ["rs"] }, { name: "SAS", mime: "text/x-sas", mode: "sas", ext: ["sas"] }, { name: "Sass", mime: "text/x-sass", mode: "sass", ext: ["sass"] }, { name: "Scala", mime: "text/x-scala", mode: "clike", ext: ["scala"] }, { name: "Scheme", mime: "text/x-scheme", mode: "scheme", ext: ["scm", "ss"] }, { name: "SCSS", mime: "text/x-scss", mode: "css", ext: ["scss"] }, { name: "Shell", mimes: ["text/x-sh", "application/x-sh"], mode: "shell", ext: ["sh", "ksh", "bash"], alias: ["bash", "sh", "zsh"], file: /^PKGBUILD$/ }, { name: "Sieve", mime: "application/sieve", mode: "sieve", ext: ["siv", "sieve"] }, { name: "Slim", mimes: ["text/x-slim", "application/x-slim"], mode: "slim", ext: ["slim"] }, { name: "Smalltalk", mime: "text/x-stsrc", mode: "smalltalk", ext: ["st"] }, { name: "Smarty", mime: "text/x-smarty", mode: "smarty", ext: ["tpl"] }, { name: "Solr", mime: "text/x-solr", mode: "solr" }, { name: "SML", mime: "text/x-sml", mode: "mllike", ext: ["sml", "sig", "fun", "smackspec"] }, { name: "Soy", mime: "text/x-soy", mode: "soy", ext: ["soy"], alias: ["closure template"] }, { name: "SPARQL", mime: "application/sparql-query", mode: "sparql", ext: ["rq", "sparql"], alias: ["sparul"] }, { name: "Spreadsheet", mime: "text/x-spreadsheet", mode: "spreadsheet", alias: ["excel", "formula"] }, { name: "SQL", mime: "text/x-sql", mode: "sql", ext: ["sql"] }, { name: "SQLite", mime: "text/x-sqlite", mode: "sql" }, { name: "Squirrel", mime: "text/x-squirrel", mode: "clike", ext: ["nut"] }, { name: "Stylus", mime: "text/x-styl", mode: "stylus", ext: ["styl"] }, { name: "Swift", mime: "text/x-swift", mode: "swift", ext: ["swift"] }, { name: "sTeX", mime: "text/x-stex", mode: "stex" }, { name: "LaTeX", mime: "text/x-latex", mode: "stex", ext: ["text", "ltx", "tex"], alias: ["tex"] }, { name: "SystemVerilog", mime: "text/x-systemverilog", mode: "verilog", ext: ["v", "sv", "svh"] }, { name: "Tcl", mime: "text/x-tcl", mode: "tcl", ext: ["tcl"] }, { name: "Textile", mime: "text/x-textile", mode: "textile", ext: ["textile"] }, { name: "TiddlyWiki", mime: "text/x-tiddlywiki", mode: "tiddlywiki" }, { name: "Tiki wiki", mime: "text/tiki", mode: "tiki" }, { name: "TOML", mime: "text/x-toml", mode: "toml", ext: ["toml"] }, { name: "Tornado", mime: "text/x-tornado", mode: "tornado" }, { name: "troff", mime: "text/troff", mode: "troff", ext: ["1", "2", "3", "4", "5", "6", "7", "8", "9"] }, { name: "TTCN", mime: "text/x-ttcn", mode: "ttcn", ext: ["ttcn", "ttcn3", "ttcnpp"] }, { name: "TTCN_CFG", mime: "text/x-ttcn-cfg", mode: "ttcn-cfg", ext: ["cfg"] }, { name: "Turtle", mime: "text/turtle", mode: "turtle", ext: ["ttl"] }, { name: "TypeScript", mime: "application/typescript", mode: "javascript", ext: ["ts"], alias: ["ts"] }, { name: "TypeScript-JSX", mime: "text/typescript-jsx", mode: "jsx", ext: ["tsx"], alias: ["tsx"] }, { name: "Twig", mime: "text/x-twig", mode: "twig" }, { name: "Web IDL", mime: "text/x-webidl", mode: "webidl", ext: ["webidl"] }, { name: "VB.NET", mime: "text/x-vb", mode: "vb", ext: ["vb"] }, { name: "VBScript", mime: "text/vbscript", mode: "vbscript", ext: ["vbs"] }, { name: "Velocity", mime: "text/velocity", mode: "velocity", ext: ["vtl"] }, { name: "Verilog", mime: "text/x-verilog", mode: "verilog", ext: ["v"] }, { name: "VHDL", mime: "text/x-vhdl", mode: "vhdl", ext: ["vhd", "vhdl"] }, { name: "Vue.js Component", mimes: ["script/x-vue", "text/x-vue"], mode: "vue", ext: ["vue"] }, { name: "XML", mimes: ["application/xml", "text/xml"], mode: "xml", ext: ["xml", "xsl", "xsd", "svg"], alias: ["rss", "wsdl", "xsd"] }, { name: "XQuery", mime: "application/xquery", mode: "xquery", ext: ["xy", "xquery"] }, { name: "Yacas", mime: "text/x-yacas", mode: "yacas", ext: ["ys"] }, { name: "YAML", mimes: ["text/x-yaml", "text/yaml"], mode: "yaml", ext: ["yaml", "yml"], alias: ["yml"] }, { name: "Z80", mime: "text/x-z80", mode: "z80", ext: ["z80"] }, { name: "mscgen", mime: "text/x-mscgen", mode: "mscgen", ext: ["mscgen", "mscin", "msc"] }, { name: "xu", mime: "text/x-xu", mode: "mscgen", ext: ["xu"] }, { name: "msgenny", mime: "text/x-msgenny", mode: "mscgen", ext: ["msgenny"] }, { name: "WebAssembly", mime: "text/webassembly", mode: "wast", ext: ["wat", "wast"] }]; // Ensure all modes have a mime property for backwards compatibility for (var i = 0; i < CodeMirror.modeInfo.length; i++) { var info = CodeMirror.modeInfo[i]; if (info.mimes) info.mime = info.mimes[0]; } CodeMirror.findModeByMIME = function (mime) { mime = mime.toLowerCase(); for (var i = 0; i < CodeMirror.modeInfo.length; i++) { var info = CodeMirror.modeInfo[i]; if (info.mime == mime) return info; if (info.mimes) for (var j = 0; j < info.mimes.length; j++) if (info.mimes[j] == mime) return info; } if (/\+xml$/.test(mime)) return CodeMirror.findModeByMIME("application/xml"); if (/\+json$/.test(mime)) return CodeMirror.findModeByMIME("application/json"); }; CodeMirror.findModeByExtension = function (ext) { ext = ext.toLowerCase(); for (var i = 0; i < CodeMirror.modeInfo.length; i++) { var info = CodeMirror.modeInfo[i]; if (info.ext) for (var j = 0; j < info.ext.length; j++) if (info.ext[j] == ext) return info; } }; CodeMirror.findModeByFileName = function (filename) { for (var i = 0; i < CodeMirror.modeInfo.length; i++) { var info = CodeMirror.modeInfo[i]; if (info.file && info.file.test(filename)) return info; } var dot = filename.lastIndexOf("."); var ext = dot > -1 && filename.substring(dot + 1, filename.length); if (ext) return CodeMirror.findModeByExtension(ext); }; CodeMirror.findModeByName = function (name) { name = name.toLowerCase(); for (var i = 0; i < CodeMirror.modeInfo.length; i++) { var info = CodeMirror.modeInfo[i]; if (info.name.toLowerCase() == name) return info; if (info.alias) for (var j = 0; j < info.alias.length; j++) if (info.alias[j].toLowerCase() == name) return info; } }; }); /***/ }), /***/ 73256: /*!*************************************************!*\ !*** ./node_modules/codemirror/mode/php/php.js ***! \*************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266), __webpack_require__(/*! ../htmlmixed/htmlmixed */ 42424), __webpack_require__(/*! ../clike/clike */ 57270));else {} })(function (CodeMirror) { "use strict"; function keywords(str) { var obj = {}, words = str.split(" "); for (var i = 0; i < words.length; ++i) obj[words[i]] = true; return obj; } // Helper for phpString function matchSequence(list, end, escapes) { if (list.length == 0) return phpString(end); return function (stream, state) { var patterns = list[0]; for (var i = 0; i < patterns.length; i++) if (stream.match(patterns[i][0])) { state.tokenize = matchSequence(list.slice(1), end); return patterns[i][1]; } state.tokenize = phpString(end, escapes); return "string"; }; } function phpString(closing, escapes) { return function (stream, state) { return phpString_(stream, state, closing, escapes); }; } function phpString_(stream, state, closing, escapes) { // "Complex" syntax if (escapes !== false && stream.match("${", false) || stream.match("{$", false)) { state.tokenize = null; return "string"; } // Simple syntax if (escapes !== false && stream.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/)) { // After the variable name there may appear array or object operator. if (stream.match("[", false)) { // Match array operator state.tokenize = matchSequence([[["[", null]], [[/\d[\w\.]*/, "number"], [/\$[a-zA-Z_][a-zA-Z0-9_]*/, "variable-2"], [/[\w\$]+/, "variable"]], [["]", null]]], closing, escapes); } if (stream.match(/^->\w/, false)) { // Match object operator state.tokenize = matchSequence([[["->", null]], [[/[\w]+/, "variable"]]], closing, escapes); } return "variable-2"; } var escaped = false; // Normal string while (!stream.eol() && (escaped || escapes === false || !stream.match("{$", false) && !stream.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/, false))) { if (!escaped && stream.match(closing)) { state.tokenize = null; state.tokStack.pop(); state.tokStack.pop(); break; } escaped = stream.next() == "\\" && !escaped; } return "string"; } var phpKeywords = "abstract and array as break case catch class clone const continue declare default " + "do else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final " + "for foreach function global goto if implements interface instanceof namespace " + "new or private protected public static switch throw trait try use var while xor " + "die echo empty exit eval include include_once isset list require require_once return " + "print unset __halt_compiler self static parent yield insteadof finally readonly match"; var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"; var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage memory_get_peak_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count"; CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); CodeMirror.registerHelper("wordChars", "php", /[\w$]/); var phpConfig = { name: "clike", helperType: "php", keywords: keywords(phpKeywords), blockKeywords: keywords("catch do else elseif for foreach if switch try while finally"), defKeywords: keywords("class enum function interface namespace trait"), atoms: keywords(phpAtoms), builtin: keywords(phpBuiltin), multiLineStrings: true, hooks: { "$": function (stream) { stream.eatWhile(/[\w\$_]/); return "variable-2"; }, "<": function (stream, state) { var before; if (before = stream.match(/^<<\s*/)) { var quoted = stream.eat(/['"]/); stream.eatWhile(/[\w\.]/); var delim = stream.current().slice(before[0].length + (quoted ? 2 : 1)); if (quoted) stream.eat(quoted); if (delim) { (state.tokStack || (state.tokStack = [])).push(delim, 0); state.tokenize = phpString(delim, quoted != "'"); return "string"; } } return false; }, "#": function (stream) { while (!stream.eol() && !stream.match("?>", false)) stream.next(); return "comment"; }, "/": function (stream) { if (stream.eat("/")) { while (!stream.eol() && !stream.match("?>", false)) stream.next(); return "comment"; } return false; }, '"': function (_stream, state) { (state.tokStack || (state.tokStack = [])).push('"', 0); state.tokenize = phpString('"'); return "string"; }, "{": function (_stream, state) { if (state.tokStack && state.tokStack.length) state.tokStack[state.tokStack.length - 1]++; return false; }, "}": function (_stream, state) { if (state.tokStack && state.tokStack.length > 0 && ! --state.tokStack[state.tokStack.length - 1]) { state.tokenize = phpString(state.tokStack[state.tokStack.length - 2]); } return false; } } }; CodeMirror.defineMode("php", function (config, parserConfig) { var htmlMode = CodeMirror.getMode(config, parserConfig && parserConfig.htmlMode || "text/html"); var phpMode = CodeMirror.getMode(config, phpConfig); function dispatch(stream, state) { var isPHP = state.curMode == phpMode; if (stream.sol() && state.pending && state.pending != '"' && state.pending != "'") state.pending = null; if (!isPHP) { if (stream.match(/^<\?\w*/)) { state.curMode = phpMode; if (!state.php) state.php = CodeMirror.startState(phpMode, htmlMode.indent(state.html, "", "")); state.curState = state.php; return "meta"; } if (state.pending == '"' || state.pending == "'") { while (!stream.eol() && stream.next() != state.pending) {} var style = "string"; } else if (state.pending && stream.pos < state.pending.end) { stream.pos = state.pending.end; var style = state.pending.style; } else { var style = htmlMode.token(stream, state.curState); } if (state.pending) state.pending = null; var cur = stream.current(), openPHP = cur.search(/<\?/), m; if (openPHP != -1) { if (style == "string" && (m = cur.match(/[\'\"]$/)) && !/\?>/.test(cur)) state.pending = m[0];else state.pending = { end: stream.pos, style: style }; stream.backUp(cur.length - openPHP); } return style; } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { state.curMode = htmlMode; state.curState = state.html; if (!state.php.context.prev) state.php = null; return "meta"; } else { return phpMode.token(stream, state.curState); } } return { startState: function () { var html = CodeMirror.startState(htmlMode); var php = parserConfig.startOpen ? CodeMirror.startState(phpMode) : null; return { html: html, php: php, curMode: parserConfig.startOpen ? phpMode : htmlMode, curState: parserConfig.startOpen ? php : html, pending: null }; }, copyState: function (state) { var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), php = state.php, phpNew = php && CodeMirror.copyState(phpMode, php), cur; if (state.curMode == htmlMode) cur = htmlNew;else cur = phpNew; return { html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur, pending: state.pending }; }, token: dispatch, indent: function (state, textAfter, line) { if (state.curMode != phpMode && /^\s*<\//.test(textAfter) || state.curMode == phpMode && /^\?>/.test(textAfter)) return htmlMode.indent(state.html, textAfter, line); return state.curMode.indent(state.curState, textAfter, line); }, blockCommentStart: "/*", blockCommentEnd: "*/", lineComment: "//", innerMode: function (state) { return { state: state.curState, mode: state.curMode }; } }; }, "htmlmixed", "clike"); CodeMirror.defineMIME("application/x-httpd-php", "php"); CodeMirror.defineMIME("application/x-httpd-php-open", { name: "php", startOpen: true }); CodeMirror.defineMIME("text/x-php", phpConfig); }); /***/ }), /***/ 65255: /*!*******************************************************!*\ !*** ./node_modules/codemirror/mode/python/python.js ***! \*******************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; function wordRegexp(words) { return new RegExp("^((" + words.join(")|(") + "))\\b"); } var wordOperators = wordRegexp(["and", "or", "not", "is"]); var commonKeywords = ["as", "assert", "break", "class", "continue", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "lambda", "pass", "raise", "return", "try", "while", "with", "yield", "in", "False", "True"]; var commonBuiltins = ["abs", "all", "any", "bin", "bool", "bytearray", "callable", "chr", "classmethod", "compile", "complex", "delattr", "dict", "dir", "divmod", "enumerate", "eval", "filter", "float", "format", "frozenset", "getattr", "globals", "hasattr", "hash", "help", "hex", "id", "input", "int", "isinstance", "issubclass", "iter", "len", "list", "locals", "map", "max", "memoryview", "min", "next", "object", "oct", "open", "ord", "pow", "property", "range", "repr", "reversed", "round", "set", "setattr", "slice", "sorted", "staticmethod", "str", "sum", "super", "tuple", "type", "vars", "zip", "__import__", "NotImplemented", "Ellipsis", "__debug__"]; CodeMirror.registerHelper("hintWords", "python", commonKeywords.concat(commonBuiltins).concat(["exec", "print"])); function top(state) { return state.scopes[state.scopes.length - 1]; } CodeMirror.defineMode("python", function (conf, parserConf) { var ERRORCLASS = "error"; var delimiters = parserConf.delimiters || parserConf.singleDelimiters || /^[\(\)\[\]\{\}@,:`=;\.\\]/; // (Backwards-compatibility with old, cumbersome config system) var operators = [parserConf.singleOperators, parserConf.doubleOperators, parserConf.doubleDelimiters, parserConf.tripleDelimiters, parserConf.operators || /^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/]; for (var i = 0; i < operators.length; i++) if (!operators[i]) operators.splice(i--, 1); var hangingIndent = parserConf.hangingIndent || conf.indentUnit; var myKeywords = commonKeywords, myBuiltins = commonBuiltins; if (parserConf.extra_keywords != undefined) myKeywords = myKeywords.concat(parserConf.extra_keywords); if (parserConf.extra_builtins != undefined) myBuiltins = myBuiltins.concat(parserConf.extra_builtins); var py3 = !(parserConf.version && Number(parserConf.version) < 3); if (py3) { // since http://legacy.python.org/dev/peps/pep-0465/ @ is also an operator var identifiers = parserConf.identifiers || /^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/; myKeywords = myKeywords.concat(["nonlocal", "None", "aiter", "anext", "async", "await", "breakpoint", "match", "case"]); myBuiltins = myBuiltins.concat(["ascii", "bytes", "exec", "print"]); var stringPrefixes = new RegExp("^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|\"{3}|['\"]))", "i"); } else { var identifiers = parserConf.identifiers || /^[_A-Za-z][_A-Za-z0-9]*/; myKeywords = myKeywords.concat(["exec", "print"]); myBuiltins = myBuiltins.concat(["apply", "basestring", "buffer", "cmp", "coerce", "execfile", "file", "intern", "long", "raw_input", "reduce", "reload", "unichr", "unicode", "xrange", "None"]); var stringPrefixes = new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))", "i"); } var keywords = wordRegexp(myKeywords); var builtins = wordRegexp(myBuiltins); // tokenizers function tokenBase(stream, state) { var sol = stream.sol() && state.lastToken != "\\"; if (sol) state.indent = stream.indentation(); // Handle scope changes if (sol && top(state).type == "py") { var scopeOffset = top(state).offset; if (stream.eatSpace()) { var lineOffset = stream.indentation(); if (lineOffset > scopeOffset) pushPyScope(state);else if (lineOffset < scopeOffset && dedent(stream, state) && stream.peek() != "#") state.errorToken = true; return null; } else { var style = tokenBaseInner(stream, state); if (scopeOffset > 0 && dedent(stream, state)) style += " " + ERRORCLASS; return style; } } return tokenBaseInner(stream, state); } function tokenBaseInner(stream, state, inFormat) { if (stream.eatSpace()) return null; // Handle Comments if (!inFormat && stream.match(/^#.*/)) return "comment"; // Handle Number Literals if (stream.match(/^[0-9\.]/, false)) { var floatLiteral = false; // Floats if (stream.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)) { floatLiteral = true; } if (stream.match(/^[\d_]+\.\d*/)) { floatLiteral = true; } if (stream.match(/^\.\d+/)) { floatLiteral = true; } if (floatLiteral) { // Float literals may be "imaginary" stream.eat(/J/i); return "number"; } // Integers var intLiteral = false; // Hex if (stream.match(/^0x[0-9a-f_]+/i)) intLiteral = true; // Binary if (stream.match(/^0b[01_]+/i)) intLiteral = true; // Octal if (stream.match(/^0o[0-7_]+/i)) intLiteral = true; // Decimal if (stream.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)) { // Decimal literals may be "imaginary" stream.eat(/J/i); // TODO - Can you have imaginary longs? intLiteral = true; } // Zero by itself with no other piece of number. if (stream.match(/^0(?![\dx])/i)) intLiteral = true; if (intLiteral) { // Integer literals may be "long" stream.eat(/L/i); return "number"; } } // Handle Strings if (stream.match(stringPrefixes)) { var isFmtString = stream.current().toLowerCase().indexOf('f') !== -1; if (!isFmtString) { state.tokenize = tokenStringFactory(stream.current(), state.tokenize); return state.tokenize(stream, state); } else { state.tokenize = formatStringFactory(stream.current(), state.tokenize); return state.tokenize(stream, state); } } for (var i = 0; i < operators.length; i++) if (stream.match(operators[i])) return "operator"; if (stream.match(delimiters)) return "punctuation"; if (state.lastToken == "." && stream.match(identifiers)) return "property"; if (stream.match(keywords) || stream.match(wordOperators)) return "keyword"; if (stream.match(builtins)) return "builtin"; if (stream.match(/^(self|cls)\b/)) return "variable-2"; if (stream.match(identifiers)) { if (state.lastToken == "def" || state.lastToken == "class") return "def"; return "variable"; } // Handle non-detected items stream.next(); return inFormat ? null : ERRORCLASS; } function formatStringFactory(delimiter, tokenOuter) { while ("rubf".indexOf(delimiter.charAt(0).toLowerCase()) >= 0) delimiter = delimiter.substr(1); var singleline = delimiter.length == 1; var OUTCLASS = "string"; function tokenNestedExpr(depth) { return function (stream, state) { var inner = tokenBaseInner(stream, state, true); if (inner == "punctuation") { if (stream.current() == "{") { state.tokenize = tokenNestedExpr(depth + 1); } else if (stream.current() == "}") { if (depth > 1) state.tokenize = tokenNestedExpr(depth - 1);else state.tokenize = tokenString; } } return inner; }; } function tokenString(stream, state) { while (!stream.eol()) { stream.eatWhile(/[^'"\{\}\\]/); if (stream.eat("\\")) { stream.next(); if (singleline && stream.eol()) return OUTCLASS; } else if (stream.match(delimiter)) { state.tokenize = tokenOuter; return OUTCLASS; } else if (stream.match('{{')) { // ignore {{ in f-str return OUTCLASS; } else if (stream.match('{', false)) { // switch to nested mode state.tokenize = tokenNestedExpr(0); if (stream.current()) return OUTCLASS;else return state.tokenize(stream, state); } else if (stream.match('}}')) { return OUTCLASS; } else if (stream.match('}')) { // single } in f-string is an error return ERRORCLASS; } else { stream.eat(/['"]/); } } if (singleline) { if (parserConf.singleLineStringErrors) return ERRORCLASS;else state.tokenize = tokenOuter; } return OUTCLASS; } tokenString.isString = true; return tokenString; } function tokenStringFactory(delimiter, tokenOuter) { while ("rubf".indexOf(delimiter.charAt(0).toLowerCase()) >= 0) delimiter = delimiter.substr(1); var singleline = delimiter.length == 1; var OUTCLASS = "string"; function tokenString(stream, state) { while (!stream.eol()) { stream.eatWhile(/[^'"\\]/); if (stream.eat("\\")) { stream.next(); if (singleline && stream.eol()) return OUTCLASS; } else if (stream.match(delimiter)) { state.tokenize = tokenOuter; return OUTCLASS; } else { stream.eat(/['"]/); } } if (singleline) { if (parserConf.singleLineStringErrors) return ERRORCLASS;else state.tokenize = tokenOuter; } return OUTCLASS; } tokenString.isString = true; return tokenString; } function pushPyScope(state) { while (top(state).type != "py") state.scopes.pop(); state.scopes.push({ offset: top(state).offset + conf.indentUnit, type: "py", align: null }); } function pushBracketScope(stream, state, type) { var align = stream.match(/^[\s\[\{\(]*(?:#|$)/, false) ? null : stream.column() + 1; state.scopes.push({ offset: state.indent + hangingIndent, type: type, align: align }); } function dedent(stream, state) { var indented = stream.indentation(); while (state.scopes.length > 1 && top(state).offset > indented) { if (top(state).type != "py") return true; state.scopes.pop(); } return top(state).offset != indented; } function tokenLexer(stream, state) { if (stream.sol()) { state.beginningOfLine = true; state.dedent = false; } var style = state.tokenize(stream, state); var current = stream.current(); // Handle decorators if (state.beginningOfLine && current == "@") return stream.match(identifiers, false) ? "meta" : py3 ? "operator" : ERRORCLASS; if (/\S/.test(current)) state.beginningOfLine = false; if ((style == "variable" || style == "builtin") && state.lastToken == "meta") style = "meta"; // Handle scope changes. if (current == "pass" || current == "return") state.dedent = true; if (current == "lambda") state.lambda = true; if (current == ":" && !state.lambda && top(state).type == "py" && stream.match(/^\s*(?:#|$)/, false)) pushPyScope(state); if (current.length == 1 && !/string|comment/.test(style)) { var delimiter_index = "[({".indexOf(current); if (delimiter_index != -1) pushBracketScope(stream, state, "])}".slice(delimiter_index, delimiter_index + 1)); delimiter_index = "])}".indexOf(current); if (delimiter_index != -1) { if (top(state).type == current) state.indent = state.scopes.pop().offset - hangingIndent;else return ERRORCLASS; } } if (state.dedent && stream.eol() && top(state).type == "py" && state.scopes.length > 1) state.scopes.pop(); return style; } var external = { startState: function (basecolumn) { return { tokenize: tokenBase, scopes: [{ offset: basecolumn || 0, type: "py", align: null }], indent: basecolumn || 0, lastToken: null, lambda: false, dedent: 0 }; }, token: function (stream, state) { var addErr = state.errorToken; if (addErr) state.errorToken = false; var style = tokenLexer(stream, state); if (style && style != "comment") state.lastToken = style == "keyword" || style == "punctuation" ? stream.current() : style; if (style == "punctuation") style = null; if (stream.eol() && state.lambda) state.lambda = false; return addErr ? style + " " + ERRORCLASS : style; }, indent: function (state, textAfter) { if (state.tokenize != tokenBase) return state.tokenize.isString ? CodeMirror.Pass : 0; var scope = top(state); var closing = scope.type == textAfter.charAt(0) || scope.type == "py" && !state.dedent && /^(else:|elif |except |finally:)/.test(textAfter); if (scope.align != null) return scope.align - (closing ? 1 : 0);else return scope.offset - (closing ? hangingIndent : 0); }, electricInput: /^\s*([\}\]\)]|else:|elif |except |finally:)$/, closeBrackets: { triples: "'\"" }, lineComment: "#", fold: "indent" }; return external; }); CodeMirror.defineMIME("text/x-python", "python"); var words = function (str) { return str.split(" "); }; CodeMirror.defineMIME("text/x-cython", { name: "python", extra_keywords: words("by cdef cimport cpdef ctypedef enum except " + "extern gil include nogil property public " + "readonly struct union DEF IF ELIF ELSE") }); }); /***/ }), /***/ 90602: /*!***************************************************!*\ !*** ./node_modules/codemirror/mode/rust/rust.js ***! \***************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266), __webpack_require__(/*! ../../addon/mode/simple */ 52966));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineSimpleMode("rust", { start: [// string and byte string { regex: /b?"/, token: "string", next: "string" }, // raw string and raw byte string { regex: /b?r"/, token: "string", next: "string_raw" }, { regex: /b?r#+"/, token: "string", next: "string_raw_hash" }, // character { regex: /'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/, token: "string-2" }, // byte { regex: /b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/, token: "string-2" }, { regex: /(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/, token: "number" }, { regex: /(let(?:\s+mut)?|fn|enum|mod|struct|type|union)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/, token: ["keyword", null, "def"] }, { regex: /(?:abstract|alignof|as|async|await|box|break|continue|const|crate|do|dyn|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/, token: "keyword" }, { regex: /\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/, token: "atom" }, { regex: /\b(?:true|false|Some|None|Ok|Err)\b/, token: "builtin" }, { regex: /\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/, token: ["keyword", null, "def"] }, { regex: /#!?\[.*\]/, token: "meta" }, { regex: /\/\/.*/, token: "comment" }, { regex: /\/\*/, token: "comment", next: "comment" }, { regex: /[-+\/*=<>!]+/, token: "operator" }, { regex: /[a-zA-Z_]\w*!/, token: "variable-3" }, { regex: /[a-zA-Z_]\w*/, token: "variable" }, { regex: /[\{\[\(]/, indent: true }, { regex: /[\}\]\)]/, dedent: true }], string: [{ regex: /"/, token: "string", next: "start" }, { regex: /(?:[^\\"]|\\(?:.|$))*/, token: "string" }], string_raw: [{ regex: /"/, token: "string", next: "start" }, { regex: /[^"]*/, token: "string" }], string_raw_hash: [{ regex: /"#+/, token: "string", next: "start" }, { regex: /(?:[^"]|"(?!#))*/, token: "string" }], comment: [{ regex: /.*?\*\//, token: "comment", next: "start" }, { regex: /.*/, token: "comment" }], meta: { dontIndentStates: ["comment"], electricInput: /^\s*\}$/, blockCommentStart: "/*", blockCommentEnd: "*/", lineComment: "//", fold: "brace" } }); CodeMirror.defineMIME("text/x-rustsrc", "rust"); CodeMirror.defineMIME("text/rust", "rust"); }); /***/ }), /***/ 48095: /*!*****************************************************!*\ !*** ./node_modules/codemirror/mode/shell/shell.js ***! \*****************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineMode('shell', function () { var words = {}; function define(style, dict) { for (var i = 0; i < dict.length; i++) { words[dict[i]] = style; } } ; var commonAtoms = ["true", "false"]; var commonKeywords = ["if", "then", "do", "else", "elif", "while", "until", "for", "in", "esac", "fi", "fin", "fil", "done", "exit", "set", "unset", "export", "function"]; var commonCommands = ["ab", "awk", "bash", "beep", "cat", "cc", "cd", "chown", "chmod", "chroot", "clear", "cp", "curl", "cut", "diff", "echo", "find", "gawk", "gcc", "get", "git", "grep", "hg", "kill", "killall", "ln", "ls", "make", "mkdir", "openssl", "mv", "nc", "nl", "node", "npm", "ping", "ps", "restart", "rm", "rmdir", "sed", "service", "sh", "shopt", "shred", "source", "sort", "sleep", "ssh", "start", "stop", "su", "sudo", "svn", "tee", "telnet", "top", "touch", "vi", "vim", "wall", "wc", "wget", "who", "write", "yes", "zsh"]; CodeMirror.registerHelper("hintWords", "shell", commonAtoms.concat(commonKeywords, commonCommands)); define('atom', commonAtoms); define('keyword', commonKeywords); define('builtin', commonCommands); function tokenBase(stream, state) { if (stream.eatSpace()) return null; var sol = stream.sol(); var ch = stream.next(); if (ch === '\\') { stream.next(); return null; } if (ch === '\'' || ch === '"' || ch === '`') { state.tokens.unshift(tokenString(ch, ch === "`" ? "quote" : "string")); return tokenize(stream, state); } if (ch === '#') { if (sol && stream.eat('!')) { stream.skipToEnd(); return 'meta'; // 'comment'? } stream.skipToEnd(); return 'comment'; } if (ch === '$') { state.tokens.unshift(tokenDollar); return tokenize(stream, state); } if (ch === '+' || ch === '=') { return 'operator'; } if (ch === '-') { stream.eat('-'); stream.eatWhile(/\w/); return 'attribute'; } if (ch == "<") { if (stream.match("<<")) return "operator"; var heredoc = stream.match(/^<-?\s*['"]?([^'"]*)['"]?/); if (heredoc) { state.tokens.unshift(tokenHeredoc(heredoc[1])); return 'string-2'; } } if (/\d/.test(ch)) { stream.eatWhile(/\d/); if (stream.eol() || !/\w/.test(stream.peek())) { return 'number'; } } stream.eatWhile(/[\w-]/); var cur = stream.current(); if (stream.peek() === '=' && /\w+/.test(cur)) return 'def'; return words.hasOwnProperty(cur) ? words[cur] : null; } function tokenString(quote, style) { var close = quote == "(" ? ")" : quote == "{" ? "}" : quote; return function (stream, state) { var next, escaped = false; while ((next = stream.next()) != null) { if (next === close && !escaped) { state.tokens.shift(); break; } else if (next === '$' && !escaped && quote !== "'" && stream.peek() != close) { escaped = true; stream.backUp(1); state.tokens.unshift(tokenDollar); break; } else if (!escaped && quote !== close && next === quote) { state.tokens.unshift(tokenString(quote, style)); return tokenize(stream, state); } else if (!escaped && /['"]/.test(next) && !/['"]/.test(quote)) { state.tokens.unshift(tokenStringStart(next, "string")); stream.backUp(1); break; } escaped = !escaped && next === '\\'; } return style; }; } ; function tokenStringStart(quote, style) { return function (stream, state) { state.tokens[0] = tokenString(quote, style); stream.next(); return tokenize(stream, state); }; } var tokenDollar = function (stream, state) { if (state.tokens.length > 1) stream.eat('$'); var ch = stream.next(); if (/['"({]/.test(ch)) { state.tokens[0] = tokenString(ch, ch == "(" ? "quote" : ch == "{" ? "def" : "string"); return tokenize(stream, state); } if (!/\d/.test(ch)) stream.eatWhile(/\w/); state.tokens.shift(); return 'def'; }; function tokenHeredoc(delim) { return function (stream, state) { if (stream.sol() && stream.string == delim) state.tokens.shift(); stream.skipToEnd(); return "string-2"; }; } function tokenize(stream, state) { return (state.tokens[0] || tokenBase)(stream, state); } ; return { startState: function () { return { tokens: [] }; }, token: function (stream, state) { return tokenize(stream, state); }, closeBrackets: "()[]{}''\"\"``", lineComment: '#', fold: "brace" }; }); CodeMirror.defineMIME('text/x-sh', 'shell'); // Apache uses a slightly different Media Type for Shell scripts // http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types CodeMirror.defineMIME('application/x-sh', 'shell'); }); /***/ }), /***/ 90875: /*!*************************************************!*\ !*** ./node_modules/codemirror/mode/sql/sql.js ***! \*************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; CodeMirror.defineMode("sql", function (config, parserConfig) { var client = parserConfig.client || {}, atoms = parserConfig.atoms || { "false": true, "true": true, "null": true }, builtin = parserConfig.builtin || set(defaultBuiltin), keywords = parserConfig.keywords || set(sqlKeywords), operatorChars = parserConfig.operatorChars || /^[*+\-%<>!=&|~^\/]/, support = parserConfig.support || {}, hooks = parserConfig.hooks || {}, dateSQL = parserConfig.dateSQL || { "date": true, "time": true, "timestamp": true }, backslashStringEscapes = parserConfig.backslashStringEscapes !== false, brackets = parserConfig.brackets || /^[\{}\(\)\[\]]/, punctuation = parserConfig.punctuation || /^[;.,:]/; function tokenBase(stream, state) { var ch = stream.next(); // call hooks from the mime type if (hooks[ch]) { var result = hooks[ch](stream, state); if (result !== false) return result; } if (support.hexNumber && (ch == "0" && stream.match(/^[xX][0-9a-fA-F]+/) || (ch == "x" || ch == "X") && stream.match(/^'[0-9a-fA-F]*'/))) { // hex // ref: https://dev.mysql.com/doc/refman/8.0/en/hexadecimal-literals.html return "number"; } else if (support.binaryNumber && ((ch == "b" || ch == "B") && stream.match(/^'[01]*'/) || ch == "0" && stream.match(/^b[01]+/))) { // bitstring // ref: https://dev.mysql.com/doc/refman/8.0/en/bit-value-literals.html return "number"; } else if (ch.charCodeAt(0) > 47 && ch.charCodeAt(0) < 58) { // numbers // ref: https://dev.mysql.com/doc/refman/8.0/en/number-literals.html stream.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/); support.decimallessFloat && stream.match(/^\.(?!\.)/); return "number"; } else if (ch == "?" && (stream.eatSpace() || stream.eol() || stream.eat(";"))) { // placeholders return "variable-3"; } else if (ch == "'" || ch == '"' && support.doubleQuote) { // strings // ref: https://dev.mysql.com/doc/refman/8.0/en/string-literals.html state.tokenize = tokenLiteral(ch); return state.tokenize(stream, state); } else if ((support.nCharCast && (ch == "n" || ch == "N") || support.charsetCast && ch == "_" && stream.match(/[a-z][a-z0-9]*/i)) && (stream.peek() == "'" || stream.peek() == '"')) { // charset casting: _utf8'str', N'str', n'str' // ref: https://dev.mysql.com/doc/refman/8.0/en/string-literals.html return "keyword"; } else if (support.escapeConstant && (ch == "e" || ch == "E") && (stream.peek() == "'" || stream.peek() == '"' && support.doubleQuote)) { // escape constant: E'str', e'str' // ref: https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-STRINGS-ESCAPE state.tokenize = function (stream, state) { return (state.tokenize = tokenLiteral(stream.next(), true))(stream, state); }; return "keyword"; } else if (support.commentSlashSlash && ch == "/" && stream.eat("/")) { // 1-line comment stream.skipToEnd(); return "comment"; } else if (support.commentHash && ch == "#" || ch == "-" && stream.eat("-") && (!support.commentSpaceRequired || stream.eat(" "))) { // 1-line comments // ref: https://kb.askmonty.org/en/comment-syntax/ stream.skipToEnd(); return "comment"; } else if (ch == "/" && stream.eat("*")) { // multi-line comments // ref: https://kb.askmonty.org/en/comment-syntax/ state.tokenize = tokenComment(1); return state.tokenize(stream, state); } else if (ch == ".") { // .1 for 0.1 if (support.zerolessFloat && stream.match(/^(?:\d+(?:e[+-]?\d+)?)/i)) return "number"; if (stream.match(/^\.+/)) return null; if (stream.match(/^[\w\d_$#]+/)) return "variable-2"; } else if (operatorChars.test(ch)) { // operators stream.eatWhile(operatorChars); return "operator"; } else if (brackets.test(ch)) { // brackets return "bracket"; } else if (punctuation.test(ch)) { // punctuation stream.eatWhile(punctuation); return "punctuation"; } else if (ch == '{' && (stream.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/) || stream.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/))) { // dates (weird ODBC syntax) // ref: https://dev.mysql.com/doc/refman/8.0/en/date-and-time-literals.html return "number"; } else { stream.eatWhile(/^[_\w\d]/); var word = stream.current().toLowerCase(); // dates (standard SQL syntax) // ref: https://dev.mysql.com/doc/refman/8.0/en/date-and-time-literals.html if (dateSQL.hasOwnProperty(word) && (stream.match(/^( )+'[^']*'/) || stream.match(/^( )+"[^"]*"/))) return "number"; if (atoms.hasOwnProperty(word)) return "atom"; if (builtin.hasOwnProperty(word)) return "type"; if (keywords.hasOwnProperty(word)) return "keyword"; if (client.hasOwnProperty(word)) return "builtin"; return null; } } // 'string', with char specified in quote escaped by '\' function tokenLiteral(quote, backslashEscapes) { return function (stream, state) { var escaped = false, ch; while ((ch = stream.next()) != null) { if (ch == quote && !escaped) { state.tokenize = tokenBase; break; } escaped = (backslashStringEscapes || backslashEscapes) && !escaped && ch == "\\"; } return "string"; }; } function tokenComment(depth) { return function (stream, state) { var m = stream.match(/^.*?(\/\*|\*\/)/); if (!m) stream.skipToEnd();else if (m[1] == "/*") state.tokenize = tokenComment(depth + 1);else if (depth > 1) state.tokenize = tokenComment(depth - 1);else state.tokenize = tokenBase; return "comment"; }; } function pushContext(stream, state, type) { state.context = { prev: state.context, indent: stream.indentation(), col: stream.column(), type: type }; } function popContext(state) { state.indent = state.context.indent; state.context = state.context.prev; } return { startState: function () { return { tokenize: tokenBase, context: null }; }, token: function (stream, state) { if (stream.sol()) { if (state.context && state.context.align == null) state.context.align = false; } if (state.tokenize == tokenBase && stream.eatSpace()) return null; var style = state.tokenize(stream, state); if (style == "comment") return style; if (state.context && state.context.align == null) state.context.align = true; var tok = stream.current(); if (tok == "(") pushContext(stream, state, ")");else if (tok == "[") pushContext(stream, state, "]");else if (state.context && state.context.type == tok) popContext(state); return style; }, indent: function (state, textAfter) { var cx = state.context; if (!cx) return CodeMirror.Pass; var closing = textAfter.charAt(0) == cx.type; if (cx.align) return cx.col + (closing ? 0 : 1);else return cx.indent + (closing ? 0 : config.indentUnit); }, blockCommentStart: "/*", blockCommentEnd: "*/", lineComment: support.commentSlashSlash ? "//" : support.commentHash ? "#" : "--", closeBrackets: "()[]{}''\"\"``", config: parserConfig }; }); // `identifier` function hookIdentifier(stream) { // MySQL/MariaDB identifiers // ref: https://dev.mysql.com/doc/refman/8.0/en/identifier-qualifiers.html var ch; while ((ch = stream.next()) != null) { if (ch == "`" && !stream.eat("`")) return "variable-2"; } stream.backUp(stream.current().length - 1); return stream.eatWhile(/\w/) ? "variable-2" : null; } // "identifier" function hookIdentifierDoublequote(stream) { // Standard SQL /SQLite identifiers // ref: http://web.archive.org/web/20160813185132/http://savage.net.au/SQL/sql-99.bnf.html#delimited%20identifier // ref: http://sqlite.org/lang_keywords.html var ch; while ((ch = stream.next()) != null) { if (ch == "\"" && !stream.eat("\"")) return "variable-2"; } stream.backUp(stream.current().length - 1); return stream.eatWhile(/\w/) ? "variable-2" : null; } // variable token function hookVar(stream) { // variables // @@prefix.varName @varName // varName can be quoted with ` or ' or " // ref: https://dev.mysql.com/doc/refman/8.0/en/user-variables.html if (stream.eat("@")) { stream.match('session.'); stream.match('local.'); stream.match('global.'); } if (stream.eat("'")) { stream.match(/^.*'/); return "variable-2"; } else if (stream.eat('"')) { stream.match(/^.*"/); return "variable-2"; } else if (stream.eat("`")) { stream.match(/^.*`/); return "variable-2"; } else if (stream.match(/^[0-9a-zA-Z$\.\_]+/)) { return "variable-2"; } return null; } ; // short client keyword token function hookClient(stream) { // \N means NULL // ref: https://dev.mysql.com/doc/refman/8.0/en/null-values.html if (stream.eat("N")) { return "atom"; } // \g, etc // ref: https://dev.mysql.com/doc/refman/8.0/en/mysql-commands.html return stream.match(/^[a-zA-Z.#!?]/) ? "variable-2" : null; } // these keywords are used by all SQL dialects (however, a mode can still overwrite it) var sqlKeywords = "alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit "; // turn a space-separated list into an array function set(str) { var obj = {}, words = str.split(" "); for (var i = 0; i < words.length; ++i) obj[words[i]] = true; return obj; } var defaultBuiltin = "bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric"; // A generic SQL Mode. It's not a standard, it just tries to support what is generally supported CodeMirror.defineMIME("text/x-sql", { name: "sql", keywords: set(sqlKeywords + "begin"), builtin: set(defaultBuiltin), atoms: set("false true null unknown"), dateSQL: set("date time timestamp"), support: set("doubleQuote binaryNumber hexNumber") }); CodeMirror.defineMIME("text/x-mssql", { name: "sql", client: set("$partition binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id"), keywords: set(sqlKeywords + "begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx updlock with"), builtin: set("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "), atoms: set("is not null like and or in left right between inner outer join all any some cross unpivot pivot exists"), operatorChars: /^[*+\-%<>!=^\&|\/]/, brackets: /^[\{}\(\)]/, punctuation: /^[;.,:/]/, backslashStringEscapes: false, dateSQL: set("date datetimeoffset datetime2 smalldatetime datetime time"), hooks: { "@": hookVar } }); CodeMirror.defineMIME("text/x-mysql", { name: "sql", client: set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"), keywords: set(sqlKeywords + "accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"), builtin: set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"), atoms: set("false true null unknown"), operatorChars: /^[*+\-%<>!=&|^]/, dateSQL: set("date time timestamp"), support: set("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"), hooks: { "@": hookVar, "`": hookIdentifier, "\\": hookClient } }); CodeMirror.defineMIME("text/x-mariadb", { name: "sql", client: set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"), keywords: set(sqlKeywords + "accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"), builtin: set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"), atoms: set("false true null unknown"), operatorChars: /^[*+\-%<>!=&|^]/, dateSQL: set("date time timestamp"), support: set("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"), hooks: { "@": hookVar, "`": hookIdentifier, "\\": hookClient } }); // provided by the phpLiteAdmin project - phpliteadmin.org CodeMirror.defineMIME("text/x-sqlite", { name: "sql", // commands of the official SQLite client, ref: https://www.sqlite.org/cli.html#dotcmd client: set("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"), // ref: http://sqlite.org/lang_keywords.html keywords: set(sqlKeywords + "abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"), // SQLite is weakly typed, ref: http://sqlite.org/datatype3.html. This is just a list of some common types. builtin: set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"), // ref: http://sqlite.org/syntax/literal-value.html atoms: set("null current_date current_time current_timestamp"), // ref: http://sqlite.org/lang_expr.html#binaryops operatorChars: /^[*+\-%<>!=&|/~]/, // SQLite is weakly typed, ref: http://sqlite.org/datatype3.html. This is just a list of some common types. dateSQL: set("date time timestamp datetime"), support: set("decimallessFloat zerolessFloat"), identifierQuote: "\"", //ref: http://sqlite.org/lang_keywords.html hooks: { // bind-parameters ref:http://sqlite.org/lang_expr.html#varparam "@": hookVar, ":": hookVar, "?": hookVar, "$": hookVar, // The preferred way to escape Identifiers is using double quotes, ref: http://sqlite.org/lang_keywords.html "\"": hookIdentifierDoublequote, // there is also support for backticks, ref: http://sqlite.org/lang_keywords.html "`": hookIdentifier } }); // the query language used by Apache Cassandra is called CQL, but this mime type // is called Cassandra to avoid confusion with Contextual Query Language CodeMirror.defineMIME("text/x-cassandra", { name: "sql", client: {}, keywords: set("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"), builtin: set("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"), atoms: set("false true infinity NaN"), operatorChars: /^[<>=]/, dateSQL: {}, support: set("commentSlashSlash decimallessFloat"), hooks: {} }); // this is based on Peter Raganitsch's 'plsql' mode CodeMirror.defineMIME("text/x-plsql", { name: "sql", client: set("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"), keywords: set("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"), builtin: set("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"), operatorChars: /^[*\/+\-%<>!=~]/, dateSQL: set("date time timestamp"), support: set("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber") }); // Created to support specific hive keywords CodeMirror.defineMIME("text/x-hive", { name: "sql", keywords: set("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"), builtin: set("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"), atoms: set("false true null unknown"), operatorChars: /^[*+\-%<>!=]/, dateSQL: set("date timestamp"), support: set("doubleQuote binaryNumber hexNumber") }); CodeMirror.defineMIME("text/x-pgsql", { name: "sql", client: set("source"), // For PostgreSQL - https://www.postgresql.org/docs/11/sql-keywords-appendix.html // For pl/pgsql lang - https://github.com/postgres/postgres/blob/REL_11_2/src/pl/plpgsql/src/pl_scanner.c keywords: set(sqlKeywords + "a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"), // https://www.postgresql.org/docs/11/datatype.html builtin: set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time zone timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"), atoms: set("false true null unknown"), operatorChars: /^[*\/+\-%<>!=&|^\/#@?~]/, backslashStringEscapes: false, identifierQuote: "\"", // https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS hooks: { "\"": hookIdentifierDoublequote }, dateSQL: set("date time timestamp"), support: set("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant") }); // Google's SQL-like query language, GQL CodeMirror.defineMIME("text/x-gql", { name: "sql", keywords: set("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"), atoms: set("false true"), builtin: set("blob datetime first key __key__ string integer double boolean null"), operatorChars: /^[*+\-%<>!=]/ }); // Greenplum CodeMirror.defineMIME("text/x-gpsql", { name: "sql", client: set("source"), //https://github.com/greenplum-db/gpdb/blob/master/src/include/parser/kwlist.h keywords: set("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"), builtin: set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"), atoms: set("false true null unknown"), operatorChars: /^[*+\-%<>!=&|^\/#@?~]/, dateSQL: set("date time timestamp"), support: set("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast") }); // Spark SQL CodeMirror.defineMIME("text/x-sparksql", { name: "sql", keywords: set("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"), builtin: set("abs acos acosh add_months aggregate and any approx_count_distinct approx_percentile array array_contains array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_repeat array_sort array_union arrays_overlap arrays_zip ascii asin asinh assert_true atan atan2 atanh avg base64 between bigint bin binary bit_and bit_count bit_get bit_length bit_or bit_xor bool_and bool_or boolean bround btrim cardinality case cast cbrt ceil ceiling char char_length character_length chr coalesce collect_list collect_set concat concat_ws conv corr cos cosh cot count count_if count_min_sketch covar_pop covar_samp crc32 cume_dist current_catalog current_database current_date current_timestamp current_timezone current_user date date_add date_format date_from_unix_date date_part date_sub date_trunc datediff day dayofmonth dayofweek dayofyear decimal decode degrees delimited dense_rank div double e element_at elt encode every exists exp explode explode_outer expm1 extract factorial filter find_in_set first first_value flatten float floor forall format_number format_string from_csv from_json from_unixtime from_utc_timestamp get_json_object getbit greatest grouping grouping_id hash hex hour hypot if ifnull in initcap inline inline_outer input_file_block_length input_file_block_start input_file_name inputformat instr int isnan isnotnull isnull java_method json_array_length json_object_keys json_tuple kurtosis lag last last_day last_value lcase lead least left length levenshtein like ln locate log log10 log1p log2 lower lpad ltrim make_date make_dt_interval make_interval make_timestamp make_ym_interval map map_concat map_entries map_filter map_from_arrays map_from_entries map_keys map_values map_zip_with max max_by md5 mean min min_by minute mod monotonically_increasing_id month months_between named_struct nanvl negative next_day not now nth_value ntile nullif nvl nvl2 octet_length or outputformat overlay parse_url percent_rank percentile percentile_approx pi pmod posexplode posexplode_outer position positive pow power printf quarter radians raise_error rand randn random rank rcfile reflect regexp regexp_extract regexp_extract_all regexp_like regexp_replace repeat replace reverse right rint rlike round row_number rpad rtrim schema_of_csv schema_of_json second sentences sequence sequencefile serde session_window sha sha1 sha2 shiftleft shiftright shiftrightunsigned shuffle sign signum sin sinh size skewness slice smallint some sort_array soundex space spark_partition_id split sqrt stack std stddev stddev_pop stddev_samp str_to_map string struct substr substring substring_index sum tan tanh textfile timestamp timestamp_micros timestamp_millis timestamp_seconds tinyint to_csv to_date to_json to_timestamp to_unix_timestamp to_utc_timestamp transform transform_keys transform_values translate trim trunc try_add try_divide typeof ucase unbase64 unhex uniontype unix_date unix_micros unix_millis unix_seconds unix_timestamp upper uuid var_pop var_samp variance version weekday weekofyear when width_bucket window xpath xpath_boolean xpath_double xpath_float xpath_int xpath_long xpath_number xpath_short xpath_string xxhash64 year zip_with"), atoms: set("false true null"), operatorChars: /^[*\/+\-%<>!=~&|^]/, dateSQL: set("date time timestamp"), support: set("doubleQuote zerolessFloat") }); // Esper CodeMirror.defineMIME("text/x-esper", { name: "sql", client: set("source"), // http://www.espertech.com/esper/release-5.5.0/esper-reference/html/appendix_keywords.html keywords: set("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"), builtin: {}, atoms: set("false true null"), operatorChars: /^[*+\-%<>!=&|^\/#@?~]/, dateSQL: set("time"), support: set("decimallessFloat zerolessFloat binaryNumber hexNumber") }); // Trino (formerly known as Presto) CodeMirror.defineMIME("text/x-trino", { name: "sql", // https://github.com/trinodb/trino/blob/bc7a4eeedde28684c7ae6f74cefcaf7c6e782174/core/trino-parser/src/main/antlr4/io/trino/sql/parser/SqlBase.g4#L859-L1129 // https://github.com/trinodb/trino/blob/bc7a4eeedde28684c7ae6f74cefcaf7c6e782174/docs/src/main/sphinx/functions/list.rst keywords: set("abs absent acos add admin after all all_match alter analyze and any any_match approx_distinct approx_most_frequent approx_percentile approx_set arbitrary array_agg array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_sort array_union arrays_overlap as asc asin at at_timezone atan atan2 authorization avg bar bernoulli beta_cdf between bing_tile bing_tile_at bing_tile_coordinates bing_tile_polygon bing_tile_quadkey bing_tile_zoom_level bing_tiles_around bit_count bitwise_and bitwise_and_agg bitwise_left_shift bitwise_not bitwise_or bitwise_or_agg bitwise_right_shift bitwise_right_shift_arithmetic bitwise_xor bool_and bool_or both by call cardinality cascade case cast catalogs cbrt ceil ceiling char2hexint checksum chr classify coalesce codepoint column columns combinations comment commit committed concat concat_ws conditional constraint contains contains_sequence convex_hull_agg copartition corr cos cosh cosine_similarity count count_if covar_pop covar_samp crc32 create cross cube cume_dist current current_catalog current_date current_groups current_path current_role current_schema current_time current_timestamp current_timezone current_user data date_add date_diff date_format date_parse date_trunc day day_of_month day_of_week day_of_year deallocate default define definer degrees delete dense_rank deny desc describe descriptor distinct distributed dow doy drop e element_at else empty empty_approx_set encoding end error escape evaluate_classifier_predictions every except excluding execute exists exp explain extract false features fetch filter final first first_value flatten floor following for format format_datetime format_number from from_base from_base32 from_base64 from_base64url from_big_endian_32 from_big_endian_64 from_encoded_polyline from_geojson_geometry from_hex from_ieee754_32 from_ieee754_64 from_iso8601_date from_iso8601_timestamp from_iso8601_timestamp_nanos from_unixtime from_unixtime_nanos from_utf8 full functions geometric_mean geometry_from_hadoop_shape geometry_invalid_reason geometry_nearest_points geometry_to_bing_tiles geometry_union geometry_union_agg grant granted grants graphviz great_circle_distance greatest group grouping groups hamming_distance hash_counts having histogram hmac_md5 hmac_sha1 hmac_sha256 hmac_sha512 hour human_readable_seconds if ignore in including index infinity initial inner input insert intersect intersection_cardinality into inverse_beta_cdf inverse_normal_cdf invoker io is is_finite is_infinite is_json_scalar is_nan isolation jaccard_index join json_array json_array_contains json_array_get json_array_length json_exists json_extract json_extract_scalar json_format json_object json_parse json_query json_size json_value keep key keys kurtosis lag last last_day_of_month last_value lateral lead leading learn_classifier learn_libsvm_classifier learn_libsvm_regressor learn_regressor least left length level levenshtein_distance like limit line_interpolate_point line_interpolate_points line_locate_point listagg ln local localtime localtimestamp log log10 log2 logical lower lpad ltrim luhn_check make_set_digest map_agg map_concat map_entries map_filter map_from_entries map_keys map_union map_values map_zip_with match match_recognize matched matches materialized max max_by md5 measures merge merge_set_digest millisecond min min_by minute mod month multimap_agg multimap_from_entries murmur3 nan natural next nfc nfd nfkc nfkd ngrams no none none_match normal_cdf normalize not now nth_value ntile null nullif nulls numeric_histogram object objectid_timestamp of offset omit on one only option or order ordinality outer output over overflow parse_data_size parse_datetime parse_duration partition partitions passing past path pattern per percent_rank permute pi position pow power preceding prepare privileges properties prune qdigest_agg quarter quotes radians rand random range rank read recursive reduce reduce_agg refresh regexp_count regexp_extract regexp_extract_all regexp_like regexp_position regexp_replace regexp_split regr_intercept regr_slope regress rename render repeat repeatable replace reset respect restrict returning reverse revoke rgb right role roles rollback rollup round row_number rows rpad rtrim running scalar schema schemas second security seek select sequence serializable session set sets sha1 sha256 sha512 show shuffle sign simplify_geometry sin skewness skip slice some soundex spatial_partitioning spatial_partitions split split_part split_to_map split_to_multimap spooky_hash_v2_32 spooky_hash_v2_64 sqrt st_area st_asbinary st_astext st_boundary st_buffer st_centroid st_contains st_convexhull st_coorddim st_crosses st_difference st_dimension st_disjoint st_distance st_endpoint st_envelope st_envelopeaspts st_equals st_exteriorring st_geometries st_geometryfromtext st_geometryn st_geometrytype st_geomfrombinary st_interiorringn st_interiorrings st_intersection st_intersects st_isclosed st_isempty st_isring st_issimple st_isvalid st_length st_linefromtext st_linestring st_multipoint st_numgeometries st_numinteriorring st_numpoints st_overlaps st_point st_pointn st_points st_polygon st_relate st_startpoint st_symdifference st_touches st_union st_within st_x st_xmax st_xmin st_y st_ymax st_ymin start starts_with stats stddev stddev_pop stddev_samp string strpos subset substr substring sum system table tables tablesample tan tanh tdigest_agg text then ties timestamp_objectid timezone_hour timezone_minute to to_base to_base32 to_base64 to_base64url to_big_endian_32 to_big_endian_64 to_char to_date to_encoded_polyline to_geojson_geometry to_geometry to_hex to_ieee754_32 to_ieee754_64 to_iso8601 to_milliseconds to_spherical_geography to_timestamp to_unixtime to_utf8 trailing transaction transform transform_keys transform_values translate trim trim_array true truncate try try_cast type typeof uescape unbounded uncommitted unconditional union unique unknown unmatched unnest update upper url_decode url_encode url_extract_fragment url_extract_host url_extract_parameter url_extract_path url_extract_port url_extract_protocol url_extract_query use user using utf16 utf32 utf8 validate value value_at_quantile values values_at_quantiles var_pop var_samp variance verbose version view week week_of_year when where width_bucket wilson_interval_lower wilson_interval_upper window with with_timezone within without word_stem work wrapper write xxhash64 year year_of_week yow zip zip_with"), // https://github.com/trinodb/trino/blob/bc7a4eeedde28684c7ae6f74cefcaf7c6e782174/core/trino-main/src/main/java/io/trino/metadata/TypeRegistry.java#L131-L168 // https://github.com/trinodb/trino/blob/bc7a4eeedde28684c7ae6f74cefcaf7c6e782174/plugin/trino-ml/src/main/java/io/trino/plugin/ml/MLPlugin.java#L35 // https://github.com/trinodb/trino/blob/bc7a4eeedde28684c7ae6f74cefcaf7c6e782174/plugin/trino-mongodb/src/main/java/io/trino/plugin/mongodb/MongoPlugin.java#L32 // https://github.com/trinodb/trino/blob/bc7a4eeedde28684c7ae6f74cefcaf7c6e782174/plugin/trino-geospatial/src/main/java/io/trino/plugin/geospatial/GeoPlugin.java#L37 builtin: set("array bigint bingtile boolean char codepoints color date decimal double function geometry hyperloglog int integer interval ipaddress joniregexp json json2016 jsonpath kdbtree likepattern map model objectid p4hyperloglog precision qdigest re2jregexp real regressor row setdigest smallint sphericalgeography tdigest time timestamp tinyint uuid varbinary varchar zone"), atoms: set("false true null unknown"), // https://trino.io/docs/current/functions/list.html#id1 operatorChars: /^[[\]|<>=!\-+*/%]/, dateSQL: set("date time timestamp zone"), // hexNumber is necessary for VARBINARY literals, e.g. X'65683F' // but it also enables 0xFF hex numbers, which Trino doesn't support. support: set("decimallessFloat zerolessFloat hexNumber") }); }); /* How Properties of Mime Types are used by SQL Mode ================================================= keywords: A list of keywords you want to be highlighted. builtin: A list of builtin types you want to be highlighted (if you want types to be of class "builtin" instead of "keyword"). operatorChars: All characters that must be handled as operators. client: Commands parsed and executed by the client (not the server). support: A list of supported syntaxes which are not common, but are supported by more than 1 DBMS. * zerolessFloat: .1 * decimallessFloat: 1. * hexNumber: X'01AF' X'01af' x'01AF' x'01af' 0x01AF 0x01af * binaryNumber: b'01' B'01' 0b01 * doubleQuote: "string" * escapeConstant: E'' * nCharCast: N'string' * charsetCast: _utf8'string' * commentHash: use # char for comments * commentSlashSlash: use // for comments * commentSpaceRequired: require a space after -- for comments atoms: Keywords that must be highlighted as atoms,. Some DBMS's support more atoms than others: UNKNOWN, INFINITY, UNDERFLOW, NaN... dateSQL: Used for date/time SQL standard syntax, because not all DBMS's support same temporal types. */ /***/ }), /***/ 97684: /*!*************************************************!*\ !*** ./node_modules/codemirror/mode/xml/xml.js ***! \*************************************************/ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function (mod) { if (true) // CommonJS mod(__webpack_require__(/*! ../../lib/codemirror */ 68266));else {} })(function (CodeMirror) { "use strict"; var htmlConfig = { autoSelfClosers: { 'area': true, 'base': true, 'br': true, 'col': true, 'command': true, 'embed': true, 'frame': true, 'hr': true, 'img': true, 'input': true, 'keygen': true, 'link': true, 'meta': true, 'param': true, 'source': true, 'track': true, 'wbr': true, 'menuitem': true }, implicitlyClosed: { 'dd': true, 'li': true, 'optgroup': true, 'option': true, 'p': true, 'rp': true, 'rt': true, 'tbody': true, 'td': true, 'tfoot': true, 'th': true, 'tr': true }, contextGrabbers: { 'dd': { 'dd': true, 'dt': true }, 'dt': { 'dd': true, 'dt': true }, 'li': { 'li': true }, 'option': { 'option': true, 'optgroup': true }, 'optgroup': { 'optgroup': true }, 'p': { 'address': true, 'article': true, 'aside': true, 'blockquote': true, 'dir': true, 'div': true, 'dl': true, 'fieldset': true, 'footer': true, 'form': true, 'h1': true, 'h2': true, 'h3': true, 'h4': true, 'h5': true, 'h6': true, 'header': true, 'hgroup': true, 'hr': true, 'menu': true, 'nav': true, 'ol': true, 'p': true, 'pre': true, 'section': true, 'table': true, 'ul': true }, 'rp': { 'rp': true, 'rt': true }, 'rt': { 'rp': true, 'rt': true }, 'tbody': { 'tbody': true, 'tfoot': true }, 'td': { 'td': true, 'th': true }, 'tfoot': { 'tbody': true }, 'th': { 'td': true, 'th': true }, 'thead': { 'tbody': true, 'tfoot': true }, 'tr': { 'tr': true } }, doNotIndent: { "pre": true }, allowUnquoted: true, allowMissing: true, caseFold: true }; var xmlConfig = { autoSelfClosers: {}, implicitlyClosed: {}, contextGrabbers: {}, doNotIndent: {}, allowUnquoted: false, allowMissing: false, allowMissingTagName: false, caseFold: false }; CodeMirror.defineMode("xml", function (editorConf, config_) { var indentUnit = editorConf.indentUnit; var config = {}; var defaults = config_.htmlMode ? htmlConfig : xmlConfig; for (var prop in defaults) config[prop] = defaults[prop]; for (var prop in config_) config[prop] = config_[prop]; // Return variables for tokenizers var type, setStyle; function inText(stream, state) { function chain(parser) { state.tokenize = parser; return parser(stream, state); } var ch = stream.next(); if (ch == "<") { if (stream.eat("!")) { if (stream.eat("[")) { if (stream.match("CDATA[")) return chain(inBlock("atom", "]]>"));else return null; } else if (stream.match("--")) { return chain(inBlock("comment", "-->")); } else if (stream.match("DOCTYPE", true, true)) { stream.eatWhile(/[\w\._\-]/); return chain(doctype(1)); } else { return null; } } else if (stream.eat("?")) { stream.eatWhile(/[\w\._\-]/); state.tokenize = inBlock("meta", "?>"); return "meta"; } else { type = stream.eat("/") ? "closeTag" : "openTag"; state.tokenize = inTag; return "tag bracket"; } } else if (ch == "&") { var ok; if (stream.eat("#")) { if (stream.eat("x")) { ok = stream.eatWhile(/[a-fA-F\d]/) && stream.eat(";"); } else { ok = stream.eatWhile(/[\d]/) && stream.eat(";"); } } else { ok = stream.eatWhile(/[\w\.\-:]/) && stream.eat(";"); } return ok ? "atom" : "error"; } else { stream.eatWhile(/[^&<]/); return null; } } inText.isInText = true; function inTag(stream, state) { var ch = stream.next(); if (ch == ">" || ch == "/" && stream.eat(">")) { state.tokenize = inText; type = ch == ">" ? "endTag" : "selfcloseTag"; return "tag bracket"; } else if (ch == "=") { type = "equals"; return null; } else if (ch == "<") { state.tokenize = inText; state.state = baseState; state.tagName = state.tagStart = null; var next = state.tokenize(stream, state); return next ? next + " tag error" : "tag error"; } else if (/[\'\"]/.test(ch)) { state.tokenize = inAttribute(ch); state.stringStartCol = stream.column(); return state.tokenize(stream, state); } else { stream.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/); return "word"; } } function inAttribute(quote) { var closure = function (stream, state) { while (!stream.eol()) { if (stream.next() == quote) { state.tokenize = inTag; break; } } return "string"; }; closure.isInAttribute = true; return closure; } function inBlock(style, terminator) { return function (stream, state) { while (!stream.eol()) { if (stream.match(terminator)) { state.tokenize = inText; break; } stream.next(); } return style; }; } function doctype(depth) { return function (stream, state) { var ch; while ((ch = stream.next()) != null) { if (ch == "<") { state.tokenize = doctype(depth + 1); return state.tokenize(stream, state); } else if (ch == ">") { if (depth == 1) { state.tokenize = inText; break; } else { state.tokenize = doctype(depth - 1); return state.tokenize(stream, state); } } } return "meta"; }; } function lower(tagName) { return tagName && tagName.toLowerCase(); } function Context(state, tagName, startOfLine) { this.prev = state.context; this.tagName = tagName || ""; this.indent = state.indented; this.startOfLine = startOfLine; if (config.doNotIndent.hasOwnProperty(tagName) || state.context && state.context.noIndent) this.noIndent = true; } function popContext(state) { if (state.context) state.context = state.context.prev; } function maybePopContext(state, nextTagName) { var parentTagName; while (true) { if (!state.context) { return; } parentTagName = state.context.tagName; if (!config.contextGrabbers.hasOwnProperty(lower(parentTagName)) || !config.contextGrabbers[lower(parentTagName)].hasOwnProperty(lower(nextTagName))) { return; } popContext(state); } } function baseState(type, stream, state) { if (type == "openTag") { state.tagStart = stream.column(); return tagNameState; } else if (type == "closeTag") { return closeTagNameState; } else { return baseState; } } function tagNameState(type, stream, state) { if (type == "word") { state.tagName = stream.current(); setStyle = "tag"; return attrState; } else if (config.allowMissingTagName && type == "endTag") { setStyle = "tag bracket"; return attrState(type, stream, state); } else { setStyle = "error"; return tagNameState; } } function closeTagNameState(type, stream, state) { if (type == "word") { var tagName = stream.current(); if (state.context && state.context.tagName != tagName && config.implicitlyClosed.hasOwnProperty(lower(state.context.tagName))) popContext(state); if (state.context && state.context.tagName == tagName || config.matchClosing === false) { setStyle = "tag"; return closeState; } else { setStyle = "tag error"; return closeStateErr; } } else if (config.allowMissingTagName && type == "endTag") { setStyle = "tag bracket"; return closeState(type, stream, state); } else { setStyle = "error"; return closeStateErr; } } function closeState(type, _stream, state) { if (type != "endTag") { setStyle = "error"; return closeState; } popContext(state); return baseState; } function closeStateErr(type, stream, state) { setStyle = "error"; return closeState(type, stream, state); } function attrState(type, _stream, state) { if (type == "word") { setStyle = "attribute"; return attrEqState; } else if (type == "endTag" || type == "selfcloseTag") { var tagName = state.tagName, tagStart = state.tagStart; state.tagName = state.tagStart = null; if (type == "selfcloseTag" || config.autoSelfClosers.hasOwnProperty(lower(tagName))) { maybePopContext(state, tagName); } else { maybePopContext(state, tagName); state.context = new Context(state, tagName, tagStart == state.indented); } return baseState; } setStyle = "error"; return attrState; } function attrEqState(type, stream, state) { if (type == "equals") return attrValueState; if (!config.allowMissing) setStyle = "error"; return attrState(type, stream, state); } function attrValueState(type, stream, state) { if (type == "string") return attrContinuedState; if (type == "word" && config.allowUnquoted) { setStyle = "string"; return attrState; } setStyle = "error"; return attrState(type, stream, state); } function attrContinuedState(type, stream, state) { if (type == "string") return attrContinuedState; return attrState(type, stream, state); } return { startState: function (baseIndent) { var state = { tokenize: inText, state: baseState, indented: baseIndent || 0, tagName: null, tagStart: null, context: null }; if (baseIndent != null) state.baseIndent = baseIndent; return state; }, token: function (stream, state) { if (!state.tagName && stream.sol()) state.indented = stream.indentation(); if (stream.eatSpace()) return null; type = null; var style = state.tokenize(stream, state); if ((style || type) && style != "comment") { setStyle = null; state.state = state.state(type || style, stream, state); if (setStyle) style = setStyle == "error" ? style + " error" : setStyle; } return style; }, indent: function (state, textAfter, fullLine) { var context = state.context; // Indent multi-line strings (e.g. css). if (state.tokenize.isInAttribute) { if (state.tagStart == state.indented) return state.stringStartCol + 1;else return state.indented + indentUnit; } if (context && context.noIndent) return CodeMirror.Pass; if (state.tokenize != inTag && state.tokenize != inText) return fullLine ? fullLine.match(/^(\s*)/)[0].length : 0; // Indent the starts of attribute names. if (state.tagName) { if (config.multilineTagIndentPastTag !== false) return state.tagStart + state.tagName.length + 2;else return state.tagStart + indentUnit * (config.multilineTagIndentFactor || 1); } if (config.alignCDATA && /$/, blockCommentStart: "", configuration: config.htmlMode ? "html" : "xml", helperType: config.htmlMode ? "html" : "xml", skipAttribute: function (state) { if (state.state == attrValueState) state.state = attrState; }, xmlCurrentTag: function (state) { return state.tagName ? { name: state.tagName, close: state.type == "closeTag" } : null; }, xmlCurrentContext: function (state) { var context = []; for (var cx = state.context; cx; cx = cx.prev) context.push(cx.tagName); return context.reverse(); } }; }); CodeMirror.defineMIME("text/xml", "xml"); CodeMirror.defineMIME("application/xml", "xml"); if (!CodeMirror.mimeModes.hasOwnProperty("text/html")) CodeMirror.defineMIME("text/html", { name: "xml", htmlMode: true }); }); /***/ }), /***/ 9245: /*!****************************************************!*\ !*** ./node_modules/feather-icons/dist/feather.js ***! \****************************************************/ /***/ (function(module) { (function webpackUniversalModuleDefinition(root, factory) { if (true) module.exports = factory();else {} })(typeof self !== 'undefined' ? self : this, function () { return ( /******/ function (modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __nested_webpack_require_638__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if (installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_638__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __nested_webpack_require_638__.m = modules; /******/ /******/ // expose the module cache /******/ __nested_webpack_require_638__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __nested_webpack_require_638__.d = function (exports, name, getter) { /******/ if (!__nested_webpack_require_638__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __nested_webpack_require_638__.r = function (exports) { /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __nested_webpack_require_638__.n = function (module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __nested_webpack_require_638__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __nested_webpack_require_638__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __nested_webpack_require_638__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __nested_webpack_require_638__(__nested_webpack_require_638__.s = 0); /******/ } /************************************************************************/ /******/ ({ /***/ "./dist/icons.json": /*!*************************!*\ !*** ./dist/icons.json ***! \*************************/ /*! exports provided: activity, airplay, alert-circle, alert-octagon, alert-triangle, align-center, align-justify, align-left, align-right, anchor, aperture, archive, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, award, bar-chart-2, bar-chart, battery-charging, battery, bell-off, bell, bluetooth, bold, book-open, book, bookmark, box, briefcase, calendar, camera-off, camera, cast, check-circle, check-square, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, chrome, circle, clipboard, clock, cloud-drizzle, cloud-lightning, cloud-off, cloud-rain, cloud-snow, cloud, code, codepen, codesandbox, coffee, columns, command, compass, copy, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, cpu, credit-card, crop, crosshair, database, delete, disc, divide-circle, divide-square, divide, dollar-sign, download-cloud, download, dribbble, droplet, edit-2, edit-3, edit, external-link, eye-off, eye, facebook, fast-forward, feather, figma, file-minus, file-plus, file-text, file, film, filter, flag, folder-minus, folder-plus, folder, framer, frown, gift, git-branch, git-commit, git-merge, git-pull-request, github, gitlab, globe, grid, hard-drive, hash, headphones, heart, help-circle, hexagon, home, image, inbox, info, instagram, italic, key, layers, layout, life-buoy, link-2, link, linkedin, list, loader, lock, log-in, log-out, mail, map-pin, map, maximize-2, maximize, meh, menu, message-circle, message-square, mic-off, mic, minimize-2, minimize, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, mouse-pointer, move, music, navigation-2, navigation, octagon, package, paperclip, pause-circle, pause, pen-tool, percent, phone-call, phone-forwarded, phone-incoming, phone-missed, phone-off, phone-outgoing, phone, pie-chart, play-circle, play, plus-circle, plus-square, plus, pocket, power, printer, radio, refresh-ccw, refresh-cw, repeat, rewind, rotate-ccw, rotate-cw, rss, save, scissors, search, send, server, settings, share-2, share, shield-off, shield, shopping-bag, shopping-cart, shuffle, sidebar, skip-back, skip-forward, slack, slash, sliders, smartphone, smile, speaker, square, star, stop-circle, sun, sunrise, sunset, table, tablet, tag, target, terminal, thermometer, thumbs-down, thumbs-up, toggle-left, toggle-right, tool, trash-2, trash, trello, trending-down, trending-up, triangle, truck, tv, twitch, twitter, type, umbrella, underline, unlock, upload-cloud, upload, user-check, user-minus, user-plus, user-x, user, users, video-off, video, voicemail, volume-1, volume-2, volume-x, volume, watch, wifi-off, wifi, wind, x-circle, x-octagon, x-square, x, youtube, zap-off, zap, zoom-in, zoom-out, default */ /***/ function (module) { module.exports = { "activity": "", "airplay": "", "alert-circle": "", "alert-octagon": "", "alert-triangle": "", "align-center": "", "align-justify": "", "align-left": "", "align-right": "", "anchor": "", "aperture": "", "archive": "", "arrow-down-circle": "", "arrow-down-left": "", "arrow-down-right": "", "arrow-down": "", "arrow-left-circle": "", "arrow-left": "", "arrow-right-circle": "", "arrow-right": "", "arrow-up-circle": "", "arrow-up-left": "", "arrow-up-right": "", "arrow-up": "", "at-sign": "", "award": "", "bar-chart-2": "", "bar-chart": "", "battery-charging": "", "battery": "", "bell-off": "", "bell": "", "bluetooth": "", "bold": "", "book-open": "", "book": "", "bookmark": "", "box": "", "briefcase": "", "calendar": "", "camera-off": "", "camera": "", "cast": "", "check-circle": "", "check-square": "", "check": "", "chevron-down": "", "chevron-left": "", "chevron-right": "", "chevron-up": "", "chevrons-down": "", "chevrons-left": "", "chevrons-right": "", "chevrons-up": "", "chrome": "", "circle": "", "clipboard": "", "clock": "", "cloud-drizzle": "", "cloud-lightning": "", "cloud-off": "", "cloud-rain": "", "cloud-snow": "", "cloud": "", "code": "", "codepen": "", "codesandbox": "", "coffee": "", "columns": "", "command": "", "compass": "", "copy": "", "corner-down-left": "", "corner-down-right": "", "corner-left-down": "", "corner-left-up": "", "corner-right-down": "", "corner-right-up": "", "corner-up-left": "", "corner-up-right": "", "cpu": "", "credit-card": "", "crop": "", "crosshair": "", "database": "", "delete": "", "disc": "", "divide-circle": "", "divide-square": "", "divide": "", "dollar-sign": "", "download-cloud": "", "download": "", "dribbble": "", "droplet": "", "edit-2": "", "edit-3": "", "edit": "", "external-link": "", "eye-off": "", "eye": "", "facebook": "", "fast-forward": "", "feather": "", "figma": "", "file-minus": "", "file-plus": "", "file-text": "", "file": "", "film": "", "filter": "", "flag": "", "folder-minus": "", "folder-plus": "", "folder": "", "framer": "", "frown": "", "gift": "", "git-branch": "", "git-commit": "", "git-merge": "", "git-pull-request": "", "github": "", "gitlab": "", "globe": "", "grid": "", "hard-drive": "", "hash": "", "headphones": "", "heart": "", "help-circle": "", "hexagon": "", "home": "", "image": "", "inbox": "", "info": "", "instagram": "", "italic": "", "key": "", "layers": "", "layout": "", "life-buoy": "", "link-2": "", "link": "", "linkedin": "", "list": "", "loader": "", "lock": "", "log-in": "", "log-out": "", "mail": "", "map-pin": "", "map": "", "maximize-2": "", "maximize": "", "meh": "", "menu": "", "message-circle": "", "message-square": "", "mic-off": "", "mic": "", "minimize-2": "", "minimize": "", "minus-circle": "", "minus-square": "", "minus": "", "monitor": "", "moon": "", "more-horizontal": "", "more-vertical": "", "mouse-pointer": "", "move": "", "music": "", "navigation-2": "", "navigation": "", "octagon": "", "package": "", "paperclip": "", "pause-circle": "", "pause": "", "pen-tool": "", "percent": "", "phone-call": "", "phone-forwarded": "", "phone-incoming": "", "phone-missed": "", "phone-off": "", "phone-outgoing": "", "phone": "", "pie-chart": "", "play-circle": "", "play": "", "plus-circle": "", "plus-square": "", "plus": "", "pocket": "", "power": "", "printer": "", "radio": "", "refresh-ccw": "", "refresh-cw": "", "repeat": "", "rewind": "", "rotate-ccw": "", "rotate-cw": "", "rss": "", "save": "", "scissors": "", "search": "", "send": "", "server": "", "settings": "", "share-2": "", "share": "", "shield-off": "", "shield": "", "shopping-bag": "", "shopping-cart": "", "shuffle": "", "sidebar": "", "skip-back": "", "skip-forward": "", "slack": "", "slash": "", "sliders": "", "smartphone": "", "smile": "", "speaker": "", "square": "", "star": "", "stop-circle": "", "sun": "", "sunrise": "", "sunset": "", "table": "", "tablet": "", "tag": "", "target": "", "terminal": "", "thermometer": "", "thumbs-down": "", "thumbs-up": "", "toggle-left": "", "toggle-right": "", "tool": "", "trash-2": "", "trash": "", "trello": "", "trending-down": "", "trending-up": "", "triangle": "", "truck": "", "tv": "", "twitch": "", "twitter": "", "type": "", "umbrella": "", "underline": "", "unlock": "", "upload-cloud": "", "upload": "", "user-check": "", "user-minus": "", "user-plus": "", "user-x": "", "user": "", "users": "", "video-off": "", "video": "", "voicemail": "", "volume-1": "", "volume-2": "", "volume-x": "", "volume": "", "watch": "", "wifi-off": "", "wifi": "", "wind": "", "x-circle": "", "x-octagon": "", "x-square": "", "x": "", "youtube": "", "zap-off": "", "zap": "", "zoom-in": "", "zoom-out": "" }; /***/ }, /***/ "./node_modules/classnames/dedupe.js": /*!*******************************************!*\ !*** ./node_modules/classnames/dedupe.js ***! \*******************************************/ /*! no static exports found */ /***/ function (module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; /*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /* global define */ (function () { 'use strict'; var classNames = function () { // don't inherit from Object so we can skip hasOwnProperty check later // http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232 function StorageObject() {} StorageObject.prototype = Object.create(null); function _parseArray(resultSet, array) { var length = array.length; for (var i = 0; i < length; ++i) { _parse(resultSet, array[i]); } } var hasOwn = {}.hasOwnProperty; function _parseNumber(resultSet, num) { resultSet[num] = true; } function _parseObject(resultSet, object) { for (var k in object) { if (hasOwn.call(object, k)) { // set value to false instead of deleting it to avoid changing object structure // https://www.smashingmagazine.com/2012/11/writing-fast-memory-efficient-javascript/#de-referencing-misconceptions resultSet[k] = !!object[k]; } } } var SPACE = /\s+/; function _parseString(resultSet, str) { var array = str.split(SPACE); var length = array.length; for (var i = 0; i < length; ++i) { resultSet[array[i]] = true; } } function _parse(resultSet, arg) { if (!arg) return; var argType = typeof arg; // 'foo bar' if (argType === 'string') { _parseString(resultSet, arg); // ['foo', 'bar', ...] } else if (Array.isArray(arg)) { _parseArray(resultSet, arg); // { 'foo': true, ... } } else if (argType === 'object') { _parseObject(resultSet, arg); // '130' } else if (argType === 'number') { _parseNumber(resultSet, arg); } } function _classNames() { // don't leak arguments // https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments var len = arguments.length; var args = Array(len); for (var i = 0; i < len; i++) { args[i] = arguments[i]; } var classSet = new StorageObject(); _parseArray(classSet, args); var list = []; for (var k in classSet) { if (classSet[k]) { list.push(k); } } return list.join(' '); } return _classNames; }(); if (typeof module !== 'undefined' && module.exports) { module.exports = classNames; } else if (true) { // register as 'classnames', consistent with npm package name !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () { return classNames; }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else {} })(); /***/ }, /***/ "./node_modules/core-js/es/array/from.js": /*!***********************************************!*\ !*** ./node_modules/core-js/es/array/from.js ***! \***********************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_68757__) { __nested_webpack_require_68757__( /*! ../../modules/es.string.iterator */ "./node_modules/core-js/modules/es.string.iterator.js"); __nested_webpack_require_68757__( /*! ../../modules/es.array.from */ "./node_modules/core-js/modules/es.array.from.js"); var path = __nested_webpack_require_68757__( /*! ../../internals/path */ "./node_modules/core-js/internals/path.js"); module.exports = path.Array.from; /***/ }, /***/ "./node_modules/core-js/internals/a-function.js": /*!******************************************************!*\ !*** ./node_modules/core-js/internals/a-function.js ***! \******************************************************/ /*! no static exports found */ /***/ function (module, exports) { module.exports = function (it) { if (typeof it != 'function') { throw TypeError(String(it) + ' is not a function'); } return it; }; /***/ }, /***/ "./node_modules/core-js/internals/an-object.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/an-object.js ***! \*****************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_70164__) { var isObject = __nested_webpack_require_70164__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); module.exports = function (it) { if (!isObject(it)) { throw TypeError(String(it) + ' is not an object'); } return it; }; /***/ }, /***/ "./node_modules/core-js/internals/array-from.js": /*!******************************************************!*\ !*** ./node_modules/core-js/internals/array-from.js ***! \******************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_70882__) { "use strict"; var bind = __nested_webpack_require_70882__( /*! ../internals/bind-context */ "./node_modules/core-js/internals/bind-context.js"); var toObject = __nested_webpack_require_70882__( /*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); var callWithSafeIterationClosing = __nested_webpack_require_70882__( /*! ../internals/call-with-safe-iteration-closing */ "./node_modules/core-js/internals/call-with-safe-iteration-closing.js"); var isArrayIteratorMethod = __nested_webpack_require_70882__( /*! ../internals/is-array-iterator-method */ "./node_modules/core-js/internals/is-array-iterator-method.js"); var toLength = __nested_webpack_require_70882__( /*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); var createProperty = __nested_webpack_require_70882__( /*! ../internals/create-property */ "./node_modules/core-js/internals/create-property.js"); var getIteratorMethod = __nested_webpack_require_70882__( /*! ../internals/get-iterator-method */ "./node_modules/core-js/internals/get-iterator-method.js"); // `Array.from` method // https://tc39.github.io/ecma262/#sec-array.from module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */ ) { var O = toObject(arrayLike); var C = typeof this == 'function' ? this : Array; var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; var index = 0; var iteratorMethod = getIteratorMethod(O); var length, result, step, iterator; if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); // if the target is not iterable or it's an array with the default iterator - use a simple case if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { iterator = iteratorMethod.call(O); result = new C(); for (; !(step = iterator.next()).done; index++) { createProperty(result, index, mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value); } } else { length = toLength(O.length); result = new C(length); for (; length > index; index++) { createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); } } result.length = index; return result; }; /***/ }, /***/ "./node_modules/core-js/internals/array-includes.js": /*!**********************************************************!*\ !*** ./node_modules/core-js/internals/array-includes.js ***! \**********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_73969__) { var toIndexedObject = __nested_webpack_require_73969__( /*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); var toLength = __nested_webpack_require_73969__( /*! ../internals/to-length */ "./node_modules/core-js/internals/to-length.js"); var toAbsoluteIndex = __nested_webpack_require_73969__( /*! ../internals/to-absolute-index */ "./node_modules/core-js/internals/to-absolute-index.js"); // `Array.prototype.{ indexOf, includes }` methods implementation // false -> Array#indexOf // https://tc39.github.io/ecma262/#sec-array.prototype.indexof // true -> Array#includes // https://tc39.github.io/ecma262/#sec-array.prototype.includes module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIndexedObject($this); var length = toLength(O.length); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (; length > index; index++) if (IS_INCLUDES || index in O) { if (O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; /***/ }, /***/ "./node_modules/core-js/internals/bind-context.js": /*!********************************************************!*\ !*** ./node_modules/core-js/internals/bind-context.js ***! \********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_75983__) { var aFunction = __nested_webpack_require_75983__( /*! ../internals/a-function */ "./node_modules/core-js/internals/a-function.js"); // optional / simple context binding module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { case 0: return function () { return fn.call(that); }; case 1: return function (a) { return fn.call(that, a); }; case 2: return function (a, b) { return fn.call(that, a, b); }; case 3: return function (a, b, c) { return fn.call(that, a, b, c); }; } return function /* ...args */ () { return fn.apply(that, arguments); }; }; /***/ }, /***/ "./node_modules/core-js/internals/call-with-safe-iteration-closing.js": /*!****************************************************************************!*\ !*** ./node_modules/core-js/internals/call-with-safe-iteration-closing.js ***! \****************************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_77427__) { var anObject = __nested_webpack_require_77427__( /*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); // call something on iterator step with safe closing on error module.exports = function (iterator, fn, value, ENTRIES) { try { return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); // 7.4.6 IteratorClose(iterator, completion) } catch (error) { var returnMethod = iterator['return']; if (returnMethod !== undefined) anObject(returnMethod.call(iterator)); throw error; } }; /***/ }, /***/ "./node_modules/core-js/internals/check-correctness-of-iteration.js": /*!**************************************************************************!*\ !*** ./node_modules/core-js/internals/check-correctness-of-iteration.js ***! \**************************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_78521__) { var wellKnownSymbol = __nested_webpack_require_78521__( /*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); var ITERATOR = wellKnownSymbol('iterator'); var SAFE_CLOSING = false; try { var called = 0; var iteratorWithReturn = { next: function () { return { done: !!called++ }; }, 'return': function () { SAFE_CLOSING = true; } }; iteratorWithReturn[ITERATOR] = function () { return this; }; // eslint-disable-next-line no-throw-literal Array.from(iteratorWithReturn, function () { throw 2; }); } catch (error) { /* empty */ } module.exports = function (exec, SKIP_CLOSING) { if (!SKIP_CLOSING && !SAFE_CLOSING) return false; var ITERATION_SUPPORT = false; try { var object = {}; object[ITERATOR] = function () { return { next: function () { return { done: ITERATION_SUPPORT = true }; } }; }; exec(object); } catch (error) { /* empty */ } return ITERATION_SUPPORT; }; /***/ }, /***/ "./node_modules/core-js/internals/classof-raw.js": /*!*******************************************************!*\ !*** ./node_modules/core-js/internals/classof-raw.js ***! \*******************************************************/ /*! no static exports found */ /***/ function (module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }, /***/ "./node_modules/core-js/internals/classof.js": /*!***************************************************!*\ !*** ./node_modules/core-js/internals/classof.js ***! \***************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_80857__) { var classofRaw = __nested_webpack_require_80857__( /*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); var wellKnownSymbol = __nested_webpack_require_80857__( /*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (error) { /* empty */ } }; // getting tag from ES6+ `Object.prototype.toString` module.exports = function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; }; /***/ }, /***/ "./node_modules/core-js/internals/copy-constructor-properties.js": /*!***********************************************************************!*\ !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***! \***********************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_82546__) { var has = __nested_webpack_require_82546__( /*! ../internals/has */ "./node_modules/core-js/internals/has.js"); var ownKeys = __nested_webpack_require_82546__( /*! ../internals/own-keys */ "./node_modules/core-js/internals/own-keys.js"); var getOwnPropertyDescriptorModule = __nested_webpack_require_82546__( /*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js"); var definePropertyModule = __nested_webpack_require_82546__( /*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); module.exports = function (target, source) { var keys = ownKeys(source); var defineProperty = definePropertyModule.f; var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } }; /***/ }, /***/ "./node_modules/core-js/internals/correct-prototype-getter.js": /*!********************************************************************!*\ !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***! \********************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_84082__) { var fails = __nested_webpack_require_84082__( /*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); module.exports = !fails(function () { function F() { /* empty */ } F.prototype.constructor = null; return Object.getPrototypeOf(new F()) !== F.prototype; }); /***/ }, /***/ "./node_modules/core-js/internals/create-iterator-constructor.js": /*!***********************************************************************!*\ !*** ./node_modules/core-js/internals/create-iterator-constructor.js ***! \***********************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_84903__) { "use strict"; var IteratorPrototype = __nested_webpack_require_84903__( /*! ../internals/iterators-core */ "./node_modules/core-js/internals/iterators-core.js").IteratorPrototype; var create = __nested_webpack_require_84903__( /*! ../internals/object-create */ "./node_modules/core-js/internals/object-create.js"); var createPropertyDescriptor = __nested_webpack_require_84903__( /*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); var setToStringTag = __nested_webpack_require_84903__( /*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); var Iterators = __nested_webpack_require_84903__( /*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); var returnThis = function () { return this; }; module.exports = function (IteratorConstructor, NAME, next) { var TO_STRING_TAG = NAME + ' Iterator'; IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) }); setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); Iterators[TO_STRING_TAG] = returnThis; return IteratorConstructor; }; /***/ }, /***/ "./node_modules/core-js/internals/create-property-descriptor.js": /*!**********************************************************************!*\ !*** ./node_modules/core-js/internals/create-property-descriptor.js ***! \**********************************************************************/ /*! no static exports found */ /***/ function (module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }, /***/ "./node_modules/core-js/internals/create-property.js": /*!***********************************************************!*\ !*** ./node_modules/core-js/internals/create-property.js ***! \***********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_87344__) { "use strict"; var toPrimitive = __nested_webpack_require_87344__( /*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); var definePropertyModule = __nested_webpack_require_87344__( /*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); var createPropertyDescriptor = __nested_webpack_require_87344__( /*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); module.exports = function (object, key, value) { var propertyKey = toPrimitive(key); if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));else object[propertyKey] = value; }; /***/ }, /***/ "./node_modules/core-js/internals/define-iterator.js": /*!***********************************************************!*\ !*** ./node_modules/core-js/internals/define-iterator.js ***! \***********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_88569__) { "use strict"; var $ = __nested_webpack_require_88569__( /*! ../internals/export */ "./node_modules/core-js/internals/export.js"); var createIteratorConstructor = __nested_webpack_require_88569__( /*! ../internals/create-iterator-constructor */ "./node_modules/core-js/internals/create-iterator-constructor.js"); var getPrototypeOf = __nested_webpack_require_88569__( /*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); var setPrototypeOf = __nested_webpack_require_88569__( /*! ../internals/object-set-prototype-of */ "./node_modules/core-js/internals/object-set-prototype-of.js"); var setToStringTag = __nested_webpack_require_88569__( /*! ../internals/set-to-string-tag */ "./node_modules/core-js/internals/set-to-string-tag.js"); var hide = __nested_webpack_require_88569__( /*! ../internals/hide */ "./node_modules/core-js/internals/hide.js"); var redefine = __nested_webpack_require_88569__( /*! ../internals/redefine */ "./node_modules/core-js/internals/redefine.js"); var wellKnownSymbol = __nested_webpack_require_88569__( /*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); var IS_PURE = __nested_webpack_require_88569__( /*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); var Iterators = __nested_webpack_require_88569__( /*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); var IteratorsCore = __nested_webpack_require_88569__( /*! ../internals/iterators-core */ "./node_modules/core-js/internals/iterators-core.js"); var IteratorPrototype = IteratorsCore.IteratorPrototype; var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; var ITERATOR = wellKnownSymbol('iterator'); var KEYS = 'keys'; var VALUES = 'values'; var ENTRIES = 'entries'; var returnThis = function () { return this; }; module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { createIteratorConstructor(IteratorConstructor, NAME, next); var getIterationMethod = function (KIND) { if (KIND === DEFAULT && defaultIterator) return defaultIterator; if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; switch (KIND) { case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; } return function () { return new IteratorConstructor(this); }; }; var TO_STRING_TAG = NAME + ' Iterator'; var INCORRECT_VALUES_NAME = false; var IterablePrototype = Iterable.prototype; var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype['@@iterator'] || DEFAULT && IterablePrototype[DEFAULT]; var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; var CurrentIteratorPrototype, methods, KEY; // fix native if (anyNativeIterator) { CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { if (setPrototypeOf) { setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') { hide(CurrentIteratorPrototype, ITERATOR, returnThis); } } // Set @@toStringTag to native iterators setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; } } // fix Array#{values, @@iterator}.name in V8 / FF if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { INCORRECT_VALUES_NAME = true; defaultIterator = function values() { return nativeIterator.call(this); }; } // define iterator if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { hide(IterablePrototype, ITERATOR, defaultIterator); } Iterators[NAME] = defaultIterator; // export additional methods if (DEFAULT) { methods = { values: getIterationMethod(VALUES), keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), entries: getIterationMethod(ENTRIES) }; if (FORCED) for (KEY in methods) { if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { redefine(IterablePrototype, KEY, methods[KEY]); } } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); } return methods; }; /***/ }, /***/ "./node_modules/core-js/internals/descriptors.js": /*!*******************************************************!*\ !*** ./node_modules/core-js/internals/descriptors.js ***! \*******************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_94745__) { var fails = __nested_webpack_require_94745__( /*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); // Thank's IE8 for his funny defineProperty module.exports = !fails(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }, /***/ "./node_modules/core-js/internals/document-create-element.js": /*!*******************************************************************!*\ !*** ./node_modules/core-js/internals/document-create-element.js ***! \*******************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_95566__) { var global = __nested_webpack_require_95566__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var isObject = __nested_webpack_require_95566__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); var document = global.document; // typeof document.createElement is 'object' in old IE var exist = isObject(document) && isObject(document.createElement); module.exports = function (it) { return exist ? document.createElement(it) : {}; }; /***/ }, /***/ "./node_modules/core-js/internals/enum-bug-keys.js": /*!*********************************************************!*\ !*** ./node_modules/core-js/internals/enum-bug-keys.js ***! \*********************************************************/ /*! no static exports found */ /***/ function (module, exports) { // IE8- don't enum bug keys module.exports = ['constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf']; /***/ }, /***/ "./node_modules/core-js/internals/export.js": /*!**************************************************!*\ !*** ./node_modules/core-js/internals/export.js ***! \**************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_97069__) { var global = __nested_webpack_require_97069__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var getOwnPropertyDescriptor = __nested_webpack_require_97069__( /*! ../internals/object-get-own-property-descriptor */ "./node_modules/core-js/internals/object-get-own-property-descriptor.js").f; var hide = __nested_webpack_require_97069__( /*! ../internals/hide */ "./node_modules/core-js/internals/hide.js"); var redefine = __nested_webpack_require_97069__( /*! ../internals/redefine */ "./node_modules/core-js/internals/redefine.js"); var setGlobal = __nested_webpack_require_97069__( /*! ../internals/set-global */ "./node_modules/core-js/internals/set-global.js"); var copyConstructorProperties = __nested_webpack_require_97069__( /*! ../internals/copy-constructor-properties */ "./node_modules/core-js/internals/copy-constructor-properties.js"); var isForced = __nested_webpack_require_97069__( /*! ../internals/is-forced */ "./node_modules/core-js/internals/is-forced.js"); /* options.target - name of the target object options.global - target is the global object options.stat - export as static methods of target options.proto - export as prototype methods of target options.real - real prototype method for the `pure` version options.forced - export even if the native feature is available options.bind - bind methods to the target, required for the `pure` version options.wrap - wrap constructors to preventing global pollution, required for the `pure` version options.unsafe - use the simple assignment of property instead of delete + defineProperty options.sham - add a flag to not completely full polyfills options.enumerable - export as enumerable property options.noTargetGet - prevent calling a getter on target */ module.exports = function (options, source) { var TARGET = options.target; var GLOBAL = options.global; var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { target = global; } else if (STATIC) { target = global[TARGET] || setGlobal(TARGET, {}); } else { target = (global[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; if (options.noTargetGet) { descriptor = getOwnPropertyDescriptor(target, key); targetProperty = descriptor && descriptor.value; } else targetProperty = target[key]; FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contained in target if (!FORCED && targetProperty !== undefined) { if (typeof sourceProperty === typeof targetProperty) continue; copyConstructorProperties(sourceProperty, targetProperty); } // add a flag to not completely full polyfills if (options.sham || targetProperty && targetProperty.sham) { hide(sourceProperty, 'sham', true); } // extend global redefine(target, key, sourceProperty, options); } }; /***/ }, /***/ "./node_modules/core-js/internals/fails.js": /*!*************************************************!*\ !*** ./node_modules/core-js/internals/fails.js ***! \*************************************************/ /*! no static exports found */ /***/ function (module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (error) { return true; } }; /***/ }, /***/ "./node_modules/core-js/internals/function-to-string.js": /*!**************************************************************!*\ !*** ./node_modules/core-js/internals/function-to-string.js ***! \**************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_101476__) { var shared = __nested_webpack_require_101476__( /*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); module.exports = shared('native-function-to-string', Function.toString); /***/ }, /***/ "./node_modules/core-js/internals/get-iterator-method.js": /*!***************************************************************!*\ !*** ./node_modules/core-js/internals/get-iterator-method.js ***! \***************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_102122__) { var classof = __nested_webpack_require_102122__( /*! ../internals/classof */ "./node_modules/core-js/internals/classof.js"); var Iterators = __nested_webpack_require_102122__( /*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); var wellKnownSymbol = __nested_webpack_require_102122__( /*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); var ITERATOR = wellKnownSymbol('iterator'); module.exports = function (it) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; }; /***/ }, /***/ "./node_modules/core-js/internals/global.js": /*!**************************************************!*\ !*** ./node_modules/core-js/internals/global.js ***! \**************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_103148__) { /* WEBPACK VAR INJECTION */ (function (global) { var O = 'object'; var check = function (it) { return it && it.Math == Math && it; }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 module.exports = // eslint-disable-next-line no-undef check(typeof globalThis == O && globalThis) || check(typeof window == O && window) || check(typeof self == O && self) || check(typeof global == O && global) || // eslint-disable-next-line no-new-func Function('return this')(); /* WEBPACK VAR INJECTION */ }).call(this, __nested_webpack_require_103148__( /*! ./../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js")); /***/ }, /***/ "./node_modules/core-js/internals/has.js": /*!***********************************************!*\ !*** ./node_modules/core-js/internals/has.js ***! \***********************************************/ /*! no static exports found */ /***/ function (module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }, /***/ "./node_modules/core-js/internals/hidden-keys.js": /*!*******************************************************!*\ !*** ./node_modules/core-js/internals/hidden-keys.js ***! \*******************************************************/ /*! no static exports found */ /***/ function (module, exports) { module.exports = {}; /***/ }, /***/ "./node_modules/core-js/internals/hide.js": /*!************************************************!*\ !*** ./node_modules/core-js/internals/hide.js ***! \************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_105191__) { var DESCRIPTORS = __nested_webpack_require_105191__( /*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); var definePropertyModule = __nested_webpack_require_105191__( /*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); var createPropertyDescriptor = __nested_webpack_require_105191__( /*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); module.exports = DESCRIPTORS ? function (object, key, value) { return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }, /***/ "./node_modules/core-js/internals/html.js": /*!************************************************!*\ !*** ./node_modules/core-js/internals/html.js ***! \************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_106353__) { var global = __nested_webpack_require_106353__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var document = global.document; module.exports = document && document.documentElement; /***/ }, /***/ "./node_modules/core-js/internals/ie8-dom-define.js": /*!**********************************************************!*\ !*** ./node_modules/core-js/internals/ie8-dom-define.js ***! \**********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_107001__) { var DESCRIPTORS = __nested_webpack_require_107001__( /*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); var fails = __nested_webpack_require_107001__( /*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); var createElement = __nested_webpack_require_107001__( /*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); // Thank's IE8 for his funny defineProperty module.exports = !DESCRIPTORS && !fails(function () { return Object.defineProperty(createElement('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }, /***/ "./node_modules/core-js/internals/indexed-object.js": /*!**********************************************************!*\ !*** ./node_modules/core-js/internals/indexed-object.js ***! \**********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_108142__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var fails = __nested_webpack_require_108142__( /*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); var classof = __nested_webpack_require_108142__( /*! ../internals/classof-raw */ "./node_modules/core-js/internals/classof-raw.js"); var split = ''.split; module.exports = fails(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins return !Object('z').propertyIsEnumerable(0); }) ? function (it) { return classof(it) == 'String' ? split.call(it, '') : Object(it); } : Object; /***/ }, /***/ "./node_modules/core-js/internals/internal-state.js": /*!**********************************************************!*\ !*** ./node_modules/core-js/internals/internal-state.js ***! \**********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_109307__) { var NATIVE_WEAK_MAP = __nested_webpack_require_109307__( /*! ../internals/native-weak-map */ "./node_modules/core-js/internals/native-weak-map.js"); var global = __nested_webpack_require_109307__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var isObject = __nested_webpack_require_109307__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); var hide = __nested_webpack_require_109307__( /*! ../internals/hide */ "./node_modules/core-js/internals/hide.js"); var objectHas = __nested_webpack_require_109307__( /*! ../internals/has */ "./node_modules/core-js/internals/has.js"); var sharedKey = __nested_webpack_require_109307__( /*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); var hiddenKeys = __nested_webpack_require_109307__( /*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); var WeakMap = global.WeakMap; var set, get, has; var enforce = function (it) { return has(it) ? get(it) : set(it, {}); }; var getterFor = function (TYPE) { return function (it) { var state; if (!isObject(it) || (state = get(it)).type !== TYPE) { throw TypeError('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; if (NATIVE_WEAK_MAP) { var store = new WeakMap(); var wmget = store.get; var wmhas = store.has; var wmset = store.set; set = function (it, metadata) { wmset.call(store, it, metadata); return metadata; }; get = function (it) { return wmget.call(store, it) || {}; }; has = function (it) { return wmhas.call(store, it); }; } else { var STATE = sharedKey('state'); hiddenKeys[STATE] = true; set = function (it, metadata) { hide(it, STATE, metadata); return metadata; }; get = function (it) { return objectHas(it, STATE) ? it[STATE] : {}; }; has = function (it) { return objectHas(it, STATE); }; } module.exports = { set: set, get: get, has: has, enforce: enforce, getterFor: getterFor }; /***/ }, /***/ "./node_modules/core-js/internals/is-array-iterator-method.js": /*!********************************************************************!*\ !*** ./node_modules/core-js/internals/is-array-iterator-method.js ***! \********************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_112276__) { var wellKnownSymbol = __nested_webpack_require_112276__( /*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); var Iterators = __nested_webpack_require_112276__( /*! ../internals/iterators */ "./node_modules/core-js/internals/iterators.js"); var ITERATOR = wellKnownSymbol('iterator'); var ArrayPrototype = Array.prototype; // check on default Array iterator module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); }; /***/ }, /***/ "./node_modules/core-js/internals/is-forced.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/is-forced.js ***! \*****************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_113259__) { var fails = __nested_webpack_require_113259__( /*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); var replacement = /#|\.prototype\./; var isForced = function (feature, detection) { var value = data[normalize(feature)]; return value == POLYFILL ? true : value == NATIVE ? false : typeof detection == 'function' ? fails(detection) : !!detection; }; var normalize = isForced.normalize = function (string) { return String(string).replace(replacement, '.').toLowerCase(); }; var data = isForced.data = {}; var NATIVE = isForced.NATIVE = 'N'; var POLYFILL = isForced.POLYFILL = 'P'; module.exports = isForced; /***/ }, /***/ "./node_modules/core-js/internals/is-object.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/is-object.js ***! \*****************************************************/ /*! no static exports found */ /***/ function (module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }, /***/ "./node_modules/core-js/internals/is-pure.js": /*!***************************************************!*\ !*** ./node_modules/core-js/internals/is-pure.js ***! \***************************************************/ /*! no static exports found */ /***/ function (module, exports) { module.exports = false; /***/ }, /***/ "./node_modules/core-js/internals/iterators-core.js": /*!**********************************************************!*\ !*** ./node_modules/core-js/internals/iterators-core.js ***! \**********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_115314__) { "use strict"; var getPrototypeOf = __nested_webpack_require_115314__( /*! ../internals/object-get-prototype-of */ "./node_modules/core-js/internals/object-get-prototype-of.js"); var hide = __nested_webpack_require_115314__( /*! ../internals/hide */ "./node_modules/core-js/internals/hide.js"); var has = __nested_webpack_require_115314__( /*! ../internals/has */ "./node_modules/core-js/internals/has.js"); var wellKnownSymbol = __nested_webpack_require_115314__( /*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); var IS_PURE = __nested_webpack_require_115314__( /*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); var ITERATOR = wellKnownSymbol('iterator'); var BUGGY_SAFARI_ITERATORS = false; var returnThis = function () { return this; }; // `%IteratorPrototype%` object // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; if ([].keys) { arrayIterator = [].keys(); // Safari 8 has buggy iterators w/o `next` if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;else { PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; } } if (IteratorPrototype == undefined) IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); module.exports = { IteratorPrototype: IteratorPrototype, BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS }; /***/ }, /***/ "./node_modules/core-js/internals/iterators.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/iterators.js ***! \*****************************************************/ /*! no static exports found */ /***/ function (module, exports) { module.exports = {}; /***/ }, /***/ "./node_modules/core-js/internals/native-symbol.js": /*!*********************************************************!*\ !*** ./node_modules/core-js/internals/native-symbol.js ***! \*********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_118025__) { var fails = __nested_webpack_require_118025__( /*! ../internals/fails */ "./node_modules/core-js/internals/fails.js"); module.exports = !!Object.getOwnPropertySymbols && !fails(function () { // Chrome 38 Symbol has incorrect toString conversion // eslint-disable-next-line no-undef return !String(Symbol()); }); /***/ }, /***/ "./node_modules/core-js/internals/native-weak-map.js": /*!***********************************************************!*\ !*** ./node_modules/core-js/internals/native-weak-map.js ***! \***********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_118810__) { var global = __nested_webpack_require_118810__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var nativeFunctionToString = __nested_webpack_require_118810__( /*! ../internals/function-to-string */ "./node_modules/core-js/internals/function-to-string.js"); var WeakMap = global.WeakMap; module.exports = typeof WeakMap === 'function' && /native code/.test(nativeFunctionToString.call(WeakMap)); /***/ }, /***/ "./node_modules/core-js/internals/object-create.js": /*!*********************************************************!*\ !*** ./node_modules/core-js/internals/object-create.js ***! \*********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_119678__) { var anObject = __nested_webpack_require_119678__( /*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); var defineProperties = __nested_webpack_require_119678__( /*! ../internals/object-define-properties */ "./node_modules/core-js/internals/object-define-properties.js"); var enumBugKeys = __nested_webpack_require_119678__( /*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); var hiddenKeys = __nested_webpack_require_119678__( /*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); var html = __nested_webpack_require_119678__( /*! ../internals/html */ "./node_modules/core-js/internals/html.js"); var documentCreateElement = __nested_webpack_require_119678__( /*! ../internals/document-create-element */ "./node_modules/core-js/internals/document-create-element.js"); var sharedKey = __nested_webpack_require_119678__( /*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); var IE_PROTO = sharedKey('IE_PROTO'); var PROTOTYPE = 'prototype'; var Empty = function () { /* empty */ }; // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function () { // Thrash, waste and sodomy: IE GC bug var iframe = documentCreateElement('iframe'); var length = enumBugKeys.length; var lt = '<'; var script = 'script'; var gt = '>'; var js = 'java' + script + ':'; var iframeDocument; iframe.style.display = 'none'; html.appendChild(iframe); iframe.src = String(js); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt); iframeDocument.close(); createDict = iframeDocument.F; while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]]; return createDict(); }; // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { Empty[PROTOTYPE] = anObject(O); result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = createDict(); return Properties === undefined ? result : defineProperties(result, Properties); }; hiddenKeys[IE_PROTO] = true; /***/ }, /***/ "./node_modules/core-js/internals/object-define-properties.js": /*!********************************************************************!*\ !*** ./node_modules/core-js/internals/object-define-properties.js ***! \********************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_122846__) { var DESCRIPTORS = __nested_webpack_require_122846__( /*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); var definePropertyModule = __nested_webpack_require_122846__( /*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js"); var anObject = __nested_webpack_require_122846__( /*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); var objectKeys = __nested_webpack_require_122846__( /*! ../internals/object-keys */ "./node_modules/core-js/internals/object-keys.js"); module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = objectKeys(Properties); var length = keys.length; var i = 0; var key; while (length > i) definePropertyModule.f(O, key = keys[i++], Properties[key]); return O; }; /***/ }, /***/ "./node_modules/core-js/internals/object-define-property.js": /*!******************************************************************!*\ !*** ./node_modules/core-js/internals/object-define-property.js ***! \******************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_124280__) { var DESCRIPTORS = __nested_webpack_require_124280__( /*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); var IE8_DOM_DEFINE = __nested_webpack_require_124280__( /*! ../internals/ie8-dom-define */ "./node_modules/core-js/internals/ie8-dom-define.js"); var anObject = __nested_webpack_require_124280__( /*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); var toPrimitive = __nested_webpack_require_124280__( /*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); var nativeDefineProperty = Object.defineProperty; exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return nativeDefineProperty(O, P, Attributes); } catch (error) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }, /***/ "./node_modules/core-js/internals/object-get-own-property-descriptor.js": /*!******************************************************************************!*\ !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***! \******************************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_125972__) { var DESCRIPTORS = __nested_webpack_require_125972__( /*! ../internals/descriptors */ "./node_modules/core-js/internals/descriptors.js"); var propertyIsEnumerableModule = __nested_webpack_require_125972__( /*! ../internals/object-property-is-enumerable */ "./node_modules/core-js/internals/object-property-is-enumerable.js"); var createPropertyDescriptor = __nested_webpack_require_125972__( /*! ../internals/create-property-descriptor */ "./node_modules/core-js/internals/create-property-descriptor.js"); var toIndexedObject = __nested_webpack_require_125972__( /*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); var toPrimitive = __nested_webpack_require_125972__( /*! ../internals/to-primitive */ "./node_modules/core-js/internals/to-primitive.js"); var has = __nested_webpack_require_125972__( /*! ../internals/has */ "./node_modules/core-js/internals/has.js"); var IE8_DOM_DEFINE = __nested_webpack_require_125972__( /*! ../internals/ie8-dom-define */ "./node_modules/core-js/internals/ie8-dom-define.js"); var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { O = toIndexedObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return nativeGetOwnPropertyDescriptor(O, P); } catch (error) { /* empty */ } if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); }; /***/ }, /***/ "./node_modules/core-js/internals/object-get-own-property-names.js": /*!*************************************************************************!*\ !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***! \*************************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_128108__) { // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var internalObjectKeys = __nested_webpack_require_128108__( /*! ../internals/object-keys-internal */ "./node_modules/core-js/internals/object-keys-internal.js"); var enumBugKeys = __nested_webpack_require_128108__( /*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); var hiddenKeys = enumBugKeys.concat('length', 'prototype'); exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return internalObjectKeys(O, hiddenKeys); }; /***/ }, /***/ "./node_modules/core-js/internals/object-get-own-property-symbols.js": /*!***************************************************************************!*\ !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***! \***************************************************************************/ /*! no static exports found */ /***/ function (module, exports) { exports.f = Object.getOwnPropertySymbols; /***/ }, /***/ "./node_modules/core-js/internals/object-get-prototype-of.js": /*!*******************************************************************!*\ !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***! \*******************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_129668__) { var has = __nested_webpack_require_129668__( /*! ../internals/has */ "./node_modules/core-js/internals/has.js"); var toObject = __nested_webpack_require_129668__( /*! ../internals/to-object */ "./node_modules/core-js/internals/to-object.js"); var sharedKey = __nested_webpack_require_129668__( /*! ../internals/shared-key */ "./node_modules/core-js/internals/shared-key.js"); var CORRECT_PROTOTYPE_GETTER = __nested_webpack_require_129668__( /*! ../internals/correct-prototype-getter */ "./node_modules/core-js/internals/correct-prototype-getter.js"); var IE_PROTO = sharedKey('IE_PROTO'); var ObjectPrototype = Object.prototype; // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { O = toObject(O); if (has(O, IE_PROTO)) return O[IE_PROTO]; if (typeof O.constructor == 'function' && O instanceof O.constructor) { return O.constructor.prototype; } return O instanceof Object ? ObjectPrototype : null; }; /***/ }, /***/ "./node_modules/core-js/internals/object-keys-internal.js": /*!****************************************************************!*\ !*** ./node_modules/core-js/internals/object-keys-internal.js ***! \****************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_131227__) { var has = __nested_webpack_require_131227__( /*! ../internals/has */ "./node_modules/core-js/internals/has.js"); var toIndexedObject = __nested_webpack_require_131227__( /*! ../internals/to-indexed-object */ "./node_modules/core-js/internals/to-indexed-object.js"); var arrayIncludes = __nested_webpack_require_131227__( /*! ../internals/array-includes */ "./node_modules/core-js/internals/array-includes.js"); var hiddenKeys = __nested_webpack_require_131227__( /*! ../internals/hidden-keys */ "./node_modules/core-js/internals/hidden-keys.js"); var arrayIndexOf = arrayIncludes(false); module.exports = function (object, names) { var O = toIndexedObject(object); var i = 0; var result = []; var key; for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }, /***/ "./node_modules/core-js/internals/object-keys.js": /*!*******************************************************!*\ !*** ./node_modules/core-js/internals/object-keys.js ***! \*******************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_132725__) { var internalObjectKeys = __nested_webpack_require_132725__( /*! ../internals/object-keys-internal */ "./node_modules/core-js/internals/object-keys-internal.js"); var enumBugKeys = __nested_webpack_require_132725__( /*! ../internals/enum-bug-keys */ "./node_modules/core-js/internals/enum-bug-keys.js"); // 19.1.2.14 / 15.2.3.14 Object.keys(O) module.exports = Object.keys || function keys(O) { return internalObjectKeys(O, enumBugKeys); }; /***/ }, /***/ "./node_modules/core-js/internals/object-property-is-enumerable.js": /*!*************************************************************************!*\ !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***! \*************************************************************************/ /*! no static exports found */ /***/ function (module, exports, __webpack_require__) { "use strict"; var nativePropertyIsEnumerable = {}.propertyIsEnumerable; var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor(this, V); return !!descriptor && descriptor.enumerable; } : nativePropertyIsEnumerable; /***/ }, /***/ "./node_modules/core-js/internals/object-set-prototype-of.js": /*!*******************************************************************!*\ !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***! \*******************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_134665__) { var validateSetPrototypeOfArguments = __nested_webpack_require_134665__( /*! ../internals/validate-set-prototype-of-arguments */ "./node_modules/core-js/internals/validate-set-prototype-of-arguments.js"); // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { var correctSetter = false; var test = {}; var setter; try { setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; setter.call(test, []); correctSetter = test instanceof Array; } catch (error) { /* empty */ } return function setPrototypeOf(O, proto) { validateSetPrototypeOfArguments(O, proto); if (correctSetter) setter.call(O, proto);else O.__proto__ = proto; return O; }; }() : undefined); /***/ }, /***/ "./node_modules/core-js/internals/own-keys.js": /*!****************************************************!*\ !*** ./node_modules/core-js/internals/own-keys.js ***! \****************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_136056__) { var global = __nested_webpack_require_136056__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var getOwnPropertyNamesModule = __nested_webpack_require_136056__( /*! ../internals/object-get-own-property-names */ "./node_modules/core-js/internals/object-get-own-property-names.js"); var getOwnPropertySymbolsModule = __nested_webpack_require_136056__( /*! ../internals/object-get-own-property-symbols */ "./node_modules/core-js/internals/object-get-own-property-symbols.js"); var anObject = __nested_webpack_require_136056__( /*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); var Reflect = global.Reflect; // all object keys, includes non-enumerable and symbols module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { var keys = getOwnPropertyNamesModule.f(anObject(it)); var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; }; /***/ }, /***/ "./node_modules/core-js/internals/path.js": /*!************************************************!*\ !*** ./node_modules/core-js/internals/path.js ***! \************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_137510__) { module.exports = __nested_webpack_require_137510__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); /***/ }, /***/ "./node_modules/core-js/internals/redefine.js": /*!****************************************************!*\ !*** ./node_modules/core-js/internals/redefine.js ***! \****************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_138034__) { var global = __nested_webpack_require_138034__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var shared = __nested_webpack_require_138034__( /*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); var hide = __nested_webpack_require_138034__( /*! ../internals/hide */ "./node_modules/core-js/internals/hide.js"); var has = __nested_webpack_require_138034__( /*! ../internals/has */ "./node_modules/core-js/internals/has.js"); var setGlobal = __nested_webpack_require_138034__( /*! ../internals/set-global */ "./node_modules/core-js/internals/set-global.js"); var nativeFunctionToString = __nested_webpack_require_138034__( /*! ../internals/function-to-string */ "./node_modules/core-js/internals/function-to-string.js"); var InternalStateModule = __nested_webpack_require_138034__( /*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); var getInternalState = InternalStateModule.get; var enforceInternalState = InternalStateModule.enforce; var TEMPLATE = String(nativeFunctionToString).split('toString'); shared('inspectSource', function (it) { return nativeFunctionToString.call(it); }); (module.exports = function (O, key, value, options) { var unsafe = options ? !!options.unsafe : false; var simple = options ? !!options.enumerable : false; var noTargetGet = options ? !!options.noTargetGet : false; if (typeof value == 'function') { if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key); enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : ''); } if (O === global) { if (simple) O[key] = value;else setGlobal(key, value); return; } else if (!unsafe) { delete O[key]; } else if (!noTargetGet && O[key]) { simple = true; } if (simple) O[key] = value;else hide(O, key, value); // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, 'toString', function toString() { return typeof this == 'function' && getInternalState(this).source || nativeFunctionToString.call(this); }); /***/ }, /***/ "./node_modules/core-js/internals/require-object-coercible.js": /*!********************************************************************!*\ !*** ./node_modules/core-js/internals/require-object-coercible.js ***! \********************************************************************/ /*! no static exports found */ /***/ function (module, exports) { // `RequireObjectCoercible` abstract operation // https://tc39.github.io/ecma262/#sec-requireobjectcoercible module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; /***/ }, /***/ "./node_modules/core-js/internals/set-global.js": /*!******************************************************!*\ !*** ./node_modules/core-js/internals/set-global.js ***! \******************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_141565__) { var global = __nested_webpack_require_141565__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var hide = __nested_webpack_require_141565__( /*! ../internals/hide */ "./node_modules/core-js/internals/hide.js"); module.exports = function (key, value) { try { hide(global, key, value); } catch (error) { global[key] = value; } return value; }; /***/ }, /***/ "./node_modules/core-js/internals/set-to-string-tag.js": /*!*************************************************************!*\ !*** ./node_modules/core-js/internals/set-to-string-tag.js ***! \*************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_142462__) { var defineProperty = __nested_webpack_require_142462__( /*! ../internals/object-define-property */ "./node_modules/core-js/internals/object-define-property.js").f; var has = __nested_webpack_require_142462__( /*! ../internals/has */ "./node_modules/core-js/internals/has.js"); var wellKnownSymbol = __nested_webpack_require_142462__( /*! ../internals/well-known-symbol */ "./node_modules/core-js/internals/well-known-symbol.js"); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); module.exports = function (it, TAG, STATIC) { if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); } }; /***/ }, /***/ "./node_modules/core-js/internals/shared-key.js": /*!******************************************************!*\ !*** ./node_modules/core-js/internals/shared-key.js ***! \******************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_143659__) { var shared = __nested_webpack_require_143659__( /*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); var uid = __nested_webpack_require_143659__( /*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); var keys = shared('keys'); module.exports = function (key) { return keys[key] || (keys[key] = uid(key)); }; /***/ }, /***/ "./node_modules/core-js/internals/shared.js": /*!**************************************************!*\ !*** ./node_modules/core-js/internals/shared.js ***! \**************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_144440__) { var global = __nested_webpack_require_144440__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var setGlobal = __nested_webpack_require_144440__( /*! ../internals/set-global */ "./node_modules/core-js/internals/set-global.js"); var IS_PURE = __nested_webpack_require_144440__( /*! ../internals/is-pure */ "./node_modules/core-js/internals/is-pure.js"); var SHARED = '__core-js_shared__'; var store = global[SHARED] || setGlobal(SHARED, {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: '3.1.3', mode: IS_PURE ? 'pure' : 'global', copyright: '© 2019 Denis Pushkarev (zloirock.ru)' }); /***/ }, /***/ "./node_modules/core-js/internals/string-at.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/string-at.js ***! \*****************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_145658__) { var toInteger = __nested_webpack_require_145658__( /*! ../internals/to-integer */ "./node_modules/core-js/internals/to-integer.js"); var requireObjectCoercible = __nested_webpack_require_145658__( /*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); // CONVERT_TO_STRING: true -> String#at // CONVERT_TO_STRING: false -> String#codePointAt module.exports = function (that, pos, CONVERT_TO_STRING) { var S = String(requireObjectCoercible(that)); var position = toInteger(pos); var size = S.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; first = S.charCodeAt(position); return first < 0xD800 || first > 0xDBFF || position + 1 === size || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF ? CONVERT_TO_STRING ? S.charAt(position) : first : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; }; /***/ }, /***/ "./node_modules/core-js/internals/to-absolute-index.js": /*!*************************************************************!*\ !*** ./node_modules/core-js/internals/to-absolute-index.js ***! \*************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_147183__) { var toInteger = __nested_webpack_require_147183__( /*! ../internals/to-integer */ "./node_modules/core-js/internals/to-integer.js"); var max = Math.max; var min = Math.min; // Helper for a popular repeating case of the spec: // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(length, length). module.exports = function (index, length) { var integer = toInteger(index); return integer < 0 ? max(integer + length, 0) : min(integer, length); }; /***/ }, /***/ "./node_modules/core-js/internals/to-indexed-object.js": /*!*************************************************************!*\ !*** ./node_modules/core-js/internals/to-indexed-object.js ***! \*************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_148201__) { // toObject with fallback for non-array-like ES3 strings var IndexedObject = __nested_webpack_require_148201__( /*! ../internals/indexed-object */ "./node_modules/core-js/internals/indexed-object.js"); var requireObjectCoercible = __nested_webpack_require_148201__( /*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); module.exports = function (it) { return IndexedObject(requireObjectCoercible(it)); }; /***/ }, /***/ "./node_modules/core-js/internals/to-integer.js": /*!******************************************************!*\ !*** ./node_modules/core-js/internals/to-integer.js ***! \******************************************************/ /*! no static exports found */ /***/ function (module, exports) { var ceil = Math.ceil; var floor = Math.floor; // `ToInteger` abstract operation // https://tc39.github.io/ecma262/#sec-tointeger module.exports = function (argument) { return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); }; /***/ }, /***/ "./node_modules/core-js/internals/to-length.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/to-length.js ***! \*****************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_149792__) { var toInteger = __nested_webpack_require_149792__( /*! ../internals/to-integer */ "./node_modules/core-js/internals/to-integer.js"); var min = Math.min; // `ToLength` abstract operation // https://tc39.github.io/ecma262/#sec-tolength module.exports = function (argument) { return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; /***/ }, /***/ "./node_modules/core-js/internals/to-object.js": /*!*****************************************************!*\ !*** ./node_modules/core-js/internals/to-object.js ***! \*****************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_150620__) { var requireObjectCoercible = __nested_webpack_require_150620__( /*! ../internals/require-object-coercible */ "./node_modules/core-js/internals/require-object-coercible.js"); // `ToObject` abstract operation // https://tc39.github.io/ecma262/#sec-toobject module.exports = function (argument) { return Object(requireObjectCoercible(argument)); }; /***/ }, /***/ "./node_modules/core-js/internals/to-primitive.js": /*!********************************************************!*\ !*** ./node_modules/core-js/internals/to-primitive.js ***! \********************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_151417__) { var isObject = __nested_webpack_require_151417__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); // 7.1.1 ToPrimitive(input [, PreferredType]) // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }, /***/ "./node_modules/core-js/internals/uid.js": /*!***********************************************!*\ !*** ./node_modules/core-js/internals/uid.js ***! \***********************************************/ /*! no static exports found */ /***/ function (module, exports) { var id = 0; var postfix = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + postfix).toString(36)); }; /***/ }, /***/ "./node_modules/core-js/internals/validate-set-prototype-of-arguments.js": /*!*******************************************************************************!*\ !*** ./node_modules/core-js/internals/validate-set-prototype-of-arguments.js ***! \*******************************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_153312__) { var isObject = __nested_webpack_require_153312__( /*! ../internals/is-object */ "./node_modules/core-js/internals/is-object.js"); var anObject = __nested_webpack_require_153312__( /*! ../internals/an-object */ "./node_modules/core-js/internals/an-object.js"); module.exports = function (O, proto) { anObject(O); if (!isObject(proto) && proto !== null) { throw TypeError("Can't set " + String(proto) + ' as a prototype'); } }; /***/ }, /***/ "./node_modules/core-js/internals/well-known-symbol.js": /*!*************************************************************!*\ !*** ./node_modules/core-js/internals/well-known-symbol.js ***! \*************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_154244__) { var global = __nested_webpack_require_154244__( /*! ../internals/global */ "./node_modules/core-js/internals/global.js"); var shared = __nested_webpack_require_154244__( /*! ../internals/shared */ "./node_modules/core-js/internals/shared.js"); var uid = __nested_webpack_require_154244__( /*! ../internals/uid */ "./node_modules/core-js/internals/uid.js"); var NATIVE_SYMBOL = __nested_webpack_require_154244__( /*! ../internals/native-symbol */ "./node_modules/core-js/internals/native-symbol.js"); var Symbol = global.Symbol; var store = shared('wks'); module.exports = function (name) { return store[name] || (store[name] = NATIVE_SYMBOL && Symbol[name] || (NATIVE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; /***/ }, /***/ "./node_modules/core-js/modules/es.array.from.js": /*!*******************************************************!*\ !*** ./node_modules/core-js/modules/es.array.from.js ***! \*******************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_155446__) { var $ = __nested_webpack_require_155446__( /*! ../internals/export */ "./node_modules/core-js/internals/export.js"); var from = __nested_webpack_require_155446__( /*! ../internals/array-from */ "./node_modules/core-js/internals/array-from.js"); var checkCorrectnessOfIteration = __nested_webpack_require_155446__( /*! ../internals/check-correctness-of-iteration */ "./node_modules/core-js/internals/check-correctness-of-iteration.js"); var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { Array.from(iterable); }); // `Array.from` method // https://tc39.github.io/ecma262/#sec-array.from $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { from: from }); /***/ }, /***/ "./node_modules/core-js/modules/es.string.iterator.js": /*!************************************************************!*\ !*** ./node_modules/core-js/modules/es.string.iterator.js ***! \************************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_156691__) { "use strict"; var codePointAt = __nested_webpack_require_156691__( /*! ../internals/string-at */ "./node_modules/core-js/internals/string-at.js"); var InternalStateModule = __nested_webpack_require_156691__( /*! ../internals/internal-state */ "./node_modules/core-js/internals/internal-state.js"); var defineIterator = __nested_webpack_require_156691__( /*! ../internals/define-iterator */ "./node_modules/core-js/internals/define-iterator.js"); var STRING_ITERATOR = 'String Iterator'; var setInternalState = InternalStateModule.set; var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); // `String.prototype[@@iterator]` method // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator defineIterator(String, 'String', function (iterated) { setInternalState(this, { type: STRING_ITERATOR, string: String(iterated), index: 0 }); // `%StringIteratorPrototype%.next` method // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next }, function next() { var state = getInternalState(this); var string = state.string; var index = state.index; var point; if (index >= string.length) return { value: undefined, done: true }; point = codePointAt(string, index, true); state.index += point.length; return { value: point, done: false }; }); /***/ }, /***/ "./node_modules/webpack/buildin/global.js": /*!***********************************!*\ !*** (webpack)/buildin/global.js ***! \***********************************/ /*! no static exports found */ /***/ function (module, exports) { var g; // This works in non-strict mode g = function () { return this; }(); try { // This works if eval is allowed (see CSP) g = g || Function("return this")() || (1, eval)("this"); } catch (e) { // This works if the window reference is available if (typeof window === "object") g = window; } // g can still be undefined, but nothing to do about it... // We return undefined, instead of nothing here, so it's // easier to handle this case. if(!global) { ...} module.exports = g; /***/ }, /***/ "./src/default-attrs.json": /*!********************************!*\ !*** ./src/default-attrs.json ***! \********************************/ /*! exports provided: xmlns, width, height, viewBox, fill, stroke, stroke-width, stroke-linecap, stroke-linejoin, default */ /***/ function (module) { module.exports = { "xmlns": "http://www.w3.org/2000/svg", "width": 24, "height": 24, "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke-width": 2, "stroke-linecap": "round", "stroke-linejoin": "round" }; /***/ }, /***/ "./src/icon.js": /*!*********************!*\ !*** ./src/icon.js ***! \*********************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_160161__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _dedupe = __nested_webpack_require_160161__( /*! classnames/dedupe */ "./node_modules/classnames/dedupe.js"); var _dedupe2 = _interopRequireDefault(_dedupe); var _defaultAttrs = __nested_webpack_require_160161__( /*! ./default-attrs.json */ "./src/default-attrs.json"); var _defaultAttrs2 = _interopRequireDefault(_defaultAttrs); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Icon = function () { function Icon(name, contents) { var tags = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; _classCallCheck(this, Icon); this.name = name; this.contents = contents; this.tags = tags; this.attrs = _extends({}, _defaultAttrs2.default, { class: 'feather feather-' + name }); } /** * Create an SVG string. * @param {Object} attrs * @returns {string} */ _createClass(Icon, [{ key: 'toSvg', value: function toSvg() { var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var combinedAttrs = _extends({}, this.attrs, attrs, { class: (0, _dedupe2.default)(this.attrs.class, attrs.class) }); return '' + this.contents + ''; } /** * Return string representation of an `Icon`. * * Added for backward compatibility. If old code expects `feather.icons.` * to be a string, `toString()` will get implicitly called. * * @returns {string} */ }, { key: 'toString', value: function toString() { return this.contents; } }]); return Icon; }(); /** * Convert attributes object to string of HTML attributes. * @param {Object} attrs * @returns {string} */ function attrsToString(attrs) { return Object.keys(attrs).map(function (key) { return key + '="' + attrs[key] + '"'; }).join(' '); } exports.default = Icon; /***/ }, /***/ "./src/icons.js": /*!**********************!*\ !*** ./src/icons.js ***! \**********************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_164325__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _icon = __nested_webpack_require_164325__( /*! ./icon */ "./src/icon.js"); var _icon2 = _interopRequireDefault(_icon); var _icons = __nested_webpack_require_164325__( /*! ../dist/icons.json */ "./dist/icons.json"); var _icons2 = _interopRequireDefault(_icons); var _tags = __nested_webpack_require_164325__( /*! ./tags.json */ "./src/tags.json"); var _tags2 = _interopRequireDefault(_tags); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = Object.keys(_icons2.default).map(function (key) { return new _icon2.default(key, _icons2.default[key], _tags2.default[key]); }).reduce(function (object, icon) { object[icon.name] = icon; return object; }, {}); /***/ }, /***/ "./src/index.js": /*!**********************!*\ !*** ./src/index.js ***! \**********************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_165588__) { "use strict"; var _icons = __nested_webpack_require_165588__( /*! ./icons */ "./src/icons.js"); var _icons2 = _interopRequireDefault(_icons); var _toSvg = __nested_webpack_require_165588__( /*! ./to-svg */ "./src/to-svg.js"); var _toSvg2 = _interopRequireDefault(_toSvg); var _replace = __nested_webpack_require_165588__( /*! ./replace */ "./src/replace.js"); var _replace2 = _interopRequireDefault(_replace); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = { icons: _icons2.default, toSvg: _toSvg2.default, replace: _replace2.default }; /***/ }, /***/ "./src/replace.js": /*!************************!*\ !*** ./src/replace.js ***! \************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_166631__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /* eslint-env browser */ var _dedupe = __nested_webpack_require_166631__( /*! classnames/dedupe */ "./node_modules/classnames/dedupe.js"); var _dedupe2 = _interopRequireDefault(_dedupe); var _icons = __nested_webpack_require_166631__( /*! ./icons */ "./src/icons.js"); var _icons2 = _interopRequireDefault(_icons); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * Replace all HTML elements that have a `data-feather` attribute with SVG markup * corresponding to the element's `data-feather` attribute value. * @param {Object} attrs */ function replace() { var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; if (typeof document === 'undefined') { throw new Error('`feather.replace()` only works in a browser environment.'); } var elementsToReplace = document.querySelectorAll('[data-feather]'); Array.from(elementsToReplace).forEach(function (element) { return replaceElement(element, attrs); }); } /** * Replace a single HTML element with SVG markup * corresponding to the element's `data-feather` attribute value. * @param {HTMLElement} element * @param {Object} attrs */ function replaceElement(element) { var attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; var elementAttrs = getAttrs(element); var name = elementAttrs['data-feather']; delete elementAttrs['data-feather']; if (_icons2.default[name] === undefined) { console.warn('feather: \'' + name + '\' is not a valid icon'); return; } var svgString = _icons2.default[name].toSvg(_extends({}, attrs, elementAttrs, { class: (0, _dedupe2.default)(attrs.class, elementAttrs.class) })); var svgDocument = new DOMParser().parseFromString(svgString, 'image/svg+xml'); var svgElement = svgDocument.querySelector('svg'); element.parentNode.replaceChild(svgElement, element); } /** * Get the attributes of an HTML element. * @param {HTMLElement} element * @returns {Object} */ function getAttrs(element) { return Array.from(element.attributes).reduce(function (attrs, attr) { attrs[attr.name] = attr.value; return attrs; }, {}); } exports.default = replace; /***/ }, /***/ "./src/tags.json": /*!***********************!*\ !*** ./src/tags.json ***! \***********************/ /*! exports provided: activity, airplay, alert-circle, alert-octagon, alert-triangle, align-center, align-justify, align-left, align-right, anchor, archive, at-sign, award, aperture, bar-chart, bar-chart-2, battery, battery-charging, bell, bell-off, bluetooth, book-open, book, bookmark, box, briefcase, calendar, camera, cast, chevron-down, chevron-up, circle, clipboard, clock, cloud-drizzle, cloud-lightning, cloud-rain, cloud-snow, cloud, codepen, codesandbox, code, coffee, columns, command, compass, copy, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, cpu, credit-card, crop, crosshair, database, delete, disc, dollar-sign, droplet, edit, edit-2, edit-3, eye, eye-off, external-link, facebook, fast-forward, figma, file-minus, file-plus, file-text, film, filter, flag, folder-minus, folder-plus, folder, framer, frown, gift, git-branch, git-commit, git-merge, git-pull-request, github, gitlab, globe, hard-drive, hash, headphones, heart, help-circle, hexagon, home, image, inbox, instagram, key, layers, layout, life-buoy, link, link-2, linkedin, list, lock, log-in, log-out, mail, map-pin, map, maximize, maximize-2, meh, menu, message-circle, message-square, mic-off, mic, minimize, minimize-2, minus, monitor, moon, more-horizontal, more-vertical, mouse-pointer, move, music, navigation, navigation-2, octagon, package, paperclip, pause, pause-circle, pen-tool, percent, phone-call, phone-forwarded, phone-incoming, phone-missed, phone-off, phone-outgoing, phone, play, pie-chart, play-circle, plus, plus-circle, plus-square, pocket, power, printer, radio, refresh-cw, refresh-ccw, repeat, rewind, rotate-ccw, rotate-cw, rss, save, scissors, search, send, settings, share-2, shield, shield-off, shopping-bag, shopping-cart, shuffle, skip-back, skip-forward, slack, slash, sliders, smartphone, smile, speaker, star, stop-circle, sun, sunrise, sunset, tablet, tag, target, terminal, thermometer, thumbs-down, thumbs-up, toggle-left, toggle-right, tool, trash, trash-2, triangle, truck, tv, twitch, twitter, type, umbrella, unlock, user-check, user-minus, user-plus, user-x, user, users, video-off, video, voicemail, volume, volume-1, volume-2, volume-x, watch, wifi-off, wifi, wind, x-circle, x-octagon, x-square, x, youtube, zap-off, zap, zoom-in, zoom-out, default */ /***/ function (module) { module.exports = { "activity": ["pulse", "health", "action", "motion"], "airplay": ["stream", "cast", "mirroring"], "alert-circle": ["warning", "alert", "danger"], "alert-octagon": ["warning", "alert", "danger"], "alert-triangle": ["warning", "alert", "danger"], "align-center": ["text alignment", "center"], "align-justify": ["text alignment", "justified"], "align-left": ["text alignment", "left"], "align-right": ["text alignment", "right"], "anchor": [], "archive": ["index", "box"], "at-sign": ["mention", "at", "email", "message"], "award": ["achievement", "badge"], "aperture": ["camera", "photo"], "bar-chart": ["statistics", "diagram", "graph"], "bar-chart-2": ["statistics", "diagram", "graph"], "battery": ["power", "electricity"], "battery-charging": ["power", "electricity"], "bell": ["alarm", "notification", "sound"], "bell-off": ["alarm", "notification", "silent"], "bluetooth": ["wireless"], "book-open": ["read", "library"], "book": ["read", "dictionary", "booklet", "magazine", "library"], "bookmark": ["read", "clip", "marker", "tag"], "box": ["cube"], "briefcase": ["work", "bag", "baggage", "folder"], "calendar": ["date"], "camera": ["photo"], "cast": ["chromecast", "airplay"], "chevron-down": ["expand"], "chevron-up": ["collapse"], "circle": ["off", "zero", "record"], "clipboard": ["copy"], "clock": ["time", "watch", "alarm"], "cloud-drizzle": ["weather", "shower"], "cloud-lightning": ["weather", "bolt"], "cloud-rain": ["weather"], "cloud-snow": ["weather", "blizzard"], "cloud": ["weather"], "codepen": ["logo"], "codesandbox": ["logo"], "code": ["source", "programming"], "coffee": ["drink", "cup", "mug", "tea", "cafe", "hot", "beverage"], "columns": ["layout"], "command": ["keyboard", "cmd", "terminal", "prompt"], "compass": ["navigation", "safari", "travel", "direction"], "copy": ["clone", "duplicate"], "corner-down-left": ["arrow", "return"], "corner-down-right": ["arrow"], "corner-left-down": ["arrow"], "corner-left-up": ["arrow"], "corner-right-down": ["arrow"], "corner-right-up": ["arrow"], "corner-up-left": ["arrow"], "corner-up-right": ["arrow"], "cpu": ["processor", "technology"], "credit-card": ["purchase", "payment", "cc"], "crop": ["photo", "image"], "crosshair": ["aim", "target"], "database": ["storage", "memory"], "delete": ["remove"], "disc": ["album", "cd", "dvd", "music"], "dollar-sign": ["currency", "money", "payment"], "droplet": ["water"], "edit": ["pencil", "change"], "edit-2": ["pencil", "change"], "edit-3": ["pencil", "change"], "eye": ["view", "watch"], "eye-off": ["view", "watch", "hide", "hidden"], "external-link": ["outbound"], "facebook": ["logo", "social"], "fast-forward": ["music"], "figma": ["logo", "design", "tool"], "file-minus": ["delete", "remove", "erase"], "file-plus": ["add", "create", "new"], "file-text": ["data", "txt", "pdf"], "film": ["movie", "video"], "filter": ["funnel", "hopper"], "flag": ["report"], "folder-minus": ["directory"], "folder-plus": ["directory"], "folder": ["directory"], "framer": ["logo", "design", "tool"], "frown": ["emoji", "face", "bad", "sad", "emotion"], "gift": ["present", "box", "birthday", "party"], "git-branch": ["code", "version control"], "git-commit": ["code", "version control"], "git-merge": ["code", "version control"], "git-pull-request": ["code", "version control"], "github": ["logo", "version control"], "gitlab": ["logo", "version control"], "globe": ["world", "browser", "language", "translate"], "hard-drive": ["computer", "server", "memory", "data"], "hash": ["hashtag", "number", "pound"], "headphones": ["music", "audio", "sound"], "heart": ["like", "love", "emotion"], "help-circle": ["question mark"], "hexagon": ["shape", "node.js", "logo"], "home": ["house", "living"], "image": ["picture"], "inbox": ["email"], "instagram": ["logo", "camera"], "key": ["password", "login", "authentication", "secure"], "layers": ["stack"], "layout": ["window", "webpage"], "life-buoy": ["help", "life ring", "support"], "link": ["chain", "url"], "link-2": ["chain", "url"], "linkedin": ["logo", "social media"], "list": ["options"], "lock": ["security", "password", "secure"], "log-in": ["sign in", "arrow", "enter"], "log-out": ["sign out", "arrow", "exit"], "mail": ["email", "message"], "map-pin": ["location", "navigation", "travel", "marker"], "map": ["location", "navigation", "travel"], "maximize": ["fullscreen"], "maximize-2": ["fullscreen", "arrows", "expand"], "meh": ["emoji", "face", "neutral", "emotion"], "menu": ["bars", "navigation", "hamburger"], "message-circle": ["comment", "chat"], "message-square": ["comment", "chat"], "mic-off": ["record", "sound", "mute"], "mic": ["record", "sound", "listen"], "minimize": ["exit fullscreen", "close"], "minimize-2": ["exit fullscreen", "arrows", "close"], "minus": ["subtract"], "monitor": ["tv", "screen", "display"], "moon": ["dark", "night"], "more-horizontal": ["ellipsis"], "more-vertical": ["ellipsis"], "mouse-pointer": ["arrow", "cursor"], "move": ["arrows"], "music": ["note"], "navigation": ["location", "travel"], "navigation-2": ["location", "travel"], "octagon": ["stop"], "package": ["box", "container"], "paperclip": ["attachment"], "pause": ["music", "stop"], "pause-circle": ["music", "audio", "stop"], "pen-tool": ["vector", "drawing"], "percent": ["discount"], "phone-call": ["ring"], "phone-forwarded": ["call"], "phone-incoming": ["call"], "phone-missed": ["call"], "phone-off": ["call", "mute"], "phone-outgoing": ["call"], "phone": ["call"], "play": ["music", "start"], "pie-chart": ["statistics", "diagram"], "play-circle": ["music", "start"], "plus": ["add", "new"], "plus-circle": ["add", "new"], "plus-square": ["add", "new"], "pocket": ["logo", "save"], "power": ["on", "off"], "printer": ["fax", "office", "device"], "radio": ["signal"], "refresh-cw": ["synchronise", "arrows"], "refresh-ccw": ["arrows"], "repeat": ["loop", "arrows"], "rewind": ["music"], "rotate-ccw": ["arrow"], "rotate-cw": ["arrow"], "rss": ["feed", "subscribe"], "save": ["floppy disk"], "scissors": ["cut"], "search": ["find", "magnifier", "magnifying glass"], "send": ["message", "mail", "email", "paper airplane", "paper aeroplane"], "settings": ["cog", "edit", "gear", "preferences"], "share-2": ["network", "connections"], "shield": ["security", "secure"], "shield-off": ["security", "insecure"], "shopping-bag": ["ecommerce", "cart", "purchase", "store"], "shopping-cart": ["ecommerce", "cart", "purchase", "store"], "shuffle": ["music"], "skip-back": ["music"], "skip-forward": ["music"], "slack": ["logo"], "slash": ["ban", "no"], "sliders": ["settings", "controls"], "smartphone": ["cellphone", "device"], "smile": ["emoji", "face", "happy", "good", "emotion"], "speaker": ["audio", "music"], "star": ["bookmark", "favorite", "like"], "stop-circle": ["media", "music"], "sun": ["brightness", "weather", "light"], "sunrise": ["weather", "time", "morning", "day"], "sunset": ["weather", "time", "evening", "night"], "tablet": ["device"], "tag": ["label"], "target": ["logo", "bullseye"], "terminal": ["code", "command line", "prompt"], "thermometer": ["temperature", "celsius", "fahrenheit", "weather"], "thumbs-down": ["dislike", "bad", "emotion"], "thumbs-up": ["like", "good", "emotion"], "toggle-left": ["on", "off", "switch"], "toggle-right": ["on", "off", "switch"], "tool": ["settings", "spanner"], "trash": ["garbage", "delete", "remove", "bin"], "trash-2": ["garbage", "delete", "remove", "bin"], "triangle": ["delta"], "truck": ["delivery", "van", "shipping", "transport", "lorry"], "tv": ["television", "stream"], "twitch": ["logo"], "twitter": ["logo", "social"], "type": ["text"], "umbrella": ["rain", "weather"], "unlock": ["security"], "user-check": ["followed", "subscribed"], "user-minus": ["delete", "remove", "unfollow", "unsubscribe"], "user-plus": ["new", "add", "create", "follow", "subscribe"], "user-x": ["delete", "remove", "unfollow", "unsubscribe", "unavailable"], "user": ["person", "account"], "users": ["group"], "video-off": ["camera", "movie", "film"], "video": ["camera", "movie", "film"], "voicemail": ["phone"], "volume": ["music", "sound", "mute"], "volume-1": ["music", "sound"], "volume-2": ["music", "sound"], "volume-x": ["music", "sound", "mute"], "watch": ["clock", "time"], "wifi-off": ["disabled"], "wifi": ["connection", "signal", "wireless"], "wind": ["weather", "air"], "x-circle": ["cancel", "close", "delete", "remove", "times", "clear"], "x-octagon": ["delete", "stop", "alert", "warning", "times", "clear"], "x-square": ["cancel", "close", "delete", "remove", "times", "clear"], "x": ["cancel", "close", "delete", "remove", "times", "clear"], "youtube": ["logo", "video", "play"], "zap-off": ["flash", "camera", "lightning"], "zap": ["flash", "camera", "lightning"], "zoom-in": ["magnifying glass"], "zoom-out": ["magnifying glass"] }; /***/ }, /***/ "./src/to-svg.js": /*!***********************!*\ !*** ./src/to-svg.js ***! \***********************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_183866__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _icons = __nested_webpack_require_183866__( /*! ./icons */ "./src/icons.js"); var _icons2 = _interopRequireDefault(_icons); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * Create an SVG string. * @deprecated * @param {string} name * @param {Object} attrs * @returns {string} */ function toSvg(name) { var attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; console.warn('feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead.'); if (!name) { throw new Error('The required `key` (icon name) parameter is missing.'); } if (!_icons2.default[name]) { throw new Error('No icon matching \'' + name + '\'. See the complete list of icons at https://feathericons.com'); } return _icons2.default[name].toSvg(attrs); } exports.default = toSvg; /***/ }, /***/ 0: /*!**************************************************!*\ !*** multi core-js/es/array/from ./src/index.js ***! \**************************************************/ /*! no static exports found */ /***/ function (module, exports, __nested_webpack_require_185413__) { __nested_webpack_require_185413__( /*! core-js/es/array/from */ "./node_modules/core-js/es/array/from.js"); module.exports = __nested_webpack_require_185413__( /*! /home/runner/work/feather/feather/src/index.js */ "./src/index.js"); /***/ } /******/ }) ); }); //# sourceMappingURL=feather.js.map /***/ }), /***/ 73759: /*!********************************************!*\ !*** ./node_modules/fflate/esm/browser.js ***! \********************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "AsyncCompress": () => (/* binding */ AsyncGzip), /* harmony export */ "AsyncDecompress": () => (/* binding */ AsyncDecompress), /* harmony export */ "AsyncDeflate": () => (/* binding */ AsyncDeflate), /* harmony export */ "AsyncGunzip": () => (/* binding */ AsyncGunzip), /* harmony export */ "AsyncGzip": () => (/* binding */ AsyncGzip), /* harmony export */ "AsyncInflate": () => (/* binding */ AsyncInflate), /* harmony export */ "AsyncUnzipInflate": () => (/* binding */ AsyncUnzipInflate), /* harmony export */ "AsyncUnzlib": () => (/* binding */ AsyncUnzlib), /* harmony export */ "AsyncZipDeflate": () => (/* binding */ AsyncZipDeflate), /* harmony export */ "AsyncZlib": () => (/* binding */ AsyncZlib), /* harmony export */ "Compress": () => (/* binding */ Gzip), /* harmony export */ "DecodeUTF8": () => (/* binding */ DecodeUTF8), /* harmony export */ "Decompress": () => (/* binding */ Decompress), /* harmony export */ "Deflate": () => (/* binding */ Deflate), /* harmony export */ "EncodeUTF8": () => (/* binding */ EncodeUTF8), /* harmony export */ "FlateErrorCode": () => (/* binding */ FlateErrorCode), /* harmony export */ "Gunzip": () => (/* binding */ Gunzip), /* harmony export */ "Gzip": () => (/* binding */ Gzip), /* harmony export */ "Inflate": () => (/* binding */ Inflate), /* harmony export */ "Unzip": () => (/* binding */ Unzip), /* harmony export */ "UnzipInflate": () => (/* binding */ UnzipInflate), /* harmony export */ "UnzipPassThrough": () => (/* binding */ UnzipPassThrough), /* harmony export */ "Unzlib": () => (/* binding */ Unzlib), /* harmony export */ "Zip": () => (/* binding */ Zip), /* harmony export */ "ZipDeflate": () => (/* binding */ ZipDeflate), /* harmony export */ "ZipPassThrough": () => (/* binding */ ZipPassThrough), /* harmony export */ "Zlib": () => (/* binding */ Zlib), /* harmony export */ "compress": () => (/* binding */ gzip), /* harmony export */ "compressSync": () => (/* binding */ gzipSync), /* harmony export */ "decompress": () => (/* binding */ decompress), /* harmony export */ "decompressSync": () => (/* binding */ decompressSync), /* harmony export */ "deflate": () => (/* binding */ deflate), /* harmony export */ "deflateSync": () => (/* binding */ deflateSync), /* harmony export */ "gunzip": () => (/* binding */ gunzip), /* harmony export */ "gunzipSync": () => (/* binding */ gunzipSync), /* harmony export */ "gzip": () => (/* binding */ gzip), /* harmony export */ "gzipSync": () => (/* binding */ gzipSync), /* harmony export */ "inflate": () => (/* binding */ inflate), /* harmony export */ "inflateSync": () => (/* binding */ inflateSync), /* harmony export */ "strFromU8": () => (/* binding */ strFromU8), /* harmony export */ "strToU8": () => (/* binding */ strToU8), /* harmony export */ "unzip": () => (/* binding */ unzip), /* harmony export */ "unzipSync": () => (/* binding */ unzipSync), /* harmony export */ "unzlib": () => (/* binding */ unzlib), /* harmony export */ "unzlibSync": () => (/* binding */ unzlibSync), /* harmony export */ "zip": () => (/* binding */ zip), /* harmony export */ "zipSync": () => (/* binding */ zipSync), /* harmony export */ "zlib": () => (/* binding */ zlib), /* harmony export */ "zlibSync": () => (/* binding */ zlibSync) /* harmony export */ }); // DEFLATE is a complex format; to read this code, you should probably check the RFC first: // https://tools.ietf.org/html/rfc1951 // You may also wish to take a look at the guide I made about this program: // https://gist.github.com/101arrowz/253f31eb5abc3d9275ab943003ffecad // Some of the following code is similar to that of UZIP.js: // https://github.com/photopea/UZIP.js // However, the vast majority of the codebase has diverged from UZIP.js to increase performance and reduce bundle size. // Sometimes 0 will appear where -1 would be more appropriate. This is because using a uint // is better for memory in most engines (I *think*). var ch2 = {}; var wk = function (c, id, msg, transfer, cb) { var w = new Worker(ch2[id] || (ch2[id] = URL.createObjectURL(new Blob([c + ';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'], { type: 'text/javascript' })))); w.onmessage = function (e) { var d = e.data, ed = d.$e$; if (ed) { var err = new Error(ed[0]); err['code'] = ed[1]; err.stack = ed[2]; cb(err, null); } else cb(null, d); }; w.postMessage(msg, transfer); return w; }; // aliases for shorter compressed code (most minifers don't do this) var u8 = Uint8Array, u16 = Uint16Array, i32 = Int32Array; // fixed length extra bits var fleb = new u8([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, /* unused */ 0, 0, /* impossible */ 0]); // fixed distance extra bits var fdeb = new u8([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, /* unused */ 0, 0]); // code length index map var clim = new u8([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]); // get base, reverse index map from extra bits var freb = function (eb, start) { var b = new u16(31); for (var i = 0; i < 31; ++i) { b[i] = start += 1 << eb[i - 1]; } // numbers here are at max 18 bits var r = new i32(b[30]); for (var i = 1; i < 30; ++i) { for (var j = b[i]; j < b[i + 1]; ++j) { r[j] = j - b[i] << 5 | i; } } return { b: b, r: r }; }; var _a = freb(fleb, 2), fl = _a.b, revfl = _a.r; // we can ignore the fact that the other numbers are wrong; they never happen anyway fl[28] = 258, revfl[258] = 28; var _b = freb(fdeb, 0), fd = _b.b, revfd = _b.r; // map of value to reverse (assuming 16 bits) var rev = new u16(32768); for (var i = 0; i < 32768; ++i) { // reverse table algorithm from SO var x = (i & 0xAAAA) >> 1 | (i & 0x5555) << 1; x = (x & 0xCCCC) >> 2 | (x & 0x3333) << 2; x = (x & 0xF0F0) >> 4 | (x & 0x0F0F) << 4; rev[i] = ((x & 0xFF00) >> 8 | (x & 0x00FF) << 8) >> 1; } // create huffman tree from u8 "map": index -> code length for code index // mb (max bits) must be at most 15 // TODO: optimize/split up? var hMap = function (cd, mb, r) { var s = cd.length; // index var i = 0; // u16 "map": index -> # of codes with bit length = index var l = new u16(mb); // length of cd must be 288 (total # of codes) for (; i < s; ++i) { if (cd[i]) ++l[cd[i] - 1]; } // u16 "map": index -> minimum code for bit length = index var le = new u16(mb); for (i = 1; i < mb; ++i) { le[i] = le[i - 1] + l[i - 1] << 1; } var co; if (r) { // u16 "map": index -> number of actual bits, symbol for code co = new u16(1 << mb); // bits to remove for reverser var rvb = 15 - mb; for (i = 0; i < s; ++i) { // ignore 0 lengths if (cd[i]) { // num encoding both symbol and bits read var sv = i << 4 | cd[i]; // free bits var r_1 = mb - cd[i]; // start value var v = le[cd[i] - 1]++ << r_1; // m is end value for (var m = v | (1 << r_1) - 1; v <= m; ++v) { // every 16 bit value starting with the code yields the same result co[rev[v] >> rvb] = sv; } } } } else { co = new u16(s); for (i = 0; i < s; ++i) { if (cd[i]) { co[i] = rev[le[cd[i] - 1]++] >> 15 - cd[i]; } } } return co; }; // fixed length tree var flt = new u8(288); for (var i = 0; i < 144; ++i) flt[i] = 8; for (var i = 144; i < 256; ++i) flt[i] = 9; for (var i = 256; i < 280; ++i) flt[i] = 7; for (var i = 280; i < 288; ++i) flt[i] = 8; // fixed distance tree var fdt = new u8(32); for (var i = 0; i < 32; ++i) fdt[i] = 5; // fixed length map var flm = /*#__PURE__*/hMap(flt, 9, 0), flrm = /*#__PURE__*/hMap(flt, 9, 1); // fixed distance map var fdm = /*#__PURE__*/hMap(fdt, 5, 0), fdrm = /*#__PURE__*/hMap(fdt, 5, 1); // find max of array var max = function (a) { var m = a[0]; for (var i = 1; i < a.length; ++i) { if (a[i] > m) m = a[i]; } return m; }; // read d, starting at bit p and mask with m var bits = function (d, p, m) { var o = p / 8 | 0; return (d[o] | d[o + 1] << 8) >> (p & 7) & m; }; // read d, starting at bit p continuing for at least 16 bits var bits16 = function (d, p) { var o = p / 8 | 0; return (d[o] | d[o + 1] << 8 | d[o + 2] << 16) >> (p & 7); }; // get end of byte var shft = function (p) { return (p + 7) / 8 | 0; }; // typed array slice - allows garbage collector to free original reference, // while being more compatible than .slice var slc = function (v, s, e) { if (s == null || s < 0) s = 0; if (e == null || e > v.length) e = v.length; // can't use .constructor in case user-supplied return new u8(v.subarray(s, e)); }; /** * Codes for errors generated within this library */ var FlateErrorCode = { UnexpectedEOF: 0, InvalidBlockType: 1, InvalidLengthLiteral: 2, InvalidDistance: 3, StreamFinished: 4, NoStreamHandler: 5, InvalidHeader: 6, NoCallback: 7, InvalidUTF8: 8, ExtraFieldTooLong: 9, InvalidDate: 10, FilenameTooLong: 11, StreamFinishing: 12, InvalidZipData: 13, UnknownCompressionMethod: 14 }; // error codes var ec = ['unexpected EOF', 'invalid block type', 'invalid length/literal', 'invalid distance', 'stream finished', 'no stream handler',, 'no callback', 'invalid UTF-8 data', 'extra field too long', 'date not in range 1980-2099', 'filename too long', 'stream finishing', 'invalid zip data' // determined by unknown compression method ]; ; var err = function (ind, msg, nt) { var e = new Error(msg || ec[ind]); e.code = ind; if (Error.captureStackTrace) Error.captureStackTrace(e, err); if (!nt) throw e; return e; }; // expands raw DEFLATE data var inflt = function (dat, st, buf, dict) { // source length dict length var sl = dat.length, dl = dict ? dict.length : 0; if (!sl || st.f && !st.l) return buf || new u8(0); var noBuf = !buf; // have to estimate size var resize = noBuf || st.i != 2; // no state var noSt = st.i; // Assumes roughly 33% compression ratio average if (noBuf) buf = new u8(sl * 3); // ensure buffer can fit at least l elements var cbuf = function (l) { var bl = buf.length; // need to increase size to fit if (l > bl) { // Double or set to necessary, whichever is greater var nbuf = new u8(Math.max(bl * 2, l)); nbuf.set(buf); buf = nbuf; } }; // last chunk bitpos bytes var final = st.f || 0, pos = st.p || 0, bt = st.b || 0, lm = st.l, dm = st.d, lbt = st.m, dbt = st.n; // total bits var tbts = sl * 8; do { if (!lm) { // BFINAL - this is only 1 when last chunk is next final = bits(dat, pos, 1); // type: 0 = no compression, 1 = fixed huffman, 2 = dynamic huffman var type = bits(dat, pos + 1, 3); pos += 3; if (!type) { // go to end of byte boundary var s = shft(pos) + 4, l = dat[s - 4] | dat[s - 3] << 8, t = s + l; if (t > sl) { if (noSt) err(0); break; } // ensure size if (resize) cbuf(bt + l); // Copy over uncompressed data buf.set(dat.subarray(s, t), bt); // Get new bitpos, update byte count st.b = bt += l, st.p = pos = t * 8, st.f = final; continue; } else if (type == 1) lm = flrm, dm = fdrm, lbt = 9, dbt = 5;else if (type == 2) { // literal lengths var hLit = bits(dat, pos, 31) + 257, hcLen = bits(dat, pos + 10, 15) + 4; var tl = hLit + bits(dat, pos + 5, 31) + 1; pos += 14; // length+distance tree var ldt = new u8(tl); // code length tree var clt = new u8(19); for (var i = 0; i < hcLen; ++i) { // use index map to get real code clt[clim[i]] = bits(dat, pos + i * 3, 7); } pos += hcLen * 3; // code lengths bits var clb = max(clt), clbmsk = (1 << clb) - 1; // code lengths map var clm = hMap(clt, clb, 1); for (var i = 0; i < tl;) { var r = clm[bits(dat, pos, clbmsk)]; // bits read pos += r & 15; // symbol var s = r >> 4; // code length to copy if (s < 16) { ldt[i++] = s; } else { // copy count var c = 0, n = 0; if (s == 16) n = 3 + bits(dat, pos, 3), pos += 2, c = ldt[i - 1];else if (s == 17) n = 3 + bits(dat, pos, 7), pos += 3;else if (s == 18) n = 11 + bits(dat, pos, 127), pos += 7; while (n--) ldt[i++] = c; } } // length tree distance tree var lt = ldt.subarray(0, hLit), dt = ldt.subarray(hLit); // max length bits lbt = max(lt); // max dist bits dbt = max(dt); lm = hMap(lt, lbt, 1); dm = hMap(dt, dbt, 1); } else err(1); if (pos > tbts) { if (noSt) err(0); break; } } // Make sure the buffer can hold this + the largest possible addition // Maximum chunk size (practically, theoretically infinite) is 2^17 if (resize) cbuf(bt + 131072); var lms = (1 << lbt) - 1, dms = (1 << dbt) - 1; var lpos = pos; for (;; lpos = pos) { // bits read, code var c = lm[bits16(dat, pos) & lms], sym = c >> 4; pos += c & 15; if (pos > tbts) { if (noSt) err(0); break; } if (!c) err(2); if (sym < 256) buf[bt++] = sym;else if (sym == 256) { lpos = pos, lm = null; break; } else { var add = sym - 254; // no extra bits needed if less if (sym > 264) { // index var i = sym - 257, b = fleb[i]; add = bits(dat, pos, (1 << b) - 1) + fl[i]; pos += b; } // dist var d = dm[bits16(dat, pos) & dms], dsym = d >> 4; if (!d) err(3); pos += d & 15; var dt = fd[dsym]; if (dsym > 3) { var b = fdeb[dsym]; dt += bits16(dat, pos) & (1 << b) - 1, pos += b; } if (pos > tbts) { if (noSt) err(0); break; } if (resize) cbuf(bt + 131072); var end = bt + add; if (bt < dt) { var shift = dl - dt, dend = Math.min(dt, end); if (shift + bt < 0) err(3); for (; bt < dend; ++bt) buf[bt] = dict[shift + bt]; } for (; bt < end; ++bt) buf[bt] = buf[bt - dt]; } } st.l = lm, st.p = lpos, st.b = bt, st.f = final; if (lm) final = 1, st.m = lbt, st.d = dm, st.n = dbt; } while (!final); // don't reallocate for streams or user buffers return bt != buf.length && noBuf ? slc(buf, 0, bt) : buf.subarray(0, bt); }; // starting at p, write the minimum number of bits that can hold v to d var wbits = function (d, p, v) { v <<= p & 7; var o = p / 8 | 0; d[o] |= v; d[o + 1] |= v >> 8; }; // starting at p, write the minimum number of bits (>8) that can hold v to d var wbits16 = function (d, p, v) { v <<= p & 7; var o = p / 8 | 0; d[o] |= v; d[o + 1] |= v >> 8; d[o + 2] |= v >> 16; }; // creates code lengths from a frequency table var hTree = function (d, mb) { // Need extra info to make a tree var t = []; for (var i = 0; i < d.length; ++i) { if (d[i]) t.push({ s: i, f: d[i] }); } var s = t.length; var t2 = t.slice(); if (!s) return { t: et, l: 0 }; if (s == 1) { var v = new u8(t[0].s + 1); v[t[0].s] = 1; return { t: v, l: 1 }; } t.sort(function (a, b) { return a.f - b.f; }); // after i2 reaches last ind, will be stopped // freq must be greater than largest possible number of symbols t.push({ s: -1, f: 25001 }); var l = t[0], r = t[1], i0 = 0, i1 = 1, i2 = 2; t[0] = { s: -1, f: l.f + r.f, l: l, r: r }; // efficient algorithm from UZIP.js // i0 is lookbehind, i2 is lookahead - after processing two low-freq // symbols that combined have high freq, will start processing i2 (high-freq, // non-composite) symbols instead // see https://reddit.com/r/photopea/comments/ikekht/uzipjs_questions/ while (i1 != s - 1) { l = t[t[i0].f < t[i2].f ? i0++ : i2++]; r = t[i0 != i1 && t[i0].f < t[i2].f ? i0++ : i2++]; t[i1++] = { s: -1, f: l.f + r.f, l: l, r: r }; } var maxSym = t2[0].s; for (var i = 1; i < s; ++i) { if (t2[i].s > maxSym) maxSym = t2[i].s; } // code lengths var tr = new u16(maxSym + 1); // max bits in tree var mbt = ln(t[i1 - 1], tr, 0); if (mbt > mb) { // more algorithms from UZIP.js // TODO: find out how this code works (debt) // ind debt var i = 0, dt = 0; // left cost var lft = mbt - mb, cst = 1 << lft; t2.sort(function (a, b) { return tr[b.s] - tr[a.s] || a.f - b.f; }); for (; i < s; ++i) { var i2_1 = t2[i].s; if (tr[i2_1] > mb) { dt += cst - (1 << mbt - tr[i2_1]); tr[i2_1] = mb; } else break; } dt >>= lft; while (dt > 0) { var i2_2 = t2[i].s; if (tr[i2_2] < mb) dt -= 1 << mb - tr[i2_2]++ - 1;else ++i; } for (; i >= 0 && dt; --i) { var i2_3 = t2[i].s; if (tr[i2_3] == mb) { --tr[i2_3]; ++dt; } } mbt = mb; } return { t: new u8(tr), l: mbt }; }; // get the max length and assign length codes var ln = function (n, l, d) { return n.s == -1 ? Math.max(ln(n.l, l, d + 1), ln(n.r, l, d + 1)) : l[n.s] = d; }; // length codes generation var lc = function (c) { var s = c.length; // Note that the semicolon was intentional while (s && !c[--s]); var cl = new u16(++s); // ind num streak var cli = 0, cln = c[0], cls = 1; var w = function (v) { cl[cli++] = v; }; for (var i = 1; i <= s; ++i) { if (c[i] == cln && i != s) ++cls;else { if (!cln && cls > 2) { for (; cls > 138; cls -= 138) w(32754); if (cls > 2) { w(cls > 10 ? cls - 11 << 5 | 28690 : cls - 3 << 5 | 12305); cls = 0; } } else if (cls > 3) { w(cln), --cls; for (; cls > 6; cls -= 6) w(8304); if (cls > 2) w(cls - 3 << 5 | 8208), cls = 0; } while (cls--) w(cln); cls = 1; cln = c[i]; } } return { c: cl.subarray(0, cli), n: s }; }; // calculate the length of output from tree, code lengths var clen = function (cf, cl) { var l = 0; for (var i = 0; i < cl.length; ++i) l += cf[i] * cl[i]; return l; }; // writes a fixed block // returns the new bit pos var wfblk = function (out, pos, dat) { // no need to write 00 as type: TypedArray defaults to 0 var s = dat.length; var o = shft(pos + 2); out[o] = s & 255; out[o + 1] = s >> 8; out[o + 2] = out[o] ^ 255; out[o + 3] = out[o + 1] ^ 255; for (var i = 0; i < s; ++i) out[o + i + 4] = dat[i]; return (o + 4 + s) * 8; }; // writes a block var wblk = function (dat, out, final, syms, lf, df, eb, li, bs, bl, p) { wbits(out, p++, final); ++lf[256]; var _a = hTree(lf, 15), dlt = _a.t, mlb = _a.l; var _b = hTree(df, 15), ddt = _b.t, mdb = _b.l; var _c = lc(dlt), lclt = _c.c, nlc = _c.n; var _d = lc(ddt), lcdt = _d.c, ndc = _d.n; var lcfreq = new u16(19); for (var i = 0; i < lclt.length; ++i) ++lcfreq[lclt[i] & 31]; for (var i = 0; i < lcdt.length; ++i) ++lcfreq[lcdt[i] & 31]; var _e = hTree(lcfreq, 7), lct = _e.t, mlcb = _e.l; var nlcc = 19; for (; nlcc > 4 && !lct[clim[nlcc - 1]]; --nlcc); var flen = bl + 5 << 3; var ftlen = clen(lf, flt) + clen(df, fdt) + eb; var dtlen = clen(lf, dlt) + clen(df, ddt) + eb + 14 + 3 * nlcc + clen(lcfreq, lct) + 2 * lcfreq[16] + 3 * lcfreq[17] + 7 * lcfreq[18]; if (bs >= 0 && flen <= ftlen && flen <= dtlen) return wfblk(out, p, dat.subarray(bs, bs + bl)); var lm, ll, dm, dl; wbits(out, p, 1 + (dtlen < ftlen)), p += 2; if (dtlen < ftlen) { lm = hMap(dlt, mlb, 0), ll = dlt, dm = hMap(ddt, mdb, 0), dl = ddt; var llm = hMap(lct, mlcb, 0); wbits(out, p, nlc - 257); wbits(out, p + 5, ndc - 1); wbits(out, p + 10, nlcc - 4); p += 14; for (var i = 0; i < nlcc; ++i) wbits(out, p + 3 * i, lct[clim[i]]); p += 3 * nlcc; var lcts = [lclt, lcdt]; for (var it = 0; it < 2; ++it) { var clct = lcts[it]; for (var i = 0; i < clct.length; ++i) { var len = clct[i] & 31; wbits(out, p, llm[len]), p += lct[len]; if (len > 15) wbits(out, p, clct[i] >> 5 & 127), p += clct[i] >> 12; } } } else { lm = flm, ll = flt, dm = fdm, dl = fdt; } for (var i = 0; i < li; ++i) { var sym = syms[i]; if (sym > 255) { var len = sym >> 18 & 31; wbits16(out, p, lm[len + 257]), p += ll[len + 257]; if (len > 7) wbits(out, p, sym >> 23 & 31), p += fleb[len]; var dst = sym & 31; wbits16(out, p, dm[dst]), p += dl[dst]; if (dst > 3) wbits16(out, p, sym >> 5 & 8191), p += fdeb[dst]; } else { wbits16(out, p, lm[sym]), p += ll[sym]; } } wbits16(out, p, lm[256]); return p + ll[256]; }; // deflate options (nice << 13) | chain var deo = /*#__PURE__*/new i32([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]); // empty var et = /*#__PURE__*/new u8(0); // compresses data into a raw DEFLATE buffer var dflt = function (dat, lvl, plvl, pre, post, st) { var s = st.z || dat.length; var o = new u8(pre + s + 5 * (1 + Math.ceil(s / 7000)) + post); // writing to this writes to the output buffer var w = o.subarray(pre, o.length - post); var lst = st.l; var pos = (st.r || 0) & 7; if (lvl) { if (pos) w[0] = st.r >> 3; var opt = deo[lvl - 1]; var n = opt >> 13, c = opt & 8191; var msk_1 = (1 << plvl) - 1; // prev 2-byte val map curr 2-byte val map var prev = st.p || new u16(32768), head = st.h || new u16(msk_1 + 1); var bs1_1 = Math.ceil(plvl / 3), bs2_1 = 2 * bs1_1; var hsh = function (i) { return (dat[i] ^ dat[i + 1] << bs1_1 ^ dat[i + 2] << bs2_1) & msk_1; }; // 24576 is an arbitrary number of maximum symbols per block // 424 buffer for last block var syms = new i32(25000); // length/literal freq distance freq var lf = new u16(288), df = new u16(32); // l/lcnt exbits index l/lind waitdx blkpos var lc_1 = 0, eb = 0, i = st.i || 0, li = 0, wi = st.w || 0, bs = 0; for (; i + 2 < s; ++i) { // hash value var hv = hsh(i); // index mod 32768 previous index mod var imod = i & 32767, pimod = head[hv]; prev[imod] = pimod; head[hv] = imod; // We always should modify head and prev, but only add symbols if // this data is not yet processed ("wait" for wait index) if (wi <= i) { // bytes remaining var rem = s - i; if ((lc_1 > 7000 || li > 24576) && (rem > 423 || !lst)) { pos = wblk(dat, w, 0, syms, lf, df, eb, li, bs, i - bs, pos); li = lc_1 = eb = 0, bs = i; for (var j = 0; j < 286; ++j) lf[j] = 0; for (var j = 0; j < 30; ++j) df[j] = 0; } // len dist chain var l = 2, d = 0, ch_1 = c, dif = imod - pimod & 32767; if (rem > 2 && hv == hsh(i - dif)) { var maxn = Math.min(n, rem) - 1; var maxd = Math.min(32767, i); // max possible length // not capped at dif because decompressors implement "rolling" index population var ml = Math.min(258, rem); while (dif <= maxd && --ch_1 && imod != pimod) { if (dat[i + l] == dat[i + l - dif]) { var nl = 0; for (; nl < ml && dat[i + nl] == dat[i + nl - dif]; ++nl); if (nl > l) { l = nl, d = dif; // break out early when we reach "nice" (we are satisfied enough) if (nl > maxn) break; // now, find the rarest 2-byte sequence within this // length of literals and search for that instead. // Much faster than just using the start var mmd = Math.min(dif, nl - 2); var md = 0; for (var j = 0; j < mmd; ++j) { var ti = i - dif + j & 32767; var pti = prev[ti]; var cd = ti - pti & 32767; if (cd > md) md = cd, pimod = ti; } } } // check the previous match imod = pimod, pimod = prev[imod]; dif += imod - pimod & 32767; } } // d will be nonzero only when a match was found if (d) { // store both dist and len data in one int32 // Make sure this is recognized as a len/dist with 28th bit (2^28) syms[li++] = 268435456 | revfl[l] << 18 | revfd[d]; var lin = revfl[l] & 31, din = revfd[d] & 31; eb += fleb[lin] + fdeb[din]; ++lf[257 + lin]; ++df[din]; wi = i + l; ++lc_1; } else { syms[li++] = dat[i]; ++lf[dat[i]]; } } } for (i = Math.max(i, wi); i < s; ++i) { syms[li++] = dat[i]; ++lf[dat[i]]; } pos = wblk(dat, w, lst, syms, lf, df, eb, li, bs, i - bs, pos); if (!lst) { st.r = pos & 7 | w[pos / 8 | 0] << 3; // shft(pos) now 1 less if pos & 7 != 0 pos -= 7; st.h = head, st.p = prev, st.i = i, st.w = wi; } } else { for (var i = st.w || 0; i < s + lst; i += 65535) { // end var e = i + 65535; if (e >= s) { // write final block w[pos / 8 | 0] = lst; e = s; } pos = wfblk(w, pos + 1, dat.subarray(i, e)); } st.i = s; } return slc(o, 0, pre + shft(pos) + post); }; // CRC32 table var crct = /*#__PURE__*/function () { var t = new Int32Array(256); for (var i = 0; i < 256; ++i) { var c = i, k = 9; while (--k) c = (c & 1 && -306674912) ^ c >>> 1; t[i] = c; } return t; }(); // CRC32 var crc = function () { var c = -1; return { p: function (d) { // closures have awful performance var cr = c; for (var i = 0; i < d.length; ++i) cr = crct[cr & 255 ^ d[i]] ^ cr >>> 8; c = cr; }, d: function () { return ~c; } }; }; // Adler32 var adler = function () { var a = 1, b = 0; return { p: function (d) { // closures have awful performance var n = a, m = b; var l = d.length | 0; for (var i = 0; i != l;) { var e = Math.min(i + 2655, l); for (; i < e; ++i) m += n += d[i]; n = (n & 65535) + 15 * (n >> 16), m = (m & 65535) + 15 * (m >> 16); } a = n, b = m; }, d: function () { a %= 65521, b %= 65521; return (a & 255) << 24 | (a & 0xFF00) << 8 | (b & 255) << 8 | b >> 8; } }; }; ; // deflate with opts var dopt = function (dat, opt, pre, post, st) { if (!st) { st = { l: 1 }; if (opt.dictionary) { var dict = opt.dictionary.subarray(-32768); var newDat = new u8(dict.length + dat.length); newDat.set(dict); newDat.set(dat, dict.length); dat = newDat; st.w = dict.length; } } return dflt(dat, opt.level == null ? 6 : opt.level, opt.mem == null ? st.l ? Math.ceil(Math.max(8, Math.min(13, Math.log(dat.length))) * 1.5) : 20 : 12 + opt.mem, pre, post, st); }; // Walmart object spread var mrg = function (a, b) { var o = {}; for (var k in a) o[k] = a[k]; for (var k in b) o[k] = b[k]; return o; }; // worker clone // This is possibly the craziest part of the entire codebase, despite how simple it may seem. // The only parameter to this function is a closure that returns an array of variables outside of the function scope. // We're going to try to figure out the variable names used in the closure as strings because that is crucial for workerization. // We will return an object mapping of true variable name to value (basically, the current scope as a JS object). // The reason we can't just use the original variable names is minifiers mangling the toplevel scope. // This took me three weeks to figure out how to do. var wcln = function (fn, fnStr, td) { var dt = fn(); var st = fn.toString(); var ks = st.slice(st.indexOf('[') + 1, st.lastIndexOf(']')).replace(/\s+/g, '').split(','); for (var i = 0; i < dt.length; ++i) { var v = dt[i], k = ks[i]; if (typeof v == 'function') { fnStr += ';' + k + '='; var st_1 = v.toString(); if (v.prototype) { // for global objects if (st_1.indexOf('[native code]') != -1) { var spInd = st_1.indexOf(' ', 8) + 1; fnStr += st_1.slice(spInd, st_1.indexOf('(', spInd)); } else { fnStr += st_1; for (var t in v.prototype) fnStr += ';' + k + '.prototype.' + t + '=' + v.prototype[t].toString(); } } else fnStr += st_1; } else td[k] = v; } return fnStr; }; var ch = []; // clone bufs var cbfs = function (v) { var tl = []; for (var k in v) { if (v[k].buffer) { tl.push((v[k] = new v[k].constructor(v[k])).buffer); } } return tl; }; // use a worker to execute code var wrkr = function (fns, init, id, cb) { if (!ch[id]) { var fnStr = '', td_1 = {}, m = fns.length - 1; for (var i = 0; i < m; ++i) fnStr = wcln(fns[i], fnStr, td_1); ch[id] = { c: wcln(fns[m], fnStr, td_1), e: td_1 }; } var td = mrg({}, ch[id].e); return wk(ch[id].c + ';onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage=' + init.toString() + '}', id, td, cbfs(td), cb); }; // base async inflate fn var bInflt = function () { return [u8, u16, i32, fleb, fdeb, clim, fl, fd, flrm, fdrm, rev, ec, hMap, max, bits, bits16, shft, slc, err, inflt, inflateSync, pbf, gopt]; }; var bDflt = function () { return [u8, u16, i32, fleb, fdeb, clim, revfl, revfd, flm, flt, fdm, fdt, rev, deo, et, hMap, wbits, wbits16, hTree, ln, lc, clen, wfblk, wblk, shft, slc, dflt, dopt, deflateSync, pbf]; }; // gzip extra var gze = function () { return [gzh, gzhl, wbytes, crc, crct]; }; // gunzip extra var guze = function () { return [gzs, gzl]; }; // zlib extra var zle = function () { return [zlh, wbytes, adler]; }; // unzlib extra var zule = function () { return [zls]; }; // post buf var pbf = function (msg) { return postMessage(msg, [msg.buffer]); }; // get opts var gopt = function (o) { return o && { out: o.size && new u8(o.size), dictionary: o.dictionary }; }; // async helper var cbify = function (dat, opts, fns, init, id, cb) { var w = wrkr(fns, init, id, function (err, dat) { w.terminate(); cb(err, dat); }); w.postMessage([dat, opts], opts.consume ? [dat.buffer] : []); return function () { w.terminate(); }; }; // auto stream var astrm = function (strm) { strm.ondata = function (dat, final) { return postMessage([dat, final], [dat.buffer]); }; return function (ev) { if (ev.data.length) { strm.push(ev.data[0], ev.data[1]); postMessage([ev.data[0].length]); } else strm.flush(); }; }; // async stream attach var astrmify = function (fns, strm, opts, init, id, flush, ext) { var t; var w = wrkr(fns, init, id, function (err, dat) { if (err) w.terminate(), strm.ondata.call(strm, err);else if (!Array.isArray(dat)) ext(dat);else if (dat.length == 1) { strm.queuedSize -= dat[0]; if (strm.ondrain) strm.ondrain(dat[0]); } else { if (dat[1]) w.terminate(); strm.ondata.call(strm, err, dat[0], dat[1]); } }); w.postMessage(opts); strm.queuedSize = 0; strm.push = function (d, f) { if (!strm.ondata) err(5); if (t) strm.ondata(err(4, 0, 1), null, !!f); strm.queuedSize += d.length; w.postMessage([d, t = f], [d.buffer]); }; strm.terminate = function () { w.terminate(); }; if (flush) { strm.flush = function () { w.postMessage([]); }; } }; // read 2 bytes var b2 = function (d, b) { return d[b] | d[b + 1] << 8; }; // read 4 bytes var b4 = function (d, b) { return (d[b] | d[b + 1] << 8 | d[b + 2] << 16 | d[b + 3] << 24) >>> 0; }; var b8 = function (d, b) { return b4(d, b) + b4(d, b + 4) * 4294967296; }; // write bytes var wbytes = function (d, b, v) { for (; v; ++b) d[b] = v, v >>>= 8; }; // gzip header var gzh = function (c, o) { var fn = o.filename; c[0] = 31, c[1] = 139, c[2] = 8, c[8] = o.level < 2 ? 4 : o.level == 9 ? 2 : 0, c[9] = 3; // assume Unix if (o.mtime != 0) wbytes(c, 4, Math.floor(new Date(o.mtime || Date.now()) / 1000)); if (fn) { c[3] = 8; for (var i = 0; i <= fn.length; ++i) c[i + 10] = fn.charCodeAt(i); } }; // gzip footer: -8 to -4 = CRC, -4 to -0 is length // gzip start var gzs = function (d) { if (d[0] != 31 || d[1] != 139 || d[2] != 8) err(6, 'invalid gzip data'); var flg = d[3]; var st = 10; if (flg & 4) st += (d[10] | d[11] << 8) + 2; for (var zs = (flg >> 3 & 1) + (flg >> 4 & 1); zs > 0; zs -= !d[st++]); return st + (flg & 2); }; // gzip length var gzl = function (d) { var l = d.length; return (d[l - 4] | d[l - 3] << 8 | d[l - 2] << 16 | d[l - 1] << 24) >>> 0; }; // gzip header length var gzhl = function (o) { return 10 + (o.filename ? o.filename.length + 1 : 0); }; // zlib header var zlh = function (c, o) { var lv = o.level, fl = lv == 0 ? 0 : lv < 6 ? 1 : lv == 9 ? 3 : 2; c[0] = 120, c[1] = fl << 6 | (o.dictionary && 32); c[1] |= 31 - (c[0] << 8 | c[1]) % 31; if (o.dictionary) { var h = adler(); h.p(o.dictionary); wbytes(c, 2, h.d()); } }; // zlib start var zls = function (d, dict) { if ((d[0] & 15) != 8 || d[0] >> 4 > 7 || (d[0] << 8 | d[1]) % 31) err(6, 'invalid zlib data'); if ((d[1] >> 5 & 1) == +!dict) err(6, 'invalid zlib data: ' + (d[1] & 32 ? 'need' : 'unexpected') + ' dictionary'); return (d[1] >> 3 & 4) + 2; }; function StrmOpt(opts, cb) { if (typeof opts == 'function') cb = opts, opts = {}; this.ondata = cb; return opts; } /** * Streaming DEFLATE compression */ var Deflate = /*#__PURE__*/function () { function Deflate(opts, cb) { if (typeof opts == 'function') cb = opts, opts = {}; this.ondata = cb; this.o = opts || {}; this.s = { l: 0, i: 32768, w: 32768, z: 32768 }; // Buffer length must always be 0 mod 32768 for index calculations to be correct when modifying head and prev // 98304 = 32768 (lookback) + 65536 (common chunk size) this.b = new u8(98304); if (this.o.dictionary) { var dict = this.o.dictionary.subarray(-32768); this.b.set(dict, 32768 - dict.length); this.s.i = 32768 - dict.length; } } Deflate.prototype.p = function (c, f) { this.ondata(dopt(c, this.o, 0, 0, this.s), f); }; /** * Pushes a chunk to be deflated * @param chunk The chunk to push * @param final Whether this is the last chunk */ Deflate.prototype.push = function (chunk, final) { if (!this.ondata) err(5); if (this.s.l) err(4); var endLen = chunk.length + this.s.z; if (endLen > this.b.length) { if (endLen > 2 * this.b.length - 32768) { var newBuf = new u8(endLen & -32768); newBuf.set(this.b.subarray(0, this.s.z)); this.b = newBuf; } var split = this.b.length - this.s.z; this.b.set(chunk.subarray(0, split), this.s.z); this.s.z = this.b.length; this.p(this.b, false); this.b.set(this.b.subarray(-32768)); this.b.set(chunk.subarray(split), 32768); this.s.z = chunk.length - split + 32768; this.s.i = 32766, this.s.w = 32768; } else { this.b.set(chunk, this.s.z); this.s.z += chunk.length; } this.s.l = final & 1; if (this.s.z > this.s.w + 8191 || final) { this.p(this.b, final || false); this.s.w = this.s.i, this.s.i -= 2; } }; /** * Flushes buffered uncompressed data. Useful to immediately retrieve the * deflated output for small inputs. */ Deflate.prototype.flush = function () { if (!this.ondata) err(5); if (this.s.l) err(4); this.p(this.b, false); this.s.w = this.s.i, this.s.i -= 2; }; return Deflate; }(); /** * Asynchronous streaming DEFLATE compression */ var AsyncDeflate = /*#__PURE__*/function () { function AsyncDeflate(opts, cb) { astrmify([bDflt, function () { return [astrm, Deflate]; }], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Deflate(ev.data); onmessage = astrm(strm); }, 6, 1); } return AsyncDeflate; }(); function deflate(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); return cbify(data, opts, [bDflt], function (ev) { return pbf(deflateSync(ev.data[0], ev.data[1])); }, 0, cb); } /** * Compresses data with DEFLATE without any wrapper * @param data The data to compress * @param opts The compression options * @returns The deflated version of the data */ function deflateSync(data, opts) { return dopt(data, opts || {}, 0, 0); } /** * Streaming DEFLATE decompression */ var Inflate = /*#__PURE__*/function () { function Inflate(opts, cb) { // no StrmOpt here to avoid adding to workerizer if (typeof opts == 'function') cb = opts, opts = {}; this.ondata = cb; var dict = opts && opts.dictionary && opts.dictionary.subarray(-32768); this.s = { i: 0, b: dict ? dict.length : 0 }; this.o = new u8(32768); this.p = new u8(0); if (dict) this.o.set(dict); } Inflate.prototype.e = function (c) { if (!this.ondata) err(5); if (this.d) err(4); if (!this.p.length) this.p = c;else if (c.length) { var n = new u8(this.p.length + c.length); n.set(this.p), n.set(c, this.p.length), this.p = n; } }; Inflate.prototype.c = function (final) { this.s.i = +(this.d = final || false); var bts = this.s.b; var dt = inflt(this.p, this.s, this.o); this.ondata(slc(dt, bts, this.s.b), this.d); this.o = slc(dt, this.s.b - 32768), this.s.b = this.o.length; this.p = slc(this.p, this.s.p / 8 | 0), this.s.p &= 7; }; /** * Pushes a chunk to be inflated * @param chunk The chunk to push * @param final Whether this is the final chunk */ Inflate.prototype.push = function (chunk, final) { this.e(chunk), this.c(final); }; return Inflate; }(); /** * Asynchronous streaming DEFLATE decompression */ var AsyncInflate = /*#__PURE__*/function () { function AsyncInflate(opts, cb) { astrmify([bInflt, function () { return [astrm, Inflate]; }], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Inflate(ev.data); onmessage = astrm(strm); }, 7, 0); } return AsyncInflate; }(); function inflate(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); return cbify(data, opts, [bInflt], function (ev) { return pbf(inflateSync(ev.data[0], gopt(ev.data[1]))); }, 1, cb); } /** * Expands DEFLATE data with no wrapper * @param data The data to decompress * @param opts The decompression options * @returns The decompressed version of the data */ function inflateSync(data, opts) { return inflt(data, { i: 2 }, opts && opts.out, opts && opts.dictionary); } // before you yell at me for not just using extends, my reason is that TS inheritance is hard to workerize. /** * Streaming GZIP compression */ var Gzip = /*#__PURE__*/function () { function Gzip(opts, cb) { this.c = crc(); this.l = 0; this.v = 1; Deflate.call(this, opts, cb); } /** * Pushes a chunk to be GZIPped * @param chunk The chunk to push * @param final Whether this is the last chunk */ Gzip.prototype.push = function (chunk, final) { this.c.p(chunk); this.l += chunk.length; Deflate.prototype.push.call(this, chunk, final); }; Gzip.prototype.p = function (c, f) { var raw = dopt(c, this.o, this.v && gzhl(this.o), f && 8, this.s); if (this.v) gzh(raw, this.o), this.v = 0; if (f) wbytes(raw, raw.length - 8, this.c.d()), wbytes(raw, raw.length - 4, this.l); this.ondata(raw, f); }; /** * Flushes buffered uncompressed data. Useful to immediately retrieve the * GZIPped output for small inputs. */ Gzip.prototype.flush = function () { Deflate.prototype.flush.call(this); }; return Gzip; }(); /** * Asynchronous streaming GZIP compression */ var AsyncGzip = /*#__PURE__*/function () { function AsyncGzip(opts, cb) { astrmify([bDflt, gze, function () { return [astrm, Deflate, Gzip]; }], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Gzip(ev.data); onmessage = astrm(strm); }, 8, 1); } return AsyncGzip; }(); function gzip(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); return cbify(data, opts, [bDflt, gze, function () { return [gzipSync]; }], function (ev) { return pbf(gzipSync(ev.data[0], ev.data[1])); }, 2, cb); } /** * Compresses data with GZIP * @param data The data to compress * @param opts The compression options * @returns The gzipped version of the data */ function gzipSync(data, opts) { if (!opts) opts = {}; var c = crc(), l = data.length; c.p(data); var d = dopt(data, opts, gzhl(opts), 8), s = d.length; return gzh(d, opts), wbytes(d, s - 8, c.d()), wbytes(d, s - 4, l), d; } /** * Streaming single or multi-member GZIP decompression */ var Gunzip = /*#__PURE__*/function () { function Gunzip(opts, cb) { this.v = 1; this.r = 0; Inflate.call(this, opts, cb); } /** * Pushes a chunk to be GUNZIPped * @param chunk The chunk to push * @param final Whether this is the last chunk */ Gunzip.prototype.push = function (chunk, final) { Inflate.prototype.e.call(this, chunk); this.r += chunk.length; if (this.v) { var p = this.p.subarray(this.v - 1); var s = p.length > 3 ? gzs(p) : 4; if (s > p.length) { if (!final) return; } else if (this.v > 1 && this.onmember) { this.onmember(this.r - p.length); } this.p = p.subarray(s), this.v = 0; } // necessary to prevent TS from using the closure value // This allows for workerization to function correctly Inflate.prototype.c.call(this, final); // process concatenated GZIP if (this.s.f && !this.s.l && !final) { this.v = shft(this.s.p) + 9; this.s = { i: 0 }; this.o = new u8(0); this.push(new u8(0), final); } }; return Gunzip; }(); /** * Asynchronous streaming single or multi-member GZIP decompression */ var AsyncGunzip = /*#__PURE__*/function () { function AsyncGunzip(opts, cb) { var _this = this; astrmify([bInflt, guze, function () { return [astrm, Inflate, Gunzip]; }], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Gunzip(ev.data); strm.onmember = function (offset) { return postMessage(offset); }; onmessage = astrm(strm); }, 9, 0, function (offset) { return _this.onmember && _this.onmember(offset); }); } return AsyncGunzip; }(); function gunzip(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); return cbify(data, opts, [bInflt, guze, function () { return [gunzipSync]; }], function (ev) { return pbf(gunzipSync(ev.data[0], ev.data[1])); }, 3, cb); } /** * Expands GZIP data * @param data The data to decompress * @param opts The decompression options * @returns The decompressed version of the data */ function gunzipSync(data, opts) { var st = gzs(data); if (st + 8 > data.length) err(6, 'invalid gzip data'); return inflt(data.subarray(st, -8), { i: 2 }, opts && opts.out || new u8(gzl(data)), opts && opts.dictionary); } /** * Streaming Zlib compression */ var Zlib = /*#__PURE__*/function () { function Zlib(opts, cb) { this.c = adler(); this.v = 1; Deflate.call(this, opts, cb); } /** * Pushes a chunk to be zlibbed * @param chunk The chunk to push * @param final Whether this is the last chunk */ Zlib.prototype.push = function (chunk, final) { this.c.p(chunk); Deflate.prototype.push.call(this, chunk, final); }; Zlib.prototype.p = function (c, f) { var raw = dopt(c, this.o, this.v && (this.o.dictionary ? 6 : 2), f && 4, this.s); if (this.v) zlh(raw, this.o), this.v = 0; if (f) wbytes(raw, raw.length - 4, this.c.d()); this.ondata(raw, f); }; /** * Flushes buffered uncompressed data. Useful to immediately retrieve the * zlibbed output for small inputs. */ Zlib.prototype.flush = function () { Deflate.prototype.flush.call(this); }; return Zlib; }(); /** * Asynchronous streaming Zlib compression */ var AsyncZlib = /*#__PURE__*/function () { function AsyncZlib(opts, cb) { astrmify([bDflt, zle, function () { return [astrm, Deflate, Zlib]; }], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Zlib(ev.data); onmessage = astrm(strm); }, 10, 1); } return AsyncZlib; }(); function zlib(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); return cbify(data, opts, [bDflt, zle, function () { return [zlibSync]; }], function (ev) { return pbf(zlibSync(ev.data[0], ev.data[1])); }, 4, cb); } /** * Compress data with Zlib * @param data The data to compress * @param opts The compression options * @returns The zlib-compressed version of the data */ function zlibSync(data, opts) { if (!opts) opts = {}; var a = adler(); a.p(data); var d = dopt(data, opts, opts.dictionary ? 6 : 2, 4); return zlh(d, opts), wbytes(d, d.length - 4, a.d()), d; } /** * Streaming Zlib decompression */ var Unzlib = /*#__PURE__*/function () { function Unzlib(opts, cb) { Inflate.call(this, opts, cb); this.v = opts && opts.dictionary ? 2 : 1; } /** * Pushes a chunk to be unzlibbed * @param chunk The chunk to push * @param final Whether this is the last chunk */ Unzlib.prototype.push = function (chunk, final) { Inflate.prototype.e.call(this, chunk); if (this.v) { if (this.p.length < 6 && !final) return; this.p = this.p.subarray(zls(this.p, this.v - 1)), this.v = 0; } if (final) { if (this.p.length < 4) err(6, 'invalid zlib data'); this.p = this.p.subarray(0, -4); } // necessary to prevent TS from using the closure value // This allows for workerization to function correctly Inflate.prototype.c.call(this, final); }; return Unzlib; }(); /** * Asynchronous streaming Zlib decompression */ var AsyncUnzlib = /*#__PURE__*/function () { function AsyncUnzlib(opts, cb) { astrmify([bInflt, zule, function () { return [astrm, Inflate, Unzlib]; }], this, StrmOpt.call(this, opts, cb), function (ev) { var strm = new Unzlib(ev.data); onmessage = astrm(strm); }, 11, 0); } return AsyncUnzlib; }(); function unzlib(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); return cbify(data, opts, [bInflt, zule, function () { return [unzlibSync]; }], function (ev) { return pbf(unzlibSync(ev.data[0], gopt(ev.data[1]))); }, 5, cb); } /** * Expands Zlib data * @param data The data to decompress * @param opts The decompression options * @returns The decompressed version of the data */ function unzlibSync(data, opts) { return inflt(data.subarray(zls(data, opts && opts.dictionary), -4), { i: 2 }, opts && opts.out, opts && opts.dictionary); } // Default algorithm for compression (used because having a known output size allows faster decompression) /** * Streaming GZIP, Zlib, or raw DEFLATE decompression */ var Decompress = /*#__PURE__*/function () { function Decompress(opts, cb) { this.o = StrmOpt.call(this, opts, cb) || {}; this.G = Gunzip; this.I = Inflate; this.Z = Unzlib; } // init substream // overriden by AsyncDecompress Decompress.prototype.i = function () { var _this = this; this.s.ondata = function (dat, final) { _this.ondata(dat, final); }; }; /** * Pushes a chunk to be decompressed * @param chunk The chunk to push * @param final Whether this is the last chunk */ Decompress.prototype.push = function (chunk, final) { if (!this.ondata) err(5); if (!this.s) { if (this.p && this.p.length) { var n = new u8(this.p.length + chunk.length); n.set(this.p), n.set(chunk, this.p.length); } else this.p = chunk; if (this.p.length > 2) { this.s = this.p[0] == 31 && this.p[1] == 139 && this.p[2] == 8 ? new this.G(this.o) : (this.p[0] & 15) != 8 || this.p[0] >> 4 > 7 || (this.p[0] << 8 | this.p[1]) % 31 ? new this.I(this.o) : new this.Z(this.o); this.i(); this.s.push(this.p, final); this.p = null; } } else this.s.push(chunk, final); }; return Decompress; }(); /** * Asynchronous streaming GZIP, Zlib, or raw DEFLATE decompression */ var AsyncDecompress = /*#__PURE__*/function () { function AsyncDecompress(opts, cb) { Decompress.call(this, opts, cb); this.queuedSize = 0; this.G = AsyncGunzip; this.I = AsyncInflate; this.Z = AsyncUnzlib; } AsyncDecompress.prototype.i = function () { var _this = this; this.s.ondata = function (err, dat, final) { _this.ondata(err, dat, final); }; this.s.ondrain = function (size) { _this.queuedSize -= size; if (_this.ondrain) _this.ondrain(size); }; }; /** * Pushes a chunk to be decompressed * @param chunk The chunk to push * @param final Whether this is the last chunk */ AsyncDecompress.prototype.push = function (chunk, final) { this.queuedSize += chunk.length; Decompress.prototype.push.call(this, chunk, final); }; return AsyncDecompress; }(); function decompress(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); return data[0] == 31 && data[1] == 139 && data[2] == 8 ? gunzip(data, opts, cb) : (data[0] & 15) != 8 || data[0] >> 4 > 7 || (data[0] << 8 | data[1]) % 31 ? inflate(data, opts, cb) : unzlib(data, opts, cb); } /** * Expands compressed GZIP, Zlib, or raw DEFLATE data, automatically detecting the format * @param data The data to decompress * @param opts The decompression options * @returns The decompressed version of the data */ function decompressSync(data, opts) { return data[0] == 31 && data[1] == 139 && data[2] == 8 ? gunzipSync(data, opts) : (data[0] & 15) != 8 || data[0] >> 4 > 7 || (data[0] << 8 | data[1]) % 31 ? inflateSync(data, opts) : unzlibSync(data, opts); } // flatten a directory structure var fltn = function (d, p, t, o) { for (var k in d) { var val = d[k], n = p + k, op = o; if (Array.isArray(val)) op = mrg(o, val[1]), val = val[0]; if (val instanceof u8) t[n] = [val, op];else { t[n += '/'] = [new u8(0), op]; fltn(val, n, t, o); } } }; // text encoder var te = typeof TextEncoder != 'undefined' && /*#__PURE__*/new TextEncoder(); // text decoder var td = typeof TextDecoder != 'undefined' && /*#__PURE__*/new TextDecoder(); // text decoder stream var tds = 0; try { td.decode(et, { stream: true }); tds = 1; } catch (e) {} // decode UTF8 var dutf8 = function (d) { for (var r = '', i = 0;;) { var c = d[i++]; var eb = (c > 127) + (c > 223) + (c > 239); if (i + eb > d.length) return { s: r, r: slc(d, i - 1) }; if (!eb) r += String.fromCharCode(c);else if (eb == 3) { c = ((c & 15) << 18 | (d[i++] & 63) << 12 | (d[i++] & 63) << 6 | d[i++] & 63) - 65536, r += String.fromCharCode(55296 | c >> 10, 56320 | c & 1023); } else if (eb & 1) r += String.fromCharCode((c & 31) << 6 | d[i++] & 63);else r += String.fromCharCode((c & 15) << 12 | (d[i++] & 63) << 6 | d[i++] & 63); } }; /** * Streaming UTF-8 decoding */ var DecodeUTF8 = /*#__PURE__*/function () { /** * Creates a UTF-8 decoding stream * @param cb The callback to call whenever data is decoded */ function DecodeUTF8(cb) { this.ondata = cb; if (tds) this.t = new TextDecoder();else this.p = et; } /** * Pushes a chunk to be decoded from UTF-8 binary * @param chunk The chunk to push * @param final Whether this is the last chunk */ DecodeUTF8.prototype.push = function (chunk, final) { if (!this.ondata) err(5); final = !!final; if (this.t) { this.ondata(this.t.decode(chunk, { stream: true }), final); if (final) { if (this.t.decode().length) err(8); this.t = null; } return; } if (!this.p) err(4); var dat = new u8(this.p.length + chunk.length); dat.set(this.p); dat.set(chunk, this.p.length); var _a = dutf8(dat), s = _a.s, r = _a.r; if (final) { if (r.length) err(8); this.p = null; } else this.p = r; this.ondata(s, final); }; return DecodeUTF8; }(); /** * Streaming UTF-8 encoding */ var EncodeUTF8 = /*#__PURE__*/function () { /** * Creates a UTF-8 decoding stream * @param cb The callback to call whenever data is encoded */ function EncodeUTF8(cb) { this.ondata = cb; } /** * Pushes a chunk to be encoded to UTF-8 * @param chunk The string data to push * @param final Whether this is the last chunk */ EncodeUTF8.prototype.push = function (chunk, final) { if (!this.ondata) err(5); if (this.d) err(4); this.ondata(strToU8(chunk), this.d = final || false); }; return EncodeUTF8; }(); /** * Converts a string into a Uint8Array for use with compression/decompression methods * @param str The string to encode * @param latin1 Whether or not to interpret the data as Latin-1. This should * not need to be true unless decoding a binary string. * @returns The string encoded in UTF-8/Latin-1 binary */ function strToU8(str, latin1) { if (latin1) { var ar_1 = new u8(str.length); for (var i = 0; i < str.length; ++i) ar_1[i] = str.charCodeAt(i); return ar_1; } if (te) return te.encode(str); var l = str.length; var ar = new u8(str.length + (str.length >> 1)); var ai = 0; var w = function (v) { ar[ai++] = v; }; for (var i = 0; i < l; ++i) { if (ai + 5 > ar.length) { var n = new u8(ai + 8 + (l - i << 1)); n.set(ar); ar = n; } var c = str.charCodeAt(i); if (c < 128 || latin1) w(c);else if (c < 2048) w(192 | c >> 6), w(128 | c & 63);else if (c > 55295 && c < 57344) c = 65536 + (c & 1023 << 10) | str.charCodeAt(++i) & 1023, w(240 | c >> 18), w(128 | c >> 12 & 63), w(128 | c >> 6 & 63), w(128 | c & 63);else w(224 | c >> 12), w(128 | c >> 6 & 63), w(128 | c & 63); } return slc(ar, 0, ai); } /** * Converts a Uint8Array to a string * @param dat The data to decode to string * @param latin1 Whether or not to interpret the data as Latin-1. This should * not need to be true unless encoding to binary string. * @returns The original UTF-8/Latin-1 string */ function strFromU8(dat, latin1) { if (latin1) { var r = ''; for (var i = 0; i < dat.length; i += 16384) r += String.fromCharCode.apply(null, dat.subarray(i, i + 16384)); return r; } else if (td) { return td.decode(dat); } else { var _a = dutf8(dat), s = _a.s, r = _a.r; if (r.length) err(8); return s; } } ; // deflate bit flag var dbf = function (l) { return l == 1 ? 3 : l < 6 ? 2 : l == 9 ? 1 : 0; }; // skip local zip header var slzh = function (d, b) { return b + 30 + b2(d, b + 26) + b2(d, b + 28); }; // read zip header var zh = function (d, b, z) { var fnl = b2(d, b + 28), fn = strFromU8(d.subarray(b + 46, b + 46 + fnl), !(b2(d, b + 8) & 2048)), es = b + 46 + fnl, bs = b4(d, b + 20); var _a = z && bs == 4294967295 ? z64e(d, es) : [bs, b4(d, b + 24), b4(d, b + 42)], sc = _a[0], su = _a[1], off = _a[2]; return [b2(d, b + 10), sc, su, fn, es + b2(d, b + 30) + b2(d, b + 32), off]; }; // read zip64 extra field var z64e = function (d, b) { for (; b2(d, b) != 1; b += 4 + b2(d, b + 2)); return [b8(d, b + 12), b8(d, b + 4), b8(d, b + 20)]; }; // extra field length var exfl = function (ex) { var le = 0; if (ex) { for (var k in ex) { var l = ex[k].length; if (l > 65535) err(9); le += l + 4; } } return le; }; // write zip header var wzh = function (d, b, f, fn, u, c, ce, co) { var fl = fn.length, ex = f.extra, col = co && co.length; var exl = exfl(ex); wbytes(d, b, ce != null ? 0x2014B50 : 0x4034B50), b += 4; if (ce != null) d[b++] = 20, d[b++] = f.os; d[b] = 20, b += 2; // spec compliance? what's that? d[b++] = f.flag << 1 | (c < 0 && 8), d[b++] = u && 8; d[b++] = f.compression & 255, d[b++] = f.compression >> 8; var dt = new Date(f.mtime == null ? Date.now() : f.mtime), y = dt.getFullYear() - 1980; if (y < 0 || y > 119) err(10); wbytes(d, b, y << 25 | dt.getMonth() + 1 << 21 | dt.getDate() << 16 | dt.getHours() << 11 | dt.getMinutes() << 5 | dt.getSeconds() >> 1), b += 4; if (c != -1) { wbytes(d, b, f.crc); wbytes(d, b + 4, c < 0 ? -c - 2 : c); wbytes(d, b + 8, f.size); } wbytes(d, b + 12, fl); wbytes(d, b + 14, exl), b += 16; if (ce != null) { wbytes(d, b, col); wbytes(d, b + 6, f.attrs); wbytes(d, b + 10, ce), b += 14; } d.set(fn, b); b += fl; if (exl) { for (var k in ex) { var exf = ex[k], l = exf.length; wbytes(d, b, +k); wbytes(d, b + 2, l); d.set(exf, b + 4), b += 4 + l; } } if (col) d.set(co, b), b += col; return b; }; // write zip footer (end of central directory) var wzf = function (o, b, c, d, e) { wbytes(o, b, 0x6054B50); // skip disk wbytes(o, b + 8, c); wbytes(o, b + 10, c); wbytes(o, b + 12, d); wbytes(o, b + 16, e); }; /** * A pass-through stream to keep data uncompressed in a ZIP archive. */ var ZipPassThrough = /*#__PURE__*/function () { /** * Creates a pass-through stream that can be added to ZIP archives * @param filename The filename to associate with this data stream */ function ZipPassThrough(filename) { this.filename = filename; this.c = crc(); this.size = 0; this.compression = 0; } /** * Processes a chunk and pushes to the output stream. You can override this * method in a subclass for custom behavior, but by default this passes * the data through. You must call this.ondata(err, chunk, final) at some * point in this method. * @param chunk The chunk to process * @param final Whether this is the last chunk */ ZipPassThrough.prototype.process = function (chunk, final) { this.ondata(null, chunk, final); }; /** * Pushes a chunk to be added. If you are subclassing this with a custom * compression algorithm, note that you must push data from the source * file only, pre-compression. * @param chunk The chunk to push * @param final Whether this is the last chunk */ ZipPassThrough.prototype.push = function (chunk, final) { if (!this.ondata) err(5); this.c.p(chunk); this.size += chunk.length; if (final) this.crc = this.c.d(); this.process(chunk, final || false); }; return ZipPassThrough; }(); // I don't extend because TypeScript extension adds 1kB of runtime bloat /** * Streaming DEFLATE compression for ZIP archives. Prefer using AsyncZipDeflate * for better performance */ var ZipDeflate = /*#__PURE__*/function () { /** * Creates a DEFLATE stream that can be added to ZIP archives * @param filename The filename to associate with this data stream * @param opts The compression options */ function ZipDeflate(filename, opts) { var _this = this; if (!opts) opts = {}; ZipPassThrough.call(this, filename); this.d = new Deflate(opts, function (dat, final) { _this.ondata(null, dat, final); }); this.compression = 8; this.flag = dbf(opts.level); } ZipDeflate.prototype.process = function (chunk, final) { try { this.d.push(chunk, final); } catch (e) { this.ondata(e, null, final); } }; /** * Pushes a chunk to be deflated * @param chunk The chunk to push * @param final Whether this is the last chunk */ ZipDeflate.prototype.push = function (chunk, final) { ZipPassThrough.prototype.push.call(this, chunk, final); }; return ZipDeflate; }(); /** * Asynchronous streaming DEFLATE compression for ZIP archives */ var AsyncZipDeflate = /*#__PURE__*/function () { /** * Creates an asynchronous DEFLATE stream that can be added to ZIP archives * @param filename The filename to associate with this data stream * @param opts The compression options */ function AsyncZipDeflate(filename, opts) { var _this = this; if (!opts) opts = {}; ZipPassThrough.call(this, filename); this.d = new AsyncDeflate(opts, function (err, dat, final) { _this.ondata(err, dat, final); }); this.compression = 8; this.flag = dbf(opts.level); this.terminate = this.d.terminate; } AsyncZipDeflate.prototype.process = function (chunk, final) { this.d.push(chunk, final); }; /** * Pushes a chunk to be deflated * @param chunk The chunk to push * @param final Whether this is the last chunk */ AsyncZipDeflate.prototype.push = function (chunk, final) { ZipPassThrough.prototype.push.call(this, chunk, final); }; return AsyncZipDeflate; }(); // TODO: Better tree shaking /** * A zippable archive to which files can incrementally be added */ var Zip = /*#__PURE__*/function () { /** * Creates an empty ZIP archive to which files can be added * @param cb The callback to call whenever data for the generated ZIP archive * is available */ function Zip(cb) { this.ondata = cb; this.u = []; this.d = 1; } /** * Adds a file to the ZIP archive * @param file The file stream to add */ Zip.prototype.add = function (file) { var _this = this; if (!this.ondata) err(5); // finishing or finished if (this.d & 2) this.ondata(err(4 + (this.d & 1) * 8, 0, 1), null, false);else { var f = strToU8(file.filename), fl_1 = f.length; var com = file.comment, o = com && strToU8(com); var u = fl_1 != file.filename.length || o && com.length != o.length; var hl_1 = fl_1 + exfl(file.extra) + 30; if (fl_1 > 65535) this.ondata(err(11, 0, 1), null, false); var header = new u8(hl_1); wzh(header, 0, file, f, u, -1); var chks_1 = [header]; var pAll_1 = function () { for (var _i = 0, chks_2 = chks_1; _i < chks_2.length; _i++) { var chk = chks_2[_i]; _this.ondata(null, chk, false); } chks_1 = []; }; var tr_1 = this.d; this.d = 0; var ind_1 = this.u.length; var uf_1 = mrg(file, { f: f, u: u, o: o, t: function () { if (file.terminate) file.terminate(); }, r: function () { pAll_1(); if (tr_1) { var nxt = _this.u[ind_1 + 1]; if (nxt) nxt.r();else _this.d = 1; } tr_1 = 1; } }); var cl_1 = 0; file.ondata = function (err, dat, final) { if (err) { _this.ondata(err, dat, final); _this.terminate(); } else { cl_1 += dat.length; chks_1.push(dat); if (final) { var dd = new u8(16); wbytes(dd, 0, 0x8074B50); wbytes(dd, 4, file.crc); wbytes(dd, 8, cl_1); wbytes(dd, 12, file.size); chks_1.push(dd); uf_1.c = cl_1, uf_1.b = hl_1 + cl_1 + 16, uf_1.crc = file.crc, uf_1.size = file.size; if (tr_1) uf_1.r(); tr_1 = 1; } else if (tr_1) pAll_1(); } }; this.u.push(uf_1); } }; /** * Ends the process of adding files and prepares to emit the final chunks. * This *must* be called after adding all desired files for the resulting * ZIP file to work properly. */ Zip.prototype.end = function () { var _this = this; if (this.d & 2) { this.ondata(err(4 + (this.d & 1) * 8, 0, 1), null, true); return; } if (this.d) this.e();else this.u.push({ r: function () { if (!(_this.d & 1)) return; _this.u.splice(-1, 1); _this.e(); }, t: function () {} }); this.d = 3; }; Zip.prototype.e = function () { var bt = 0, l = 0, tl = 0; for (var _i = 0, _a = this.u; _i < _a.length; _i++) { var f = _a[_i]; tl += 46 + f.f.length + exfl(f.extra) + (f.o ? f.o.length : 0); } var out = new u8(tl + 22); for (var _b = 0, _c = this.u; _b < _c.length; _b++) { var f = _c[_b]; wzh(out, bt, f, f.f, f.u, -f.c - 2, l, f.o); bt += 46 + f.f.length + exfl(f.extra) + (f.o ? f.o.length : 0), l += f.b; } wzf(out, bt, this.u.length, tl, l); this.ondata(null, out, true); this.d = 2; }; /** * A method to terminate any internal workers used by the stream. Subsequent * calls to add() will fail. */ Zip.prototype.terminate = function () { for (var _i = 0, _a = this.u; _i < _a.length; _i++) { var f = _a[_i]; f.t(); } this.d = 2; }; return Zip; }(); function zip(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); var r = {}; fltn(data, '', r, opts); var k = Object.keys(r); var lft = k.length, o = 0, tot = 0; var slft = lft, files = new Array(lft); var term = []; var tAll = function () { for (var i = 0; i < term.length; ++i) term[i](); }; var cbd = function (a, b) { mt(function () { cb(a, b); }); }; mt(function () { cbd = cb; }); var cbf = function () { var out = new u8(tot + 22), oe = o, cdl = tot - o; tot = 0; for (var i = 0; i < slft; ++i) { var f = files[i]; try { var l = f.c.length; wzh(out, tot, f, f.f, f.u, l); var badd = 30 + f.f.length + exfl(f.extra); var loc = tot + badd; out.set(f.c, loc); wzh(out, o, f, f.f, f.u, l, tot, f.m), o += 16 + badd + (f.m ? f.m.length : 0), tot = loc + l; } catch (e) { return cbd(e, null); } } wzf(out, o, files.length, cdl, oe); cbd(null, out); }; if (!lft) cbf(); var _loop_1 = function (i) { var fn = k[i]; var _a = r[fn], file = _a[0], p = _a[1]; var c = crc(), size = file.length; c.p(file); var f = strToU8(fn), s = f.length; var com = p.comment, m = com && strToU8(com), ms = m && m.length; var exl = exfl(p.extra); var compression = p.level == 0 ? 0 : 8; var cbl = function (e, d) { if (e) { tAll(); cbd(e, null); } else { var l = d.length; files[i] = mrg(p, { size: size, crc: c.d(), c: d, f: f, m: m, u: s != fn.length || m && com.length != ms, compression: compression }); o += 30 + s + exl + l; tot += 76 + 2 * (s + exl) + (ms || 0) + l; if (! --lft) cbf(); } }; if (s > 65535) cbl(err(11, 0, 1), null); if (!compression) cbl(null, file);else if (size < 160000) { try { cbl(null, deflateSync(file, p)); } catch (e) { cbl(e, null); } } else term.push(deflate(file, p, cbl)); }; // Cannot use lft because it can decrease for (var i = 0; i < slft; ++i) { _loop_1(i); } return tAll; } /** * Synchronously creates a ZIP file. Prefer using `zip` for better performance * with more than one file. * @param data The directory structure for the ZIP archive * @param opts The main options, merged with per-file options * @returns The generated ZIP archive */ function zipSync(data, opts) { if (!opts) opts = {}; var r = {}; var files = []; fltn(data, '', r, opts); var o = 0; var tot = 0; for (var fn in r) { var _a = r[fn], file = _a[0], p = _a[1]; var compression = p.level == 0 ? 0 : 8; var f = strToU8(fn), s = f.length; var com = p.comment, m = com && strToU8(com), ms = m && m.length; var exl = exfl(p.extra); if (s > 65535) err(11); var d = compression ? deflateSync(file, p) : file, l = d.length; var c = crc(); c.p(file); files.push(mrg(p, { size: file.length, crc: c.d(), c: d, f: f, m: m, u: s != fn.length || m && com.length != ms, o: o, compression: compression })); o += 30 + s + exl + l; tot += 76 + 2 * (s + exl) + (ms || 0) + l; } var out = new u8(tot + 22), oe = o, cdl = tot - o; for (var i = 0; i < files.length; ++i) { var f = files[i]; wzh(out, f.o, f, f.f, f.u, f.c.length); var badd = 30 + f.f.length + exfl(f.extra); out.set(f.c, f.o + badd); wzh(out, o, f, f.f, f.u, f.c.length, f.o, f.m), o += 16 + badd + (f.m ? f.m.length : 0); } wzf(out, o, files.length, cdl, oe); return out; } /** * Streaming pass-through decompression for ZIP archives */ var UnzipPassThrough = /*#__PURE__*/function () { function UnzipPassThrough() {} UnzipPassThrough.prototype.push = function (data, final) { this.ondata(null, data, final); }; UnzipPassThrough.compression = 0; return UnzipPassThrough; }(); /** * Streaming DEFLATE decompression for ZIP archives. Prefer AsyncZipInflate for * better performance. */ var UnzipInflate = /*#__PURE__*/function () { /** * Creates a DEFLATE decompression that can be used in ZIP archives */ function UnzipInflate() { var _this = this; this.i = new Inflate(function (dat, final) { _this.ondata(null, dat, final); }); } UnzipInflate.prototype.push = function (data, final) { try { this.i.push(data, final); } catch (e) { this.ondata(e, null, final); } }; UnzipInflate.compression = 8; return UnzipInflate; }(); /** * Asynchronous streaming DEFLATE decompression for ZIP archives */ var AsyncUnzipInflate = /*#__PURE__*/function () { /** * Creates a DEFLATE decompression that can be used in ZIP archives */ function AsyncUnzipInflate(_, sz) { var _this = this; if (sz < 320000) { this.i = new Inflate(function (dat, final) { _this.ondata(null, dat, final); }); } else { this.i = new AsyncInflate(function (err, dat, final) { _this.ondata(err, dat, final); }); this.terminate = this.i.terminate; } } AsyncUnzipInflate.prototype.push = function (data, final) { if (this.i.terminate) data = slc(data, 0); this.i.push(data, final); }; AsyncUnzipInflate.compression = 8; return AsyncUnzipInflate; }(); /** * A ZIP archive decompression stream that emits files as they are discovered */ var Unzip = /*#__PURE__*/function () { /** * Creates a ZIP decompression stream * @param cb The callback to call whenever a file in the ZIP archive is found */ function Unzip(cb) { this.onfile = cb; this.k = []; this.o = { 0: UnzipPassThrough }; this.p = et; } /** * Pushes a chunk to be unzipped * @param chunk The chunk to push * @param final Whether this is the last chunk */ Unzip.prototype.push = function (chunk, final) { var _this = this; if (!this.onfile) err(5); if (!this.p) err(4); if (this.c > 0) { var len = Math.min(this.c, chunk.length); var toAdd = chunk.subarray(0, len); this.c -= len; if (this.d) this.d.push(toAdd, !this.c);else this.k[0].push(toAdd); chunk = chunk.subarray(len); if (chunk.length) return this.push(chunk, final); } else { var f = 0, i = 0, is = void 0, buf = void 0; if (!this.p.length) buf = chunk;else if (!chunk.length) buf = this.p;else { buf = new u8(this.p.length + chunk.length); buf.set(this.p), buf.set(chunk, this.p.length); } var l = buf.length, oc = this.c, add = oc && this.d; var _loop_2 = function () { var _a; var sig = b4(buf, i); if (sig == 0x4034B50) { f = 1, is = i; this_1.d = null; this_1.c = 0; var bf = b2(buf, i + 6), cmp_1 = b2(buf, i + 8), u = bf & 2048, dd = bf & 8, fnl = b2(buf, i + 26), es = b2(buf, i + 28); if (l > i + 30 + fnl + es) { var chks_3 = []; this_1.k.unshift(chks_3); f = 2; var sc_1 = b4(buf, i + 18), su_1 = b4(buf, i + 22); var fn_1 = strFromU8(buf.subarray(i + 30, i += 30 + fnl), !u); if (sc_1 == 4294967295) { _a = dd ? [-2] : z64e(buf, i), sc_1 = _a[0], su_1 = _a[1]; } else if (dd) sc_1 = -1; i += es; this_1.c = sc_1; var d_1; var file_1 = { name: fn_1, compression: cmp_1, start: function () { if (!file_1.ondata) err(5); if (!sc_1) file_1.ondata(null, et, true);else { var ctr = _this.o[cmp_1]; if (!ctr) file_1.ondata(err(14, 'unknown compression type ' + cmp_1, 1), null, false); d_1 = sc_1 < 0 ? new ctr(fn_1) : new ctr(fn_1, sc_1, su_1); d_1.ondata = function (err, dat, final) { file_1.ondata(err, dat, final); }; for (var _i = 0, chks_4 = chks_3; _i < chks_4.length; _i++) { var dat = chks_4[_i]; d_1.push(dat, false); } if (_this.k[0] == chks_3 && _this.c) _this.d = d_1;else d_1.push(et, true); } }, terminate: function () { if (d_1 && d_1.terminate) d_1.terminate(); } }; if (sc_1 >= 0) file_1.size = sc_1, file_1.originalSize = su_1; this_1.onfile(file_1); } return "break"; } else if (oc) { if (sig == 0x8074B50) { is = i += 12 + (oc == -2 && 8), f = 3, this_1.c = 0; return "break"; } else if (sig == 0x2014B50) { is = i -= 4, f = 3, this_1.c = 0; return "break"; } } }; var this_1 = this; for (; i < l - 4; ++i) { var state_1 = _loop_2(); if (state_1 === "break") break; } this.p = et; if (oc < 0) { var dat = f ? buf.subarray(0, is - 12 - (oc == -2 && 8) - (b4(buf, is - 16) == 0x8074B50 && 4)) : buf.subarray(0, i); if (add) add.push(dat, !!f);else this.k[+(f == 2)].push(dat); } if (f & 2) return this.push(buf.subarray(i), final); this.p = buf.subarray(i); } if (final) { if (this.c) err(13); this.p = null; } }; /** * Registers a decoder with the stream, allowing for files compressed with * the compression type provided to be expanded correctly * @param decoder The decoder constructor */ Unzip.prototype.register = function (decoder) { this.o[decoder.compression] = decoder; }; return Unzip; }(); var mt = typeof queueMicrotask == 'function' ? queueMicrotask : typeof setTimeout == 'function' ? setTimeout : function (fn) { fn(); }; function unzip(data, opts, cb) { if (!cb) cb = opts, opts = {}; if (typeof cb != 'function') err(7); var term = []; var tAll = function () { for (var i = 0; i < term.length; ++i) term[i](); }; var files = {}; var cbd = function (a, b) { mt(function () { cb(a, b); }); }; mt(function () { cbd = cb; }); var e = data.length - 22; for (; b4(data, e) != 0x6054B50; --e) { if (!e || data.length - e > 65558) { cbd(err(13, 0, 1), null); return tAll; } } ; var lft = b2(data, e + 8); if (lft) { var c = lft; var o = b4(data, e + 16); var z = o == 4294967295 || c == 65535; if (z) { var ze = b4(data, e - 12); z = b4(data, ze) == 0x6064B50; if (z) { c = lft = b4(data, ze + 32); o = b4(data, ze + 48); } } var fltr = opts && opts.filter; var _loop_3 = function (i) { var _a = zh(data, o, z), c_1 = _a[0], sc = _a[1], su = _a[2], fn = _a[3], no = _a[4], off = _a[5], b = slzh(data, off); o = no; var cbl = function (e, d) { if (e) { tAll(); cbd(e, null); } else { if (d) files[fn] = d; if (! --lft) cbd(null, files); } }; if (!fltr || fltr({ name: fn, size: sc, originalSize: su, compression: c_1 })) { if (!c_1) cbl(null, slc(data, b, b + sc));else if (c_1 == 8) { var infl = data.subarray(b, b + sc); // Synchronously decompress under 512KB, or barely-compressed data if (su < 524288 || sc > 0.8 * su) { try { cbl(null, inflateSync(infl, { out: new u8(su) })); } catch (e) { cbl(e, null); } } else term.push(inflate(infl, { size: su }, cbl)); } else cbl(err(14, 'unknown compression type ' + c_1, 1), null); } else cbl(null, null); }; for (var i = 0; i < c; ++i) { _loop_3(i); } } else cbd(null, {}); return tAll; } /** * Synchronously decompresses a ZIP archive. Prefer using `unzip` for better * performance with more than one file. * @param data The raw compressed ZIP file * @param opts The ZIP extraction options * @returns The decompressed files */ function unzipSync(data, opts) { var files = {}; var e = data.length - 22; for (; b4(data, e) != 0x6054B50; --e) { if (!e || data.length - e > 65558) err(13); } ; var c = b2(data, e + 8); if (!c) return {}; var o = b4(data, e + 16); var z = o == 4294967295 || c == 65535; if (z) { var ze = b4(data, e - 12); z = b4(data, ze) == 0x6064B50; if (z) { c = b4(data, ze + 32); o = b4(data, ze + 48); } } var fltr = opts && opts.filter; for (var i = 0; i < c; ++i) { var _a = zh(data, o, z), c_2 = _a[0], sc = _a[1], su = _a[2], fn = _a[3], no = _a[4], off = _a[5], b = slzh(data, off); o = no; if (!fltr || fltr({ name: fn, size: sc, originalSize: su, compression: c_2 })) { if (!c_2) files[fn] = slc(data, b, b + sc);else if (c_2 == 8) files[fn] = inflateSync(data.subarray(b, b + sc), { out: new u8(su) });else err(14, 'unknown compression type ' + c_2); } } return files; } /***/ }), /***/ 37074: /*!**************************************************!*\ !*** ./node_modules/flatpickr/dist/esm/index.js ***! \**************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _types_options__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./types/options */ 17477); /* harmony import */ var _l10n_default__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./l10n/default */ 49456); /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ 12519); /* harmony import */ var _utils_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/dom */ 741); /* harmony import */ var _utils_dates__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/dates */ 21441); /* harmony import */ var _utils_formatting__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/formatting */ 55479); /* harmony import */ var _utils_polyfills__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/polyfills */ 78323); /* harmony import */ var _utils_polyfills__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_utils_polyfills__WEBPACK_IMPORTED_MODULE_6__); var __assign = undefined && undefined.__assign || function () { __assign = Object.assign || function (t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; var __spreadArrays = undefined && undefined.__spreadArrays || function () { for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j]; return r; }; var DEBOUNCED_CHANGE_MS = 300; function FlatpickrInstance(element, instanceConfig) { var self = { config: __assign(__assign({}, _types_options__WEBPACK_IMPORTED_MODULE_0__.defaults), flatpickr.defaultConfig), l10n: _l10n_default__WEBPACK_IMPORTED_MODULE_1__["default"] }; self.parseDate = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.createDateParser)({ config: self.config, l10n: self.l10n }); self._handlers = []; self.pluginElements = []; self.loadedPlugins = []; self._bind = bind; self._setHoursFromDate = setHoursFromDate; self._positionCalendar = positionCalendar; self.changeMonth = changeMonth; self.changeYear = changeYear; self.clear = clear; self.close = close; self.onMouseOver = onMouseOver; self._createElement = _utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement; self.createDay = createDay; self.destroy = destroy; self.isEnabled = isEnabled; self.jumpToDate = jumpToDate; self.updateValue = updateValue; self.open = open; self.redraw = redraw; self.set = set; self.setDate = setDate; self.toggle = toggle; function setupHelperFunctions() { self.utils = { getDaysInMonth: function (month, yr) { if (month === void 0) { month = self.currentMonth; } if (yr === void 0) { yr = self.currentYear; } if (month === 1 && (yr % 4 === 0 && yr % 100 !== 0 || yr % 400 === 0)) return 29; return self.l10n.daysInMonth[month]; } }; } function init() { self.element = self.input = element; self.isOpen = false; parseConfig(); setupLocale(); setupInputs(); setupDates(); setupHelperFunctions(); if (!self.isMobile) build(); bindEvents(); if (self.selectedDates.length || self.config.noCalendar) { if (self.config.enableTime) { setHoursFromDate(self.config.noCalendar ? self.latestSelectedDateObj : undefined); } updateValue(false); } setCalendarWidth(); var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); if (!self.isMobile && isSafari) { positionCalendar(); } triggerEvent("onReady"); } function getClosestActiveElement() { var _a; return ((_a = self.calendarContainer) === null || _a === void 0 ? void 0 : _a.getRootNode()).activeElement || document.activeElement; } function bindToInstance(fn) { return fn.bind(self); } function setCalendarWidth() { var config = self.config; if (config.weekNumbers === false && config.showMonths === 1) { return; } else if (config.noCalendar !== true) { window.requestAnimationFrame(function () { if (self.calendarContainer !== undefined) { self.calendarContainer.style.visibility = "hidden"; self.calendarContainer.style.display = "block"; } if (self.daysContainer !== undefined) { var daysWidth = (self.days.offsetWidth + 1) * config.showMonths; self.daysContainer.style.width = daysWidth + "px"; self.calendarContainer.style.width = daysWidth + (self.weekWrapper !== undefined ? self.weekWrapper.offsetWidth : 0) + "px"; self.calendarContainer.style.removeProperty("visibility"); self.calendarContainer.style.removeProperty("display"); } }); } } function updateTime(e) { if (self.selectedDates.length === 0) { var defaultDate = self.config.minDate === undefined || (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(new Date(), self.config.minDate) >= 0 ? new Date() : new Date(self.config.minDate.getTime()); var defaults = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.getDefaultHours)(self.config); defaultDate.setHours(defaults.hours, defaults.minutes, defaults.seconds, defaultDate.getMilliseconds()); self.selectedDates = [defaultDate]; self.latestSelectedDateObj = defaultDate; } if (e !== undefined && e.type !== "blur") { timeWrapper(e); } var prevValue = self._input.value; setHoursFromInputs(); updateValue(); if (self._input.value !== prevValue) { self._debouncedChange(); } } function ampm2military(hour, amPM) { return hour % 12 + 12 * (0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(amPM === self.l10n.amPM[1]); } function military2ampm(hour) { switch (hour % 24) { case 0: case 12: return 12; default: return hour % 12; } } function setHoursFromInputs() { if (self.hourElement === undefined || self.minuteElement === undefined) return; var hours = (parseInt(self.hourElement.value.slice(-2), 10) || 0) % 24, minutes = (parseInt(self.minuteElement.value, 10) || 0) % 60, seconds = self.secondElement !== undefined ? (parseInt(self.secondElement.value, 10) || 0) % 60 : 0; if (self.amPM !== undefined) { hours = ampm2military(hours, self.amPM.textContent); } var limitMinHours = self.config.minTime !== undefined || self.config.minDate && self.minDateHasTime && self.latestSelectedDateObj && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(self.latestSelectedDateObj, self.config.minDate, true) === 0; var limitMaxHours = self.config.maxTime !== undefined || self.config.maxDate && self.maxDateHasTime && self.latestSelectedDateObj && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(self.latestSelectedDateObj, self.config.maxDate, true) === 0; if (self.config.maxTime !== undefined && self.config.minTime !== undefined && self.config.minTime > self.config.maxTime) { var minBound = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.calculateSecondsSinceMidnight)(self.config.minTime.getHours(), self.config.minTime.getMinutes(), self.config.minTime.getSeconds()); var maxBound = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.calculateSecondsSinceMidnight)(self.config.maxTime.getHours(), self.config.maxTime.getMinutes(), self.config.maxTime.getSeconds()); var currentTime = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.calculateSecondsSinceMidnight)(hours, minutes, seconds); if (currentTime > maxBound && currentTime < minBound) { var result = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.parseSeconds)(minBound); hours = result[0]; minutes = result[1]; seconds = result[2]; } } else { if (limitMaxHours) { var maxTime = self.config.maxTime !== undefined ? self.config.maxTime : self.config.maxDate; hours = Math.min(hours, maxTime.getHours()); if (hours === maxTime.getHours()) minutes = Math.min(minutes, maxTime.getMinutes()); if (minutes === maxTime.getMinutes()) seconds = Math.min(seconds, maxTime.getSeconds()); } if (limitMinHours) { var minTime = self.config.minTime !== undefined ? self.config.minTime : self.config.minDate; hours = Math.max(hours, minTime.getHours()); if (hours === minTime.getHours() && minutes < minTime.getMinutes()) minutes = minTime.getMinutes(); if (minutes === minTime.getMinutes()) seconds = Math.max(seconds, minTime.getSeconds()); } } setHours(hours, minutes, seconds); } function setHoursFromDate(dateObj) { var date = dateObj || self.latestSelectedDateObj; if (date && date instanceof Date) { setHours(date.getHours(), date.getMinutes(), date.getSeconds()); } } function setHours(hours, minutes, seconds) { if (self.latestSelectedDateObj !== undefined) { self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0); } if (!self.hourElement || !self.minuteElement || self.isMobile) return; self.hourElement.value = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.pad)(!self.config.time_24hr ? (12 + hours) % 12 + 12 * (0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(hours % 12 === 0) : hours); self.minuteElement.value = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.pad)(minutes); if (self.amPM !== undefined) self.amPM.textContent = self.l10n.amPM[(0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(hours >= 12)]; if (self.secondElement !== undefined) self.secondElement.value = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.pad)(seconds); } function onYearInput(event) { var eventTarget = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(event); var year = parseInt(eventTarget.value) + (event.delta || 0); if (year / 1000 > 1 || event.key === "Enter" && !/[^\d]/.test(year.toString())) { changeYear(year); } } function bind(element, event, handler, options) { if (event instanceof Array) return event.forEach(function (ev) { return bind(element, ev, handler, options); }); if (element instanceof Array) return element.forEach(function (el) { return bind(el, event, handler, options); }); element.addEventListener(event, handler, options); self._handlers.push({ remove: function () { return element.removeEventListener(event, handler, options); } }); } function triggerChange() { triggerEvent("onChange"); } function bindEvents() { if (self.config.wrap) { ["open", "close", "toggle", "clear"].forEach(function (evt) { Array.prototype.forEach.call(self.element.querySelectorAll("[data-" + evt + "]"), function (el) { return bind(el, "click", self[evt]); }); }); } if (self.isMobile) { setupMobile(); return; } var debouncedResize = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.debounce)(onResize, 50); self._debouncedChange = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.debounce)(triggerChange, DEBOUNCED_CHANGE_MS); if (self.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent)) bind(self.daysContainer, "mouseover", function (e) { if (self.config.mode === "range") onMouseOver((0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e)); }); bind(self._input, "keydown", onKeyDown); if (self.calendarContainer !== undefined) { bind(self.calendarContainer, "keydown", onKeyDown); } if (!self.config.inline && !self.config.static) bind(window, "resize", debouncedResize); if (window.ontouchstart !== undefined) bind(window.document, "touchstart", documentClick);else bind(window.document, "mousedown", documentClick); bind(window.document, "focus", documentClick, { capture: true }); if (self.config.clickOpens === true) { bind(self._input, "focus", self.open); bind(self._input, "click", self.open); } if (self.daysContainer !== undefined) { bind(self.monthNav, "click", onMonthNavClick); bind(self.monthNav, ["keyup", "increment"], onYearInput); bind(self.daysContainer, "click", selectDate); } if (self.timeContainer !== undefined && self.minuteElement !== undefined && self.hourElement !== undefined) { var selText = function (e) { return (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e).select(); }; bind(self.timeContainer, ["increment"], updateTime); bind(self.timeContainer, "blur", updateTime, { capture: true }); bind(self.timeContainer, "click", timeIncrement); bind([self.hourElement, self.minuteElement], ["focus", "click"], selText); if (self.secondElement !== undefined) bind(self.secondElement, "focus", function () { return self.secondElement && self.secondElement.select(); }); if (self.amPM !== undefined) { bind(self.amPM, "click", function (e) { updateTime(e); }); } } if (self.config.allowInput) { bind(self._input, "blur", onBlur); } } function jumpToDate(jumpDate, triggerChange) { var jumpTo = jumpDate !== undefined ? self.parseDate(jumpDate) : self.latestSelectedDateObj || (self.config.minDate && self.config.minDate > self.now ? self.config.minDate : self.config.maxDate && self.config.maxDate < self.now ? self.config.maxDate : self.now); var oldYear = self.currentYear; var oldMonth = self.currentMonth; try { if (jumpTo !== undefined) { self.currentYear = jumpTo.getFullYear(); self.currentMonth = jumpTo.getMonth(); } } catch (e) { e.message = "Invalid date supplied: " + jumpTo; self.config.errorHandler(e); } if (triggerChange && self.currentYear !== oldYear) { triggerEvent("onYearChange"); buildMonthSwitch(); } if (triggerChange && (self.currentYear !== oldYear || self.currentMonth !== oldMonth)) { triggerEvent("onMonthChange"); } self.redraw(); } function timeIncrement(e) { var eventTarget = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e); if (~eventTarget.className.indexOf("arrow")) incrementNumInput(e, eventTarget.classList.contains("arrowUp") ? 1 : -1); } function incrementNumInput(e, delta, inputElem) { var target = e && (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e); var input = inputElem || target && target.parentNode && target.parentNode.firstChild; var event = createEvent("increment"); event.delta = delta; input && input.dispatchEvent(event); } function build() { var fragment = window.document.createDocumentFragment(); self.calendarContainer = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-calendar"); self.calendarContainer.tabIndex = -1; if (!self.config.noCalendar) { fragment.appendChild(buildMonthNav()); self.innerContainer = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-innerContainer"); if (self.config.weekNumbers) { var _a = buildWeeks(), weekWrapper = _a.weekWrapper, weekNumbers = _a.weekNumbers; self.innerContainer.appendChild(weekWrapper); self.weekNumbers = weekNumbers; self.weekWrapper = weekWrapper; } self.rContainer = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-rContainer"); self.rContainer.appendChild(buildWeekdays()); if (!self.daysContainer) { self.daysContainer = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-days"); self.daysContainer.tabIndex = -1; } buildDays(); self.rContainer.appendChild(self.daysContainer); self.innerContainer.appendChild(self.rContainer); fragment.appendChild(self.innerContainer); } if (self.config.enableTime) { fragment.appendChild(buildTime()); } (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "rangeMode", self.config.mode === "range"); (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "animate", self.config.animate === true); (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "multiMonth", self.config.showMonths > 1); self.calendarContainer.appendChild(fragment); var customAppend = self.config.appendTo !== undefined && self.config.appendTo.nodeType !== undefined; if (self.config.inline || self.config.static) { self.calendarContainer.classList.add(self.config.inline ? "inline" : "static"); if (self.config.inline) { if (!customAppend && self.element.parentNode) self.element.parentNode.insertBefore(self.calendarContainer, self._input.nextSibling);else if (self.config.appendTo !== undefined) self.config.appendTo.appendChild(self.calendarContainer); } if (self.config.static) { var wrapper = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-wrapper"); if (self.element.parentNode) self.element.parentNode.insertBefore(wrapper, self.element); wrapper.appendChild(self.element); if (self.altInput) wrapper.appendChild(self.altInput); wrapper.appendChild(self.calendarContainer); } } if (!self.config.static && !self.config.inline) (self.config.appendTo !== undefined ? self.config.appendTo : window.document.body).appendChild(self.calendarContainer); } function createDay(className, date, _dayNumber, i) { var dateIsEnabled = isEnabled(date, true), dayElement = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("span", className, date.getDate().toString()); dayElement.dateObj = date; dayElement.$i = i; dayElement.setAttribute("aria-label", self.formatDate(date, self.config.ariaDateFormat)); if (className.indexOf("hidden") === -1 && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(date, self.now) === 0) { self.todayDateElem = dayElement; dayElement.classList.add("today"); dayElement.setAttribute("aria-current", "date"); } if (dateIsEnabled) { dayElement.tabIndex = -1; if (isDateSelected(date)) { dayElement.classList.add("selected"); self.selectedDateElem = dayElement; if (self.config.mode === "range") { (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(dayElement, "startRange", self.selectedDates[0] && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(date, self.selectedDates[0], true) === 0); (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(dayElement, "endRange", self.selectedDates[1] && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(date, self.selectedDates[1], true) === 0); if (className === "nextMonthDay") dayElement.classList.add("inRange"); } } } else { dayElement.classList.add("flatpickr-disabled"); } if (self.config.mode === "range") { if (isDateInRange(date) && !isDateSelected(date)) dayElement.classList.add("inRange"); } if (self.weekNumbers && self.config.showMonths === 1 && className !== "prevMonthDay" && i % 7 === 6) { self.weekNumbers.insertAdjacentHTML("beforeend", "" + self.config.getWeek(date) + ""); } triggerEvent("onDayCreate", dayElement); return dayElement; } function focusOnDayElem(targetNode) { targetNode.focus(); if (self.config.mode === "range") onMouseOver(targetNode); } function getFirstAvailableDay(delta) { var startMonth = delta > 0 ? 0 : self.config.showMonths - 1; var endMonth = delta > 0 ? self.config.showMonths : -1; for (var m = startMonth; m != endMonth; m += delta) { var month = self.daysContainer.children[m]; var startIndex = delta > 0 ? 0 : month.children.length - 1; var endIndex = delta > 0 ? month.children.length : -1; for (var i = startIndex; i != endIndex; i += delta) { var c = month.children[i]; if (c.className.indexOf("hidden") === -1 && isEnabled(c.dateObj)) return c; } } return undefined; } function getNextAvailableDay(current, delta) { var givenMonth = current.className.indexOf("Month") === -1 ? current.dateObj.getMonth() : self.currentMonth; var endMonth = delta > 0 ? self.config.showMonths : -1; var loopDelta = delta > 0 ? 1 : -1; for (var m = givenMonth - self.currentMonth; m != endMonth; m += loopDelta) { var month = self.daysContainer.children[m]; var startIndex = givenMonth - self.currentMonth === m ? current.$i + delta : delta < 0 ? month.children.length - 1 : 0; var numMonthDays = month.children.length; for (var i = startIndex; i >= 0 && i < numMonthDays && i != (delta > 0 ? numMonthDays : -1); i += loopDelta) { var c = month.children[i]; if (c.className.indexOf("hidden") === -1 && isEnabled(c.dateObj) && Math.abs(current.$i - i) >= Math.abs(delta)) return focusOnDayElem(c); } } self.changeMonth(loopDelta); focusOnDay(getFirstAvailableDay(loopDelta), 0); return undefined; } function focusOnDay(current, offset) { var activeElement = getClosestActiveElement(); var dayFocused = isInView(activeElement || document.body); var startElem = current !== undefined ? current : dayFocused ? activeElement : self.selectedDateElem !== undefined && isInView(self.selectedDateElem) ? self.selectedDateElem : self.todayDateElem !== undefined && isInView(self.todayDateElem) ? self.todayDateElem : getFirstAvailableDay(offset > 0 ? 1 : -1); if (startElem === undefined) { self._input.focus(); } else if (!dayFocused) { focusOnDayElem(startElem); } else { getNextAvailableDay(startElem, offset); } } function buildMonthDays(year, month) { var firstOfMonth = (new Date(year, month, 1).getDay() - self.l10n.firstDayOfWeek + 7) % 7; var prevMonthDays = self.utils.getDaysInMonth((month - 1 + 12) % 12, year); var daysInMonth = self.utils.getDaysInMonth(month, year), days = window.document.createDocumentFragment(), isMultiMonth = self.config.showMonths > 1, prevMonthDayClass = isMultiMonth ? "prevMonthDay hidden" : "prevMonthDay", nextMonthDayClass = isMultiMonth ? "nextMonthDay hidden" : "nextMonthDay"; var dayNumber = prevMonthDays + 1 - firstOfMonth, dayIndex = 0; for (; dayNumber <= prevMonthDays; dayNumber++, dayIndex++) { days.appendChild(createDay("flatpickr-day " + prevMonthDayClass, new Date(year, month - 1, dayNumber), dayNumber, dayIndex)); } for (dayNumber = 1; dayNumber <= daysInMonth; dayNumber++, dayIndex++) { days.appendChild(createDay("flatpickr-day", new Date(year, month, dayNumber), dayNumber, dayIndex)); } for (var dayNum = daysInMonth + 1; dayNum <= 42 - firstOfMonth && (self.config.showMonths === 1 || dayIndex % 7 !== 0); dayNum++, dayIndex++) { days.appendChild(createDay("flatpickr-day " + nextMonthDayClass, new Date(year, month + 1, dayNum % daysInMonth), dayNum, dayIndex)); } var dayContainer = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "dayContainer"); dayContainer.appendChild(days); return dayContainer; } function buildDays() { if (self.daysContainer === undefined) { return; } (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.clearNode)(self.daysContainer); if (self.weekNumbers) (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.clearNode)(self.weekNumbers); var frag = document.createDocumentFragment(); for (var i = 0; i < self.config.showMonths; i++) { var d = new Date(self.currentYear, self.currentMonth, 1); d.setMonth(self.currentMonth + i); frag.appendChild(buildMonthDays(d.getFullYear(), d.getMonth())); } self.daysContainer.appendChild(frag); self.days = self.daysContainer.firstChild; if (self.config.mode === "range" && self.selectedDates.length === 1) { onMouseOver(); } } function buildMonthSwitch() { if (self.config.showMonths > 1 || self.config.monthSelectorType !== "dropdown") return; var shouldBuildMonth = function (month) { if (self.config.minDate !== undefined && self.currentYear === self.config.minDate.getFullYear() && month < self.config.minDate.getMonth()) { return false; } return !(self.config.maxDate !== undefined && self.currentYear === self.config.maxDate.getFullYear() && month > self.config.maxDate.getMonth()); }; self.monthsDropdownContainer.tabIndex = -1; self.monthsDropdownContainer.innerHTML = ""; for (var i = 0; i < 12; i++) { if (!shouldBuildMonth(i)) continue; var month = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("option", "flatpickr-monthDropdown-month"); month.value = new Date(self.currentYear, i).getMonth().toString(); month.textContent = (0,_utils_formatting__WEBPACK_IMPORTED_MODULE_5__.monthToStr)(i, self.config.shorthandCurrentMonth, self.l10n); month.tabIndex = -1; if (self.currentMonth === i) { month.selected = true; } self.monthsDropdownContainer.appendChild(month); } } function buildMonth() { var container = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-month"); var monthNavFragment = window.document.createDocumentFragment(); var monthElement; if (self.config.showMonths > 1 || self.config.monthSelectorType === "static") { monthElement = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("span", "cur-month"); } else { self.monthsDropdownContainer = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("select", "flatpickr-monthDropdown-months"); self.monthsDropdownContainer.setAttribute("aria-label", self.l10n.monthAriaLabel); bind(self.monthsDropdownContainer, "change", function (e) { var target = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e); var selectedMonth = parseInt(target.value, 10); self.changeMonth(selectedMonth - self.currentMonth); triggerEvent("onMonthChange"); }); buildMonthSwitch(); monthElement = self.monthsDropdownContainer; } var yearInput = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createNumberInput)("cur-year", { tabindex: "-1" }); var yearElement = yearInput.getElementsByTagName("input")[0]; yearElement.setAttribute("aria-label", self.l10n.yearAriaLabel); if (self.config.minDate) { yearElement.setAttribute("min", self.config.minDate.getFullYear().toString()); } if (self.config.maxDate) { yearElement.setAttribute("max", self.config.maxDate.getFullYear().toString()); yearElement.disabled = !!self.config.minDate && self.config.minDate.getFullYear() === self.config.maxDate.getFullYear(); } var currentMonth = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-current-month"); currentMonth.appendChild(monthElement); currentMonth.appendChild(yearInput); monthNavFragment.appendChild(currentMonth); container.appendChild(monthNavFragment); return { container: container, yearElement: yearElement, monthElement: monthElement }; } function buildMonths() { (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.clearNode)(self.monthNav); self.monthNav.appendChild(self.prevMonthNav); if (self.config.showMonths) { self.yearElements = []; self.monthElements = []; } for (var m = self.config.showMonths; m--;) { var month = buildMonth(); self.yearElements.push(month.yearElement); self.monthElements.push(month.monthElement); self.monthNav.appendChild(month.container); } self.monthNav.appendChild(self.nextMonthNav); } function buildMonthNav() { self.monthNav = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-months"); self.yearElements = []; self.monthElements = []; self.prevMonthNav = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("span", "flatpickr-prev-month"); self.prevMonthNav.innerHTML = self.config.prevArrow; self.nextMonthNav = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("span", "flatpickr-next-month"); self.nextMonthNav.innerHTML = self.config.nextArrow; buildMonths(); Object.defineProperty(self, "_hidePrevMonthArrow", { get: function () { return self.__hidePrevMonthArrow; }, set: function (bool) { if (self.__hidePrevMonthArrow !== bool) { (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.prevMonthNav, "flatpickr-disabled", bool); self.__hidePrevMonthArrow = bool; } } }); Object.defineProperty(self, "_hideNextMonthArrow", { get: function () { return self.__hideNextMonthArrow; }, set: function (bool) { if (self.__hideNextMonthArrow !== bool) { (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.nextMonthNav, "flatpickr-disabled", bool); self.__hideNextMonthArrow = bool; } } }); self.currentYearElement = self.yearElements[0]; updateNavigationCurrentMonth(); return self.monthNav; } function buildTime() { self.calendarContainer.classList.add("hasTime"); if (self.config.noCalendar) self.calendarContainer.classList.add("noCalendar"); var defaults = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.getDefaultHours)(self.config); self.timeContainer = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-time"); self.timeContainer.tabIndex = -1; var separator = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("span", "flatpickr-time-separator", ":"); var hourInput = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createNumberInput)("flatpickr-hour", { "aria-label": self.l10n.hourAriaLabel }); self.hourElement = hourInput.getElementsByTagName("input")[0]; var minuteInput = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createNumberInput)("flatpickr-minute", { "aria-label": self.l10n.minuteAriaLabel }); self.minuteElement = minuteInput.getElementsByTagName("input")[0]; self.hourElement.tabIndex = self.minuteElement.tabIndex = -1; self.hourElement.value = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.pad)(self.latestSelectedDateObj ? self.latestSelectedDateObj.getHours() : self.config.time_24hr ? defaults.hours : military2ampm(defaults.hours)); self.minuteElement.value = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.pad)(self.latestSelectedDateObj ? self.latestSelectedDateObj.getMinutes() : defaults.minutes); self.hourElement.setAttribute("step", self.config.hourIncrement.toString()); self.minuteElement.setAttribute("step", self.config.minuteIncrement.toString()); self.hourElement.setAttribute("min", self.config.time_24hr ? "0" : "1"); self.hourElement.setAttribute("max", self.config.time_24hr ? "23" : "12"); self.hourElement.setAttribute("maxlength", "2"); self.minuteElement.setAttribute("min", "0"); self.minuteElement.setAttribute("max", "59"); self.minuteElement.setAttribute("maxlength", "2"); self.timeContainer.appendChild(hourInput); self.timeContainer.appendChild(separator); self.timeContainer.appendChild(minuteInput); if (self.config.time_24hr) self.timeContainer.classList.add("time24hr"); if (self.config.enableSeconds) { self.timeContainer.classList.add("hasSeconds"); var secondInput = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createNumberInput)("flatpickr-second"); self.secondElement = secondInput.getElementsByTagName("input")[0]; self.secondElement.value = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.pad)(self.latestSelectedDateObj ? self.latestSelectedDateObj.getSeconds() : defaults.seconds); self.secondElement.setAttribute("step", self.minuteElement.getAttribute("step")); self.secondElement.setAttribute("min", "0"); self.secondElement.setAttribute("max", "59"); self.secondElement.setAttribute("maxlength", "2"); self.timeContainer.appendChild((0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("span", "flatpickr-time-separator", ":")); self.timeContainer.appendChild(secondInput); } if (!self.config.time_24hr) { self.amPM = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("span", "flatpickr-am-pm", self.l10n.amPM[(0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)((self.latestSelectedDateObj ? self.hourElement.value : self.config.defaultHour) > 11)]); self.amPM.title = self.l10n.toggleTitle; self.amPM.tabIndex = -1; self.timeContainer.appendChild(self.amPM); } return self.timeContainer; } function buildWeekdays() { if (!self.weekdayContainer) self.weekdayContainer = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-weekdays");else (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.clearNode)(self.weekdayContainer); for (var i = self.config.showMonths; i--;) { var container = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-weekdaycontainer"); self.weekdayContainer.appendChild(container); } updateWeekdays(); return self.weekdayContainer; } function updateWeekdays() { if (!self.weekdayContainer) { return; } var firstDayOfWeek = self.l10n.firstDayOfWeek; var weekdays = __spreadArrays(self.l10n.weekdays.shorthand); if (firstDayOfWeek > 0 && firstDayOfWeek < weekdays.length) { weekdays = __spreadArrays(weekdays.splice(firstDayOfWeek, weekdays.length), weekdays.splice(0, firstDayOfWeek)); } for (var i = self.config.showMonths; i--;) { self.weekdayContainer.children[i].innerHTML = "\n \n " + weekdays.join("") + "\n \n "; } } function buildWeeks() { self.calendarContainer.classList.add("hasWeeks"); var weekWrapper = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-weekwrapper"); weekWrapper.appendChild((0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("span", "flatpickr-weekday", self.l10n.weekAbbreviation)); var weekNumbers = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("div", "flatpickr-weeks"); weekWrapper.appendChild(weekNumbers); return { weekWrapper: weekWrapper, weekNumbers: weekNumbers }; } function changeMonth(value, isOffset) { if (isOffset === void 0) { isOffset = true; } var delta = isOffset ? value : value - self.currentMonth; if (delta < 0 && self._hidePrevMonthArrow === true || delta > 0 && self._hideNextMonthArrow === true) return; self.currentMonth += delta; if (self.currentMonth < 0 || self.currentMonth > 11) { self.currentYear += self.currentMonth > 11 ? 1 : -1; self.currentMonth = (self.currentMonth + 12) % 12; triggerEvent("onYearChange"); buildMonthSwitch(); } buildDays(); triggerEvent("onMonthChange"); updateNavigationCurrentMonth(); } function clear(triggerChangeEvent, toInitial) { if (triggerChangeEvent === void 0) { triggerChangeEvent = true; } if (toInitial === void 0) { toInitial = true; } self.input.value = ""; if (self.altInput !== undefined) self.altInput.value = ""; if (self.mobileInput !== undefined) self.mobileInput.value = ""; self.selectedDates = []; self.latestSelectedDateObj = undefined; if (toInitial === true) { self.currentYear = self._initialDate.getFullYear(); self.currentMonth = self._initialDate.getMonth(); } if (self.config.enableTime === true) { var _a = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.getDefaultHours)(self.config), hours = _a.hours, minutes = _a.minutes, seconds = _a.seconds; setHours(hours, minutes, seconds); } self.redraw(); if (triggerChangeEvent) triggerEvent("onChange"); } function close() { self.isOpen = false; if (!self.isMobile) { if (self.calendarContainer !== undefined) { self.calendarContainer.classList.remove("open"); } if (self._input !== undefined) { self._input.classList.remove("active"); } } triggerEvent("onClose"); } function destroy() { if (self.config !== undefined) triggerEvent("onDestroy"); for (var i = self._handlers.length; i--;) { self._handlers[i].remove(); } self._handlers = []; if (self.mobileInput) { if (self.mobileInput.parentNode) self.mobileInput.parentNode.removeChild(self.mobileInput); self.mobileInput = undefined; } else if (self.calendarContainer && self.calendarContainer.parentNode) { if (self.config.static && self.calendarContainer.parentNode) { var wrapper = self.calendarContainer.parentNode; wrapper.lastChild && wrapper.removeChild(wrapper.lastChild); if (wrapper.parentNode) { while (wrapper.firstChild) wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper); wrapper.parentNode.removeChild(wrapper); } } else self.calendarContainer.parentNode.removeChild(self.calendarContainer); } if (self.altInput) { self.input.type = "text"; if (self.altInput.parentNode) self.altInput.parentNode.removeChild(self.altInput); delete self.altInput; } if (self.input) { self.input.type = self.input._type; self.input.classList.remove("flatpickr-input"); self.input.removeAttribute("readonly"); } ["_showTimeInput", "latestSelectedDateObj", "_hideNextMonthArrow", "_hidePrevMonthArrow", "__hideNextMonthArrow", "__hidePrevMonthArrow", "isMobile", "isOpen", "selectedDateElem", "minDateHasTime", "maxDateHasTime", "days", "daysContainer", "_input", "_positionElement", "innerContainer", "rContainer", "monthNav", "todayDateElem", "calendarContainer", "weekdayContainer", "prevMonthNav", "nextMonthNav", "monthsDropdownContainer", "currentMonthElement", "currentYearElement", "navigationCurrentMonth", "selectedDateElem", "config"].forEach(function (k) { try { delete self[k]; } catch (_) {} }); } function isCalendarElem(elem) { return self.calendarContainer.contains(elem); } function documentClick(e) { if (self.isOpen && !self.config.inline) { var eventTarget_1 = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e); var isCalendarElement = isCalendarElem(eventTarget_1); var isInput = eventTarget_1 === self.input || eventTarget_1 === self.altInput || self.element.contains(eventTarget_1) || e.path && e.path.indexOf && (~e.path.indexOf(self.input) || ~e.path.indexOf(self.altInput)); var lostFocus = !isInput && !isCalendarElement && !isCalendarElem(e.relatedTarget); var isIgnored = !self.config.ignoredFocusElements.some(function (elem) { return elem.contains(eventTarget_1); }); if (lostFocus && isIgnored) { if (self.config.allowInput) { self.setDate(self._input.value, false, self.config.altInput ? self.config.altFormat : self.config.dateFormat); } if (self.timeContainer !== undefined && self.minuteElement !== undefined && self.hourElement !== undefined && self.input.value !== "" && self.input.value !== undefined) { updateTime(); } self.close(); if (self.config && self.config.mode === "range" && self.selectedDates.length === 1) self.clear(false); } } } function changeYear(newYear) { if (!newYear || self.config.minDate && newYear < self.config.minDate.getFullYear() || self.config.maxDate && newYear > self.config.maxDate.getFullYear()) return; var newYearNum = newYear, isNewYear = self.currentYear !== newYearNum; self.currentYear = newYearNum || self.currentYear; if (self.config.maxDate && self.currentYear === self.config.maxDate.getFullYear()) { self.currentMonth = Math.min(self.config.maxDate.getMonth(), self.currentMonth); } else if (self.config.minDate && self.currentYear === self.config.minDate.getFullYear()) { self.currentMonth = Math.max(self.config.minDate.getMonth(), self.currentMonth); } if (isNewYear) { self.redraw(); triggerEvent("onYearChange"); buildMonthSwitch(); } } function isEnabled(date, timeless) { var _a; if (timeless === void 0) { timeless = true; } var dateToCheck = self.parseDate(date, undefined, timeless); if (self.config.minDate && dateToCheck && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(dateToCheck, self.config.minDate, timeless !== undefined ? timeless : !self.minDateHasTime) < 0 || self.config.maxDate && dateToCheck && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(dateToCheck, self.config.maxDate, timeless !== undefined ? timeless : !self.maxDateHasTime) > 0) return false; if (!self.config.enable && self.config.disable.length === 0) return true; if (dateToCheck === undefined) return false; var bool = !!self.config.enable, array = (_a = self.config.enable) !== null && _a !== void 0 ? _a : self.config.disable; for (var i = 0, d = void 0; i < array.length; i++) { d = array[i]; if (typeof d === "function" && d(dateToCheck)) return bool;else if (d instanceof Date && dateToCheck !== undefined && d.getTime() === dateToCheck.getTime()) return bool;else if (typeof d === "string") { var parsed = self.parseDate(d, undefined, true); return parsed && parsed.getTime() === dateToCheck.getTime() ? bool : !bool; } else if (typeof d === "object" && dateToCheck !== undefined && d.from && d.to && dateToCheck.getTime() >= d.from.getTime() && dateToCheck.getTime() <= d.to.getTime()) return bool; } return !bool; } function isInView(elem) { if (self.daysContainer !== undefined) return elem.className.indexOf("hidden") === -1 && elem.className.indexOf("flatpickr-disabled") === -1 && self.daysContainer.contains(elem); return false; } function onBlur(e) { var isInput = e.target === self._input; var valueChanged = self._input.value.trimEnd() !== getDateStr(); if (isInput && valueChanged && !(e.relatedTarget && isCalendarElem(e.relatedTarget))) { self.setDate(self._input.value, true, e.target === self.altInput ? self.config.altFormat : self.config.dateFormat); } } function onKeyDown(e) { var eventTarget = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e); var isInput = self.config.wrap ? element.contains(eventTarget) : eventTarget === self._input; var allowInput = self.config.allowInput; var allowKeydown = self.isOpen && (!allowInput || !isInput); var allowInlineKeydown = self.config.inline && isInput && !allowInput; if (e.keyCode === 13 && isInput) { if (allowInput) { self.setDate(self._input.value, true, eventTarget === self.altInput ? self.config.altFormat : self.config.dateFormat); self.close(); return eventTarget.blur(); } else { self.open(); } } else if (isCalendarElem(eventTarget) || allowKeydown || allowInlineKeydown) { var isTimeObj = !!self.timeContainer && self.timeContainer.contains(eventTarget); switch (e.keyCode) { case 13: if (isTimeObj) { e.preventDefault(); updateTime(); focusAndClose(); } else selectDate(e); break; case 27: e.preventDefault(); focusAndClose(); break; case 8: case 46: if (isInput && !self.config.allowInput) { e.preventDefault(); self.clear(); } break; case 37: case 39: if (!isTimeObj && !isInput) { e.preventDefault(); var activeElement = getClosestActiveElement(); if (self.daysContainer !== undefined && (allowInput === false || activeElement && isInView(activeElement))) { var delta_1 = e.keyCode === 39 ? 1 : -1; if (!e.ctrlKey) focusOnDay(undefined, delta_1);else { e.stopPropagation(); changeMonth(delta_1); focusOnDay(getFirstAvailableDay(1), 0); } } } else if (self.hourElement) self.hourElement.focus(); break; case 38: case 40: e.preventDefault(); var delta = e.keyCode === 40 ? 1 : -1; if (self.daysContainer && eventTarget.$i !== undefined || eventTarget === self.input || eventTarget === self.altInput) { if (e.ctrlKey) { e.stopPropagation(); changeYear(self.currentYear - delta); focusOnDay(getFirstAvailableDay(1), 0); } else if (!isTimeObj) focusOnDay(undefined, delta * 7); } else if (eventTarget === self.currentYearElement) { changeYear(self.currentYear - delta); } else if (self.config.enableTime) { if (!isTimeObj && self.hourElement) self.hourElement.focus(); updateTime(e); self._debouncedChange(); } break; case 9: if (isTimeObj) { var elems = [self.hourElement, self.minuteElement, self.secondElement, self.amPM].concat(self.pluginElements).filter(function (x) { return x; }); var i = elems.indexOf(eventTarget); if (i !== -1) { var target = elems[i + (e.shiftKey ? -1 : 1)]; e.preventDefault(); (target || self._input).focus(); } } else if (!self.config.noCalendar && self.daysContainer && self.daysContainer.contains(eventTarget) && e.shiftKey) { e.preventDefault(); self._input.focus(); } break; default: break; } } if (self.amPM !== undefined && eventTarget === self.amPM) { switch (e.key) { case self.l10n.amPM[0].charAt(0): case self.l10n.amPM[0].charAt(0).toLowerCase(): self.amPM.textContent = self.l10n.amPM[0]; setHoursFromInputs(); updateValue(); break; case self.l10n.amPM[1].charAt(0): case self.l10n.amPM[1].charAt(0).toLowerCase(): self.amPM.textContent = self.l10n.amPM[1]; setHoursFromInputs(); updateValue(); break; } } if (isInput || isCalendarElem(eventTarget)) { triggerEvent("onKeyDown", e); } } function onMouseOver(elem, cellClass) { if (cellClass === void 0) { cellClass = "flatpickr-day"; } if (self.selectedDates.length !== 1 || elem && (!elem.classList.contains(cellClass) || elem.classList.contains("flatpickr-disabled"))) return; var hoverDate = elem ? elem.dateObj.getTime() : self.days.firstElementChild.dateObj.getTime(), initialDate = self.parseDate(self.selectedDates[0], undefined, true).getTime(), rangeStartDate = Math.min(hoverDate, self.selectedDates[0].getTime()), rangeEndDate = Math.max(hoverDate, self.selectedDates[0].getTime()); var containsDisabled = false; var minRange = 0, maxRange = 0; for (var t = rangeStartDate; t < rangeEndDate; t += _utils_dates__WEBPACK_IMPORTED_MODULE_4__.duration.DAY) { if (!isEnabled(new Date(t), true)) { containsDisabled = containsDisabled || t > rangeStartDate && t < rangeEndDate; if (t < initialDate && (!minRange || t > minRange)) minRange = t;else if (t > initialDate && (!maxRange || t < maxRange)) maxRange = t; } } var hoverableCells = Array.from(self.rContainer.querySelectorAll("*:nth-child(-n+" + self.config.showMonths + ") > ." + cellClass)); hoverableCells.forEach(function (dayElem) { var date = dayElem.dateObj; var timestamp = date.getTime(); var outOfRange = minRange > 0 && timestamp < minRange || maxRange > 0 && timestamp > maxRange; if (outOfRange) { dayElem.classList.add("notAllowed"); ["inRange", "startRange", "endRange"].forEach(function (c) { dayElem.classList.remove(c); }); return; } else if (containsDisabled && !outOfRange) return; ["startRange", "inRange", "endRange", "notAllowed"].forEach(function (c) { dayElem.classList.remove(c); }); if (elem !== undefined) { elem.classList.add(hoverDate <= self.selectedDates[0].getTime() ? "startRange" : "endRange"); if (initialDate < hoverDate && timestamp === initialDate) dayElem.classList.add("startRange");else if (initialDate > hoverDate && timestamp === initialDate) dayElem.classList.add("endRange"); if (timestamp >= minRange && (maxRange === 0 || timestamp <= maxRange) && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.isBetween)(timestamp, initialDate, hoverDate)) dayElem.classList.add("inRange"); } }); } function onResize() { if (self.isOpen && !self.config.static && !self.config.inline) positionCalendar(); } function open(e, positionElement) { if (positionElement === void 0) { positionElement = self._positionElement; } if (self.isMobile === true) { if (e) { e.preventDefault(); var eventTarget = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e); if (eventTarget) { eventTarget.blur(); } } if (self.mobileInput !== undefined) { self.mobileInput.focus(); self.mobileInput.click(); } triggerEvent("onOpen"); return; } else if (self._input.disabled || self.config.inline) { return; } var wasOpen = self.isOpen; self.isOpen = true; if (!wasOpen) { self.calendarContainer.classList.add("open"); self._input.classList.add("active"); triggerEvent("onOpen"); positionCalendar(positionElement); } if (self.config.enableTime === true && self.config.noCalendar === true) { if (self.config.allowInput === false && (e === undefined || !self.timeContainer.contains(e.relatedTarget))) { setTimeout(function () { return self.hourElement.select(); }, 50); } } } function minMaxDateSetter(type) { return function (date) { var dateObj = self.config["_" + type + "Date"] = self.parseDate(date, self.config.dateFormat); var inverseDateObj = self.config["_" + (type === "min" ? "max" : "min") + "Date"]; if (dateObj !== undefined) { self[type === "min" ? "minDateHasTime" : "maxDateHasTime"] = dateObj.getHours() > 0 || dateObj.getMinutes() > 0 || dateObj.getSeconds() > 0; } if (self.selectedDates) { self.selectedDates = self.selectedDates.filter(function (d) { return isEnabled(d); }); if (!self.selectedDates.length && type === "min") setHoursFromDate(dateObj); updateValue(); } if (self.daysContainer) { redraw(); if (dateObj !== undefined) self.currentYearElement[type] = dateObj.getFullYear().toString();else self.currentYearElement.removeAttribute(type); self.currentYearElement.disabled = !!inverseDateObj && dateObj !== undefined && inverseDateObj.getFullYear() === dateObj.getFullYear(); } }; } function parseConfig() { var boolOpts = ["wrap", "weekNumbers", "allowInput", "allowInvalidPreload", "clickOpens", "time_24hr", "enableTime", "noCalendar", "altInput", "shorthandCurrentMonth", "inline", "static", "enableSeconds", "disableMobile"]; var userConfig = __assign(__assign({}, JSON.parse(JSON.stringify(element.dataset || {}))), instanceConfig); var formats = {}; self.config.parseDate = userConfig.parseDate; self.config.formatDate = userConfig.formatDate; Object.defineProperty(self.config, "enable", { get: function () { return self.config._enable; }, set: function (dates) { self.config._enable = parseDateRules(dates); } }); Object.defineProperty(self.config, "disable", { get: function () { return self.config._disable; }, set: function (dates) { self.config._disable = parseDateRules(dates); } }); var timeMode = userConfig.mode === "time"; if (!userConfig.dateFormat && (userConfig.enableTime || timeMode)) { var defaultDateFormat = flatpickr.defaultConfig.dateFormat || _types_options__WEBPACK_IMPORTED_MODULE_0__.defaults.dateFormat; formats.dateFormat = userConfig.noCalendar || timeMode ? "H:i" + (userConfig.enableSeconds ? ":S" : "") : defaultDateFormat + " H:i" + (userConfig.enableSeconds ? ":S" : ""); } if (userConfig.altInput && (userConfig.enableTime || timeMode) && !userConfig.altFormat) { var defaultAltFormat = flatpickr.defaultConfig.altFormat || _types_options__WEBPACK_IMPORTED_MODULE_0__.defaults.altFormat; formats.altFormat = userConfig.noCalendar || timeMode ? "h:i" + (userConfig.enableSeconds ? ":S K" : " K") : defaultAltFormat + (" h:i" + (userConfig.enableSeconds ? ":S" : "") + " K"); } Object.defineProperty(self.config, "minDate", { get: function () { return self.config._minDate; }, set: minMaxDateSetter("min") }); Object.defineProperty(self.config, "maxDate", { get: function () { return self.config._maxDate; }, set: minMaxDateSetter("max") }); var minMaxTimeSetter = function (type) { return function (val) { self.config[type === "min" ? "_minTime" : "_maxTime"] = self.parseDate(val, "H:i:S"); }; }; Object.defineProperty(self.config, "minTime", { get: function () { return self.config._minTime; }, set: minMaxTimeSetter("min") }); Object.defineProperty(self.config, "maxTime", { get: function () { return self.config._maxTime; }, set: minMaxTimeSetter("max") }); if (userConfig.mode === "time") { self.config.noCalendar = true; self.config.enableTime = true; } Object.assign(self.config, formats, userConfig); for (var i = 0; i < boolOpts.length; i++) self.config[boolOpts[i]] = self.config[boolOpts[i]] === true || self.config[boolOpts[i]] === "true"; _types_options__WEBPACK_IMPORTED_MODULE_0__.HOOKS.filter(function (hook) { return self.config[hook] !== undefined; }).forEach(function (hook) { self.config[hook] = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.arrayify)(self.config[hook] || []).map(bindToInstance); }); self.isMobile = !self.config.disableMobile && !self.config.inline && self.config.mode === "single" && !self.config.disable.length && !self.config.enable && !self.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); for (var i = 0; i < self.config.plugins.length; i++) { var pluginConf = self.config.plugins[i](self) || {}; for (var key in pluginConf) { if (_types_options__WEBPACK_IMPORTED_MODULE_0__.HOOKS.indexOf(key) > -1) { self.config[key] = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.arrayify)(pluginConf[key]).map(bindToInstance).concat(self.config[key]); } else if (typeof userConfig[key] === "undefined") self.config[key] = pluginConf[key]; } } if (!userConfig.altInputClass) { self.config.altInputClass = getInputElem().className + " " + self.config.altInputClass; } triggerEvent("onParseConfig"); } function getInputElem() { return self.config.wrap ? element.querySelector("[data-input]") : element; } function setupLocale() { if (typeof self.config.locale !== "object" && typeof flatpickr.l10ns[self.config.locale] === "undefined") self.config.errorHandler(new Error("flatpickr: invalid locale " + self.config.locale)); self.l10n = __assign(__assign({}, flatpickr.l10ns.default), typeof self.config.locale === "object" ? self.config.locale : self.config.locale !== "default" ? flatpickr.l10ns[self.config.locale] : undefined); _utils_formatting__WEBPACK_IMPORTED_MODULE_5__.tokenRegex.D = "(" + self.l10n.weekdays.shorthand.join("|") + ")"; _utils_formatting__WEBPACK_IMPORTED_MODULE_5__.tokenRegex.l = "(" + self.l10n.weekdays.longhand.join("|") + ")"; _utils_formatting__WEBPACK_IMPORTED_MODULE_5__.tokenRegex.M = "(" + self.l10n.months.shorthand.join("|") + ")"; _utils_formatting__WEBPACK_IMPORTED_MODULE_5__.tokenRegex.F = "(" + self.l10n.months.longhand.join("|") + ")"; _utils_formatting__WEBPACK_IMPORTED_MODULE_5__.tokenRegex.K = "(" + self.l10n.amPM[0] + "|" + self.l10n.amPM[1] + "|" + self.l10n.amPM[0].toLowerCase() + "|" + self.l10n.amPM[1].toLowerCase() + ")"; var userConfig = __assign(__assign({}, instanceConfig), JSON.parse(JSON.stringify(element.dataset || {}))); if (userConfig.time_24hr === undefined && flatpickr.defaultConfig.time_24hr === undefined) { self.config.time_24hr = self.l10n.time_24hr; } self.formatDate = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.createDateFormatter)(self); self.parseDate = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.createDateParser)({ config: self.config, l10n: self.l10n }); } function positionCalendar(customPositionElement) { if (typeof self.config.position === "function") { return void self.config.position(self, customPositionElement); } if (self.calendarContainer === undefined) return; triggerEvent("onPreCalendarPosition"); var positionElement = customPositionElement || self._positionElement; var calendarHeight = Array.prototype.reduce.call(self.calendarContainer.children, function (acc, child) { return acc + child.offsetHeight; }, 0), calendarWidth = self.calendarContainer.offsetWidth, configPos = self.config.position.split(" "), configPosVertical = configPos[0], configPosHorizontal = configPos.length > 1 ? configPos[1] : null, inputBounds = positionElement.getBoundingClientRect(), distanceFromBottom = window.innerHeight - inputBounds.bottom, showOnTop = configPosVertical === "above" || configPosVertical !== "below" && distanceFromBottom < calendarHeight && inputBounds.top > calendarHeight; var top = window.pageYOffset + inputBounds.top + (!showOnTop ? positionElement.offsetHeight + 2 : -calendarHeight - 2); (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "arrowTop", !showOnTop); (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "arrowBottom", showOnTop); if (self.config.inline) return; var left = window.pageXOffset + inputBounds.left; var isCenter = false; var isRight = false; if (configPosHorizontal === "center") { left -= (calendarWidth - inputBounds.width) / 2; isCenter = true; } else if (configPosHorizontal === "right") { left -= calendarWidth - inputBounds.width; isRight = true; } (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "arrowLeft", !isCenter && !isRight); (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "arrowCenter", isCenter); (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "arrowRight", isRight); var right = window.document.body.offsetWidth - (window.pageXOffset + inputBounds.right); var rightMost = left + calendarWidth > window.document.body.offsetWidth; var centerMost = right + calendarWidth > window.document.body.offsetWidth; (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "rightMost", rightMost); if (self.config.static) return; self.calendarContainer.style.top = top + "px"; if (!rightMost) { self.calendarContainer.style.left = left + "px"; self.calendarContainer.style.right = "auto"; } else if (!centerMost) { self.calendarContainer.style.left = "auto"; self.calendarContainer.style.right = right + "px"; } else { var doc = getDocumentStyleSheet(); if (doc === undefined) return; var bodyWidth = window.document.body.offsetWidth; var centerLeft = Math.max(0, bodyWidth / 2 - calendarWidth / 2); var centerBefore = ".flatpickr-calendar.centerMost:before"; var centerAfter = ".flatpickr-calendar.centerMost:after"; var centerIndex = doc.cssRules.length; var centerStyle = "{left:" + inputBounds.left + "px;right:auto;}"; (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "rightMost", false); (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(self.calendarContainer, "centerMost", true); doc.insertRule(centerBefore + "," + centerAfter + centerStyle, centerIndex); self.calendarContainer.style.left = centerLeft + "px"; self.calendarContainer.style.right = "auto"; } } function getDocumentStyleSheet() { var editableSheet = null; for (var i = 0; i < document.styleSheets.length; i++) { var sheet = document.styleSheets[i]; if (!sheet.cssRules) continue; try { sheet.cssRules; } catch (err) { continue; } editableSheet = sheet; break; } return editableSheet != null ? editableSheet : createStyleSheet(); } function createStyleSheet() { var style = document.createElement("style"); document.head.appendChild(style); return style.sheet; } function redraw() { if (self.config.noCalendar || self.isMobile) return; buildMonthSwitch(); updateNavigationCurrentMonth(); buildDays(); } function focusAndClose() { self._input.focus(); if (window.navigator.userAgent.indexOf("MSIE") !== -1 || navigator.msMaxTouchPoints !== undefined) { setTimeout(self.close, 0); } else { self.close(); } } function selectDate(e) { e.preventDefault(); e.stopPropagation(); var isSelectable = function (day) { return day.classList && day.classList.contains("flatpickr-day") && !day.classList.contains("flatpickr-disabled") && !day.classList.contains("notAllowed"); }; var t = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.findParent)((0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e), isSelectable); if (t === undefined) return; var target = t; var selectedDate = self.latestSelectedDateObj = new Date(target.dateObj.getTime()); var shouldChangeMonth = (selectedDate.getMonth() < self.currentMonth || selectedDate.getMonth() > self.currentMonth + self.config.showMonths - 1) && self.config.mode !== "range"; self.selectedDateElem = target; if (self.config.mode === "single") self.selectedDates = [selectedDate];else if (self.config.mode === "multiple") { var selectedIndex = isDateSelected(selectedDate); if (selectedIndex) self.selectedDates.splice(parseInt(selectedIndex), 1);else self.selectedDates.push(selectedDate); } else if (self.config.mode === "range") { if (self.selectedDates.length === 2) { self.clear(false, false); } self.latestSelectedDateObj = selectedDate; self.selectedDates.push(selectedDate); if ((0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(selectedDate, self.selectedDates[0], true) !== 0) self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); }); } setHoursFromInputs(); if (shouldChangeMonth) { var isNewYear = self.currentYear !== selectedDate.getFullYear(); self.currentYear = selectedDate.getFullYear(); self.currentMonth = selectedDate.getMonth(); if (isNewYear) { triggerEvent("onYearChange"); buildMonthSwitch(); } triggerEvent("onMonthChange"); } updateNavigationCurrentMonth(); buildDays(); updateValue(); if (!shouldChangeMonth && self.config.mode !== "range" && self.config.showMonths === 1) focusOnDayElem(target);else if (self.selectedDateElem !== undefined && self.hourElement === undefined) { self.selectedDateElem && self.selectedDateElem.focus(); } if (self.hourElement !== undefined) self.hourElement !== undefined && self.hourElement.focus(); if (self.config.closeOnSelect) { var single = self.config.mode === "single" && !self.config.enableTime; var range = self.config.mode === "range" && self.selectedDates.length === 2 && !self.config.enableTime; if (single || range) { focusAndClose(); } } triggerChange(); } var CALLBACKS = { locale: [setupLocale, updateWeekdays], showMonths: [buildMonths, setCalendarWidth, buildWeekdays], minDate: [jumpToDate], maxDate: [jumpToDate], positionElement: [updatePositionElement], clickOpens: [function () { if (self.config.clickOpens === true) { bind(self._input, "focus", self.open); bind(self._input, "click", self.open); } else { self._input.removeEventListener("focus", self.open); self._input.removeEventListener("click", self.open); } }] }; function set(option, value) { if (option !== null && typeof option === "object") { Object.assign(self.config, option); for (var key in option) { if (CALLBACKS[key] !== undefined) CALLBACKS[key].forEach(function (x) { return x(); }); } } else { self.config[option] = value; if (CALLBACKS[option] !== undefined) CALLBACKS[option].forEach(function (x) { return x(); });else if (_types_options__WEBPACK_IMPORTED_MODULE_0__.HOOKS.indexOf(option) > -1) self.config[option] = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.arrayify)(value); } self.redraw(); updateValue(true); } function setSelectedDate(inputDate, format) { var dates = []; if (inputDate instanceof Array) dates = inputDate.map(function (d) { return self.parseDate(d, format); });else if (inputDate instanceof Date || typeof inputDate === "number") dates = [self.parseDate(inputDate, format)];else if (typeof inputDate === "string") { switch (self.config.mode) { case "single": case "time": dates = [self.parseDate(inputDate, format)]; break; case "multiple": dates = inputDate.split(self.config.conjunction).map(function (date) { return self.parseDate(date, format); }); break; case "range": dates = inputDate.split(self.l10n.rangeSeparator).map(function (date) { return self.parseDate(date, format); }); break; default: break; } } else self.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(inputDate))); self.selectedDates = self.config.allowInvalidPreload ? dates : dates.filter(function (d) { return d instanceof Date && isEnabled(d, false); }); if (self.config.mode === "range") self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); }); } function setDate(date, triggerChange, format) { if (triggerChange === void 0) { triggerChange = false; } if (format === void 0) { format = self.config.dateFormat; } if (date !== 0 && !date || date instanceof Array && date.length === 0) return self.clear(triggerChange); setSelectedDate(date, format); self.latestSelectedDateObj = self.selectedDates[self.selectedDates.length - 1]; self.redraw(); jumpToDate(undefined, triggerChange); setHoursFromDate(); if (self.selectedDates.length === 0) { self.clear(false); } updateValue(triggerChange); if (triggerChange) triggerEvent("onChange"); } function parseDateRules(arr) { return arr.slice().map(function (rule) { if (typeof rule === "string" || typeof rule === "number" || rule instanceof Date) { return self.parseDate(rule, undefined, true); } else if (rule && typeof rule === "object" && rule.from && rule.to) return { from: self.parseDate(rule.from, undefined), to: self.parseDate(rule.to, undefined) }; return rule; }).filter(function (x) { return x; }); } function setupDates() { self.selectedDates = []; self.now = self.parseDate(self.config.now) || new Date(); var preloadedDate = self.config.defaultDate || ((self.input.nodeName === "INPUT" || self.input.nodeName === "TEXTAREA") && self.input.placeholder && self.input.value === self.input.placeholder ? null : self.input.value); if (preloadedDate) setSelectedDate(preloadedDate, self.config.dateFormat); self._initialDate = self.selectedDates.length > 0 ? self.selectedDates[0] : self.config.minDate && self.config.minDate.getTime() > self.now.getTime() ? self.config.minDate : self.config.maxDate && self.config.maxDate.getTime() < self.now.getTime() ? self.config.maxDate : self.now; self.currentYear = self._initialDate.getFullYear(); self.currentMonth = self._initialDate.getMonth(); if (self.selectedDates.length > 0) self.latestSelectedDateObj = self.selectedDates[0]; if (self.config.minTime !== undefined) self.config.minTime = self.parseDate(self.config.minTime, "H:i"); if (self.config.maxTime !== undefined) self.config.maxTime = self.parseDate(self.config.maxTime, "H:i"); self.minDateHasTime = !!self.config.minDate && (self.config.minDate.getHours() > 0 || self.config.minDate.getMinutes() > 0 || self.config.minDate.getSeconds() > 0); self.maxDateHasTime = !!self.config.maxDate && (self.config.maxDate.getHours() > 0 || self.config.maxDate.getMinutes() > 0 || self.config.maxDate.getSeconds() > 0); } function setupInputs() { self.input = getInputElem(); if (!self.input) { self.config.errorHandler(new Error("Invalid input element specified")); return; } self.input._type = self.input.type; self.input.type = "text"; self.input.classList.add("flatpickr-input"); self._input = self.input; if (self.config.altInput) { self.altInput = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)(self.input.nodeName, self.config.altInputClass); self._input = self.altInput; self.altInput.placeholder = self.input.placeholder; self.altInput.disabled = self.input.disabled; self.altInput.required = self.input.required; self.altInput.tabIndex = self.input.tabIndex; self.altInput.type = "text"; self.input.setAttribute("type", "hidden"); if (!self.config.static && self.input.parentNode) self.input.parentNode.insertBefore(self.altInput, self.input.nextSibling); } if (!self.config.allowInput) self._input.setAttribute("readonly", "readonly"); updatePositionElement(); } function updatePositionElement() { self._positionElement = self.config.positionElement || self._input; } function setupMobile() { var inputType = self.config.enableTime ? self.config.noCalendar ? "time" : "datetime-local" : "date"; self.mobileInput = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.createElement)("input", self.input.className + " flatpickr-mobile"); self.mobileInput.tabIndex = 1; self.mobileInput.type = inputType; self.mobileInput.disabled = self.input.disabled; self.mobileInput.required = self.input.required; self.mobileInput.placeholder = self.input.placeholder; self.mobileFormatStr = inputType === "datetime-local" ? "Y-m-d\\TH:i:S" : inputType === "date" ? "Y-m-d" : "H:i:S"; if (self.selectedDates.length > 0) { self.mobileInput.defaultValue = self.mobileInput.value = self.formatDate(self.selectedDates[0], self.mobileFormatStr); } if (self.config.minDate) self.mobileInput.min = self.formatDate(self.config.minDate, "Y-m-d"); if (self.config.maxDate) self.mobileInput.max = self.formatDate(self.config.maxDate, "Y-m-d"); if (self.input.getAttribute("step")) self.mobileInput.step = String(self.input.getAttribute("step")); self.input.type = "hidden"; if (self.altInput !== undefined) self.altInput.type = "hidden"; try { if (self.input.parentNode) self.input.parentNode.insertBefore(self.mobileInput, self.input.nextSibling); } catch (_a) {} bind(self.mobileInput, "change", function (e) { self.setDate((0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e).value, false, self.mobileFormatStr); triggerEvent("onChange"); triggerEvent("onClose"); }); } function toggle(e) { if (self.isOpen === true) return self.close(); self.open(e); } function triggerEvent(event, data) { if (self.config === undefined) return; var hooks = self.config[event]; if (hooks !== undefined && hooks.length > 0) { for (var i = 0; hooks[i] && i < hooks.length; i++) hooks[i](self.selectedDates, self.input.value, self, data); } if (event === "onChange") { self.input.dispatchEvent(createEvent("change")); self.input.dispatchEvent(createEvent("input")); } } function createEvent(name) { var e = document.createEvent("Event"); e.initEvent(name, true, true); return e; } function isDateSelected(date) { for (var i = 0; i < self.selectedDates.length; i++) { var selectedDate = self.selectedDates[i]; if (selectedDate instanceof Date && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(selectedDate, date) === 0) return "" + i; } return false; } function isDateInRange(date) { if (self.config.mode !== "range" || self.selectedDates.length < 2) return false; return (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(date, self.selectedDates[0]) >= 0 && (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates)(date, self.selectedDates[1]) <= 0; } function updateNavigationCurrentMonth() { if (self.config.noCalendar || self.isMobile || !self.monthNav) return; self.yearElements.forEach(function (yearElement, i) { var d = new Date(self.currentYear, self.currentMonth, 1); d.setMonth(self.currentMonth + i); if (self.config.showMonths > 1 || self.config.monthSelectorType === "static") { self.monthElements[i].textContent = (0,_utils_formatting__WEBPACK_IMPORTED_MODULE_5__.monthToStr)(d.getMonth(), self.config.shorthandCurrentMonth, self.l10n) + " "; } else { self.monthsDropdownContainer.value = d.getMonth().toString(); } yearElement.value = d.getFullYear().toString(); }); self._hidePrevMonthArrow = self.config.minDate !== undefined && (self.currentYear === self.config.minDate.getFullYear() ? self.currentMonth <= self.config.minDate.getMonth() : self.currentYear < self.config.minDate.getFullYear()); self._hideNextMonthArrow = self.config.maxDate !== undefined && (self.currentYear === self.config.maxDate.getFullYear() ? self.currentMonth + 1 > self.config.maxDate.getMonth() : self.currentYear > self.config.maxDate.getFullYear()); } function getDateStr(specificFormat) { var format = specificFormat || (self.config.altInput ? self.config.altFormat : self.config.dateFormat); return self.selectedDates.map(function (dObj) { return self.formatDate(dObj, format); }).filter(function (d, i, arr) { return self.config.mode !== "range" || self.config.enableTime || arr.indexOf(d) === i; }).join(self.config.mode !== "range" ? self.config.conjunction : self.l10n.rangeSeparator); } function updateValue(triggerChange) { if (triggerChange === void 0) { triggerChange = true; } if (self.mobileInput !== undefined && self.mobileFormatStr) { self.mobileInput.value = self.latestSelectedDateObj !== undefined ? self.formatDate(self.latestSelectedDateObj, self.mobileFormatStr) : ""; } self.input.value = getDateStr(self.config.dateFormat); if (self.altInput !== undefined) { self.altInput.value = getDateStr(self.config.altFormat); } if (triggerChange !== false) triggerEvent("onValueUpdate"); } function onMonthNavClick(e) { var eventTarget = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e); var isPrevMonth = self.prevMonthNav.contains(eventTarget); var isNextMonth = self.nextMonthNav.contains(eventTarget); if (isPrevMonth || isNextMonth) { changeMonth(isPrevMonth ? -1 : 1); } else if (self.yearElements.indexOf(eventTarget) >= 0) { eventTarget.select(); } else if (eventTarget.classList.contains("arrowUp")) { self.changeYear(self.currentYear + 1); } else if (eventTarget.classList.contains("arrowDown")) { self.changeYear(self.currentYear - 1); } } function timeWrapper(e) { e.preventDefault(); var isKeyDown = e.type === "keydown", eventTarget = (0,_utils_dom__WEBPACK_IMPORTED_MODULE_3__.getEventTarget)(e), input = eventTarget; if (self.amPM !== undefined && eventTarget === self.amPM) { self.amPM.textContent = self.l10n.amPM[(0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(self.amPM.textContent === self.l10n.amPM[0])]; } var min = parseFloat(input.getAttribute("min")), max = parseFloat(input.getAttribute("max")), step = parseFloat(input.getAttribute("step")), curValue = parseInt(input.value, 10), delta = e.delta || (isKeyDown ? e.which === 38 ? 1 : -1 : 0); var newValue = curValue + step * delta; if (typeof input.value !== "undefined" && input.value.length === 2) { var isHourElem = input === self.hourElement, isMinuteElem = input === self.minuteElement; if (newValue < min) { newValue = max + newValue + (0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(!isHourElem) + ((0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(isHourElem) && (0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(!self.amPM)); if (isMinuteElem) incrementNumInput(undefined, -1, self.hourElement); } else if (newValue > max) { newValue = input === self.hourElement ? newValue - max - (0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(!self.amPM) : min; if (isMinuteElem) incrementNumInput(undefined, 1, self.hourElement); } if (self.amPM && isHourElem && (step === 1 ? newValue + curValue === 23 : Math.abs(newValue - curValue) > step)) { self.amPM.textContent = self.l10n.amPM[(0,_utils__WEBPACK_IMPORTED_MODULE_2__.int)(self.amPM.textContent === self.l10n.amPM[0])]; } input.value = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.pad)(newValue); } } init(); return self; } function _flatpickr(nodeList, config) { var nodes = Array.prototype.slice.call(nodeList).filter(function (x) { return x instanceof HTMLElement; }); var instances = []; for (var i = 0; i < nodes.length; i++) { var node = nodes[i]; try { if (node.getAttribute("data-fp-omit") !== null) continue; if (node._flatpickr !== undefined) { node._flatpickr.destroy(); node._flatpickr = undefined; } node._flatpickr = FlatpickrInstance(node, config || {}); instances.push(node._flatpickr); } catch (e) { console.error(e); } } return instances.length === 1 ? instances[0] : instances; } if (typeof HTMLElement !== "undefined" && typeof HTMLCollection !== "undefined" && typeof NodeList !== "undefined") { HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (config) { return _flatpickr(this, config); }; HTMLElement.prototype.flatpickr = function (config) { return _flatpickr([this], config); }; } var flatpickr = function (selector, config) { if (typeof selector === "string") { return _flatpickr(window.document.querySelectorAll(selector), config); } else if (selector instanceof Node) { return _flatpickr([selector], config); } else { return _flatpickr(selector, config); } }; flatpickr.defaultConfig = {}; flatpickr.l10ns = { en: __assign({}, _l10n_default__WEBPACK_IMPORTED_MODULE_1__["default"]), default: __assign({}, _l10n_default__WEBPACK_IMPORTED_MODULE_1__["default"]) }; flatpickr.localize = function (l10n) { flatpickr.l10ns.default = __assign(__assign({}, flatpickr.l10ns.default), l10n); }; flatpickr.setDefaults = function (config) { flatpickr.defaultConfig = __assign(__assign({}, flatpickr.defaultConfig), config); }; flatpickr.parseDate = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.createDateParser)({}); flatpickr.formatDate = (0,_utils_dates__WEBPACK_IMPORTED_MODULE_4__.createDateFormatter)({}); flatpickr.compareDates = _utils_dates__WEBPACK_IMPORTED_MODULE_4__.compareDates; if (typeof jQuery !== "undefined" && typeof jQuery.fn !== "undefined") { jQuery.fn.flatpickr = function (config) { return _flatpickr(this, config); }; } Date.prototype.fp_incr = function (days) { return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof days === "string" ? parseInt(days, 10) : days)); }; if (typeof window !== "undefined") { window.flatpickr = flatpickr; } /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (flatpickr); /***/ }), /***/ 49456: /*!*********************************************************!*\ !*** ./node_modules/flatpickr/dist/esm/l10n/default.js ***! \*********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ "english": () => (/* binding */ english) /* harmony export */ }); var english = { weekdays: { shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], longhand: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] }, months: { shorthand: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], longhand: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] }, daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], firstDayOfWeek: 0, ordinal: function (nth) { var s = nth % 100; if (s > 3 && s < 21) return "th"; switch (s % 10) { case 1: return "st"; case 2: return "nd"; case 3: return "rd"; default: return "th"; } }, rangeSeparator: " to ", weekAbbreviation: "Wk", scrollTitle: "Scroll to increment", toggleTitle: "Click to toggle", amPM: ["AM", "PM"], yearAriaLabel: "Year", monthAriaLabel: "Month", hourAriaLabel: "Hour", minuteAriaLabel: "Minute", time_24hr: false }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (english); /***/ }), /***/ 17477: /*!**********************************************************!*\ !*** ./node_modules/flatpickr/dist/esm/types/options.js ***! \**********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "HOOKS": () => (/* binding */ HOOKS), /* harmony export */ "defaults": () => (/* binding */ defaults) /* harmony export */ }); var HOOKS = ["onChange", "onClose", "onDayCreate", "onDestroy", "onKeyDown", "onMonthChange", "onOpen", "onParseConfig", "onReady", "onValueUpdate", "onYearChange", "onPreCalendarPosition"]; var defaults = { _disable: [], allowInput: false, allowInvalidPreload: false, altFormat: "F j, Y", altInput: false, altInputClass: "form-control input", animate: typeof window === "object" && window.navigator.userAgent.indexOf("MSIE") === -1, ariaDateFormat: "F j, Y", autoFillDefaultTime: true, clickOpens: true, closeOnSelect: true, conjunction: ", ", dateFormat: "Y-m-d", defaultHour: 12, defaultMinute: 0, defaultSeconds: 0, disable: [], disableMobile: false, enableSeconds: false, enableTime: false, errorHandler: function (err) { return typeof console !== "undefined" && console.warn(err); }, getWeek: function (givenDate) { var date = new Date(givenDate.getTime()); date.setHours(0, 0, 0, 0); date.setDate(date.getDate() + 3 - (date.getDay() + 6) % 7); var week1 = new Date(date.getFullYear(), 0, 4); return 1 + Math.round(((date.getTime() - week1.getTime()) / 86400000 - 3 + (week1.getDay() + 6) % 7) / 7); }, hourIncrement: 1, ignoredFocusElements: [], inline: false, locale: "default", minuteIncrement: 5, mode: "single", monthSelectorType: "dropdown", nextArrow: "", noCalendar: false, now: new Date(), onChange: [], onClose: [], onDayCreate: [], onDestroy: [], onKeyDown: [], onMonthChange: [], onOpen: [], onParseConfig: [], onReady: [], onValueUpdate: [], onYearChange: [], onPreCalendarPosition: [], plugins: [], position: "auto", positionElement: undefined, prevArrow: "", shorthandCurrentMonth: false, showMonths: 1, static: false, time_24hr: false, weekNumbers: false, wrap: false }; /***/ }), /***/ 21441: /*!********************************************************!*\ !*** ./node_modules/flatpickr/dist/esm/utils/dates.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "calculateSecondsSinceMidnight": () => (/* binding */ calculateSecondsSinceMidnight), /* harmony export */ "compareDates": () => (/* binding */ compareDates), /* harmony export */ "compareTimes": () => (/* binding */ compareTimes), /* harmony export */ "createDateFormatter": () => (/* binding */ createDateFormatter), /* harmony export */ "createDateParser": () => (/* binding */ createDateParser), /* harmony export */ "duration": () => (/* binding */ duration), /* harmony export */ "getDefaultHours": () => (/* binding */ getDefaultHours), /* harmony export */ "isBetween": () => (/* binding */ isBetween), /* harmony export */ "parseSeconds": () => (/* binding */ parseSeconds) /* harmony export */ }); /* harmony import */ var _formatting__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatting */ 55479); /* harmony import */ var _types_options__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types/options */ 17477); /* harmony import */ var _l10n_default__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../l10n/default */ 49456); var createDateFormatter = function (_a) { var _b = _a.config, config = _b === void 0 ? _types_options__WEBPACK_IMPORTED_MODULE_1__.defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? _l10n_default__WEBPACK_IMPORTED_MODULE_2__.english : _c, _d = _a.isMobile, isMobile = _d === void 0 ? false : _d; return function (dateObj, frmt, overrideLocale) { var locale = overrideLocale || l10n; if (config.formatDate !== undefined && !isMobile) { return config.formatDate(dateObj, frmt, locale); } return frmt.split("").map(function (c, i, arr) { return _formatting__WEBPACK_IMPORTED_MODULE_0__.formats[c] && arr[i - 1] !== "\\" ? _formatting__WEBPACK_IMPORTED_MODULE_0__.formats[c](dateObj, locale, config) : c !== "\\" ? c : ""; }).join(""); }; }; var createDateParser = function (_a) { var _b = _a.config, config = _b === void 0 ? _types_options__WEBPACK_IMPORTED_MODULE_1__.defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? _l10n_default__WEBPACK_IMPORTED_MODULE_2__.english : _c; return function (date, givenFormat, timeless, customLocale) { if (date !== 0 && !date) return undefined; var locale = customLocale || l10n; var parsedDate; var dateOrig = date; if (date instanceof Date) parsedDate = new Date(date.getTime());else if (typeof date !== "string" && date.toFixed !== undefined) parsedDate = new Date(date);else if (typeof date === "string") { var format = givenFormat || (config || _types_options__WEBPACK_IMPORTED_MODULE_1__.defaults).dateFormat; var datestr = String(date).trim(); if (datestr === "today") { parsedDate = new Date(); timeless = true; } else if (config && config.parseDate) { parsedDate = config.parseDate(date, format); } else if (/Z$/.test(datestr) || /GMT$/.test(datestr)) { parsedDate = new Date(date); } else { var matched = void 0, ops = []; for (var i = 0, matchIndex = 0, regexStr = ""; i < format.length; i++) { var token = format[i]; var isBackSlash = token === "\\"; var escaped = format[i - 1] === "\\" || isBackSlash; if (_formatting__WEBPACK_IMPORTED_MODULE_0__.tokenRegex[token] && !escaped) { regexStr += _formatting__WEBPACK_IMPORTED_MODULE_0__.tokenRegex[token]; var match = new RegExp(regexStr).exec(date); if (match && (matched = true)) { ops[token !== "Y" ? "push" : "unshift"]({ fn: _formatting__WEBPACK_IMPORTED_MODULE_0__.revFormat[token], val: match[++matchIndex] }); } } else if (!isBackSlash) regexStr += "."; } parsedDate = !config || !config.noCalendar ? new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0) : new Date(new Date().setHours(0, 0, 0, 0)); ops.forEach(function (_a) { var fn = _a.fn, val = _a.val; return parsedDate = fn(parsedDate, val, locale) || parsedDate; }); parsedDate = matched ? parsedDate : undefined; } } if (!(parsedDate instanceof Date && !isNaN(parsedDate.getTime()))) { config.errorHandler(new Error("Invalid date provided: " + dateOrig)); return undefined; } if (timeless === true) parsedDate.setHours(0, 0, 0, 0); return parsedDate; }; }; function compareDates(date1, date2, timeless) { if (timeless === void 0) { timeless = true; } if (timeless !== false) { return new Date(date1.getTime()).setHours(0, 0, 0, 0) - new Date(date2.getTime()).setHours(0, 0, 0, 0); } return date1.getTime() - date2.getTime(); } function compareTimes(date1, date2) { return 3600 * (date1.getHours() - date2.getHours()) + 60 * (date1.getMinutes() - date2.getMinutes()) + date1.getSeconds() - date2.getSeconds(); } var isBetween = function (ts, ts1, ts2) { return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2); }; var calculateSecondsSinceMidnight = function (hours, minutes, seconds) { return hours * 3600 + minutes * 60 + seconds; }; var parseSeconds = function (secondsSinceMidnight) { var hours = Math.floor(secondsSinceMidnight / 3600), minutes = (secondsSinceMidnight - hours * 3600) / 60; return [hours, minutes, secondsSinceMidnight - hours * 3600 - minutes * 60]; }; var duration = { DAY: 86400000 }; function getDefaultHours(config) { var hours = config.defaultHour; var minutes = config.defaultMinute; var seconds = config.defaultSeconds; if (config.minDate !== undefined) { var minHour = config.minDate.getHours(); var minMinutes = config.minDate.getMinutes(); var minSeconds = config.minDate.getSeconds(); if (hours < minHour) { hours = minHour; } if (hours === minHour && minutes < minMinutes) { minutes = minMinutes; } if (hours === minHour && minutes === minMinutes && seconds < minSeconds) seconds = config.minDate.getSeconds(); } if (config.maxDate !== undefined) { var maxHr = config.maxDate.getHours(); var maxMinutes = config.maxDate.getMinutes(); hours = Math.min(hours, maxHr); if (hours === maxHr) minutes = Math.min(maxMinutes, minutes); if (hours === maxHr && minutes === maxMinutes) seconds = config.maxDate.getSeconds(); } return { hours: hours, minutes: minutes, seconds: seconds }; } /***/ }), /***/ 741: /*!******************************************************!*\ !*** ./node_modules/flatpickr/dist/esm/utils/dom.js ***! \******************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "clearNode": () => (/* binding */ clearNode), /* harmony export */ "createElement": () => (/* binding */ createElement), /* harmony export */ "createNumberInput": () => (/* binding */ createNumberInput), /* harmony export */ "findParent": () => (/* binding */ findParent), /* harmony export */ "getEventTarget": () => (/* binding */ getEventTarget), /* harmony export */ "toggleClass": () => (/* binding */ toggleClass) /* harmony export */ }); function toggleClass(elem, className, bool) { if (bool === true) return elem.classList.add(className); elem.classList.remove(className); } function createElement(tag, className, content) { var e = window.document.createElement(tag); className = className || ""; content = content || ""; e.className = className; if (content !== undefined) e.textContent = content; return e; } function clearNode(node) { while (node.firstChild) node.removeChild(node.firstChild); } function findParent(node, condition) { if (condition(node)) return node;else if (node.parentNode) return findParent(node.parentNode, condition); return undefined; } function createNumberInput(inputClassName, opts) { var wrapper = createElement("div", "numInputWrapper"), numInput = createElement("input", "numInput " + inputClassName), arrowUp = createElement("span", "arrowUp"), arrowDown = createElement("span", "arrowDown"); if (navigator.userAgent.indexOf("MSIE 9.0") === -1) { numInput.type = "number"; } else { numInput.type = "text"; numInput.pattern = "\\d*"; } if (opts !== undefined) for (var key in opts) numInput.setAttribute(key, opts[key]); wrapper.appendChild(numInput); wrapper.appendChild(arrowUp); wrapper.appendChild(arrowDown); return wrapper; } function getEventTarget(event) { try { if (typeof event.composedPath === "function") { var path = event.composedPath(); return path[0]; } return event.target; } catch (error) { return event.target; } } /***/ }), /***/ 55479: /*!*************************************************************!*\ !*** ./node_modules/flatpickr/dist/esm/utils/formatting.js ***! \*************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "formats": () => (/* binding */ formats), /* harmony export */ "monthToStr": () => (/* binding */ monthToStr), /* harmony export */ "revFormat": () => (/* binding */ revFormat), /* harmony export */ "tokenRegex": () => (/* binding */ tokenRegex) /* harmony export */ }); /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ 12519); var doNothing = function () { return undefined; }; var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? "shorthand" : "longhand"][monthNumber]; }; var revFormat = { D: doNothing, F: function (dateObj, monthName, locale) { dateObj.setMonth(locale.months.longhand.indexOf(monthName)); }, G: function (dateObj, hour) { dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour)); }, H: function (dateObj, hour) { dateObj.setHours(parseFloat(hour)); }, J: function (dateObj, day) { dateObj.setDate(parseFloat(day)); }, K: function (dateObj, amPM, locale) { dateObj.setHours(dateObj.getHours() % 12 + 12 * (0,_utils__WEBPACK_IMPORTED_MODULE_0__.int)(new RegExp(locale.amPM[1], "i").test(amPM))); }, M: function (dateObj, shortMonth, locale) { dateObj.setMonth(locale.months.shorthand.indexOf(shortMonth)); }, S: function (dateObj, seconds) { dateObj.setSeconds(parseFloat(seconds)); }, U: function (_, unixSeconds) { return new Date(parseFloat(unixSeconds) * 1000); }, W: function (dateObj, weekNum, locale) { var weekNumber = parseInt(weekNum); var date = new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0); date.setDate(date.getDate() - date.getDay() + locale.firstDayOfWeek); return date; }, Y: function (dateObj, year) { dateObj.setFullYear(parseFloat(year)); }, Z: function (_, ISODate) { return new Date(ISODate); }, d: function (dateObj, day) { dateObj.setDate(parseFloat(day)); }, h: function (dateObj, hour) { dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour)); }, i: function (dateObj, minutes) { dateObj.setMinutes(parseFloat(minutes)); }, j: function (dateObj, day) { dateObj.setDate(parseFloat(day)); }, l: doNothing, m: function (dateObj, month) { dateObj.setMonth(parseFloat(month) - 1); }, n: function (dateObj, month) { dateObj.setMonth(parseFloat(month) - 1); }, s: function (dateObj, seconds) { dateObj.setSeconds(parseFloat(seconds)); }, u: function (_, unixMillSeconds) { return new Date(parseFloat(unixMillSeconds)); }, w: doNothing, y: function (dateObj, year) { dateObj.setFullYear(2000 + parseFloat(year)); } }; var tokenRegex = { D: "", F: "", G: "(\\d\\d|\\d)", H: "(\\d\\d|\\d)", J: "(\\d\\d|\\d)\\w+", K: "", M: "", S: "(\\d\\d|\\d)", U: "(.+)", W: "(\\d\\d|\\d)", Y: "(\\d{4})", Z: "(.+)", d: "(\\d\\d|\\d)", h: "(\\d\\d|\\d)", i: "(\\d\\d|\\d)", j: "(\\d\\d|\\d)", l: "", m: "(\\d\\d|\\d)", n: "(\\d\\d|\\d)", s: "(\\d\\d|\\d)", u: "(.+)", w: "(\\d\\d|\\d)", y: "(\\d{2})" }; var formats = { Z: function (date) { return date.toISOString(); }, D: function (date, locale, options) { return locale.weekdays.shorthand[formats.w(date, locale, options)]; }, F: function (date, locale, options) { return monthToStr(formats.n(date, locale, options) - 1, false, locale); }, G: function (date, locale, options) { return (0,_utils__WEBPACK_IMPORTED_MODULE_0__.pad)(formats.h(date, locale, options)); }, H: function (date) { return (0,_utils__WEBPACK_IMPORTED_MODULE_0__.pad)(date.getHours()); }, J: function (date, locale) { return locale.ordinal !== undefined ? date.getDate() + locale.ordinal(date.getDate()) : date.getDate(); }, K: function (date, locale) { return locale.amPM[(0,_utils__WEBPACK_IMPORTED_MODULE_0__.int)(date.getHours() > 11)]; }, M: function (date, locale) { return monthToStr(date.getMonth(), true, locale); }, S: function (date) { return (0,_utils__WEBPACK_IMPORTED_MODULE_0__.pad)(date.getSeconds()); }, U: function (date) { return date.getTime() / 1000; }, W: function (date, _, options) { return options.getWeek(date); }, Y: function (date) { return (0,_utils__WEBPACK_IMPORTED_MODULE_0__.pad)(date.getFullYear(), 4); }, d: function (date) { return (0,_utils__WEBPACK_IMPORTED_MODULE_0__.pad)(date.getDate()); }, h: function (date) { return date.getHours() % 12 ? date.getHours() % 12 : 12; }, i: function (date) { return (0,_utils__WEBPACK_IMPORTED_MODULE_0__.pad)(date.getMinutes()); }, j: function (date) { return date.getDate(); }, l: function (date, locale) { return locale.weekdays.longhand[date.getDay()]; }, m: function (date) { return (0,_utils__WEBPACK_IMPORTED_MODULE_0__.pad)(date.getMonth() + 1); }, n: function (date) { return date.getMonth() + 1; }, s: function (date) { return date.getSeconds(); }, u: function (date) { return date.getTime(); }, w: function (date) { return date.getDay(); }, y: function (date) { return String(date.getFullYear()).substring(2); } }; /***/ }), /***/ 12519: /*!********************************************************!*\ !*** ./node_modules/flatpickr/dist/esm/utils/index.js ***! \********************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "arrayify": () => (/* binding */ arrayify), /* harmony export */ "debounce": () => (/* binding */ debounce), /* harmony export */ "int": () => (/* binding */ int), /* harmony export */ "pad": () => (/* binding */ pad) /* harmony export */ }); var pad = function (number, length) { if (length === void 0) { length = 2; } return ("000" + number).slice(length * -1); }; var int = function (bool) { return bool === true ? 1 : 0; }; function debounce(fn, wait) { var t; return function () { var _this = this; var args = arguments; clearTimeout(t); t = setTimeout(function () { return fn.apply(_this, args); }, wait); }; } var arrayify = function (obj) { return obj instanceof Array ? obj : [obj]; }; /***/ }), /***/ 78323: /*!************************************************************!*\ !*** ./node_modules/flatpickr/dist/esm/utils/polyfills.js ***! \************************************************************/ /***/ (() => { "use strict"; if (typeof Object.assign !== "function") { Object.assign = function (target) { var args = []; for (var _i = 1; _i < arguments.length; _i++) { args[_i - 1] = arguments[_i]; } if (!target) { throw TypeError("Cannot convert undefined or null to object"); } var _loop_1 = function (source) { if (source) { Object.keys(source).forEach(function (key) { return target[key] = source[key]; }); } }; for (var _a = 0, args_1 = args; _a < args_1.length; _a++) { var source = args_1[_a]; _loop_1(source); } return target; }; } /***/ }), /***/ 55386: /*!*****************************************!*\ !*** ./node_modules/hammerjs/hammer.js ***! \*****************************************/ /***/ ((module, exports, __webpack_require__) => { var __WEBPACK_AMD_DEFINE_RESULT__;/*! Hammer.JS - v2.0.7 - 2016-04-22 * http://hammerjs.github.io/ * * Copyright (c) 2016 Jorik Tangelder; * Licensed under the MIT license */ (function (window, document, exportName, undefined) { 'use strict'; var VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o']; var TEST_ELEMENT = document.createElement('div'); var TYPE_FUNCTION = 'function'; var round = Math.round; var abs = Math.abs; var now = Date.now; /** * set a timeout with a given scope * @param {Function} fn * @param {Number} timeout * @param {Object} context * @returns {number} */ function setTimeoutContext(fn, timeout, context) { return setTimeout(bindFn(fn, context), timeout); } /** * if the argument is an array, we want to execute the fn on each entry * if it aint an array we don't want to do a thing. * this is used by all the methods that accept a single and array argument. * @param {*|Array} arg * @param {String} fn * @param {Object} [context] * @returns {Boolean} */ function invokeArrayArg(arg, fn, context) { if (Array.isArray(arg)) { each(arg, context[fn], context); return true; } return false; } /** * walk objects and arrays * @param {Object} obj * @param {Function} iterator * @param {Object} context */ function each(obj, iterator, context) { var i; if (!obj) { return; } if (obj.forEach) { obj.forEach(iterator, context); } else if (obj.length !== undefined) { i = 0; while (i < obj.length) { iterator.call(context, obj[i], i, obj); i++; } } else { for (i in obj) { obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj); } } } /** * wrap a method with a deprecation warning and stack trace * @param {Function} method * @param {String} name * @param {String} message * @returns {Function} A new function wrapping the supplied method. */ function deprecate(method, name, message) { var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\n' + message + ' AT \n'; return function () { var e = new Error('get-stack-trace'); var stack = e && e.stack ? e.stack.replace(/^[^\(]+?[\n$]/gm, '').replace(/^\s+at\s+/gm, '').replace(/^Object.\s*\(/gm, '{anonymous}()@') : 'Unknown Stack Trace'; var log = window.console && (window.console.warn || window.console.log); if (log) { log.call(window.console, deprecationMessage, stack); } return method.apply(this, arguments); }; } /** * extend object. * means that properties in dest will be overwritten by the ones in src. * @param {Object} target * @param {...Object} objects_to_assign * @returns {Object} target */ var assign; if (typeof Object.assign !== 'function') { assign = function assign(target) { if (target === undefined || target === null) { throw new TypeError('Cannot convert undefined or null to object'); } var output = Object(target); for (var index = 1; index < arguments.length; index++) { var source = arguments[index]; if (source !== undefined && source !== null) { for (var nextKey in source) { if (source.hasOwnProperty(nextKey)) { output[nextKey] = source[nextKey]; } } } } return output; }; } else { assign = Object.assign; } /** * extend object. * means that properties in dest will be overwritten by the ones in src. * @param {Object} dest * @param {Object} src * @param {Boolean} [merge=false] * @returns {Object} dest */ var extend = deprecate(function extend(dest, src, merge) { var keys = Object.keys(src); var i = 0; while (i < keys.length) { if (!merge || merge && dest[keys[i]] === undefined) { dest[keys[i]] = src[keys[i]]; } i++; } return dest; }, 'extend', 'Use `assign`.'); /** * merge the values from src in the dest. * means that properties that exist in dest will not be overwritten by src * @param {Object} dest * @param {Object} src * @returns {Object} dest */ var merge = deprecate(function merge(dest, src) { return extend(dest, src, true); }, 'merge', 'Use `assign`.'); /** * simple class inheritance * @param {Function} child * @param {Function} base * @param {Object} [properties] */ function inherit(child, base, properties) { var baseP = base.prototype, childP; childP = child.prototype = Object.create(baseP); childP.constructor = child; childP._super = baseP; if (properties) { assign(childP, properties); } } /** * simple function bind * @param {Function} fn * @param {Object} context * @returns {Function} */ function bindFn(fn, context) { return function boundFn() { return fn.apply(context, arguments); }; } /** * let a boolean value also be a function that must return a boolean * this first item in args will be used as the context * @param {Boolean|Function} val * @param {Array} [args] * @returns {Boolean} */ function boolOrFn(val, args) { if (typeof val == TYPE_FUNCTION) { return val.apply(args ? args[0] || undefined : undefined, args); } return val; } /** * use the val2 when val1 is undefined * @param {*} val1 * @param {*} val2 * @returns {*} */ function ifUndefined(val1, val2) { return val1 === undefined ? val2 : val1; } /** * addEventListener with multiple events at once * @param {EventTarget} target * @param {String} types * @param {Function} handler */ function addEventListeners(target, types, handler) { each(splitStr(types), function (type) { target.addEventListener(type, handler, false); }); } /** * removeEventListener with multiple events at once * @param {EventTarget} target * @param {String} types * @param {Function} handler */ function removeEventListeners(target, types, handler) { each(splitStr(types), function (type) { target.removeEventListener(type, handler, false); }); } /** * find if a node is in the given parent * @method hasParent * @param {HTMLElement} node * @param {HTMLElement} parent * @return {Boolean} found */ function hasParent(node, parent) { while (node) { if (node == parent) { return true; } node = node.parentNode; } return false; } /** * small indexOf wrapper * @param {String} str * @param {String} find * @returns {Boolean} found */ function inStr(str, find) { return str.indexOf(find) > -1; } /** * split string on whitespace * @param {String} str * @returns {Array} words */ function splitStr(str) { return str.trim().split(/\s+/g); } /** * find if a array contains the object using indexOf or a simple polyFill * @param {Array} src * @param {String} find * @param {String} [findByKey] * @return {Boolean|Number} false when not found, or the index */ function inArray(src, find, findByKey) { if (src.indexOf && !findByKey) { return src.indexOf(find); } else { var i = 0; while (i < src.length) { if (findByKey && src[i][findByKey] == find || !findByKey && src[i] === find) { return i; } i++; } return -1; } } /** * convert array-like objects to real arrays * @param {Object} obj * @returns {Array} */ function toArray(obj) { return Array.prototype.slice.call(obj, 0); } /** * unique array with objects based on a key (like 'id') or just by the array's value * @param {Array} src [{id:1},{id:2},{id:1}] * @param {String} [key] * @param {Boolean} [sort=False] * @returns {Array} [{id:1},{id:2}] */ function uniqueArray(src, key, sort) { var results = []; var values = []; var i = 0; while (i < src.length) { var val = key ? src[i][key] : src[i]; if (inArray(values, val) < 0) { results.push(src[i]); } values[i] = val; i++; } if (sort) { if (!key) { results = results.sort(); } else { results = results.sort(function sortUniqueArray(a, b) { return a[key] > b[key]; }); } } return results; } /** * get the prefixed property * @param {Object} obj * @param {String} property * @returns {String|Undefined} prefixed */ function prefixed(obj, property) { var prefix, prop; var camelProp = property[0].toUpperCase() + property.slice(1); var i = 0; while (i < VENDOR_PREFIXES.length) { prefix = VENDOR_PREFIXES[i]; prop = prefix ? prefix + camelProp : property; if (prop in obj) { return prop; } i++; } return undefined; } /** * get a unique id * @returns {number} uniqueId */ var _uniqueId = 1; function uniqueId() { return _uniqueId++; } /** * get the window object of an element * @param {HTMLElement} element * @returns {DocumentView|Window} */ function getWindowForElement(element) { var doc = element.ownerDocument || element; return doc.defaultView || doc.parentWindow || window; } var MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i; var SUPPORT_TOUCH = ('ontouchstart' in window); var SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined; var SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent); var INPUT_TYPE_TOUCH = 'touch'; var INPUT_TYPE_PEN = 'pen'; var INPUT_TYPE_MOUSE = 'mouse'; var INPUT_TYPE_KINECT = 'kinect'; var COMPUTE_INTERVAL = 25; var INPUT_START = 1; var INPUT_MOVE = 2; var INPUT_END = 4; var INPUT_CANCEL = 8; var DIRECTION_NONE = 1; var DIRECTION_LEFT = 2; var DIRECTION_RIGHT = 4; var DIRECTION_UP = 8; var DIRECTION_DOWN = 16; var DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT; var DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN; var DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL; var PROPS_XY = ['x', 'y']; var PROPS_CLIENT_XY = ['clientX', 'clientY']; /** * create new input type manager * @param {Manager} manager * @param {Function} callback * @returns {Input} * @constructor */ function Input(manager, callback) { var self = this; this.manager = manager; this.callback = callback; this.element = manager.element; this.target = manager.options.inputTarget; // smaller wrapper around the handler, for the scope and the enabled state of the manager, // so when disabled the input events are completely bypassed. this.domHandler = function (ev) { if (boolOrFn(manager.options.enable, [manager])) { self.handler(ev); } }; this.init(); } Input.prototype = { /** * should handle the inputEvent data and trigger the callback * @virtual */ handler: function () {}, /** * bind the events */ init: function () { this.evEl && addEventListeners(this.element, this.evEl, this.domHandler); this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler); this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler); }, /** * unbind the events */ destroy: function () { this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler); this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler); this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler); } }; /** * create new input type manager * called by the Manager constructor * @param {Hammer} manager * @returns {Input} */ function createInputInstance(manager) { var Type; var inputClass = manager.options.inputClass; if (inputClass) { Type = inputClass; } else if (SUPPORT_POINTER_EVENTS) { Type = PointerEventInput; } else if (SUPPORT_ONLY_TOUCH) { Type = TouchInput; } else if (!SUPPORT_TOUCH) { Type = MouseInput; } else { Type = TouchMouseInput; } return new Type(manager, inputHandler); } /** * handle input events * @param {Manager} manager * @param {String} eventType * @param {Object} input */ function inputHandler(manager, eventType, input) { var pointersLen = input.pointers.length; var changedPointersLen = input.changedPointers.length; var isFirst = eventType & INPUT_START && pointersLen - changedPointersLen === 0; var isFinal = eventType & (INPUT_END | INPUT_CANCEL) && pointersLen - changedPointersLen === 0; input.isFirst = !!isFirst; input.isFinal = !!isFinal; if (isFirst) { manager.session = {}; } // source event is the normalized value of the domEvents // like 'touchstart, mouseup, pointerdown' input.eventType = eventType; // compute scale, rotation etc computeInputData(manager, input); // emit secret event manager.emit('hammer.input', input); manager.recognize(input); manager.session.prevInput = input; } /** * extend the data with some usable properties like scale, rotate, velocity etc * @param {Object} manager * @param {Object} input */ function computeInputData(manager, input) { var session = manager.session; var pointers = input.pointers; var pointersLength = pointers.length; // store the first input to calculate the distance and direction if (!session.firstInput) { session.firstInput = simpleCloneInputData(input); } // to compute scale and rotation we need to store the multiple touches if (pointersLength > 1 && !session.firstMultiple) { session.firstMultiple = simpleCloneInputData(input); } else if (pointersLength === 1) { session.firstMultiple = false; } var firstInput = session.firstInput; var firstMultiple = session.firstMultiple; var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center; var center = input.center = getCenter(pointers); input.timeStamp = now(); input.deltaTime = input.timeStamp - firstInput.timeStamp; input.angle = getAngle(offsetCenter, center); input.distance = getDistance(offsetCenter, center); computeDeltaXY(session, input); input.offsetDirection = getDirection(input.deltaX, input.deltaY); var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY); input.overallVelocityX = overallVelocity.x; input.overallVelocityY = overallVelocity.y; input.overallVelocity = abs(overallVelocity.x) > abs(overallVelocity.y) ? overallVelocity.x : overallVelocity.y; input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1; input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0; input.maxPointers = !session.prevInput ? input.pointers.length : input.pointers.length > session.prevInput.maxPointers ? input.pointers.length : session.prevInput.maxPointers; computeIntervalInputData(session, input); // find the correct target var target = manager.element; if (hasParent(input.srcEvent.target, target)) { target = input.srcEvent.target; } input.target = target; } function computeDeltaXY(session, input) { var center = input.center; var offset = session.offsetDelta || {}; var prevDelta = session.prevDelta || {}; var prevInput = session.prevInput || {}; if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) { prevDelta = session.prevDelta = { x: prevInput.deltaX || 0, y: prevInput.deltaY || 0 }; offset = session.offsetDelta = { x: center.x, y: center.y }; } input.deltaX = prevDelta.x + (center.x - offset.x); input.deltaY = prevDelta.y + (center.y - offset.y); } /** * velocity is calculated every x ms * @param {Object} session * @param {Object} input */ function computeIntervalInputData(session, input) { var last = session.lastInterval || input, deltaTime = input.timeStamp - last.timeStamp, velocity, velocityX, velocityY, direction; if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) { var deltaX = input.deltaX - last.deltaX; var deltaY = input.deltaY - last.deltaY; var v = getVelocity(deltaTime, deltaX, deltaY); velocityX = v.x; velocityY = v.y; velocity = abs(v.x) > abs(v.y) ? v.x : v.y; direction = getDirection(deltaX, deltaY); session.lastInterval = input; } else { // use latest velocity info if it doesn't overtake a minimum period velocity = last.velocity; velocityX = last.velocityX; velocityY = last.velocityY; direction = last.direction; } input.velocity = velocity; input.velocityX = velocityX; input.velocityY = velocityY; input.direction = direction; } /** * create a simple clone from the input used for storage of firstInput and firstMultiple * @param {Object} input * @returns {Object} clonedInputData */ function simpleCloneInputData(input) { // make a simple copy of the pointers because we will get a reference if we don't // we only need clientXY for the calculations var pointers = []; var i = 0; while (i < input.pointers.length) { pointers[i] = { clientX: round(input.pointers[i].clientX), clientY: round(input.pointers[i].clientY) }; i++; } return { timeStamp: now(), pointers: pointers, center: getCenter(pointers), deltaX: input.deltaX, deltaY: input.deltaY }; } /** * get the center of all the pointers * @param {Array} pointers * @return {Object} center contains `x` and `y` properties */ function getCenter(pointers) { var pointersLength = pointers.length; // no need to loop when only one touch if (pointersLength === 1) { return { x: round(pointers[0].clientX), y: round(pointers[0].clientY) }; } var x = 0, y = 0, i = 0; while (i < pointersLength) { x += pointers[i].clientX; y += pointers[i].clientY; i++; } return { x: round(x / pointersLength), y: round(y / pointersLength) }; } /** * calculate the velocity between two points. unit is in px per ms. * @param {Number} deltaTime * @param {Number} x * @param {Number} y * @return {Object} velocity `x` and `y` */ function getVelocity(deltaTime, x, y) { return { x: x / deltaTime || 0, y: y / deltaTime || 0 }; } /** * get the direction between two points * @param {Number} x * @param {Number} y * @return {Number} direction */ function getDirection(x, y) { if (x === y) { return DIRECTION_NONE; } if (abs(x) >= abs(y)) { return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT; } return y < 0 ? DIRECTION_UP : DIRECTION_DOWN; } /** * calculate the absolute distance between two points * @param {Object} p1 {x, y} * @param {Object} p2 {x, y} * @param {Array} [props] containing x and y keys * @return {Number} distance */ function getDistance(p1, p2, props) { if (!props) { props = PROPS_XY; } var x = p2[props[0]] - p1[props[0]], y = p2[props[1]] - p1[props[1]]; return Math.sqrt(x * x + y * y); } /** * calculate the angle between two coordinates * @param {Object} p1 * @param {Object} p2 * @param {Array} [props] containing x and y keys * @return {Number} angle */ function getAngle(p1, p2, props) { if (!props) { props = PROPS_XY; } var x = p2[props[0]] - p1[props[0]], y = p2[props[1]] - p1[props[1]]; return Math.atan2(y, x) * 180 / Math.PI; } /** * calculate the rotation degrees between two pointersets * @param {Array} start array of pointers * @param {Array} end array of pointers * @return {Number} rotation */ function getRotation(start, end) { return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY); } /** * calculate the scale factor between two pointersets * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out * @param {Array} start array of pointers * @param {Array} end array of pointers * @return {Number} scale */ function getScale(start, end) { return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY); } var MOUSE_INPUT_MAP = { mousedown: INPUT_START, mousemove: INPUT_MOVE, mouseup: INPUT_END }; var MOUSE_ELEMENT_EVENTS = 'mousedown'; var MOUSE_WINDOW_EVENTS = 'mousemove mouseup'; /** * Mouse events input * @constructor * @extends Input */ function MouseInput() { this.evEl = MOUSE_ELEMENT_EVENTS; this.evWin = MOUSE_WINDOW_EVENTS; this.pressed = false; // mousedown state Input.apply(this, arguments); } inherit(MouseInput, Input, { /** * handle mouse events * @param {Object} ev */ handler: function MEhandler(ev) { var eventType = MOUSE_INPUT_MAP[ev.type]; // on start we want to have the left mouse button down if (eventType & INPUT_START && ev.button === 0) { this.pressed = true; } if (eventType & INPUT_MOVE && ev.which !== 1) { eventType = INPUT_END; } // mouse must be down if (!this.pressed) { return; } if (eventType & INPUT_END) { this.pressed = false; } this.callback(this.manager, eventType, { pointers: [ev], changedPointers: [ev], pointerType: INPUT_TYPE_MOUSE, srcEvent: ev }); } }); var POINTER_INPUT_MAP = { pointerdown: INPUT_START, pointermove: INPUT_MOVE, pointerup: INPUT_END, pointercancel: INPUT_CANCEL, pointerout: INPUT_CANCEL }; // in IE10 the pointer types is defined as an enum var IE10_POINTER_TYPE_ENUM = { 2: INPUT_TYPE_TOUCH, 3: INPUT_TYPE_PEN, 4: INPUT_TYPE_MOUSE, 5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816 }; var POINTER_ELEMENT_EVENTS = 'pointerdown'; var POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel'; // IE10 has prefixed support, and case-sensitive if (window.MSPointerEvent && !window.PointerEvent) { POINTER_ELEMENT_EVENTS = 'MSPointerDown'; POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel'; } /** * Pointer events input * @constructor * @extends Input */ function PointerEventInput() { this.evEl = POINTER_ELEMENT_EVENTS; this.evWin = POINTER_WINDOW_EVENTS; Input.apply(this, arguments); this.store = this.manager.session.pointerEvents = []; } inherit(PointerEventInput, Input, { /** * handle mouse events * @param {Object} ev */ handler: function PEhandler(ev) { var store = this.store; var removePointer = false; var eventTypeNormalized = ev.type.toLowerCase().replace('ms', ''); var eventType = POINTER_INPUT_MAP[eventTypeNormalized]; var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType; var isTouch = pointerType == INPUT_TYPE_TOUCH; // get index of the event in the store var storeIndex = inArray(store, ev.pointerId, 'pointerId'); // start and mouse must be down if (eventType & INPUT_START && (ev.button === 0 || isTouch)) { if (storeIndex < 0) { store.push(ev); storeIndex = store.length - 1; } } else if (eventType & (INPUT_END | INPUT_CANCEL)) { removePointer = true; } // it not found, so the pointer hasn't been down (so it's probably a hover) if (storeIndex < 0) { return; } // update the event in the store store[storeIndex] = ev; this.callback(this.manager, eventType, { pointers: store, changedPointers: [ev], pointerType: pointerType, srcEvent: ev }); if (removePointer) { // remove from the store store.splice(storeIndex, 1); } } }); var SINGLE_TOUCH_INPUT_MAP = { touchstart: INPUT_START, touchmove: INPUT_MOVE, touchend: INPUT_END, touchcancel: INPUT_CANCEL }; var SINGLE_TOUCH_TARGET_EVENTS = 'touchstart'; var SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel'; /** * Touch events input * @constructor * @extends Input */ function SingleTouchInput() { this.evTarget = SINGLE_TOUCH_TARGET_EVENTS; this.evWin = SINGLE_TOUCH_WINDOW_EVENTS; this.started = false; Input.apply(this, arguments); } inherit(SingleTouchInput, Input, { handler: function TEhandler(ev) { var type = SINGLE_TOUCH_INPUT_MAP[ev.type]; // should we handle the touch events? if (type === INPUT_START) { this.started = true; } if (!this.started) { return; } var touches = normalizeSingleTouches.call(this, ev, type); // when done, reset the started state if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) { this.started = false; } this.callback(this.manager, type, { pointers: touches[0], changedPointers: touches[1], pointerType: INPUT_TYPE_TOUCH, srcEvent: ev }); } }); /** * @this {TouchInput} * @param {Object} ev * @param {Number} type flag * @returns {undefined|Array} [all, changed] */ function normalizeSingleTouches(ev, type) { var all = toArray(ev.touches); var changed = toArray(ev.changedTouches); if (type & (INPUT_END | INPUT_CANCEL)) { all = uniqueArray(all.concat(changed), 'identifier', true); } return [all, changed]; } var TOUCH_INPUT_MAP = { touchstart: INPUT_START, touchmove: INPUT_MOVE, touchend: INPUT_END, touchcancel: INPUT_CANCEL }; var TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel'; /** * Multi-user touch events input * @constructor * @extends Input */ function TouchInput() { this.evTarget = TOUCH_TARGET_EVENTS; this.targetIds = {}; Input.apply(this, arguments); } inherit(TouchInput, Input, { handler: function MTEhandler(ev) { var type = TOUCH_INPUT_MAP[ev.type]; var touches = getTouches.call(this, ev, type); if (!touches) { return; } this.callback(this.manager, type, { pointers: touches[0], changedPointers: touches[1], pointerType: INPUT_TYPE_TOUCH, srcEvent: ev }); } }); /** * @this {TouchInput} * @param {Object} ev * @param {Number} type flag * @returns {undefined|Array} [all, changed] */ function getTouches(ev, type) { var allTouches = toArray(ev.touches); var targetIds = this.targetIds; // when there is only one touch, the process can be simplified if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) { targetIds[allTouches[0].identifier] = true; return [allTouches, allTouches]; } var i, targetTouches, changedTouches = toArray(ev.changedTouches), changedTargetTouches = [], target = this.target; // get target touches from touches targetTouches = allTouches.filter(function (touch) { return hasParent(touch.target, target); }); // collect touches if (type === INPUT_START) { i = 0; while (i < targetTouches.length) { targetIds[targetTouches[i].identifier] = true; i++; } } // filter changed touches to only contain touches that exist in the collected target ids i = 0; while (i < changedTouches.length) { if (targetIds[changedTouches[i].identifier]) { changedTargetTouches.push(changedTouches[i]); } // cleanup removed touches if (type & (INPUT_END | INPUT_CANCEL)) { delete targetIds[changedTouches[i].identifier]; } i++; } if (!changedTargetTouches.length) { return; } return [// merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel' uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true), changedTargetTouches]; } /** * Combined touch and mouse input * * Touch has a higher priority then mouse, and while touching no mouse events are allowed. * This because touch devices also emit mouse events while doing a touch. * * @constructor * @extends Input */ var DEDUP_TIMEOUT = 2500; var DEDUP_DISTANCE = 25; function TouchMouseInput() { Input.apply(this, arguments); var handler = bindFn(this.handler, this); this.touch = new TouchInput(this.manager, handler); this.mouse = new MouseInput(this.manager, handler); this.primaryTouch = null; this.lastTouches = []; } inherit(TouchMouseInput, Input, { /** * handle mouse and touch events * @param {Hammer} manager * @param {String} inputEvent * @param {Object} inputData */ handler: function TMEhandler(manager, inputEvent, inputData) { var isTouch = inputData.pointerType == INPUT_TYPE_TOUCH, isMouse = inputData.pointerType == INPUT_TYPE_MOUSE; if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) { return; } // when we're in a touch event, record touches to de-dupe synthetic mouse event if (isTouch) { recordTouches.call(this, inputEvent, inputData); } else if (isMouse && isSyntheticEvent.call(this, inputData)) { return; } this.callback(manager, inputEvent, inputData); }, /** * remove the event listeners */ destroy: function destroy() { this.touch.destroy(); this.mouse.destroy(); } }); function recordTouches(eventType, eventData) { if (eventType & INPUT_START) { this.primaryTouch = eventData.changedPointers[0].identifier; setLastTouch.call(this, eventData); } else if (eventType & (INPUT_END | INPUT_CANCEL)) { setLastTouch.call(this, eventData); } } function setLastTouch(eventData) { var touch = eventData.changedPointers[0]; if (touch.identifier === this.primaryTouch) { var lastTouch = { x: touch.clientX, y: touch.clientY }; this.lastTouches.push(lastTouch); var lts = this.lastTouches; var removeLastTouch = function () { var i = lts.indexOf(lastTouch); if (i > -1) { lts.splice(i, 1); } }; setTimeout(removeLastTouch, DEDUP_TIMEOUT); } } function isSyntheticEvent(eventData) { var x = eventData.srcEvent.clientX, y = eventData.srcEvent.clientY; for (var i = 0; i < this.lastTouches.length; i++) { var t = this.lastTouches[i]; var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y); if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) { return true; } } return false; } var PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction'); var NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined; // magical touchAction value var TOUCH_ACTION_COMPUTE = 'compute'; var TOUCH_ACTION_AUTO = 'auto'; var TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented var TOUCH_ACTION_NONE = 'none'; var TOUCH_ACTION_PAN_X = 'pan-x'; var TOUCH_ACTION_PAN_Y = 'pan-y'; var TOUCH_ACTION_MAP = getTouchActionProps(); /** * Touch Action * sets the touchAction property or uses the js alternative * @param {Manager} manager * @param {String} value * @constructor */ function TouchAction(manager, value) { this.manager = manager; this.set(value); } TouchAction.prototype = { /** * set the touchAction value on the element or enable the polyfill * @param {String} value */ set: function (value) { // find out the touch-action by the event handlers if (value == TOUCH_ACTION_COMPUTE) { value = this.compute(); } if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) { this.manager.element.style[PREFIXED_TOUCH_ACTION] = value; } this.actions = value.toLowerCase().trim(); }, /** * just re-set the touchAction value */ update: function () { this.set(this.manager.options.touchAction); }, /** * compute the value for the touchAction property based on the recognizer's settings * @returns {String} value */ compute: function () { var actions = []; each(this.manager.recognizers, function (recognizer) { if (boolOrFn(recognizer.options.enable, [recognizer])) { actions = actions.concat(recognizer.getTouchAction()); } }); return cleanTouchActions(actions.join(' ')); }, /** * this method is called on each input cycle and provides the preventing of the browser behavior * @param {Object} input */ preventDefaults: function (input) { var srcEvent = input.srcEvent; var direction = input.offsetDirection; // if the touch action did prevented once this session if (this.manager.session.prevented) { srcEvent.preventDefault(); return; } var actions = this.actions; var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE]; var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y]; var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X]; if (hasNone) { //do not prevent defaults if this is a tap gesture var isTapPointer = input.pointers.length === 1; var isTapMovement = input.distance < 2; var isTapTouchTime = input.deltaTime < 250; if (isTapPointer && isTapMovement && isTapTouchTime) { return; } } if (hasPanX && hasPanY) { // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent return; } if (hasNone || hasPanY && direction & DIRECTION_HORIZONTAL || hasPanX && direction & DIRECTION_VERTICAL) { return this.preventSrc(srcEvent); } }, /** * call preventDefault to prevent the browser's default behavior (scrolling in most cases) * @param {Object} srcEvent */ preventSrc: function (srcEvent) { this.manager.session.prevented = true; srcEvent.preventDefault(); } }; /** * when the touchActions are collected they are not a valid value, so we need to clean things up. * * @param {String} actions * @returns {*} */ function cleanTouchActions(actions) { // none if (inStr(actions, TOUCH_ACTION_NONE)) { return TOUCH_ACTION_NONE; } var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X); var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y); // if both pan-x and pan-y are set (different recognizers // for different directions, e.g. horizontal pan but vertical swipe?) // we need none (as otherwise with pan-x pan-y combined none of these // recognizers will work, since the browser would handle all panning if (hasPanX && hasPanY) { return TOUCH_ACTION_NONE; } // pan-x OR pan-y if (hasPanX || hasPanY) { return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y; } // manipulation if (inStr(actions, TOUCH_ACTION_MANIPULATION)) { return TOUCH_ACTION_MANIPULATION; } return TOUCH_ACTION_AUTO; } function getTouchActionProps() { if (!NATIVE_TOUCH_ACTION) { return false; } var touchMap = {}; var cssSupports = window.CSS && window.CSS.supports; ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function (val) { // If css.supports is not supported but there is native touch-action assume it supports // all values. This is the case for IE 10 and 11. touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true; }); return touchMap; } /** * Recognizer flow explained; * * All recognizers have the initial state of POSSIBLE when a input session starts. * The definition of a input session is from the first input until the last input, with all it's movement in it. * * Example session for mouse-input: mousedown -> mousemove -> mouseup * * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed * which determines with state it should be. * * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to * POSSIBLE to give it another change on the next cycle. * * Possible * | * +-----+---------------+ * | | * +-----+-----+ | * | | | * Failed Cancelled | * +-------+------+ * | | * Recognized Began * | * Changed * | * Ended/Recognized */ var STATE_POSSIBLE = 1; var STATE_BEGAN = 2; var STATE_CHANGED = 4; var STATE_ENDED = 8; var STATE_RECOGNIZED = STATE_ENDED; var STATE_CANCELLED = 16; var STATE_FAILED = 32; /** * Recognizer * Every recognizer needs to extend from this class. * @constructor * @param {Object} options */ function Recognizer(options) { this.options = assign({}, this.defaults, options || {}); this.id = uniqueId(); this.manager = null; // default is enable true this.options.enable = ifUndefined(this.options.enable, true); this.state = STATE_POSSIBLE; this.simultaneous = {}; this.requireFail = []; } Recognizer.prototype = { /** * @virtual * @type {Object} */ defaults: {}, /** * set options * @param {Object} options * @return {Recognizer} */ set: function (options) { assign(this.options, options); // also update the touchAction, in case something changed about the directions/enabled state this.manager && this.manager.touchAction.update(); return this; }, /** * recognize simultaneous with an other recognizer. * @param {Recognizer} otherRecognizer * @returns {Recognizer} this */ recognizeWith: function (otherRecognizer) { if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) { return this; } var simultaneous = this.simultaneous; otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this); if (!simultaneous[otherRecognizer.id]) { simultaneous[otherRecognizer.id] = otherRecognizer; otherRecognizer.recognizeWith(this); } return this; }, /** * drop the simultaneous link. it doesnt remove the link on the other recognizer. * @param {Recognizer} otherRecognizer * @returns {Recognizer} this */ dropRecognizeWith: function (otherRecognizer) { if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) { return this; } otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this); delete this.simultaneous[otherRecognizer.id]; return this; }, /** * recognizer can only run when an other is failing * @param {Recognizer} otherRecognizer * @returns {Recognizer} this */ requireFailure: function (otherRecognizer) { if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) { return this; } var requireFail = this.requireFail; otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this); if (inArray(requireFail, otherRecognizer) === -1) { requireFail.push(otherRecognizer); otherRecognizer.requireFailure(this); } return this; }, /** * drop the requireFailure link. it does not remove the link on the other recognizer. * @param {Recognizer} otherRecognizer * @returns {Recognizer} this */ dropRequireFailure: function (otherRecognizer) { if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) { return this; } otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this); var index = inArray(this.requireFail, otherRecognizer); if (index > -1) { this.requireFail.splice(index, 1); } return this; }, /** * has require failures boolean * @returns {boolean} */ hasRequireFailures: function () { return this.requireFail.length > 0; }, /** * if the recognizer can recognize simultaneous with an other recognizer * @param {Recognizer} otherRecognizer * @returns {Boolean} */ canRecognizeWith: function (otherRecognizer) { return !!this.simultaneous[otherRecognizer.id]; }, /** * You should use `tryEmit` instead of `emit` directly to check * that all the needed recognizers has failed before emitting. * @param {Object} input */ emit: function (input) { var self = this; var state = this.state; function emit(event) { self.manager.emit(event, input); } // 'panstart' and 'panmove' if (state < STATE_ENDED) { emit(self.options.event + stateStr(state)); } emit(self.options.event); // simple 'eventName' events if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...) emit(input.additionalEvent); } // panend and pancancel if (state >= STATE_ENDED) { emit(self.options.event + stateStr(state)); } }, /** * Check that all the require failure recognizers has failed, * if true, it emits a gesture event, * otherwise, setup the state to FAILED. * @param {Object} input */ tryEmit: function (input) { if (this.canEmit()) { return this.emit(input); } // it's failing anyway this.state = STATE_FAILED; }, /** * can we emit? * @returns {boolean} */ canEmit: function () { var i = 0; while (i < this.requireFail.length) { if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) { return false; } i++; } return true; }, /** * update the recognizer * @param {Object} inputData */ recognize: function (inputData) { // make a new copy of the inputData // so we can change the inputData without messing up the other recognizers var inputDataClone = assign({}, inputData); // is is enabled and allow recognizing? if (!boolOrFn(this.options.enable, [this, inputDataClone])) { this.reset(); this.state = STATE_FAILED; return; } // reset when we've reached the end if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) { this.state = STATE_POSSIBLE; } this.state = this.process(inputDataClone); // the recognizer has recognized a gesture // so trigger an event if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) { this.tryEmit(inputDataClone); } }, /** * return the state of the recognizer * the actual recognizing happens in this method * @virtual * @param {Object} inputData * @returns {Const} STATE */ process: function (inputData) {}, // jshint ignore:line /** * return the preferred touch-action * @virtual * @returns {Array} */ getTouchAction: function () {}, /** * called when the gesture isn't allowed to recognize * like when another is being recognized or it is disabled * @virtual */ reset: function () {} }; /** * get a usable string, used as event postfix * @param {Const} state * @returns {String} state */ function stateStr(state) { if (state & STATE_CANCELLED) { return 'cancel'; } else if (state & STATE_ENDED) { return 'end'; } else if (state & STATE_CHANGED) { return 'move'; } else if (state & STATE_BEGAN) { return 'start'; } return ''; } /** * direction cons to string * @param {Const} direction * @returns {String} */ function directionStr(direction) { if (direction == DIRECTION_DOWN) { return 'down'; } else if (direction == DIRECTION_UP) { return 'up'; } else if (direction == DIRECTION_LEFT) { return 'left'; } else if (direction == DIRECTION_RIGHT) { return 'right'; } return ''; } /** * get a recognizer by name if it is bound to a manager * @param {Recognizer|String} otherRecognizer * @param {Recognizer} recognizer * @returns {Recognizer} */ function getRecognizerByNameIfManager(otherRecognizer, recognizer) { var manager = recognizer.manager; if (manager) { return manager.get(otherRecognizer); } return otherRecognizer; } /** * This recognizer is just used as a base for the simple attribute recognizers. * @constructor * @extends Recognizer */ function AttrRecognizer() { Recognizer.apply(this, arguments); } inherit(AttrRecognizer, Recognizer, { /** * @namespace * @memberof AttrRecognizer */ defaults: { /** * @type {Number} * @default 1 */ pointers: 1 }, /** * Used to check if it the recognizer receives valid input, like input.distance > 10. * @memberof AttrRecognizer * @param {Object} input * @returns {Boolean} recognized */ attrTest: function (input) { var optionPointers = this.options.pointers; return optionPointers === 0 || input.pointers.length === optionPointers; }, /** * Process the input and return the state for the recognizer * @memberof AttrRecognizer * @param {Object} input * @returns {*} State */ process: function (input) { var state = this.state; var eventType = input.eventType; var isRecognized = state & (STATE_BEGAN | STATE_CHANGED); var isValid = this.attrTest(input); // on cancel input and we've recognized before, return STATE_CANCELLED if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) { return state | STATE_CANCELLED; } else if (isRecognized || isValid) { if (eventType & INPUT_END) { return state | STATE_ENDED; } else if (!(state & STATE_BEGAN)) { return STATE_BEGAN; } return state | STATE_CHANGED; } return STATE_FAILED; } }); /** * Pan * Recognized when the pointer is down and moved in the allowed direction. * @constructor * @extends AttrRecognizer */ function PanRecognizer() { AttrRecognizer.apply(this, arguments); this.pX = null; this.pY = null; } inherit(PanRecognizer, AttrRecognizer, { /** * @namespace * @memberof PanRecognizer */ defaults: { event: 'pan', threshold: 10, pointers: 1, direction: DIRECTION_ALL }, getTouchAction: function () { var direction = this.options.direction; var actions = []; if (direction & DIRECTION_HORIZONTAL) { actions.push(TOUCH_ACTION_PAN_Y); } if (direction & DIRECTION_VERTICAL) { actions.push(TOUCH_ACTION_PAN_X); } return actions; }, directionTest: function (input) { var options = this.options; var hasMoved = true; var distance = input.distance; var direction = input.direction; var x = input.deltaX; var y = input.deltaY; // lock to axis? if (!(direction & options.direction)) { if (options.direction & DIRECTION_HORIZONTAL) { direction = x === 0 ? DIRECTION_NONE : x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT; hasMoved = x != this.pX; distance = Math.abs(input.deltaX); } else { direction = y === 0 ? DIRECTION_NONE : y < 0 ? DIRECTION_UP : DIRECTION_DOWN; hasMoved = y != this.pY; distance = Math.abs(input.deltaY); } } input.direction = direction; return hasMoved && distance > options.threshold && direction & options.direction; }, attrTest: function (input) { return AttrRecognizer.prototype.attrTest.call(this, input) && (this.state & STATE_BEGAN || !(this.state & STATE_BEGAN) && this.directionTest(input)); }, emit: function (input) { this.pX = input.deltaX; this.pY = input.deltaY; var direction = directionStr(input.direction); if (direction) { input.additionalEvent = this.options.event + direction; } this._super.emit.call(this, input); } }); /** * Pinch * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out). * @constructor * @extends AttrRecognizer */ function PinchRecognizer() { AttrRecognizer.apply(this, arguments); } inherit(PinchRecognizer, AttrRecognizer, { /** * @namespace * @memberof PinchRecognizer */ defaults: { event: 'pinch', threshold: 0, pointers: 2 }, getTouchAction: function () { return [TOUCH_ACTION_NONE]; }, attrTest: function (input) { return this._super.attrTest.call(this, input) && (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN); }, emit: function (input) { if (input.scale !== 1) { var inOut = input.scale < 1 ? 'in' : 'out'; input.additionalEvent = this.options.event + inOut; } this._super.emit.call(this, input); } }); /** * Press * Recognized when the pointer is down for x ms without any movement. * @constructor * @extends Recognizer */ function PressRecognizer() { Recognizer.apply(this, arguments); this._timer = null; this._input = null; } inherit(PressRecognizer, Recognizer, { /** * @namespace * @memberof PressRecognizer */ defaults: { event: 'press', pointers: 1, time: 251, // minimal time of the pointer to be pressed threshold: 9 // a minimal movement is ok, but keep it low }, getTouchAction: function () { return [TOUCH_ACTION_AUTO]; }, process: function (input) { var options = this.options; var validPointers = input.pointers.length === options.pointers; var validMovement = input.distance < options.threshold; var validTime = input.deltaTime > options.time; this._input = input; // we only allow little movement // and we've reached an end event, so a tap is possible if (!validMovement || !validPointers || input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime) { this.reset(); } else if (input.eventType & INPUT_START) { this.reset(); this._timer = setTimeoutContext(function () { this.state = STATE_RECOGNIZED; this.tryEmit(); }, options.time, this); } else if (input.eventType & INPUT_END) { return STATE_RECOGNIZED; } return STATE_FAILED; }, reset: function () { clearTimeout(this._timer); }, emit: function (input) { if (this.state !== STATE_RECOGNIZED) { return; } if (input && input.eventType & INPUT_END) { this.manager.emit(this.options.event + 'up', input); } else { this._input.timeStamp = now(); this.manager.emit(this.options.event, this._input); } } }); /** * Rotate * Recognized when two or more pointer are moving in a circular motion. * @constructor * @extends AttrRecognizer */ function RotateRecognizer() { AttrRecognizer.apply(this, arguments); } inherit(RotateRecognizer, AttrRecognizer, { /** * @namespace * @memberof RotateRecognizer */ defaults: { event: 'rotate', threshold: 0, pointers: 2 }, getTouchAction: function () { return [TOUCH_ACTION_NONE]; }, attrTest: function (input) { return this._super.attrTest.call(this, input) && (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN); } }); /** * Swipe * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction. * @constructor * @extends AttrRecognizer */ function SwipeRecognizer() { AttrRecognizer.apply(this, arguments); } inherit(SwipeRecognizer, AttrRecognizer, { /** * @namespace * @memberof SwipeRecognizer */ defaults: { event: 'swipe', threshold: 10, velocity: 0.3, direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL, pointers: 1 }, getTouchAction: function () { return PanRecognizer.prototype.getTouchAction.call(this); }, attrTest: function (input) { var direction = this.options.direction; var velocity; if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) { velocity = input.overallVelocity; } else if (direction & DIRECTION_HORIZONTAL) { velocity = input.overallVelocityX; } else if (direction & DIRECTION_VERTICAL) { velocity = input.overallVelocityY; } return this._super.attrTest.call(this, input) && direction & input.offsetDirection && input.distance > this.options.threshold && input.maxPointers == this.options.pointers && abs(velocity) > this.options.velocity && input.eventType & INPUT_END; }, emit: function (input) { var direction = directionStr(input.offsetDirection); if (direction) { this.manager.emit(this.options.event + direction, input); } this.manager.emit(this.options.event, input); } }); /** * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur * between the given interval and position. The delay option can be used to recognize multi-taps without firing * a single tap. * * The eventData from the emitted event contains the property `tapCount`, which contains the amount of * multi-taps being recognized. * @constructor * @extends Recognizer */ function TapRecognizer() { Recognizer.apply(this, arguments); // previous time and center, // used for tap counting this.pTime = false; this.pCenter = false; this._timer = null; this._input = null; this.count = 0; } inherit(TapRecognizer, Recognizer, { /** * @namespace * @memberof PinchRecognizer */ defaults: { event: 'tap', pointers: 1, taps: 1, interval: 300, // max time between the multi-tap taps time: 250, // max time of the pointer to be down (like finger on the screen) threshold: 9, // a minimal movement is ok, but keep it low posThreshold: 10 // a multi-tap can be a bit off the initial position }, getTouchAction: function () { return [TOUCH_ACTION_MANIPULATION]; }, process: function (input) { var options = this.options; var validPointers = input.pointers.length === options.pointers; var validMovement = input.distance < options.threshold; var validTouchTime = input.deltaTime < options.time; this.reset(); if (input.eventType & INPUT_START && this.count === 0) { return this.failTimeout(); } // we only allow little movement // and we've reached an end event, so a tap is possible if (validMovement && validTouchTime && validPointers) { if (input.eventType != INPUT_END) { return this.failTimeout(); } var validInterval = this.pTime ? input.timeStamp - this.pTime < options.interval : true; var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold; this.pTime = input.timeStamp; this.pCenter = input.center; if (!validMultiTap || !validInterval) { this.count = 1; } else { this.count += 1; } this._input = input; // if tap count matches we have recognized it, // else it has began recognizing... var tapCount = this.count % options.taps; if (tapCount === 0) { // no failing requirements, immediately trigger the tap event // or wait as long as the multitap interval to trigger if (!this.hasRequireFailures()) { return STATE_RECOGNIZED; } else { this._timer = setTimeoutContext(function () { this.state = STATE_RECOGNIZED; this.tryEmit(); }, options.interval, this); return STATE_BEGAN; } } } return STATE_FAILED; }, failTimeout: function () { this._timer = setTimeoutContext(function () { this.state = STATE_FAILED; }, this.options.interval, this); return STATE_FAILED; }, reset: function () { clearTimeout(this._timer); }, emit: function () { if (this.state == STATE_RECOGNIZED) { this._input.tapCount = this.count; this.manager.emit(this.options.event, this._input); } } }); /** * Simple way to create a manager with a default set of recognizers. * @param {HTMLElement} element * @param {Object} [options] * @constructor */ function Hammer(element, options) { options = options || {}; options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset); return new Manager(element, options); } /** * @const {string} */ Hammer.VERSION = '2.0.7'; /** * default settings * @namespace */ Hammer.defaults = { /** * set if DOM events are being triggered. * But this is slower and unused by simple implementations, so disabled by default. * @type {Boolean} * @default false */ domEvents: false, /** * The value for the touchAction property/fallback. * When set to `compute` it will magically set the correct value based on the added recognizers. * @type {String} * @default compute */ touchAction: TOUCH_ACTION_COMPUTE, /** * @type {Boolean} * @default true */ enable: true, /** * EXPERIMENTAL FEATURE -- can be removed/changed * Change the parent input target element. * If Null, then it is being set the to main element. * @type {Null|EventTarget} * @default null */ inputTarget: null, /** * force an input class * @type {Null|Function} * @default null */ inputClass: null, /** * Default recognizer setup when calling `Hammer()` * When creating a new Manager these will be skipped. * @type {Array} */ preset: [// RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...] [RotateRecognizer, { enable: false }], [PinchRecognizer, { enable: false }, ['rotate']], [SwipeRecognizer, { direction: DIRECTION_HORIZONTAL }], [PanRecognizer, { direction: DIRECTION_HORIZONTAL }, ['swipe']], [TapRecognizer], [TapRecognizer, { event: 'doubletap', taps: 2 }, ['tap']], [PressRecognizer]], /** * Some CSS properties can be used to improve the working of Hammer. * Add them to this method and they will be set when creating a new Manager. * @namespace */ cssProps: { /** * Disables text selection to improve the dragging gesture. Mainly for desktop browsers. * @type {String} * @default 'none' */ userSelect: 'none', /** * Disable the Windows Phone grippers when pressing an element. * @type {String} * @default 'none' */ touchSelect: 'none', /** * Disables the default callout shown when you touch and hold a touch target. * On iOS, when you touch and hold a touch target such as a link, Safari displays * a callout containing information about the link. This property allows you to disable that callout. * @type {String} * @default 'none' */ touchCallout: 'none', /** * Specifies whether zooming is enabled. Used by IE10> * @type {String} * @default 'none' */ contentZooming: 'none', /** * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers. * @type {String} * @default 'none' */ userDrag: 'none', /** * Overrides the highlight color shown when the user taps a link or a JavaScript * clickable element in iOS. This property obeys the alpha value, if specified. * @type {String} * @default 'rgba(0,0,0,0)' */ tapHighlightColor: 'rgba(0,0,0,0)' } }; var STOP = 1; var FORCED_STOP = 2; /** * Manager * @param {HTMLElement} element * @param {Object} [options] * @constructor */ function Manager(element, options) { this.options = assign({}, Hammer.defaults, options || {}); this.options.inputTarget = this.options.inputTarget || element; this.handlers = {}; this.session = {}; this.recognizers = []; this.oldCssProps = {}; this.element = element; this.input = createInputInstance(this); this.touchAction = new TouchAction(this, this.options.touchAction); toggleCssProps(this, true); each(this.options.recognizers, function (item) { var recognizer = this.add(new item[0](item[1])); item[2] && recognizer.recognizeWith(item[2]); item[3] && recognizer.requireFailure(item[3]); }, this); } Manager.prototype = { /** * set options * @param {Object} options * @returns {Manager} */ set: function (options) { assign(this.options, options); // Options that need a little more setup if (options.touchAction) { this.touchAction.update(); } if (options.inputTarget) { // Clean up existing event listeners and reinitialize this.input.destroy(); this.input.target = options.inputTarget; this.input.init(); } return this; }, /** * stop recognizing for this session. * This session will be discarded, when a new [input]start event is fired. * When forced, the recognizer cycle is stopped immediately. * @param {Boolean} [force] */ stop: function (force) { this.session.stopped = force ? FORCED_STOP : STOP; }, /** * run the recognizers! * called by the inputHandler function on every movement of the pointers (touches) * it walks through all the recognizers and tries to detect the gesture that is being made * @param {Object} inputData */ recognize: function (inputData) { var session = this.session; if (session.stopped) { return; } // run the touch-action polyfill this.touchAction.preventDefaults(inputData); var recognizer; var recognizers = this.recognizers; // this holds the recognizer that is being recognized. // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED // if no recognizer is detecting a thing, it is set to `null` var curRecognizer = session.curRecognizer; // reset when the last recognizer is recognized // or when we're in a new session if (!curRecognizer || curRecognizer && curRecognizer.state & STATE_RECOGNIZED) { curRecognizer = session.curRecognizer = null; } var i = 0; while (i < recognizers.length) { recognizer = recognizers[i]; // find out if we are allowed try to recognize the input for this one. // 1. allow if the session is NOT forced stopped (see the .stop() method) // 2. allow if we still haven't recognized a gesture in this session, or the this recognizer is the one // that is being recognized. // 3. allow if the recognizer is allowed to run simultaneous with the current recognized recognizer. // this can be setup with the `recognizeWith()` method on the recognizer. if (session.stopped !== FORCED_STOP && ( // 1 !curRecognizer || recognizer == curRecognizer || // 2 recognizer.canRecognizeWith(curRecognizer))) { // 3 recognizer.recognize(inputData); } else { recognizer.reset(); } // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the // current active recognizer. but only if we don't already have an active recognizer if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) { curRecognizer = session.curRecognizer = recognizer; } i++; } }, /** * get a recognizer by its event name. * @param {Recognizer|String} recognizer * @returns {Recognizer|Null} */ get: function (recognizer) { if (recognizer instanceof Recognizer) { return recognizer; } var recognizers = this.recognizers; for (var i = 0; i < recognizers.length; i++) { if (recognizers[i].options.event == recognizer) { return recognizers[i]; } } return null; }, /** * add a recognizer to the manager * existing recognizers with the same event name will be removed * @param {Recognizer} recognizer * @returns {Recognizer|Manager} */ add: function (recognizer) { if (invokeArrayArg(recognizer, 'add', this)) { return this; } // remove existing var existing = this.get(recognizer.options.event); if (existing) { this.remove(existing); } this.recognizers.push(recognizer); recognizer.manager = this; this.touchAction.update(); return recognizer; }, /** * remove a recognizer by name or instance * @param {Recognizer|String} recognizer * @returns {Manager} */ remove: function (recognizer) { if (invokeArrayArg(recognizer, 'remove', this)) { return this; } recognizer = this.get(recognizer); // let's make sure this recognizer exists if (recognizer) { var recognizers = this.recognizers; var index = inArray(recognizers, recognizer); if (index !== -1) { recognizers.splice(index, 1); this.touchAction.update(); } } return this; }, /** * bind event * @param {String} events * @param {Function} handler * @returns {EventEmitter} this */ on: function (events, handler) { if (events === undefined) { return; } if (handler === undefined) { return; } var handlers = this.handlers; each(splitStr(events), function (event) { handlers[event] = handlers[event] || []; handlers[event].push(handler); }); return this; }, /** * unbind event, leave emit blank to remove all handlers * @param {String} events * @param {Function} [handler] * @returns {EventEmitter} this */ off: function (events, handler) { if (events === undefined) { return; } var handlers = this.handlers; each(splitStr(events), function (event) { if (!handler) { delete handlers[event]; } else { handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1); } }); return this; }, /** * emit event to the listeners * @param {String} event * @param {Object} data */ emit: function (event, data) { // we also want to trigger dom events if (this.options.domEvents) { triggerDomEvent(event, data); } // no handlers, so skip it all var handlers = this.handlers[event] && this.handlers[event].slice(); if (!handlers || !handlers.length) { return; } data.type = event; data.preventDefault = function () { data.srcEvent.preventDefault(); }; var i = 0; while (i < handlers.length) { handlers[i](data); i++; } }, /** * destroy the manager and unbinds all events * it doesn't unbind dom events, that is the user own responsibility */ destroy: function () { this.element && toggleCssProps(this, false); this.handlers = {}; this.session = {}; this.input.destroy(); this.element = null; } }; /** * add/remove the css properties as defined in manager.options.cssProps * @param {Manager} manager * @param {Boolean} add */ function toggleCssProps(manager, add) { var element = manager.element; if (!element.style) { return; } var prop; each(manager.options.cssProps, function (value, name) { prop = prefixed(element.style, name); if (add) { manager.oldCssProps[prop] = element.style[prop]; element.style[prop] = value; } else { element.style[prop] = manager.oldCssProps[prop] || ''; } }); if (!add) { manager.oldCssProps = {}; } } /** * trigger dom event * @param {String} event * @param {Object} data */ function triggerDomEvent(event, data) { var gestureEvent = document.createEvent('Event'); gestureEvent.initEvent(event, true, true); gestureEvent.gesture = data; data.target.dispatchEvent(gestureEvent); } assign(Hammer, { INPUT_START: INPUT_START, INPUT_MOVE: INPUT_MOVE, INPUT_END: INPUT_END, INPUT_CANCEL: INPUT_CANCEL, STATE_POSSIBLE: STATE_POSSIBLE, STATE_BEGAN: STATE_BEGAN, STATE_CHANGED: STATE_CHANGED, STATE_ENDED: STATE_ENDED, STATE_RECOGNIZED: STATE_RECOGNIZED, STATE_CANCELLED: STATE_CANCELLED, STATE_FAILED: STATE_FAILED, DIRECTION_NONE: DIRECTION_NONE, DIRECTION_LEFT: DIRECTION_LEFT, DIRECTION_RIGHT: DIRECTION_RIGHT, DIRECTION_UP: DIRECTION_UP, DIRECTION_DOWN: DIRECTION_DOWN, DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL, DIRECTION_VERTICAL: DIRECTION_VERTICAL, DIRECTION_ALL: DIRECTION_ALL, Manager: Manager, Input: Input, TouchAction: TouchAction, TouchInput: TouchInput, MouseInput: MouseInput, PointerEventInput: PointerEventInput, TouchMouseInput: TouchMouseInput, SingleTouchInput: SingleTouchInput, Recognizer: Recognizer, AttrRecognizer: AttrRecognizer, Tap: TapRecognizer, Pan: PanRecognizer, Swipe: SwipeRecognizer, Pinch: PinchRecognizer, Rotate: RotateRecognizer, Press: PressRecognizer, on: addEventListeners, off: removeEventListeners, each: each, merge: merge, extend: extend, assign: assign, inherit: inherit, bindFn: bindFn, prefixed: prefixed }); // this prevents errors when Hammer is loaded in the presence of an AMD // style loader but by script tag, not by the loader. var freeGlobal = typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}; // jshint ignore:line freeGlobal.Hammer = Hammer; if (true) { !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () { return Hammer; }).call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } else {} })(window, document, 'Hammer'); /***/ }), /***/ 12983: /*!*********************************************************************!*\ !*** ./node_modules/jspdf-autotable/dist/jspdf.plugin.autotable.js ***! \*********************************************************************/ /***/ (function(module, __unused_webpack_exports, __webpack_require__) { /*! * * jsPDF AutoTable plugin v3.8.4 * * Copyright (c) 2024 Simon Bengtsson, https://github.com/simonbengtsson/jsPDF-AutoTable * Licensed under the MIT License. * http://opensource.org/licenses/mit-license * */ (function webpackUniversalModuleDefinition(root, factory) { if (true) module.exports = factory(function webpackLoadOptionalExternalModule() { try { return __webpack_require__(/*! jspdf */ 20114); } catch (e) {} }());else { var i, a; } })(typeof globalThis !== 'undefined' ? globalThis : typeof this !== 'undefined' ? this : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : global, function (__WEBPACK_EXTERNAL_MODULE__964__) { return ( /******/ function () { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = { /***/ 172: /***/ function (__unused_webpack_module, exports) { var __extends = this && this.__extends || function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; } || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; }(); Object.defineProperty(exports, "__esModule", { value: true }); exports.CellHookData = exports.HookData = void 0; var HookData = /** @class */ function () { function HookData(doc, table, cursor) { this.table = table; this.pageNumber = table.pageNumber; this.pageCount = this.pageNumber; this.settings = table.settings; this.cursor = cursor; this.doc = doc.getDocument(); } return HookData; }(); exports.HookData = HookData; var CellHookData = /** @class */ function (_super) { __extends(CellHookData, _super); function CellHookData(doc, table, cell, row, column, cursor) { var _this = _super.call(this, doc, table, cursor) || this; _this.cell = cell; _this.row = row; _this.column = column; _this.section = row.section; return _this; } return CellHookData; }(HookData); exports.CellHookData = CellHookData; /***/ }, /***/ 340: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_3643__) { Object.defineProperty(exports, "__esModule", { value: true }); var htmlParser_1 = __nested_webpack_require_3643__(4); var autoTableText_1 = __nested_webpack_require_3643__(136); var documentHandler_1 = __nested_webpack_require_3643__(744); var inputParser_1 = __nested_webpack_require_3643__(776); var tableDrawer_1 = __nested_webpack_require_3643__(664); var tableCalculator_1 = __nested_webpack_require_3643__(972); function default_1(jsPDF) { // eslint-disable-next-line @typescript-eslint/no-explicit-any jsPDF.API.autoTable = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } var options; if (args.length === 1) { options = args[0]; } else { console.error('Use of deprecated autoTable initiation'); options = args[2] || {}; options.columns = args[0]; options.body = args[1]; } var input = (0, inputParser_1.parseInput)(this, options); var table = (0, tableCalculator_1.createTable)(this, input); (0, tableDrawer_1.drawTable)(this, table); return this; }; // Assign false to enable `doc.lastAutoTable.finalY || 40` sugar jsPDF.API.lastAutoTable = false; jsPDF.API.previousAutoTable = false; // deprecated in v3 jsPDF.API.autoTable.previous = false; // deprecated in v3 jsPDF.API.autoTableText = function (text, x, y, styles) { (0, autoTableText_1.default)(text, x, y, styles, this); }; jsPDF.API.autoTableSetDefaults = function (defaults) { documentHandler_1.DocHandler.setDefaults(defaults, this); return this; }; jsPDF.autoTableSetDefaults = function (defaults, doc) { documentHandler_1.DocHandler.setDefaults(defaults, doc); }; jsPDF.API.autoTableHtmlToJson = function (tableElem, includeHiddenElements) { var _a; if (includeHiddenElements === void 0) { includeHiddenElements = false; } if (typeof window === 'undefined') { console.error('Cannot run autoTableHtmlToJson in non browser environment'); return null; } var doc = new documentHandler_1.DocHandler(this); var _b = (0, htmlParser_1.parseHtml)(doc, tableElem, window, includeHiddenElements, false), head = _b.head, body = _b.body; var columns = ((_a = head[0]) === null || _a === void 0 ? void 0 : _a.map(function (c) { return c.content; })) || []; return { columns: columns, rows: body, data: body }; }; /** * @deprecated */ jsPDF.API.autoTableEndPosY = function () { console.error('Use of deprecated function: autoTableEndPosY. Use doc.lastAutoTable.finalY instead.'); var prev = this.lastAutoTable; if (prev && prev.finalY) { return prev.finalY; } else { return 0; } }; /** * @deprecated */ jsPDF.API.autoTableAddPageContent = function (hook) { console.error('Use of deprecated function: autoTableAddPageContent. Use jsPDF.autoTableSetDefaults({didDrawPage: () => {}}) instead.'); if (!jsPDF.API.autoTable.globalDefaults) { jsPDF.API.autoTable.globalDefaults = {}; } jsPDF.API.autoTable.globalDefaults.addPageContent = hook; return this; }; /** * @deprecated */ jsPDF.API.autoTableAddPage = function () { console.error('Use of deprecated function: autoTableAddPage. Use doc.addPage()'); this.addPage(); return this; }; } exports["default"] = default_1; /***/ }, /***/ 136: /***/ function (__unused_webpack_module, exports) { Object.defineProperty(exports, "__esModule", { value: true }); /** * Improved text function with halign and valign support * Inspiration from: http://stackoverflow.com/questions/28327510/align-text-right-using-jspdf/28433113#28433113 */ function default_1(text, x, y, styles, doc) { styles = styles || {}; var PHYSICAL_LINE_HEIGHT = 1.15; var k = doc.internal.scaleFactor; var fontSize = doc.internal.getFontSize() / k; var lineHeightFactor = doc.getLineHeightFactor ? doc.getLineHeightFactor() : PHYSICAL_LINE_HEIGHT; var lineHeight = fontSize * lineHeightFactor; var splitRegex = /\r\n|\r|\n/g; var splitText = ''; var lineCount = 1; if (styles.valign === 'middle' || styles.valign === 'bottom' || styles.halign === 'center' || styles.halign === 'right') { splitText = typeof text === 'string' ? text.split(splitRegex) : text; lineCount = splitText.length || 1; } // Align the top y += fontSize * (2 - PHYSICAL_LINE_HEIGHT); if (styles.valign === 'middle') y -= lineCount / 2 * lineHeight;else if (styles.valign === 'bottom') y -= lineCount * lineHeight; if (styles.halign === 'center' || styles.halign === 'right') { var alignSize = fontSize; if (styles.halign === 'center') alignSize *= 0.5; if (splitText && lineCount >= 1) { for (var iLine = 0; iLine < splitText.length; iLine++) { doc.text(splitText[iLine], x - doc.getStringUnitWidth(splitText[iLine]) * alignSize, y); y += lineHeight; } return doc; } x -= doc.getStringUnitWidth(text) * alignSize; } if (styles.halign === 'justify') { doc.text(text, x, y, { maxWidth: styles.maxWidth || 100, align: 'justify' }); } else { doc.text(text, x, y); } return doc; } exports["default"] = default_1; /***/ }, /***/ 420: /***/ function (__unused_webpack_module, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.getPageAvailableWidth = exports.parseSpacing = exports.getFillStyle = exports.addTableBorder = exports.getStringWidth = void 0; function getStringWidth(text, styles, doc) { doc.applyStyles(styles, true); var textArr = Array.isArray(text) ? text : [text]; var widestLineWidth = textArr.map(function (text) { return doc.getTextWidth(text); }).reduce(function (a, b) { return Math.max(a, b); }, 0); return widestLineWidth; } exports.getStringWidth = getStringWidth; function addTableBorder(doc, table, startPos, cursor) { var lineWidth = table.settings.tableLineWidth; var lineColor = table.settings.tableLineColor; doc.applyStyles({ lineWidth: lineWidth, lineColor: lineColor }); var fillStyle = getFillStyle(lineWidth, false); if (fillStyle) { doc.rect(startPos.x, startPos.y, table.getWidth(doc.pageSize().width), cursor.y - startPos.y, fillStyle); } } exports.addTableBorder = addTableBorder; function getFillStyle(lineWidth, fillColor) { var drawLine = lineWidth > 0; var drawBackground = fillColor || fillColor === 0; if (drawLine && drawBackground) { return 'DF'; // Fill then stroke } else if (drawLine) { return 'S'; // Only stroke (transparent background) } else if (drawBackground) { return 'F'; // Only fill, no stroke } else { return null; } } exports.getFillStyle = getFillStyle; function parseSpacing(value, defaultValue) { var _a, _b, _c, _d; value = value || defaultValue; if (Array.isArray(value)) { if (value.length >= 4) { return { top: value[0], right: value[1], bottom: value[2], left: value[3] }; } else if (value.length === 3) { return { top: value[0], right: value[1], bottom: value[2], left: value[1] }; } else if (value.length === 2) { return { top: value[0], right: value[1], bottom: value[0], left: value[1] }; } else if (value.length === 1) { value = value[0]; } else { value = defaultValue; } } if (typeof value === 'object') { if (typeof value.vertical === 'number') { value.top = value.vertical; value.bottom = value.vertical; } if (typeof value.horizontal === 'number') { value.right = value.horizontal; value.left = value.horizontal; } return { left: (_a = value.left) !== null && _a !== void 0 ? _a : defaultValue, top: (_b = value.top) !== null && _b !== void 0 ? _b : defaultValue, right: (_c = value.right) !== null && _c !== void 0 ? _c : defaultValue, bottom: (_d = value.bottom) !== null && _d !== void 0 ? _d : defaultValue }; } if (typeof value !== 'number') { value = defaultValue; } return { top: value, right: value, bottom: value, left: value }; } exports.parseSpacing = parseSpacing; function getPageAvailableWidth(doc, table) { var margins = parseSpacing(table.settings.margin, 0); return doc.pageSize().width - (margins.left + margins.right); } exports.getPageAvailableWidth = getPageAvailableWidth; /***/ }, /***/ 796: /***/ function (__unused_webpack_module, exports) { var __extends = this && this.__extends || function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; } || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; }(); Object.defineProperty(exports, "__esModule", { value: true }); exports.getTheme = exports.defaultStyles = exports.HtmlRowInput = void 0; var HtmlRowInput = /** @class */ function (_super) { __extends(HtmlRowInput, _super); function HtmlRowInput(element) { var _this = _super.call(this) || this; _this._element = element; return _this; } return HtmlRowInput; }(Array); exports.HtmlRowInput = HtmlRowInput; // Base style for all themes function defaultStyles(scaleFactor) { return { font: 'helvetica', // helvetica, times, courier fontStyle: 'normal', // normal, bold, italic, bolditalic overflow: 'linebreak', // linebreak, ellipsize, visible or hidden fillColor: false, // Either false for transparent, rbg array e.g. [255, 255, 255] or gray level e.g 200 textColor: 20, halign: 'left', // left, center, right, justify valign: 'top', // top, middle, bottom fontSize: 10, cellPadding: 5 / scaleFactor, // number or {top,left,right,left,vertical,horizontal} lineColor: 200, lineWidth: 0, cellWidth: 'auto', // 'auto'|'wrap'|number minCellHeight: 0, minCellWidth: 0 }; } exports.defaultStyles = defaultStyles; function getTheme(name) { var themes = { striped: { table: { fillColor: 255, textColor: 80, fontStyle: 'normal' }, head: { textColor: 255, fillColor: [41, 128, 185], fontStyle: 'bold' }, body: {}, foot: { textColor: 255, fillColor: [41, 128, 185], fontStyle: 'bold' }, alternateRow: { fillColor: 245 } }, grid: { table: { fillColor: 255, textColor: 80, fontStyle: 'normal', lineWidth: 0.1 }, head: { textColor: 255, fillColor: [26, 188, 156], fontStyle: 'bold', lineWidth: 0 }, body: {}, foot: { textColor: 255, fillColor: [26, 188, 156], fontStyle: 'bold', lineWidth: 0 }, alternateRow: {} }, plain: { head: { fontStyle: 'bold' }, foot: { fontStyle: 'bold' } } }; return themes[name]; } exports.getTheme = getTheme; /***/ }, /***/ 903: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_19237__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.parseCss = void 0; // Limitations // - No support for border spacing // - No support for transparency var common_1 = __nested_webpack_require_19237__(420); function parseCss(supportedFonts, element, scaleFactor, style, window) { var result = {}; var pxScaleFactor = 96 / 72; var backgroundColor = parseColor(element, function (elem) { return window.getComputedStyle(elem)['backgroundColor']; }); if (backgroundColor != null) result.fillColor = backgroundColor; var textColor = parseColor(element, function (elem) { return window.getComputedStyle(elem)['color']; }); if (textColor != null) result.textColor = textColor; var padding = parsePadding(style, scaleFactor); if (padding) result.cellPadding = padding; var borderColorSide = 'borderTopColor'; var finalScaleFactor = pxScaleFactor * scaleFactor; var btw = style.borderTopWidth; if (style.borderBottomWidth === btw && style.borderRightWidth === btw && style.borderLeftWidth === btw) { var borderWidth = (parseFloat(btw) || 0) / finalScaleFactor; if (borderWidth) result.lineWidth = borderWidth; } else { result.lineWidth = { top: (parseFloat(style.borderTopWidth) || 0) / finalScaleFactor, right: (parseFloat(style.borderRightWidth) || 0) / finalScaleFactor, bottom: (parseFloat(style.borderBottomWidth) || 0) / finalScaleFactor, left: (parseFloat(style.borderLeftWidth) || 0) / finalScaleFactor }; // Choose border color of first available side // could be improved by supporting object as lineColor if (!result.lineWidth.top) { if (result.lineWidth.right) { borderColorSide = 'borderRightColor'; } else if (result.lineWidth.bottom) { borderColorSide = 'borderBottomColor'; } else if (result.lineWidth.left) { borderColorSide = 'borderLeftColor'; } } } var borderColor = parseColor(element, function (elem) { return window.getComputedStyle(elem)[borderColorSide]; }); if (borderColor != null) result.lineColor = borderColor; var accepted = ['left', 'right', 'center', 'justify']; if (accepted.indexOf(style.textAlign) !== -1) { result.halign = style.textAlign; } accepted = ['middle', 'bottom', 'top']; if (accepted.indexOf(style.verticalAlign) !== -1) { result.valign = style.verticalAlign; } var res = parseInt(style.fontSize || ''); if (!isNaN(res)) result.fontSize = res / pxScaleFactor; var fontStyle = parseFontStyle(style); if (fontStyle) result.fontStyle = fontStyle; var font = (style.fontFamily || '').toLowerCase(); if (supportedFonts.indexOf(font) !== -1) { result.font = font; } return result; } exports.parseCss = parseCss; function parseFontStyle(style) { var res = ''; if (style.fontWeight === 'bold' || style.fontWeight === 'bolder' || parseInt(style.fontWeight) >= 700) { res = 'bold'; } if (style.fontStyle === 'italic' || style.fontStyle === 'oblique') { res += 'italic'; } return res; } function parseColor(element, styleGetter) { var cssColor = realColor(element, styleGetter); if (!cssColor) return null; var rgba = cssColor.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d*\.?\d*))?\)$/); if (!rgba || !Array.isArray(rgba)) { return null; } var color = [parseInt(rgba[1]), parseInt(rgba[2]), parseInt(rgba[3])]; var alpha = parseInt(rgba[4]); if (alpha === 0 || isNaN(color[0]) || isNaN(color[1]) || isNaN(color[2])) { return null; } return color; } function realColor(elem, styleGetter) { var bg = styleGetter(elem); if (bg === 'rgba(0, 0, 0, 0)' || bg === 'transparent' || bg === 'initial' || bg === 'inherit') { if (elem.parentElement == null) { return null; } return realColor(elem.parentElement, styleGetter); } else { return bg; } } function parsePadding(style, scaleFactor) { var val = [style.paddingTop, style.paddingRight, style.paddingBottom, style.paddingLeft]; var pxScaleFactor = 96 / (72 / scaleFactor); var linePadding = (parseInt(style.lineHeight) - parseInt(style.fontSize)) / scaleFactor / 2; var inputPadding = val.map(function (n) { return parseInt(n || '0') / pxScaleFactor; }); var padding = (0, common_1.parseSpacing)(inputPadding, 0); if (linePadding > padding.top) { padding.top = linePadding; } if (linePadding > padding.bottom) { padding.bottom = linePadding; } return padding; } /***/ }, /***/ 744: /***/ function (__unused_webpack_module, exports) { Object.defineProperty(exports, "__esModule", { value: true }); exports.DocHandler = void 0; var globalDefaults = {}; var DocHandler = /** @class */ function () { function DocHandler(jsPDFDocument) { this.jsPDFDocument = jsPDFDocument; this.userStyles = { // Black for versions of jspdf without getTextColor textColor: jsPDFDocument.getTextColor ? this.jsPDFDocument.getTextColor() : 0, fontSize: jsPDFDocument.internal.getFontSize(), fontStyle: jsPDFDocument.internal.getFont().fontStyle, font: jsPDFDocument.internal.getFont().fontName, // 0 for versions of jspdf without getLineWidth lineWidth: jsPDFDocument.getLineWidth ? this.jsPDFDocument.getLineWidth() : 0, // Black for versions of jspdf without getDrawColor lineColor: jsPDFDocument.getDrawColor ? this.jsPDFDocument.getDrawColor() : 0 }; } DocHandler.setDefaults = function (defaults, doc) { if (doc === void 0) { doc = null; } if (doc) { doc.__autoTableDocumentDefaults = defaults; } else { globalDefaults = defaults; } }; DocHandler.unifyColor = function (c) { if (Array.isArray(c)) { return c; } else if (typeof c === 'number') { return [c, c, c]; } else if (typeof c === 'string') { return [c]; } else { return null; } }; DocHandler.prototype.applyStyles = function (styles, fontOnly) { // Font style needs to be applied before font // https://github.com/simonbengtsson/jsPDF-AutoTable/issues/632 var _a, _b, _c; if (fontOnly === void 0) { fontOnly = false; } if (styles.fontStyle) this.jsPDFDocument.setFontStyle && this.jsPDFDocument.setFontStyle(styles.fontStyle); var _d = this.jsPDFDocument.internal.getFont(), fontStyle = _d.fontStyle, fontName = _d.fontName; if (styles.font) fontName = styles.font; if (styles.fontStyle) { fontStyle = styles.fontStyle; var availableFontStyles = this.getFontList()[fontName]; if (availableFontStyles && availableFontStyles.indexOf(fontStyle) === -1) { // Common issue was that the default bold in headers // made custom fonts not work. For example: // https://github.com/simonbengtsson/jsPDF-AutoTable/issues/653 this.jsPDFDocument.setFontStyle && this.jsPDFDocument.setFontStyle(availableFontStyles[0]); fontStyle = availableFontStyles[0]; } } this.jsPDFDocument.setFont(fontName, fontStyle); if (styles.fontSize) this.jsPDFDocument.setFontSize(styles.fontSize); if (fontOnly) { return; // Performance improvement } var color = DocHandler.unifyColor(styles.fillColor); if (color) (_a = this.jsPDFDocument).setFillColor.apply(_a, color); color = DocHandler.unifyColor(styles.textColor); if (color) (_b = this.jsPDFDocument).setTextColor.apply(_b, color); color = DocHandler.unifyColor(styles.lineColor); if (color) (_c = this.jsPDFDocument).setDrawColor.apply(_c, color); if (typeof styles.lineWidth === 'number') { this.jsPDFDocument.setLineWidth(styles.lineWidth); } }; DocHandler.prototype.splitTextToSize = function (text, size, opts) { return this.jsPDFDocument.splitTextToSize(text, size, opts); }; /** * Adds a rectangle to the PDF * @param x Coordinate (in units declared at inception of PDF document) against left edge of the page * @param y Coordinate (in units declared at inception of PDF document) against upper edge of the page * @param width Width (in units declared at inception of PDF document) * @param height Height (in units declared at inception of PDF document) * @param fillStyle A string specifying the painting style or null. Valid styles include: 'S' [default] - stroke, 'F' - fill, and 'DF' (or 'FD') - fill then stroke. */ DocHandler.prototype.rect = function (x, y, width, height, fillStyle) { // null is excluded from fillStyle possible values because it isn't needed // and is prone to bugs as it's used to postpone setting the style // https://rawgit.com/MrRio/jsPDF/master/docs/jsPDF.html#rect return this.jsPDFDocument.rect(x, y, width, height, fillStyle); }; DocHandler.prototype.getLastAutoTable = function () { return this.jsPDFDocument.lastAutoTable || null; }; DocHandler.prototype.getTextWidth = function (text) { return this.jsPDFDocument.getTextWidth(text); }; DocHandler.prototype.getDocument = function () { return this.jsPDFDocument; }; DocHandler.prototype.setPage = function (page) { this.jsPDFDocument.setPage(page); }; DocHandler.prototype.addPage = function () { return this.jsPDFDocument.addPage(); }; DocHandler.prototype.getFontList = function () { return this.jsPDFDocument.getFontList(); }; DocHandler.prototype.getGlobalOptions = function () { return globalDefaults || {}; }; DocHandler.prototype.getDocumentOptions = function () { return this.jsPDFDocument.__autoTableDocumentDefaults || {}; }; DocHandler.prototype.pageSize = function () { var pageSize = this.jsPDFDocument.internal.pageSize; // JSPDF 1.4 uses get functions instead of properties on pageSize if (pageSize.width == null) { pageSize = { width: pageSize.getWidth(), height: pageSize.getHeight() }; } return pageSize; }; DocHandler.prototype.scaleFactor = function () { return this.jsPDFDocument.internal.scaleFactor; }; DocHandler.prototype.getLineHeightFactor = function () { var doc = this.jsPDFDocument; return doc.getLineHeightFactor ? doc.getLineHeightFactor() : 1.15; }; DocHandler.prototype.getLineHeight = function (fontSize) { return fontSize / this.scaleFactor() * this.getLineHeightFactor(); }; DocHandler.prototype.pageNumber = function () { var pageInfo = this.jsPDFDocument.internal.getCurrentPageInfo(); if (!pageInfo) { // Only recent versions of jspdf has pageInfo return this.jsPDFDocument.internal.getNumberOfPages(); } return pageInfo.pageNumber; }; return DocHandler; }(); exports.DocHandler = DocHandler; /***/ }, /***/ 4: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_32858__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.parseHtml = void 0; var cssParser_1 = __nested_webpack_require_32858__(903); var config_1 = __nested_webpack_require_32858__(796); function parseHtml(doc, input, window, includeHiddenHtml, useCss) { var _a, _b; if (includeHiddenHtml === void 0) { includeHiddenHtml = false; } if (useCss === void 0) { useCss = false; } var tableElement; if (typeof input === 'string') { tableElement = window.document.querySelector(input); } else { tableElement = input; } var supportedFonts = Object.keys(doc.getFontList()); var scaleFactor = doc.scaleFactor(); var head = [], body = [], foot = []; if (!tableElement) { console.error('Html table could not be found with input: ', input); return { head: head, body: body, foot: foot }; } for (var i = 0; i < tableElement.rows.length; i++) { var element = tableElement.rows[i]; var tagName = (_b = (_a = element === null || element === void 0 ? void 0 : element.parentElement) === null || _a === void 0 ? void 0 : _a.tagName) === null || _b === void 0 ? void 0 : _b.toLowerCase(); var row = parseRowContent(supportedFonts, scaleFactor, window, element, includeHiddenHtml, useCss); if (!row) continue; if (tagName === 'thead') { head.push(row); } else if (tagName === 'tfoot') { foot.push(row); } else { // Add to body both if parent is tbody or table body.push(row); } } return { head: head, body: body, foot: foot }; } exports.parseHtml = parseHtml; function parseRowContent(supportedFonts, scaleFactor, window, row, includeHidden, useCss) { var resultRow = new config_1.HtmlRowInput(row); for (var i = 0; i < row.cells.length; i++) { var cell = row.cells[i]; var style_1 = window.getComputedStyle(cell); if (includeHidden || style_1.display !== 'none') { var cellStyles = void 0; if (useCss) { cellStyles = (0, cssParser_1.parseCss)(supportedFonts, cell, scaleFactor, style_1, window); } resultRow.push({ rowSpan: cell.rowSpan, colSpan: cell.colSpan, styles: cellStyles, _element: cell, content: parseCellContent(cell) }); } } var style = window.getComputedStyle(row); if (resultRow.length > 0 && (includeHidden || style.display !== 'none')) { return resultRow; } } function parseCellContent(orgCell) { // Work on cloned node to make sure no changes are applied to html table var cell = orgCell.cloneNode(true); // Remove extra space and line breaks in markup to make it more similar to // what would be shown in html cell.innerHTML = cell.innerHTML.replace(/\n/g, '').replace(/ +/g, ' '); // Preserve
tags as line breaks in the pdf cell.innerHTML = cell.innerHTML.split(//) //start with ''. .map(function (part) { return part.trim(); }).join('\n'); // innerText for ie return cell.innerText || cell.textContent || ''; } /***/ }, /***/ 776: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_36944__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.parseInput = void 0; var htmlParser_1 = __nested_webpack_require_36944__(4); var polyfills_1 = __nested_webpack_require_36944__(356); var common_1 = __nested_webpack_require_36944__(420); var documentHandler_1 = __nested_webpack_require_36944__(744); var inputValidator_1 = __nested_webpack_require_36944__(792); function parseInput(d, current) { var doc = new documentHandler_1.DocHandler(d); var document = doc.getDocumentOptions(); var global = doc.getGlobalOptions(); (0, inputValidator_1.default)(doc, global, document, current); var options = (0, polyfills_1.assign)({}, global, document, current); var win; if (typeof window !== 'undefined') { win = window; } var styles = parseStyles(global, document, current); var hooks = parseHooks(global, document, current); var settings = parseSettings(doc, options); var content = parseContent(doc, options, win); return { id: current.tableId, content: content, hooks: hooks, styles: styles, settings: settings }; } exports.parseInput = parseInput; function parseStyles(gInput, dInput, cInput) { var styleOptions = { styles: {}, headStyles: {}, bodyStyles: {}, footStyles: {}, alternateRowStyles: {}, columnStyles: {} }; var _loop_1 = function (prop) { if (prop === 'columnStyles') { var global_1 = gInput[prop]; var document_1 = dInput[prop]; var current = cInput[prop]; styleOptions.columnStyles = (0, polyfills_1.assign)({}, global_1, document_1, current); } else { var allOptions = [gInput, dInput, cInput]; var styles = allOptions.map(function (opts) { return opts[prop] || {}; }); styleOptions[prop] = (0, polyfills_1.assign)({}, styles[0], styles[1], styles[2]); } }; for (var _i = 0, _a = Object.keys(styleOptions); _i < _a.length; _i++) { var prop = _a[_i]; _loop_1(prop); } return styleOptions; } function parseHooks(global, document, current) { var allOptions = [global, document, current]; var result = { didParseCell: [], willDrawCell: [], didDrawCell: [], willDrawPage: [], didDrawPage: [] }; for (var _i = 0, allOptions_1 = allOptions; _i < allOptions_1.length; _i++) { var options = allOptions_1[_i]; if (options.didParseCell) result.didParseCell.push(options.didParseCell); if (options.willDrawCell) result.willDrawCell.push(options.willDrawCell); if (options.didDrawCell) result.didDrawCell.push(options.didDrawCell); if (options.willDrawPage) result.willDrawPage.push(options.willDrawPage); if (options.didDrawPage) result.didDrawPage.push(options.didDrawPage); } return result; } function parseSettings(doc, options) { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m; var margin = (0, common_1.parseSpacing)(options.margin, 40 / doc.scaleFactor()); var startY = (_a = getStartY(doc, options.startY)) !== null && _a !== void 0 ? _a : margin.top; var showFoot; if (options.showFoot === true) { showFoot = 'everyPage'; } else if (options.showFoot === false) { showFoot = 'never'; } else { showFoot = (_b = options.showFoot) !== null && _b !== void 0 ? _b : 'everyPage'; } var showHead; if (options.showHead === true) { showHead = 'everyPage'; } else if (options.showHead === false) { showHead = 'never'; } else { showHead = (_c = options.showHead) !== null && _c !== void 0 ? _c : 'everyPage'; } var useCss = (_d = options.useCss) !== null && _d !== void 0 ? _d : false; var theme = options.theme || (useCss ? 'plain' : 'striped'); var horizontalPageBreak = !!options.horizontalPageBreak; var horizontalPageBreakRepeat = (_e = options.horizontalPageBreakRepeat) !== null && _e !== void 0 ? _e : null; return { includeHiddenHtml: (_f = options.includeHiddenHtml) !== null && _f !== void 0 ? _f : false, useCss: useCss, theme: theme, startY: startY, margin: margin, pageBreak: (_g = options.pageBreak) !== null && _g !== void 0 ? _g : 'auto', rowPageBreak: (_h = options.rowPageBreak) !== null && _h !== void 0 ? _h : 'auto', tableWidth: (_j = options.tableWidth) !== null && _j !== void 0 ? _j : 'auto', showHead: showHead, showFoot: showFoot, tableLineWidth: (_k = options.tableLineWidth) !== null && _k !== void 0 ? _k : 0, tableLineColor: (_l = options.tableLineColor) !== null && _l !== void 0 ? _l : 200, horizontalPageBreak: horizontalPageBreak, horizontalPageBreakRepeat: horizontalPageBreakRepeat, horizontalPageBreakBehaviour: (_m = options.horizontalPageBreakBehaviour) !== null && _m !== void 0 ? _m : 'afterAllRows' }; } function getStartY(doc, userStartY) { var previous = doc.getLastAutoTable(); var sf = doc.scaleFactor(); var currentPage = doc.pageNumber(); var isSamePageAsPreviousTable = false; if (previous && previous.startPageNumber) { var endingPage = previous.startPageNumber + previous.pageNumber - 1; isSamePageAsPreviousTable = endingPage === currentPage; } if (typeof userStartY === 'number') { return userStartY; } else if (userStartY == null || userStartY === false) { if (isSamePageAsPreviousTable && (previous === null || previous === void 0 ? void 0 : previous.finalY) != null) { // Some users had issues with overlapping tables when they used multiple // tables without setting startY so setting it here to a sensible default. return previous.finalY + 20 / sf; } } return null; } function parseContent(doc, options, window) { var head = options.head || []; var body = options.body || []; var foot = options.foot || []; if (options.html) { var hidden = options.includeHiddenHtml; if (window) { var htmlContent = (0, htmlParser_1.parseHtml)(doc, options.html, window, hidden, options.useCss) || {}; head = htmlContent.head || head; body = htmlContent.body || head; foot = htmlContent.foot || head; } else { console.error('Cannot parse html in non browser environment'); } } var columns = options.columns || parseColumns(head, body, foot); return { columns: columns, head: head, body: body, foot: foot }; } function parseColumns(head, body, foot) { var firstRow = head[0] || body[0] || foot[0] || []; var result = []; Object.keys(firstRow).filter(function (key) { return key !== '_element'; }).forEach(function (key) { var colSpan = 1; var input; if (Array.isArray(firstRow)) { input = firstRow[parseInt(key)]; } else { input = firstRow[key]; } if (typeof input === 'object' && !Array.isArray(input)) { colSpan = (input === null || input === void 0 ? void 0 : input.colSpan) || 1; } for (var i = 0; i < colSpan; i++) { var id = void 0; if (Array.isArray(firstRow)) { id = result.length; } else { id = key + (i > 0 ? "_".concat(i) : ''); } var rowResult = { dataKey: id }; result.push(rowResult); } }); return result; } /***/ }, /***/ 792: /***/ function (__unused_webpack_module, exports) { Object.defineProperty(exports, "__esModule", { value: true }); function default_1(doc, global, document, current) { var _loop_1 = function (options) { if (options && typeof options !== 'object') { console.error('The options parameter should be of type object, is: ' + typeof options); } if (typeof options.extendWidth !== 'undefined') { options.tableWidth = options.extendWidth ? 'auto' : 'wrap'; console.error('Use of deprecated option: extendWidth, use tableWidth instead.'); } if (typeof options.margins !== 'undefined') { if (typeof options.margin === 'undefined') options.margin = options.margins; console.error('Use of deprecated option: margins, use margin instead.'); } if (options.startY && typeof options.startY !== 'number') { console.error('Invalid value for startY option', options.startY); delete options.startY; } if (!options.didDrawPage && (options.afterPageContent || options.beforePageContent || options.afterPageAdd)) { console.error('The afterPageContent, beforePageContent and afterPageAdd hooks are deprecated. Use didDrawPage instead'); options.didDrawPage = function (data) { doc.applyStyles(doc.userStyles); if (options.beforePageContent) options.beforePageContent(data); doc.applyStyles(doc.userStyles); if (options.afterPageContent) options.afterPageContent(data); doc.applyStyles(doc.userStyles); if (options.afterPageAdd && data.pageNumber > 1) { ; data.afterPageAdd(data); } doc.applyStyles(doc.userStyles); }; } ; ['createdHeaderCell', 'drawHeaderRow', 'drawRow', 'drawHeaderCell'].forEach(function (name) { if (options[name]) { console.error("The \"".concat(name, "\" hook has changed in version 3.0, check the changelog for how to migrate.")); } }); [['showFoot', 'showFooter'], ['showHead', 'showHeader'], ['didDrawPage', 'addPageContent'], ['didParseCell', 'createdCell'], ['headStyles', 'headerStyles']].forEach(function (_a) { var current = _a[0], deprecated = _a[1]; if (options[deprecated]) { console.error("Use of deprecated option ".concat(deprecated, ". Use ").concat(current, " instead")); options[current] = options[deprecated]; } }); [['padding', 'cellPadding'], ['lineHeight', 'rowHeight'], 'fontSize', 'overflow'].forEach(function (o) { var deprecatedOption = typeof o === 'string' ? o : o[0]; var style = typeof o === 'string' ? o : o[1]; if (typeof options[deprecatedOption] !== 'undefined') { if (typeof options.styles[style] === 'undefined') { options.styles[style] = options[deprecatedOption]; } console.error('Use of deprecated option: ' + deprecatedOption + ', use the style ' + style + ' instead.'); } }); for (var _b = 0, _c = ['styles', 'bodyStyles', 'headStyles', 'footStyles']; _b < _c.length; _b++) { var styleProp = _c[_b]; checkStyles(options[styleProp] || {}); } var columnStyles = options['columnStyles'] || {}; for (var _d = 0, _e = Object.keys(columnStyles); _d < _e.length; _d++) { var key = _e[_d]; checkStyles(columnStyles[key] || {}); } }; for (var _i = 0, _a = [global, document, current]; _i < _a.length; _i++) { var options = _a[_i]; _loop_1(options); } } exports["default"] = default_1; function checkStyles(styles) { if (styles.rowHeight) { console.error('Use of deprecated style rowHeight. It is renamed to minCellHeight.'); if (!styles.minCellHeight) { styles.minCellHeight = styles.rowHeight; } } else if (styles.columnWidth) { console.error('Use of deprecated style columnWidth. It is renamed to cellWidth.'); if (!styles.cellWidth) { styles.cellWidth = styles.columnWidth; } } } /***/ }, /***/ 260: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_51049__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.Column = exports.Cell = exports.Row = exports.Table = void 0; var config_1 = __nested_webpack_require_51049__(796); var HookData_1 = __nested_webpack_require_51049__(172); var common_1 = __nested_webpack_require_51049__(420); var Table = /** @class */ function () { function Table(input, content) { this.pageNumber = 1; // Deprecated, use pageNumber instead // Not using getter since: // https://github.com/simonbengtsson/jsPDF-AutoTable/issues/596 this.pageCount = 1; this.id = input.id; this.settings = input.settings; this.styles = input.styles; this.hooks = input.hooks; this.columns = content.columns; this.head = content.head; this.body = content.body; this.foot = content.foot; } Table.prototype.getHeadHeight = function (columns) { return this.head.reduce(function (acc, row) { return acc + row.getMaxCellHeight(columns); }, 0); }; Table.prototype.getFootHeight = function (columns) { return this.foot.reduce(function (acc, row) { return acc + row.getMaxCellHeight(columns); }, 0); }; Table.prototype.allRows = function () { return this.head.concat(this.body).concat(this.foot); }; Table.prototype.callCellHooks = function (doc, handlers, cell, row, column, cursor) { for (var _i = 0, handlers_1 = handlers; _i < handlers_1.length; _i++) { var handler = handlers_1[_i]; var data = new HookData_1.CellHookData(doc, this, cell, row, column, cursor); var result = handler(data) === false; // Make sure text is always string[] since user can assign string cell.text = Array.isArray(cell.text) ? cell.text : [cell.text]; if (result) { return false; } } return true; }; Table.prototype.callEndPageHooks = function (doc, cursor) { doc.applyStyles(doc.userStyles); for (var _i = 0, _a = this.hooks.didDrawPage; _i < _a.length; _i++) { var handler = _a[_i]; handler(new HookData_1.HookData(doc, this, cursor)); } }; Table.prototype.callWillDrawPageHooks = function (doc, cursor) { for (var _i = 0, _a = this.hooks.willDrawPage; _i < _a.length; _i++) { var handler = _a[_i]; handler(new HookData_1.HookData(doc, this, cursor)); } }; Table.prototype.getWidth = function (pageWidth) { if (typeof this.settings.tableWidth === 'number') { return this.settings.tableWidth; } else if (this.settings.tableWidth === 'wrap') { var wrappedWidth = this.columns.reduce(function (total, col) { return total + col.wrappedWidth; }, 0); return wrappedWidth; } else { var margin = this.settings.margin; return pageWidth - margin.left - margin.right; } }; return Table; }(); exports.Table = Table; var Row = /** @class */ function () { function Row(raw, index, section, cells, spansMultiplePages) { if (spansMultiplePages === void 0) { spansMultiplePages = false; } this.height = 0; this.raw = raw; if (raw instanceof config_1.HtmlRowInput) { this.raw = raw._element; this.element = raw._element; } this.index = index; this.section = section; this.cells = cells; this.spansMultiplePages = spansMultiplePages; } Row.prototype.getMaxCellHeight = function (columns) { var _this = this; return columns.reduce(function (acc, column) { var _a; return Math.max(acc, ((_a = _this.cells[column.index]) === null || _a === void 0 ? void 0 : _a.height) || 0); }, 0); }; Row.prototype.hasRowSpan = function (columns) { var _this = this; return columns.filter(function (column) { var cell = _this.cells[column.index]; if (!cell) return false; return cell.rowSpan > 1; }).length > 0; }; Row.prototype.canEntireRowFit = function (height, columns) { return this.getMaxCellHeight(columns) <= height; }; Row.prototype.getMinimumRowHeight = function (columns, doc) { var _this = this; return columns.reduce(function (acc, column) { var cell = _this.cells[column.index]; if (!cell) return 0; var lineHeight = doc.getLineHeight(cell.styles.fontSize); var vPadding = cell.padding('vertical'); var oneRowHeight = vPadding + lineHeight; return oneRowHeight > acc ? oneRowHeight : acc; }, 0); }; return Row; }(); exports.Row = Row; var Cell = /** @class */ function () { function Cell(raw, styles, section) { var _a, _b; this.contentHeight = 0; this.contentWidth = 0; this.wrappedWidth = 0; this.minReadableWidth = 0; this.minWidth = 0; this.width = 0; this.height = 0; this.x = 0; this.y = 0; this.styles = styles; this.section = section; this.raw = raw; var content = raw; if (raw != null && typeof raw === 'object' && !Array.isArray(raw)) { this.rowSpan = raw.rowSpan || 1; this.colSpan = raw.colSpan || 1; content = (_b = (_a = raw.content) !== null && _a !== void 0 ? _a : raw.title) !== null && _b !== void 0 ? _b : raw; if (raw._element) { this.raw = raw._element; } } else { this.rowSpan = 1; this.colSpan = 1; } // Stringify 0 and false, but not undefined or null var text = content != null ? '' + content : ''; var splitRegex = /\r\n|\r|\n/g; this.text = text.split(splitRegex); } Cell.prototype.getTextPos = function () { var y; if (this.styles.valign === 'top') { y = this.y + this.padding('top'); } else if (this.styles.valign === 'bottom') { y = this.y + this.height - this.padding('bottom'); } else { var netHeight = this.height - this.padding('vertical'); y = this.y + netHeight / 2 + this.padding('top'); } var x; if (this.styles.halign === 'right') { x = this.x + this.width - this.padding('right'); } else if (this.styles.halign === 'center') { var netWidth = this.width - this.padding('horizontal'); x = this.x + netWidth / 2 + this.padding('left'); } else { x = this.x + this.padding('left'); } return { x: x, y: y }; }; // TODO (v4): replace parameters with only (lineHeight) Cell.prototype.getContentHeight = function (scaleFactor, lineHeightFactor) { if (lineHeightFactor === void 0) { lineHeightFactor = 1.15; } var lineCount = Array.isArray(this.text) ? this.text.length : 1; var lineHeight = this.styles.fontSize / scaleFactor * lineHeightFactor; var height = lineCount * lineHeight + this.padding('vertical'); return Math.max(height, this.styles.minCellHeight); }; Cell.prototype.padding = function (name) { var padding = (0, common_1.parseSpacing)(this.styles.cellPadding, 0); if (name === 'vertical') { return padding.top + padding.bottom; } else if (name === 'horizontal') { return padding.left + padding.right; } else { return padding[name]; } }; return Cell; }(); exports.Cell = Cell; var Column = /** @class */ function () { function Column(dataKey, raw, index) { this.wrappedWidth = 0; this.minReadableWidth = 0; this.minWidth = 0; this.width = 0; this.dataKey = dataKey; this.raw = raw; this.index = index; } Column.prototype.getMaxCustomCellWidth = function (table) { var max = 0; for (var _i = 0, _a = table.allRows(); _i < _a.length; _i++) { var row = _a[_i]; var cell = row.cells[this.index]; if (cell && typeof cell.styles.cellWidth === 'number') { max = Math.max(max, cell.styles.cellWidth); } } return max; }; return Column; }(); exports.Column = Column; /***/ }, /***/ 356: /***/ function (__unused_webpack_module, exports) { /* eslint-disable @typescript-eslint/no-unused-vars */ Object.defineProperty(exports, "__esModule", { value: true }); exports.assign = void 0; // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign function assign(target, s, s1, s2, s3) { if (target == null) { throw new TypeError('Cannot convert undefined or null to object'); } var to = Object(target); for (var index = 1; index < arguments.length; index++) { // eslint-disable-next-line prefer-rest-params var nextSource = arguments[index]; if (nextSource != null) { // Skip over if undefined or null for (var nextKey in nextSource) { // Avoid bugs when hasOwnProperty is shadowed if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) { to[nextKey] = nextSource[nextKey]; } } } } return to; } exports.assign = assign; /***/ }, /***/ 972: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_62534__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.createTable = void 0; var documentHandler_1 = __nested_webpack_require_62534__(744); var models_1 = __nested_webpack_require_62534__(260); var widthCalculator_1 = __nested_webpack_require_62534__(324); var config_1 = __nested_webpack_require_62534__(796); var polyfills_1 = __nested_webpack_require_62534__(356); function createTable(jsPDFDoc, input) { var doc = new documentHandler_1.DocHandler(jsPDFDoc); var content = parseContent(input, doc.scaleFactor()); var table = new models_1.Table(input, content); (0, widthCalculator_1.calculateWidths)(doc, table); doc.applyStyles(doc.userStyles); return table; } exports.createTable = createTable; function parseContent(input, sf) { var content = input.content; var columns = createColumns(content.columns); // If no head or foot is set, try generating it with content from columns if (content.head.length === 0) { var sectionRow = generateSectionRow(columns, 'head'); if (sectionRow) content.head.push(sectionRow); } if (content.foot.length === 0) { var sectionRow = generateSectionRow(columns, 'foot'); if (sectionRow) content.foot.push(sectionRow); } var theme = input.settings.theme; var styles = input.styles; return { columns: columns, head: parseSection('head', content.head, columns, styles, theme, sf), body: parseSection('body', content.body, columns, styles, theme, sf), foot: parseSection('foot', content.foot, columns, styles, theme, sf) }; } function parseSection(sectionName, sectionRows, columns, styleProps, theme, scaleFactor) { var rowSpansLeftForColumn = {}; var result = sectionRows.map(function (rawRow, rowIndex) { var skippedRowForRowSpans = 0; var cells = {}; var colSpansAdded = 0; var columnSpansLeft = 0; for (var _i = 0, columns_1 = columns; _i < columns_1.length; _i++) { var column = columns_1[_i]; if (rowSpansLeftForColumn[column.index] == null || rowSpansLeftForColumn[column.index].left === 0) { if (columnSpansLeft === 0) { var rawCell = void 0; if (Array.isArray(rawRow)) { rawCell = rawRow[column.index - colSpansAdded - skippedRowForRowSpans]; } else { rawCell = rawRow[column.dataKey]; } var cellInputStyles = {}; if (typeof rawCell === 'object' && !Array.isArray(rawCell)) { cellInputStyles = (rawCell === null || rawCell === void 0 ? void 0 : rawCell.styles) || {}; } var styles = cellStyles(sectionName, column, rowIndex, theme, styleProps, scaleFactor, cellInputStyles); var cell = new models_1.Cell(rawCell, styles, sectionName); // dataKey is not used internally no more but keep for // backwards compat in hooks cells[column.dataKey] = cell; cells[column.index] = cell; columnSpansLeft = cell.colSpan - 1; rowSpansLeftForColumn[column.index] = { left: cell.rowSpan - 1, times: columnSpansLeft }; } else { columnSpansLeft--; colSpansAdded++; } } else { rowSpansLeftForColumn[column.index].left--; columnSpansLeft = rowSpansLeftForColumn[column.index].times; skippedRowForRowSpans++; } } return new models_1.Row(rawRow, rowIndex, sectionName, cells); }); return result; } function generateSectionRow(columns, section) { var sectionRow = {}; columns.forEach(function (col) { if (col.raw != null) { var title = getSectionTitle(section, col.raw); if (title != null) sectionRow[col.dataKey] = title; } }); return Object.keys(sectionRow).length > 0 ? sectionRow : null; } function getSectionTitle(section, column) { if (section === 'head') { if (typeof column === 'object') { return column.header || column.title || null; } else if (typeof column === 'string' || typeof column === 'number') { return column; } } else if (section === 'foot' && typeof column === 'object') { return column.footer; } return null; } function createColumns(columns) { return columns.map(function (input, index) { var _a, _b; var key; if (typeof input === 'object') { key = (_b = (_a = input.dataKey) !== null && _a !== void 0 ? _a : input.key) !== null && _b !== void 0 ? _b : index; } else { key = index; } return new models_1.Column(key, input, index); }); } function cellStyles(sectionName, column, rowIndex, themeName, styles, scaleFactor, cellInputStyles) { var theme = (0, config_1.getTheme)(themeName); var sectionStyles; if (sectionName === 'head') { sectionStyles = styles.headStyles; } else if (sectionName === 'body') { sectionStyles = styles.bodyStyles; } else if (sectionName === 'foot') { sectionStyles = styles.footStyles; } var otherStyles = (0, polyfills_1.assign)({}, theme.table, theme[sectionName], styles.styles, sectionStyles); var columnStyles = styles.columnStyles[column.dataKey] || styles.columnStyles[column.index] || {}; var colStyles = sectionName === 'body' ? columnStyles : {}; var rowStyles = sectionName === 'body' && rowIndex % 2 === 0 ? (0, polyfills_1.assign)({}, theme.alternateRow, styles.alternateRowStyles) : {}; var defaultStyle = (0, config_1.defaultStyles)(scaleFactor); var themeStyles = (0, polyfills_1.assign)({}, defaultStyle, otherStyles, rowStyles, colStyles); return (0, polyfills_1.assign)(themeStyles, cellInputStyles); } /***/ }, /***/ 664: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_69550__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.addPage = exports.drawTable = void 0; var common_1 = __nested_webpack_require_69550__(420); var models_1 = __nested_webpack_require_69550__(260); var documentHandler_1 = __nested_webpack_require_69550__(744); var polyfills_1 = __nested_webpack_require_69550__(356); var autoTableText_1 = __nested_webpack_require_69550__(136); var tablePrinter_1 = __nested_webpack_require_69550__(224); function drawTable(jsPDFDoc, table) { var settings = table.settings; var startY = settings.startY; var margin = settings.margin; var cursor = { x: margin.left, y: startY }; var sectionsHeight = table.getHeadHeight(table.columns) + table.getFootHeight(table.columns); var minTableBottomPos = startY + margin.bottom + sectionsHeight; if (settings.pageBreak === 'avoid') { var rows = table.body; var tableHeight = rows.reduce(function (acc, row) { return acc + row.height; }, 0); minTableBottomPos += tableHeight; } var doc = new documentHandler_1.DocHandler(jsPDFDoc); if (settings.pageBreak === 'always' || settings.startY != null && minTableBottomPos > doc.pageSize().height) { nextPage(doc); cursor.y = margin.top; } table.callWillDrawPageHooks(doc, cursor); var startPos = (0, polyfills_1.assign)({}, cursor); table.startPageNumber = doc.pageNumber(); if (settings.horizontalPageBreak) { // managed flow for split columns printTableWithHorizontalPageBreak(doc, table, startPos, cursor); } else { // normal flow doc.applyStyles(doc.userStyles); if (settings.showHead === 'firstPage' || settings.showHead === 'everyPage') { table.head.forEach(function (row) { return printRow(doc, table, row, cursor, table.columns); }); } doc.applyStyles(doc.userStyles); table.body.forEach(function (row, index) { var isLastRow = index === table.body.length - 1; printFullRow(doc, table, row, isLastRow, startPos, cursor, table.columns); }); doc.applyStyles(doc.userStyles); if (settings.showFoot === 'lastPage' || settings.showFoot === 'everyPage') { table.foot.forEach(function (row) { return printRow(doc, table, row, cursor, table.columns); }); } } (0, common_1.addTableBorder)(doc, table, startPos, cursor); table.callEndPageHooks(doc, cursor); table.finalY = cursor.y; jsPDFDoc.lastAutoTable = table; jsPDFDoc.previousAutoTable = table; // Deprecated if (jsPDFDoc.autoTable) jsPDFDoc.autoTable.previous = table; // Deprecated doc.applyStyles(doc.userStyles); } exports.drawTable = drawTable; function printTableWithHorizontalPageBreak(doc, table, startPos, cursor) { // calculate width of columns and render only those which can fit into page var allColumnsCanFitResult = (0, tablePrinter_1.calculateAllColumnsCanFitInPage)(doc, table); var settings = table.settings; if (settings.horizontalPageBreakBehaviour === 'afterAllRows') { allColumnsCanFitResult.forEach(function (colsAndIndexes, index) { doc.applyStyles(doc.userStyles); // add page to print next columns in new page if (index > 0) { // When adding a page here, make sure not to print the footers // because they were already printed before on this same loop addPage(doc, table, startPos, cursor, colsAndIndexes.columns, true); } else { // print head for selected columns printHead(doc, table, cursor, colsAndIndexes.columns); } // print body & footer for selected columns printBody(doc, table, startPos, cursor, colsAndIndexes.columns); printFoot(doc, table, cursor, colsAndIndexes.columns); }); } else { var lastRowIndexOfLastPage_1 = -1; var firstColumnsToFitResult = allColumnsCanFitResult[0]; var _loop_1 = function () { // Print the first columns, taking note of the last row printed var lastPrintedRowIndex = lastRowIndexOfLastPage_1; if (firstColumnsToFitResult) { doc.applyStyles(doc.userStyles); var firstColumnsToFit = firstColumnsToFitResult.columns; if (lastRowIndexOfLastPage_1 >= 0) { // When adding a page here, make sure not to print the footers // because they were already printed before on this same loop addPage(doc, table, startPos, cursor, firstColumnsToFit, true); } else { printHead(doc, table, cursor, firstColumnsToFit); } lastPrintedRowIndex = printBodyWithoutPageBreaks(doc, table, lastRowIndexOfLastPage_1 + 1, cursor, firstColumnsToFit); printFoot(doc, table, cursor, firstColumnsToFit); } // Check how many rows were printed, so that the next columns would not print more rows than that var maxNumberOfRows = lastPrintedRowIndex - lastRowIndexOfLastPage_1; // Print the next columns, never exceding maxNumberOfRows allColumnsCanFitResult.slice(1).forEach(function (colsAndIndexes) { doc.applyStyles(doc.userStyles); // When adding a page here, make sure not to print the footers // because they were already printed before on this same loop addPage(doc, table, startPos, cursor, colsAndIndexes.columns, true); printBodyWithoutPageBreaks(doc, table, lastRowIndexOfLastPage_1 + 1, cursor, colsAndIndexes.columns, maxNumberOfRows); printFoot(doc, table, cursor, colsAndIndexes.columns); }); lastRowIndexOfLastPage_1 = lastPrintedRowIndex; }; while (lastRowIndexOfLastPage_1 < table.body.length - 1) { _loop_1(); } } } function printHead(doc, table, cursor, columns) { var settings = table.settings; doc.applyStyles(doc.userStyles); if (settings.showHead === 'firstPage' || settings.showHead === 'everyPage') { table.head.forEach(function (row) { return printRow(doc, table, row, cursor, columns); }); } } function printBody(doc, table, startPos, cursor, columns) { doc.applyStyles(doc.userStyles); table.body.forEach(function (row, index) { var isLastRow = index === table.body.length - 1; printFullRow(doc, table, row, isLastRow, startPos, cursor, columns); }); } function printBodyWithoutPageBreaks(doc, table, startRowIndex, cursor, columns, maxNumberOfRows) { doc.applyStyles(doc.userStyles); maxNumberOfRows = maxNumberOfRows !== null && maxNumberOfRows !== void 0 ? maxNumberOfRows : table.body.length; var endRowIndex = Math.min(startRowIndex + maxNumberOfRows, table.body.length); var lastPrintedRowIndex = -1; table.body.slice(startRowIndex, endRowIndex).forEach(function (row, index) { var isLastRow = startRowIndex + index === table.body.length - 1; var remainingSpace = getRemainingPageSpace(doc, table, isLastRow, cursor); if (row.canEntireRowFit(remainingSpace, columns)) { printRow(doc, table, row, cursor, columns); lastPrintedRowIndex = startRowIndex + index; } }); return lastPrintedRowIndex; } function printFoot(doc, table, cursor, columns) { var settings = table.settings; doc.applyStyles(doc.userStyles); if (settings.showFoot === 'lastPage' || settings.showFoot === 'everyPage') { table.foot.forEach(function (row) { return printRow(doc, table, row, cursor, columns); }); } } function getRemainingLineCount(cell, remainingPageSpace, doc) { var lineHeight = doc.getLineHeight(cell.styles.fontSize); var vPadding = cell.padding('vertical'); var remainingLines = Math.floor((remainingPageSpace - vPadding) / lineHeight); return Math.max(0, remainingLines); } function modifyRowToFit(row, remainingPageSpace, table, doc) { var cells = {}; row.spansMultiplePages = true; row.height = 0; var rowHeight = 0; for (var _i = 0, _a = table.columns; _i < _a.length; _i++) { var column = _a[_i]; var cell = row.cells[column.index]; if (!cell) continue; if (!Array.isArray(cell.text)) { cell.text = [cell.text]; } var remainderCell = new models_1.Cell(cell.raw, cell.styles, cell.section); remainderCell = (0, polyfills_1.assign)(remainderCell, cell); remainderCell.text = []; var remainingLineCount = getRemainingLineCount(cell, remainingPageSpace, doc); if (cell.text.length > remainingLineCount) { remainderCell.text = cell.text.splice(remainingLineCount, cell.text.length); } var scaleFactor = doc.scaleFactor(); var lineHeightFactor = doc.getLineHeightFactor(); cell.contentHeight = cell.getContentHeight(scaleFactor, lineHeightFactor); if (cell.contentHeight >= remainingPageSpace) { cell.contentHeight = remainingPageSpace; remainderCell.styles.minCellHeight -= remainingPageSpace; } if (cell.contentHeight > row.height) { row.height = cell.contentHeight; } remainderCell.contentHeight = remainderCell.getContentHeight(scaleFactor, lineHeightFactor); if (remainderCell.contentHeight > rowHeight) { rowHeight = remainderCell.contentHeight; } cells[column.index] = remainderCell; } var remainderRow = new models_1.Row(row.raw, -1, row.section, cells, true); remainderRow.height = rowHeight; for (var _b = 0, _c = table.columns; _b < _c.length; _b++) { var column = _c[_b]; var remainderCell = remainderRow.cells[column.index]; if (remainderCell) { remainderCell.height = remainderRow.height; } var cell = row.cells[column.index]; if (cell) { cell.height = row.height; } } return remainderRow; } function shouldPrintOnCurrentPage(doc, row, remainingPageSpace, table) { var pageHeight = doc.pageSize().height; var margin = table.settings.margin; var marginHeight = margin.top + margin.bottom; var maxRowHeight = pageHeight - marginHeight; if (row.section === 'body') { // Should also take into account that head and foot is not // on every page with some settings maxRowHeight -= table.getHeadHeight(table.columns) + table.getFootHeight(table.columns); } var minRowHeight = row.getMinimumRowHeight(table.columns, doc); var minRowFits = minRowHeight < remainingPageSpace; if (minRowHeight > maxRowHeight) { console.error("Will not be able to print row ".concat(row.index, " correctly since it's minimum height is larger than page height")); return true; } if (!minRowFits) { return false; } var rowHasRowSpanCell = row.hasRowSpan(table.columns); var rowHigherThanPage = row.getMaxCellHeight(table.columns) > maxRowHeight; if (rowHigherThanPage) { if (rowHasRowSpanCell) { console.error("The content of row ".concat(row.index, " will not be drawn correctly since drawing rows with a height larger than the page height and has cells with rowspans is not supported.")); } return true; } if (rowHasRowSpanCell) { // Currently a new page is required whenever a rowspan row don't fit a page. return false; } if (table.settings.rowPageBreak === 'avoid') { return false; } // In all other cases print the row on current page return true; } function printFullRow(doc, table, row, isLastRow, startPos, cursor, columns) { var remainingSpace = getRemainingPageSpace(doc, table, isLastRow, cursor); if (row.canEntireRowFit(remainingSpace, columns)) { // The row fits in the current page printRow(doc, table, row, cursor, columns); } else if (shouldPrintOnCurrentPage(doc, row, remainingSpace, table)) { // The row gets split in two here, each piece in one page var remainderRow = modifyRowToFit(row, remainingSpace, table, doc); printRow(doc, table, row, cursor, columns); addPage(doc, table, startPos, cursor, columns); printFullRow(doc, table, remainderRow, isLastRow, startPos, cursor, columns); } else { // The row get printed entirelly on the next page addPage(doc, table, startPos, cursor, columns); printFullRow(doc, table, row, isLastRow, startPos, cursor, columns); } } function printRow(doc, table, row, cursor, columns) { cursor.x = table.settings.margin.left; for (var _i = 0, columns_1 = columns; _i < columns_1.length; _i++) { var column = columns_1[_i]; var cell = row.cells[column.index]; if (!cell) { cursor.x += column.width; continue; } doc.applyStyles(cell.styles); cell.x = cursor.x; cell.y = cursor.y; var result = table.callCellHooks(doc, table.hooks.willDrawCell, cell, row, column, cursor); if (result === false) { cursor.x += column.width; continue; } drawCellRect(doc, cell, cursor); var textPos = cell.getTextPos(); (0, autoTableText_1.default)(cell.text, textPos.x, textPos.y, { halign: cell.styles.halign, valign: cell.styles.valign, maxWidth: Math.ceil(cell.width - cell.padding('left') - cell.padding('right')) }, doc.getDocument()); table.callCellHooks(doc, table.hooks.didDrawCell, cell, row, column, cursor); cursor.x += column.width; } cursor.y += row.height; } function drawCellRect(doc, cell, cursor) { var cellStyles = cell.styles; // https://github.com/simonbengtsson/jsPDF-AutoTable/issues/774 // TODO (v4): better solution? doc.getDocument().setFillColor(doc.getDocument().getFillColor()); if (typeof cellStyles.lineWidth === 'number') { // Draw cell background with normal borders var fillStyle = (0, common_1.getFillStyle)(cellStyles.lineWidth, cellStyles.fillColor); if (fillStyle) { doc.rect(cell.x, cursor.y, cell.width, cell.height, fillStyle); } } else if (typeof cellStyles.lineWidth === 'object') { // Draw cell background if (cellStyles.fillColor) { doc.rect(cell.x, cursor.y, cell.width, cell.height, 'F'); } // Draw cell individual borders drawCellBorders(doc, cell, cursor, cellStyles.lineWidth); } } /** * Draw all specified borders. Borders are centered on cell's edge and lengthened * to overlap with neighbours to create sharp corners. * @param doc * @param cell * @param cursor * @param fillColor * @param lineWidth */ function drawCellBorders(doc, cell, cursor, lineWidth) { var x1, y1, x2, y2; if (lineWidth.top) { x1 = cursor.x; y1 = cursor.y; x2 = cursor.x + cell.width; y2 = cursor.y; if (lineWidth.right) { x2 += 0.5 * lineWidth.right; } if (lineWidth.left) { x1 -= 0.5 * lineWidth.left; } drawLine(lineWidth.top, x1, y1, x2, y2); } if (lineWidth.bottom) { x1 = cursor.x; y1 = cursor.y + cell.height; x2 = cursor.x + cell.width; y2 = cursor.y + cell.height; if (lineWidth.right) { x2 += 0.5 * lineWidth.right; } if (lineWidth.left) { x1 -= 0.5 * lineWidth.left; } drawLine(lineWidth.bottom, x1, y1, x2, y2); } if (lineWidth.left) { x1 = cursor.x; y1 = cursor.y; x2 = cursor.x; y2 = cursor.y + cell.height; if (lineWidth.top) { y1 -= 0.5 * lineWidth.top; } if (lineWidth.bottom) { y2 += 0.5 * lineWidth.bottom; } drawLine(lineWidth.left, x1, y1, x2, y2); } if (lineWidth.right) { x1 = cursor.x + cell.width; y1 = cursor.y; x2 = cursor.x + cell.width; y2 = cursor.y + cell.height; if (lineWidth.top) { y1 -= 0.5 * lineWidth.top; } if (lineWidth.bottom) { y2 += 0.5 * lineWidth.bottom; } drawLine(lineWidth.right, x1, y1, x2, y2); } function drawLine(width, x1, y1, x2, y2) { doc.getDocument().setLineWidth(width); doc.getDocument().line(x1, y1, x2, y2, 'S'); } } function getRemainingPageSpace(doc, table, isLastRow, cursor) { var bottomContentHeight = table.settings.margin.bottom; var showFoot = table.settings.showFoot; if (showFoot === 'everyPage' || showFoot === 'lastPage' && isLastRow) { bottomContentHeight += table.getFootHeight(table.columns); } return doc.pageSize().height - cursor.y - bottomContentHeight; } function addPage(doc, table, startPos, cursor, columns, suppressFooter) { if (columns === void 0) { columns = []; } if (suppressFooter === void 0) { suppressFooter = false; } doc.applyStyles(doc.userStyles); if (table.settings.showFoot === 'everyPage' && !suppressFooter) { table.foot.forEach(function (row) { return printRow(doc, table, row, cursor, columns); }); } // Add user content just before adding new page ensure it will // be drawn above other things on the page table.callEndPageHooks(doc, cursor); var margin = table.settings.margin; (0, common_1.addTableBorder)(doc, table, startPos, cursor); nextPage(doc); table.pageNumber++; table.pageCount++; cursor.x = margin.left; cursor.y = margin.top; startPos.y = margin.top; // call didAddPage hooks before any content is added to the page table.callWillDrawPageHooks(doc, cursor); if (table.settings.showHead === 'everyPage') { table.head.forEach(function (row) { return printRow(doc, table, row, cursor, columns); }); doc.applyStyles(doc.userStyles); } } exports.addPage = addPage; function nextPage(doc) { var current = doc.pageNumber(); doc.setPage(current + 1); var newCurrent = doc.pageNumber(); if (newCurrent === current) { doc.addPage(); return true; } return false; } /***/ }, /***/ 224: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_91176__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.calculateAllColumnsCanFitInPage = void 0; var common_1 = __nested_webpack_require_91176__(420); // get columns can be fit into page function getColumnsCanFitInPage(doc, table, config) { var _a; if (config === void 0) { config = {}; } // Get page width var remainingWidth = (0, common_1.getPageAvailableWidth)(doc, table); // Get column data key to repeat var repeatColumnsMap = new Map(); var colIndexes = []; var columns = []; var horizontalPageBreakRepeat = []; table.settings.horizontalPageBreakRepeat; if (Array.isArray(table.settings.horizontalPageBreakRepeat)) { horizontalPageBreakRepeat = table.settings.horizontalPageBreakRepeat; // It can be a single value of type string or number (even number: 0) } else if (typeof table.settings.horizontalPageBreakRepeat === 'string' || typeof table.settings.horizontalPageBreakRepeat === 'number') { horizontalPageBreakRepeat = [table.settings.horizontalPageBreakRepeat]; } // Code to repeat the given column in split pages horizontalPageBreakRepeat.forEach(function (field) { var col = table.columns.find(function (item) { return item.dataKey === field || item.index === field; }); if (col && !repeatColumnsMap.has(col.index)) { repeatColumnsMap.set(col.index, true); colIndexes.push(col.index); columns.push(table.columns[col.index]); remainingWidth -= col.wrappedWidth; } }); var first = true; var i = (_a = config === null || config === void 0 ? void 0 : config.start) !== null && _a !== void 0 ? _a : 0; // make sure couter is initiated outside the loop while (i < table.columns.length) { // Prevent duplicates if (repeatColumnsMap.has(i)) { i++; continue; } var colWidth = table.columns[i].wrappedWidth; // Take at least one column even if it doesn't fit if (first || remainingWidth >= colWidth) { first = false; colIndexes.push(i); columns.push(table.columns[i]); remainingWidth -= colWidth; } else { break; } i++; } return { colIndexes: colIndexes, columns: columns, lastIndex: i - 1 }; } function calculateAllColumnsCanFitInPage(doc, table) { var allResults = []; for (var i = 0; i < table.columns.length; i++) { var result = getColumnsCanFitInPage(doc, table, { start: i }); if (result.columns.length) { allResults.push(result); i = result.lastIndex; } } return allResults; } exports.calculateAllColumnsCanFitInPage = calculateAllColumnsCanFitInPage; /***/ }, /***/ 324: /***/ function (__unused_webpack_module, exports, __nested_webpack_require_94646__) { Object.defineProperty(exports, "__esModule", { value: true }); exports.ellipsize = exports.resizeColumns = exports.calculateWidths = void 0; var common_1 = __nested_webpack_require_94646__(420); /** * Calculate the column widths */ function calculateWidths(doc, table) { calculate(doc, table); var resizableColumns = []; var initialTableWidth = 0; table.columns.forEach(function (column) { var customWidth = column.getMaxCustomCellWidth(table); if (customWidth) { // final column width column.width = customWidth; } else { // initial column width (will be resized) column.width = column.wrappedWidth; resizableColumns.push(column); } initialTableWidth += column.width; }); // width difference that needs to be distributed var resizeWidth = table.getWidth(doc.pageSize().width) - initialTableWidth; // first resize attempt: with respect to minReadableWidth and minWidth if (resizeWidth) { resizeWidth = resizeColumns(resizableColumns, resizeWidth, function (column) { return Math.max(column.minReadableWidth, column.minWidth); }); } // second resize attempt: ignore minReadableWidth but respect minWidth if (resizeWidth) { resizeWidth = resizeColumns(resizableColumns, resizeWidth, function (column) { return column.minWidth; }); } resizeWidth = Math.abs(resizeWidth); if (!table.settings.horizontalPageBreak && resizeWidth > 0.1 / doc.scaleFactor()) { // Table can't get smaller due to custom-width or minWidth restrictions // We can't really do much here. Up to user to for example // reduce font size, increase page size or remove custom cell widths // to allow more columns to be reduced in size resizeWidth = resizeWidth < 1 ? resizeWidth : Math.round(resizeWidth); console.warn("Of the table content, ".concat(resizeWidth, " units width could not fit page")); } applyColSpans(table); fitContent(table, doc); applyRowSpans(table); } exports.calculateWidths = calculateWidths; function calculate(doc, table) { var sf = doc.scaleFactor(); var horizontalPageBreak = table.settings.horizontalPageBreak; var availablePageWidth = (0, common_1.getPageAvailableWidth)(doc, table); table.allRows().forEach(function (row) { for (var _i = 0, _a = table.columns; _i < _a.length; _i++) { var column = _a[_i]; var cell = row.cells[column.index]; if (!cell) continue; var hooks = table.hooks.didParseCell; table.callCellHooks(doc, hooks, cell, row, column, null); var padding = cell.padding('horizontal'); cell.contentWidth = (0, common_1.getStringWidth)(cell.text, cell.styles, doc) + padding; // Using [^\S\u00A0] instead of \s ensures that we split the text on all // whitespace except non-breaking spaces (\u00A0). We need to preserve // them in the split process to ensure correct word separation and width // calculation. var longestWordWidth = (0, common_1.getStringWidth)(cell.text.join(' ').split(/[^\S\u00A0]+/), cell.styles, doc); cell.minReadableWidth = longestWordWidth + cell.padding('horizontal'); if (typeof cell.styles.cellWidth === 'number') { cell.minWidth = cell.styles.cellWidth; cell.wrappedWidth = cell.styles.cellWidth; } else if (cell.styles.cellWidth === 'wrap' || horizontalPageBreak === true) { // cell width should not be more than available page width if (cell.contentWidth > availablePageWidth) { cell.minWidth = availablePageWidth; cell.wrappedWidth = availablePageWidth; } else { cell.minWidth = cell.contentWidth; cell.wrappedWidth = cell.contentWidth; } } else { // auto var defaultMinWidth = 10 / sf; cell.minWidth = cell.styles.minCellWidth || defaultMinWidth; cell.wrappedWidth = cell.contentWidth; if (cell.minWidth > cell.wrappedWidth) { cell.wrappedWidth = cell.minWidth; } } } }); table.allRows().forEach(function (row) { for (var _i = 0, _a = table.columns; _i < _a.length; _i++) { var column = _a[_i]; var cell = row.cells[column.index]; // For now we ignore the minWidth and wrappedWidth of colspan cells when calculating colspan widths. // Could probably be improved upon however. if (cell && cell.colSpan === 1) { column.wrappedWidth = Math.max(column.wrappedWidth, cell.wrappedWidth); column.minWidth = Math.max(column.minWidth, cell.minWidth); column.minReadableWidth = Math.max(column.minReadableWidth, cell.minReadableWidth); } else { // Respect cellWidth set in columnStyles even if there is no cells for this column // or if the column only have colspan cells. Since the width of colspan cells // does not affect the width of columns, setting columnStyles cellWidth enables the // user to at least do it manually. // Note that this is not perfect for now since for example row and table styles are // not accounted for var columnStyles = table.styles.columnStyles[column.dataKey] || table.styles.columnStyles[column.index] || {}; var cellWidth = columnStyles.cellWidth || columnStyles.minCellWidth; if (cellWidth && typeof cellWidth === 'number') { column.minWidth = cellWidth; column.wrappedWidth = cellWidth; } } if (cell) { // Make sure all columns get at least min width even though width calculations are not based on them if (cell.colSpan > 1 && !column.minWidth) { column.minWidth = cell.minWidth; } if (cell.colSpan > 1 && !column.wrappedWidth) { column.wrappedWidth = cell.minWidth; } } } }); } /** * Distribute resizeWidth on passed resizable columns */ function resizeColumns(columns, resizeWidth, getMinWidth) { var initialResizeWidth = resizeWidth; var sumWrappedWidth = columns.reduce(function (acc, column) { return acc + column.wrappedWidth; }, 0); for (var i = 0; i < columns.length; i++) { var column = columns[i]; var ratio = column.wrappedWidth / sumWrappedWidth; var suggestedChange = initialResizeWidth * ratio; var suggestedWidth = column.width + suggestedChange; var minWidth = getMinWidth(column); var newWidth = suggestedWidth < minWidth ? minWidth : suggestedWidth; resizeWidth -= newWidth - column.width; column.width = newWidth; } resizeWidth = Math.round(resizeWidth * 1e10) / 1e10; // Run the resizer again if there's remaining width needs // to be distributed and there're columns that can be resized if (resizeWidth) { var resizableColumns = columns.filter(function (column) { return resizeWidth < 0 ? column.width > getMinWidth(column) // check if column can shrink : true; // check if column can grow }); if (resizableColumns.length) { resizeWidth = resizeColumns(resizableColumns, resizeWidth, getMinWidth); } } return resizeWidth; } exports.resizeColumns = resizeColumns; function applyRowSpans(table) { var rowSpanCells = {}; var colRowSpansLeft = 1; var all = table.allRows(); for (var rowIndex = 0; rowIndex < all.length; rowIndex++) { var row = all[rowIndex]; for (var _i = 0, _a = table.columns; _i < _a.length; _i++) { var column = _a[_i]; var data = rowSpanCells[column.index]; if (colRowSpansLeft > 1) { colRowSpansLeft--; delete row.cells[column.index]; } else if (data) { data.cell.height += row.height; colRowSpansLeft = data.cell.colSpan; delete row.cells[column.index]; data.left--; if (data.left <= 1) { delete rowSpanCells[column.index]; } } else { var cell = row.cells[column.index]; if (!cell) { continue; } cell.height = row.height; if (cell.rowSpan > 1) { var remaining = all.length - rowIndex; var left = cell.rowSpan > remaining ? remaining : cell.rowSpan; rowSpanCells[column.index] = { cell: cell, left: left, row: row }; } } } } } function applyColSpans(table) { var all = table.allRows(); for (var rowIndex = 0; rowIndex < all.length; rowIndex++) { var row = all[rowIndex]; var colSpanCell = null; var combinedColSpanWidth = 0; var colSpansLeft = 0; for (var columnIndex = 0; columnIndex < table.columns.length; columnIndex++) { var column = table.columns[columnIndex]; // Width and colspan colSpansLeft -= 1; if (colSpansLeft > 1 && table.columns[columnIndex + 1]) { combinedColSpanWidth += column.width; delete row.cells[column.index]; } else if (colSpanCell) { var cell = colSpanCell; delete row.cells[column.index]; colSpanCell = null; cell.width = column.width + combinedColSpanWidth; } else { var cell = row.cells[column.index]; if (!cell) continue; colSpansLeft = cell.colSpan; combinedColSpanWidth = 0; if (cell.colSpan > 1) { colSpanCell = cell; combinedColSpanWidth += column.width; continue; } cell.width = column.width + combinedColSpanWidth; } } } } function fitContent(table, doc) { var rowSpanHeight = { count: 0, height: 0 }; for (var _i = 0, _a = table.allRows(); _i < _a.length; _i++) { var row = _a[_i]; for (var _b = 0, _c = table.columns; _b < _c.length; _b++) { var column = _c[_b]; var cell = row.cells[column.index]; if (!cell) continue; doc.applyStyles(cell.styles, true); var textSpace = cell.width - cell.padding('horizontal'); if (cell.styles.overflow === 'linebreak') { // Add one pt to textSpace to fix rounding error cell.text = doc.splitTextToSize(cell.text, textSpace + 1 / doc.scaleFactor(), { fontSize: cell.styles.fontSize }); } else if (cell.styles.overflow === 'ellipsize') { cell.text = ellipsize(cell.text, textSpace, cell.styles, doc, '...'); } else if (cell.styles.overflow === 'hidden') { cell.text = ellipsize(cell.text, textSpace, cell.styles, doc, ''); } else if (typeof cell.styles.overflow === 'function') { var result = cell.styles.overflow(cell.text, textSpace); if (typeof result === 'string') { cell.text = [result]; } else { cell.text = result; } } cell.contentHeight = cell.getContentHeight(doc.scaleFactor(), doc.getLineHeightFactor()); var realContentHeight = cell.contentHeight / cell.rowSpan; if (cell.rowSpan > 1 && rowSpanHeight.count * rowSpanHeight.height < realContentHeight * cell.rowSpan) { rowSpanHeight = { height: realContentHeight, count: cell.rowSpan }; } else if (rowSpanHeight && rowSpanHeight.count > 0) { if (rowSpanHeight.height > realContentHeight) { realContentHeight = rowSpanHeight.height; } } if (realContentHeight > row.height) { row.height = realContentHeight; } } rowSpanHeight.count--; } } function ellipsize(text, width, styles, doc, overflow) { return text.map(function (str) { return ellipsizeStr(str, width, styles, doc, overflow); }); } exports.ellipsize = ellipsize; function ellipsizeStr(text, width, styles, doc, overflow) { var precision = 10000 * doc.scaleFactor(); width = Math.ceil(width * precision) / precision; if (width >= (0, common_1.getStringWidth)(text, styles, doc)) { return text; } while (width < (0, common_1.getStringWidth)(text + overflow, styles, doc)) { if (text.length <= 1) { break; } text = text.substring(0, text.length - 1); } return text.trim() + overflow; } /***/ }, /***/ 964: /***/ function (module) { if (typeof __WEBPACK_EXTERNAL_MODULE__964__ === 'undefined') { var e = new Error("Cannot find module 'undefined'"); e.code = 'MODULE_NOT_FOUND'; throw e; } module.exports = __WEBPACK_EXTERNAL_MODULE__964__; /***/ } /******/ }; /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __nested_webpack_require_110317__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_110317__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. !function () { var exports = __webpack_exports__; Object.defineProperty(exports, "__esModule", { value: true }); exports.Cell = exports.Column = exports.Row = exports.Table = exports.CellHookData = exports.__drawTable = exports.__createTable = exports.applyPlugin = void 0; var applyPlugin_1 = __nested_webpack_require_110317__(340); var inputParser_1 = __nested_webpack_require_110317__(776); var tableDrawer_1 = __nested_webpack_require_110317__(664); var tableCalculator_1 = __nested_webpack_require_110317__(972); var models_1 = __nested_webpack_require_110317__(260); Object.defineProperty(exports, "Table", { enumerable: true, get: function () { return models_1.Table; } }); var HookData_1 = __nested_webpack_require_110317__(172); Object.defineProperty(exports, "CellHookData", { enumerable: true, get: function () { return HookData_1.CellHookData; } }); var models_2 = __nested_webpack_require_110317__(260); Object.defineProperty(exports, "Cell", { enumerable: true, get: function () { return models_2.Cell; } }); Object.defineProperty(exports, "Column", { enumerable: true, get: function () { return models_2.Column; } }); Object.defineProperty(exports, "Row", { enumerable: true, get: function () { return models_2.Row; } }); // export { applyPlugin } didn't export applyPlugin // to index.d.ts for some reason function applyPlugin(jsPDF) { (0, applyPlugin_1.default)(jsPDF); } exports.applyPlugin = applyPlugin; function autoTable(d, options) { var input = (0, inputParser_1.parseInput)(d, options); var table = (0, tableCalculator_1.createTable)(d, input); (0, tableDrawer_1.drawTable)(d, table); } // Experimental export function __createTable(d, options) { var input = (0, inputParser_1.parseInput)(d, options); return (0, tableCalculator_1.createTable)(d, input); } exports.__createTable = __createTable; function __drawTable(d, table) { (0, tableDrawer_1.drawTable)(d, table); } exports.__drawTable = __drawTable; try { // eslint-disable-next-line @typescript-eslint/no-var-requires var jsPDF = __nested_webpack_require_110317__(964); // Webpack imported jspdf instead of jsPDF for some reason // while it seemed to work everywhere else. if (jsPDF.jsPDF) jsPDF = jsPDF.jsPDF; applyPlugin(jsPDF); } catch (error) {// Importing jspdf in nodejs environments does not work as of jspdf // 1.5.3 so we need to silence potential errors to support using for example // the nodejs jspdf dist files with the exported applyPlugin } exports["default"] = autoTable; }(); /******/ return __webpack_exports__; /******/ }() ); }); /***/ }), /***/ 20114: /*!*************************************************!*\ !*** ./node_modules/jspdf/dist/jspdf.es.min.js ***! \*************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "AcroForm": () => (/* binding */ St), /* harmony export */ "AcroFormAppearance": () => (/* binding */ At), /* harmony export */ "AcroFormButton": () => (/* binding */ mt), /* harmony export */ "AcroFormCheckBox": () => (/* binding */ wt), /* harmony export */ "AcroFormChoiceField": () => (/* binding */ ft), /* harmony export */ "AcroFormComboBox": () => (/* binding */ pt), /* harmony export */ "AcroFormEditBox": () => (/* binding */ gt), /* harmony export */ "AcroFormListBox": () => (/* binding */ dt), /* harmony export */ "AcroFormPasswordField": () => (/* binding */ Lt), /* harmony export */ "AcroFormPushButton": () => (/* binding */ vt), /* harmony export */ "AcroFormRadioButton": () => (/* binding */ bt), /* harmony export */ "AcroFormTextField": () => (/* binding */ Nt), /* harmony export */ "GState": () => (/* binding */ j), /* harmony export */ "ShadingPattern": () => (/* binding */ B), /* harmony export */ "TilingPattern": () => (/* binding */ M), /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), /* harmony export */ "jsPDF": () => (/* binding */ E) /* harmony export */ }); /* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 29287); /* harmony import */ var fflate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! fflate */ 73759); /** @license * * jsPDF - PDF Document creation from JavaScript * Version 2.5.2 Built on 2024-09-17T13:29:57.859Z * CommitID 00000000 * * Copyright (c) 2010-2021 James Hall , https://github.com/MrRio/jsPDF * 2015-2021 yWorks GmbH, http://www.yworks.com * 2015-2021 Lukas Holländer , https://github.com/HackbrettXXX * 2016-2018 Aras Abbasi * 2010 Aaron Spike, https://github.com/acspike * 2012 Willow Systems Corporation, https://github.com/willowsystems * 2012 Pablo Hess, https://github.com/pablohess * 2012 Florian Jenett, https://github.com/fjenett * 2013 Warren Weckesser, https://github.com/warrenweckesser * 2013 Youssef Beddad, https://github.com/lifof * 2013 Lee Driscoll, https://github.com/lsdriscoll * 2013 Stefan Slonevskiy, https://github.com/stefslon * 2013 Jeremy Morel, https://github.com/jmorel * 2013 Christoph Hartmann, https://github.com/chris-rock * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria * 2014 James Makes, https://github.com/dollaruw * 2014 Diego Casorran, https://github.com/diegocr * 2014 Steven Spungin, https://github.com/Flamenco * 2014 Kenneth Glassey, https://github.com/Gavvers * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * Contributor(s): * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, * kim3er, mfo, alnorth, Flamenco */ var n = function () { return "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : this; }(); function i() { n.console && "function" == typeof n.console.log && n.console.log.apply(n.console, arguments); } var a = { log: i, warn: function (t) { n.console && ("function" == typeof n.console.warn ? n.console.warn.apply(n.console, arguments) : i.call(null, arguments)); }, error: function (t) { n.console && ("function" == typeof n.console.error ? n.console.error.apply(n.console, arguments) : i(t)); } }; function o(t, e, r) { var n = new XMLHttpRequest(); n.open("GET", t), n.responseType = "blob", n.onload = function () { l(n.response, e, r); }, n.onerror = function () { a.error("could not download file"); }, n.send(); } function s(t) { var e = new XMLHttpRequest(); e.open("HEAD", t, !1); try { e.send(); } catch (t) {} return e.status >= 200 && e.status <= 299; } function c(t) { try { t.dispatchEvent(new MouseEvent("click")); } catch (r) { var e = document.createEvent("MouseEvents"); e.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), t.dispatchEvent(e); } } var u, h, l = n.saveAs || ("object" !== ("undefined" == typeof window ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(window)) || window !== n ? function () {} : "undefined" != typeof HTMLAnchorElement && "download" in HTMLAnchorElement.prototype ? function (t, e, r) { var i = n.URL || n.webkitURL, a = document.createElement("a"); e = e || t.name || "download", a.download = e, a.rel = "noopener", "string" == typeof t ? (a.href = t, a.origin !== location.origin ? s(a.href) ? o(t, e, r) : c(a, a.target = "_blank") : c(a)) : (a.href = i.createObjectURL(t), setTimeout(function () { i.revokeObjectURL(a.href); }, 4e4), setTimeout(function () { c(a); }, 0)); } : "msSaveOrOpenBlob" in navigator ? function (e, r, n) { if (r = r || e.name || "download", "string" == typeof e) { if (s(e)) o(e, r, n);else { var i = document.createElement("a"); i.href = e, i.target = "_blank", setTimeout(function () { c(i); }); } } else navigator.msSaveOrOpenBlob(function (e, r) { return void 0 === r ? r = { autoBom: !1 } : "object" !== (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(r) && (a.warn("Deprecated: Expected third argument to be a object"), r = { autoBom: !r }), r.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob([String.fromCharCode(65279), e], { type: e.type }) : e; }(e, n), r); } : function (e, r, i, a) { if ((a = a || open("", "_blank")) && (a.document.title = a.document.body.innerText = "downloading..."), "string" == typeof e) return o(e, r, i); var s = "application/octet-stream" === e.type, c = /constructor/i.test(n.HTMLElement) || n.safari, u = /CriOS\/[\d]+/.test(navigator.userAgent); if ((u || s && c) && "object" === ("undefined" == typeof FileReader ? "undefined" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(FileReader))) { var h = new FileReader(); h.onloadend = function () { var t = h.result; t = u ? t : t.replace(/^data:[^;]*;/, "data:attachment/file;"), a ? a.location.href = t : location = t, a = null; }, h.readAsDataURL(e); } else { var l = n.URL || n.webkitURL, f = l.createObjectURL(e); a ? a.location = f : location.href = f, a = null, setTimeout(function () { l.revokeObjectURL(f); }, 4e4); } }); /** * A class to parse color values * @author Stoyan Stefanov * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} * @license Use it if you like it */ function f(t) { var e; t = t || "", this.ok = !1, "#" == t.charAt(0) && (t = t.substr(1, 6)); t = { aliceblue: "f0f8ff", antiquewhite: "faebd7", aqua: "00ffff", aquamarine: "7fffd4", azure: "f0ffff", beige: "f5f5dc", bisque: "ffe4c4", black: "000000", blanchedalmond: "ffebcd", blue: "0000ff", blueviolet: "8a2be2", brown: "a52a2a", burlywood: "deb887", cadetblue: "5f9ea0", chartreuse: "7fff00", chocolate: "d2691e", coral: "ff7f50", cornflowerblue: "6495ed", cornsilk: "fff8dc", crimson: "dc143c", cyan: "00ffff", darkblue: "00008b", darkcyan: "008b8b", darkgoldenrod: "b8860b", darkgray: "a9a9a9", darkgreen: "006400", darkkhaki: "bdb76b", darkmagenta: "8b008b", darkolivegreen: "556b2f", darkorange: "ff8c00", darkorchid: "9932cc", darkred: "8b0000", darksalmon: "e9967a", darkseagreen: "8fbc8f", darkslateblue: "483d8b", darkslategray: "2f4f4f", darkturquoise: "00ced1", darkviolet: "9400d3", deeppink: "ff1493", deepskyblue: "00bfff", dimgray: "696969", dodgerblue: "1e90ff", feldspar: "d19275", firebrick: "b22222", floralwhite: "fffaf0", forestgreen: "228b22", fuchsia: "ff00ff", gainsboro: "dcdcdc", ghostwhite: "f8f8ff", gold: "ffd700", goldenrod: "daa520", gray: "808080", green: "008000", greenyellow: "adff2f", honeydew: "f0fff0", hotpink: "ff69b4", indianred: "cd5c5c", indigo: "4b0082", ivory: "fffff0", khaki: "f0e68c", lavender: "e6e6fa", lavenderblush: "fff0f5", lawngreen: "7cfc00", lemonchiffon: "fffacd", lightblue: "add8e6", lightcoral: "f08080", lightcyan: "e0ffff", lightgoldenrodyellow: "fafad2", lightgrey: "d3d3d3", lightgreen: "90ee90", lightpink: "ffb6c1", lightsalmon: "ffa07a", lightseagreen: "20b2aa", lightskyblue: "87cefa", lightslateblue: "8470ff", lightslategray: "778899", lightsteelblue: "b0c4de", lightyellow: "ffffe0", lime: "00ff00", limegreen: "32cd32", linen: "faf0e6", magenta: "ff00ff", maroon: "800000", mediumaquamarine: "66cdaa", mediumblue: "0000cd", mediumorchid: "ba55d3", mediumpurple: "9370d8", mediumseagreen: "3cb371", mediumslateblue: "7b68ee", mediumspringgreen: "00fa9a", mediumturquoise: "48d1cc", mediumvioletred: "c71585", midnightblue: "191970", mintcream: "f5fffa", mistyrose: "ffe4e1", moccasin: "ffe4b5", navajowhite: "ffdead", navy: "000080", oldlace: "fdf5e6", olive: "808000", olivedrab: "6b8e23", orange: "ffa500", orangered: "ff4500", orchid: "da70d6", palegoldenrod: "eee8aa", palegreen: "98fb98", paleturquoise: "afeeee", palevioletred: "d87093", papayawhip: "ffefd5", peachpuff: "ffdab9", peru: "cd853f", pink: "ffc0cb", plum: "dda0dd", powderblue: "b0e0e6", purple: "800080", red: "ff0000", rosybrown: "bc8f8f", royalblue: "4169e1", saddlebrown: "8b4513", salmon: "fa8072", sandybrown: "f4a460", seagreen: "2e8b57", seashell: "fff5ee", sienna: "a0522d", silver: "c0c0c0", skyblue: "87ceeb", slateblue: "6a5acd", slategray: "708090", snow: "fffafa", springgreen: "00ff7f", steelblue: "4682b4", tan: "d2b48c", teal: "008080", thistle: "d8bfd8", tomato: "ff6347", turquoise: "40e0d0", violet: "ee82ee", violetred: "d02090", wheat: "f5deb3", white: "ffffff", whitesmoke: "f5f5f5", yellow: "ffff00", yellowgreen: "9acd32" }[t = (t = t.replace(/ /g, "")).toLowerCase()] || t; for (var r = [{ re: /^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/, example: ["rgb(123, 234, 45)", "rgb(255,234,245)"], process: function (t) { return [parseInt(t[1]), parseInt(t[2]), parseInt(t[3])]; } }, { re: /^(\w{2})(\w{2})(\w{2})$/, example: ["#00ff00", "336699"], process: function (t) { return [parseInt(t[1], 16), parseInt(t[2], 16), parseInt(t[3], 16)]; } }, { re: /^(\w{1})(\w{1})(\w{1})$/, example: ["#fb0", "f0f"], process: function (t) { return [parseInt(t[1] + t[1], 16), parseInt(t[2] + t[2], 16), parseInt(t[3] + t[3], 16)]; } }], n = 0; n < r.length; n++) { var i = r[n].re, a = r[n].process, o = i.exec(t); o && (e = a(o), this.r = e[0], this.g = e[1], this.b = e[2], this.ok = !0); } this.r = this.r < 0 || isNaN(this.r) ? 0 : this.r > 255 ? 255 : this.r, this.g = this.g < 0 || isNaN(this.g) ? 0 : this.g > 255 ? 255 : this.g, this.b = this.b < 0 || isNaN(this.b) ? 0 : this.b > 255 ? 255 : this.b, this.toRGB = function () { return "rgb(" + this.r + ", " + this.g + ", " + this.b + ")"; }, this.toHex = function () { var t = this.r.toString(16), e = this.g.toString(16), r = this.b.toString(16); return 1 == t.length && (t = "0" + t), 1 == e.length && (e = "0" + e), 1 == r.length && (r = "0" + r), "#" + t + e + r; }; } /** * @license * Joseph Myers does not specify a particular license for his work. * * Author: Joseph Myers * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js * * Modified by: Owen Leong */ function d(t, e) { var r = t[0], n = t[1], i = t[2], a = t[3]; r = g(r, n, i, a, e[0], 7, -680876936), a = g(a, r, n, i, e[1], 12, -389564586), i = g(i, a, r, n, e[2], 17, 606105819), n = g(n, i, a, r, e[3], 22, -1044525330), r = g(r, n, i, a, e[4], 7, -176418897), a = g(a, r, n, i, e[5], 12, 1200080426), i = g(i, a, r, n, e[6], 17, -1473231341), n = g(n, i, a, r, e[7], 22, -45705983), r = g(r, n, i, a, e[8], 7, 1770035416), a = g(a, r, n, i, e[9], 12, -1958414417), i = g(i, a, r, n, e[10], 17, -42063), n = g(n, i, a, r, e[11], 22, -1990404162), r = g(r, n, i, a, e[12], 7, 1804603682), a = g(a, r, n, i, e[13], 12, -40341101), i = g(i, a, r, n, e[14], 17, -1502002290), r = m(r, n = g(n, i, a, r, e[15], 22, 1236535329), i, a, e[1], 5, -165796510), a = m(a, r, n, i, e[6], 9, -1069501632), i = m(i, a, r, n, e[11], 14, 643717713), n = m(n, i, a, r, e[0], 20, -373897302), r = m(r, n, i, a, e[5], 5, -701558691), a = m(a, r, n, i, e[10], 9, 38016083), i = m(i, a, r, n, e[15], 14, -660478335), n = m(n, i, a, r, e[4], 20, -405537848), r = m(r, n, i, a, e[9], 5, 568446438), a = m(a, r, n, i, e[14], 9, -1019803690), i = m(i, a, r, n, e[3], 14, -187363961), n = m(n, i, a, r, e[8], 20, 1163531501), r = m(r, n, i, a, e[13], 5, -1444681467), a = m(a, r, n, i, e[2], 9, -51403784), i = m(i, a, r, n, e[7], 14, 1735328473), r = v(r, n = m(n, i, a, r, e[12], 20, -1926607734), i, a, e[5], 4, -378558), a = v(a, r, n, i, e[8], 11, -2022574463), i = v(i, a, r, n, e[11], 16, 1839030562), n = v(n, i, a, r, e[14], 23, -35309556), r = v(r, n, i, a, e[1], 4, -1530992060), a = v(a, r, n, i, e[4], 11, 1272893353), i = v(i, a, r, n, e[7], 16, -155497632), n = v(n, i, a, r, e[10], 23, -1094730640), r = v(r, n, i, a, e[13], 4, 681279174), a = v(a, r, n, i, e[0], 11, -358537222), i = v(i, a, r, n, e[3], 16, -722521979), n = v(n, i, a, r, e[6], 23, 76029189), r = v(r, n, i, a, e[9], 4, -640364487), a = v(a, r, n, i, e[12], 11, -421815835), i = v(i, a, r, n, e[15], 16, 530742520), r = b(r, n = v(n, i, a, r, e[2], 23, -995338651), i, a, e[0], 6, -198630844), a = b(a, r, n, i, e[7], 10, 1126891415), i = b(i, a, r, n, e[14], 15, -1416354905), n = b(n, i, a, r, e[5], 21, -57434055), r = b(r, n, i, a, e[12], 6, 1700485571), a = b(a, r, n, i, e[3], 10, -1894986606), i = b(i, a, r, n, e[10], 15, -1051523), n = b(n, i, a, r, e[1], 21, -2054922799), r = b(r, n, i, a, e[8], 6, 1873313359), a = b(a, r, n, i, e[15], 10, -30611744), i = b(i, a, r, n, e[6], 15, -1560198380), n = b(n, i, a, r, e[13], 21, 1309151649), r = b(r, n, i, a, e[4], 6, -145523070), a = b(a, r, n, i, e[11], 10, -1120210379), i = b(i, a, r, n, e[2], 15, 718787259), n = b(n, i, a, r, e[9], 21, -343485551), t[0] = _(r, t[0]), t[1] = _(n, t[1]), t[2] = _(i, t[2]), t[3] = _(a, t[3]); } function p(t, e, r, n, i, a) { return e = _(_(e, t), _(n, a)), _(e << i | e >>> 32 - i, r); } function g(t, e, r, n, i, a, o) { return p(e & r | ~e & n, t, e, i, a, o); } function m(t, e, r, n, i, a, o) { return p(e & n | r & ~n, t, e, i, a, o); } function v(t, e, r, n, i, a, o) { return p(e ^ r ^ n, t, e, i, a, o); } function b(t, e, r, n, i, a, o) { return p(r ^ (e | ~n), t, e, i, a, o); } function y(t) { var e, r = t.length, n = [1732584193, -271733879, -1732584194, 271733878]; for (e = 64; e <= t.length; e += 64) d(n, w(t.substring(e - 64, e))); t = t.substring(e - 64); var i = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; for (e = 0; e < t.length; e++) i[e >> 2] |= t.charCodeAt(e) << (e % 4 << 3); if (i[e >> 2] |= 128 << (e % 4 << 3), e > 55) for (d(n, i), e = 0; e < 16; e++) i[e] = 0; return i[14] = 8 * r, d(n, i), n; } function w(t) { var e, r = []; for (e = 0; e < 64; e += 4) r[e >> 2] = t.charCodeAt(e) + (t.charCodeAt(e + 1) << 8) + (t.charCodeAt(e + 2) << 16) + (t.charCodeAt(e + 3) << 24); return r; } u = n.atob.bind(n), h = n.btoa.bind(n); var N = "0123456789abcdef".split(""); function L(t) { for (var e = "", r = 0; r < 4; r++) e += N[t >> 8 * r + 4 & 15] + N[t >> 8 * r & 15]; return e; } function A(t) { return String.fromCharCode((255 & t) >> 0, (65280 & t) >> 8, (16711680 & t) >> 16, (4278190080 & t) >> 24); } function x(t) { return y(t).map(A).join(""); } var S = "5d41402abc4b2a76b9719d911017c592" != function (t) { for (var e = 0; e < t.length; e++) t[e] = L(t[e]); return t.join(""); }(y("hello")); function _(t, e) { if (S) { var r = (65535 & t) + (65535 & e); return (t >> 16) + (e >> 16) + (r >> 16) << 16 | 65535 & r; } return t + e & 4294967295; } /** * @license * FPDF is released under a permissive license: there is no usage restriction. * You may embed it freely in your application (commercial or not), with or * without modifications. * * Reference: http://www.fpdf.org/en/script/script37.php */ function P(t, e) { var r, n, i, a; if (t !== r) { for (var o = (i = t, a = 1 + (256 / t.length >> 0), new Array(a + 1).join(i)), s = [], c = 0; c < 256; c++) s[c] = c; var u = 0; for (c = 0; c < 256; c++) { var h = s[c]; u = (u + h + o.charCodeAt(c)) % 256, s[c] = s[u], s[u] = h; } r = t, n = s; } else s = n; var l = e.length, f = 0, d = 0, p = ""; for (c = 0; c < l; c++) d = (d + (h = s[f = (f + 1) % 256])) % 256, s[f] = s[d], s[d] = h, o = s[(s[f] + s[d]) % 256], p += String.fromCharCode(e.charCodeAt(c) ^ o); return p; } /** * @license * Licensed under the MIT License. * http://opensource.org/licenses/mit-license * Author: Owen Leong (@owenl131) * Date: 15 Oct 2020 * References: * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt * https://github.com/foliojs/pdfkit/blob/master/lib/security.js * http://www.fpdf.org/en/script/script37.php */ var k = { print: 4, modify: 8, copy: 16, "annot-forms": 32 }; function I(t, e, r, n) { this.v = 1, this.r = 2; var i = 192; t.forEach(function (t) { if (void 0 !== k.perm) throw new Error("Invalid permission: " + t); i += k[t]; }), this.padding = "(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz"; var a = (e + this.padding).substr(0, 32), o = (r + this.padding).substr(0, 32); this.O = this.processOwnerPassword(a, o), this.P = -(1 + (255 ^ i)), this.encryptionKey = x(a + this.O + this.lsbFirstWord(this.P) + this.hexToBytes(n)).substr(0, 5), this.U = P(this.encryptionKey, this.padding); } function F(t) { if (/[^\u0000-\u00ff]/.test(t)) throw new Error("Invalid PDF Name Object: " + t + ", Only accept ASCII characters."); for (var e = "", r = t.length, n = 0; n < r; n++) { var i = t.charCodeAt(n); if (i < 33 || 35 === i || 37 === i || 40 === i || 41 === i || 47 === i || 60 === i || 62 === i || 91 === i || 93 === i || 123 === i || 125 === i || i > 126) e += "#" + ("0" + i.toString(16)).slice(-2);else e += t[n]; } return e; } function C(e) { if ("object" !== (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(e)) throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)"); var r = {}; this.subscribe = function (t, e, n) { if (n = n || !1, "string" != typeof t || "function" != typeof e || "boolean" != typeof n) throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)"); r.hasOwnProperty(t) || (r[t] = {}); var i = Math.random().toString(35); return r[t][i] = [e, !!n], i; }, this.unsubscribe = function (t) { for (var e in r) if (r[e][t]) return delete r[e][t], 0 === Object.keys(r[e]).length && delete r[e], !0; return !1; }, this.publish = function (t) { if (r.hasOwnProperty(t)) { var i = Array.prototype.slice.call(arguments, 1), o = []; for (var s in r[t]) { var c = r[t][s]; try { c[0].apply(e, i); } catch (t) { n.console && a.error("jsPDF PubSub Error", t.message, t); } c[1] && o.push(s); } o.length && o.forEach(this.unsubscribe); } }, this.getTopics = function () { return r; }; } function j(t) { if (!(this instanceof j)) return new j(t); var e = "opacity,stroke-opacity".split(","); for (var r in t) t.hasOwnProperty(r) && e.indexOf(r) >= 0 && (this[r] = t[r]); this.id = "", this.objectNumber = -1; } function O(t, e) { this.gState = t, this.matrix = e, this.id = "", this.objectNumber = -1; } function B(t, e, r, n, i) { if (!(this instanceof B)) return new B(t, e, r, n, i); this.type = "axial" === t ? 2 : 3, this.coords = e, this.colors = r, O.call(this, n, i); } function M(t, e, r, n, i) { if (!(this instanceof M)) return new M(t, e, r, n, i); this.boundingBox = t, this.xStep = e, this.yStep = r, this.stream = "", this.cloneIndex = 0, O.call(this, n, i); } function E(e) { var r, i = "string" == typeof arguments[0] ? arguments[0] : "p", o = arguments[1], s = arguments[2], c = arguments[3], u = [], d = 1, p = 16, g = "S", m = null; "object" === (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(e = e || {}) && (i = e.orientation, o = e.unit || o, s = e.format || s, c = e.compress || e.compressPdf || c, null !== (m = e.encryption || null) && (m.userPassword = m.userPassword || "", m.ownerPassword = m.ownerPassword || "", m.userPermissions = m.userPermissions || []), d = "number" == typeof e.userUnit ? Math.abs(e.userUnit) : 1, void 0 !== e.precision && (r = e.precision), void 0 !== e.floatPrecision && (p = e.floatPrecision), g = e.defaultPathOperation || "S"), u = e.filters || (!0 === c ? ["FlateEncode"] : u), o = o || "mm", i = ("" + (i || "P")).toLowerCase(); var v = e.putOnlyUsedFonts || !1, b = {}, y = { internal: {}, __private__: {} }; y.__private__.PubSub = C; var w = "1.3", N = y.__private__.getPdfVersion = function () { return w; }; y.__private__.setPdfVersion = function (t) { w = t; }; var L = { a0: [2383.94, 3370.39], a1: [1683.78, 2383.94], a2: [1190.55, 1683.78], a3: [841.89, 1190.55], a4: [595.28, 841.89], a5: [419.53, 595.28], a6: [297.64, 419.53], a7: [209.76, 297.64], a8: [147.4, 209.76], a9: [104.88, 147.4], a10: [73.7, 104.88], b0: [2834.65, 4008.19], b1: [2004.09, 2834.65], b2: [1417.32, 2004.09], b3: [1000.63, 1417.32], b4: [708.66, 1000.63], b5: [498.9, 708.66], b6: [354.33, 498.9], b7: [249.45, 354.33], b8: [175.75, 249.45], b9: [124.72, 175.75], b10: [87.87, 124.72], c0: [2599.37, 3676.54], c1: [1836.85, 2599.37], c2: [1298.27, 1836.85], c3: [918.43, 1298.27], c4: [649.13, 918.43], c5: [459.21, 649.13], c6: [323.15, 459.21], c7: [229.61, 323.15], c8: [161.57, 229.61], c9: [113.39, 161.57], c10: [79.37, 113.39], dl: [311.81, 623.62], letter: [612, 792], "government-letter": [576, 756], legal: [612, 1008], "junior-legal": [576, 360], ledger: [1224, 792], tabloid: [792, 1224], "credit-card": [153, 243] }; y.__private__.getPageFormats = function () { return L; }; var A = y.__private__.getPageFormat = function (t) { return L[t]; }; s = s || "a4"; var x = { COMPAT: "compat", ADVANCED: "advanced" }, S = x.COMPAT; function _() { this.saveGraphicsState(), lt(new Vt(_t, 0, 0, -_t, 0, Rr() * _t).toString() + " cm"), this.setFontSize(this.getFontSize() / _t), g = "n", S = x.ADVANCED; } function P() { this.restoreGraphicsState(), g = "S", S = x.COMPAT; } var k = y.__private__.combineFontStyleAndFontWeight = function (t, e) { if ("bold" == t && "normal" == e || "bold" == t && 400 == e || "normal" == t && "italic" == e || "bold" == t && "italic" == e) throw new Error("Invalid Combination of fontweight and fontstyle"); return e && (t = 400 == e || "normal" === e ? "italic" === t ? "italic" : "normal" : 700 != e && "bold" !== e || "normal" !== t ? (700 == e ? "bold" : e) + "" + t : "bold"), t; }; y.advancedAPI = function (t) { var e = S === x.COMPAT; return e && _.call(this), "function" != typeof t || (t(this), e && P.call(this)), this; }, y.compatAPI = function (t) { var e = S === x.ADVANCED; return e && P.call(this), "function" != typeof t || (t(this), e && _.call(this)), this; }, y.isAdvancedAPI = function () { return S === x.ADVANCED; }; var O, q = function (t) { if (S !== x.ADVANCED) throw new Error(t + " is only available in 'advanced' API mode. You need to call advancedAPI() first."); }, D = y.roundToPrecision = y.__private__.roundToPrecision = function (t, e) { var n = r || e; if (isNaN(t) || isNaN(n)) throw new Error("Invalid argument passed to jsPDF.roundToPrecision"); return t.toFixed(n).replace(/0+$/, ""); }; O = y.hpf = y.__private__.hpf = "number" == typeof p ? function (t) { if (isNaN(t)) throw new Error("Invalid argument passed to jsPDF.hpf"); return D(t, p); } : "smart" === p ? function (t) { if (isNaN(t)) throw new Error("Invalid argument passed to jsPDF.hpf"); return D(t, t > -1 && t < 1 ? 16 : 5); } : function (t) { if (isNaN(t)) throw new Error("Invalid argument passed to jsPDF.hpf"); return D(t, 16); }; var R = y.f2 = y.__private__.f2 = function (t) { if (isNaN(t)) throw new Error("Invalid argument passed to jsPDF.f2"); return D(t, 2); }, T = y.__private__.f3 = function (t) { if (isNaN(t)) throw new Error("Invalid argument passed to jsPDF.f3"); return D(t, 3); }, U = y.scale = y.__private__.scale = function (t) { if (isNaN(t)) throw new Error("Invalid argument passed to jsPDF.scale"); return S === x.COMPAT ? t * _t : S === x.ADVANCED ? t : void 0; }, z = function (t) { return S === x.COMPAT ? Rr() - t : S === x.ADVANCED ? t : void 0; }, H = function (t) { return U(z(t)); }; y.__private__.setPrecision = y.setPrecision = function (t) { "number" == typeof parseInt(t, 10) && (r = parseInt(t, 10)); }; var W, V = "00000000000000000000000000000000", G = y.__private__.getFileId = function () { return V; }, Y = y.__private__.setFileId = function (t) { return V = void 0 !== t && /^[a-fA-F0-9]{32}$/.test(t) ? t.toUpperCase() : V.split("").map(function () { return "ABCDEF0123456789".charAt(Math.floor(16 * Math.random())); }).join(""), null !== m && (Ye = new I(m.userPermissions, m.userPassword, m.ownerPassword, V)), V; }; y.setFileId = function (t) { return Y(t), this; }, y.getFileId = function () { return G(); }; var J = y.__private__.convertDateToPDFDate = function (t) { var e = t.getTimezoneOffset(), r = e < 0 ? "+" : "-", n = Math.floor(Math.abs(e / 60)), i = Math.abs(e % 60), a = [r, Q(n), "'", Q(i), "'"].join(""); return ["D:", t.getFullYear(), Q(t.getMonth() + 1), Q(t.getDate()), Q(t.getHours()), Q(t.getMinutes()), Q(t.getSeconds()), a].join(""); }, X = y.__private__.convertPDFDateToDate = function (t) { var e = parseInt(t.substr(2, 4), 10), r = parseInt(t.substr(6, 2), 10) - 1, n = parseInt(t.substr(8, 2), 10), i = parseInt(t.substr(10, 2), 10), a = parseInt(t.substr(12, 2), 10), o = parseInt(t.substr(14, 2), 10); return new Date(e, r, n, i, a, o, 0); }, K = y.__private__.setCreationDate = function (t) { var e; if (void 0 === t && (t = new Date()), t instanceof Date) e = J(t);else { if (!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t)) throw new Error("Invalid argument passed to jsPDF.setCreationDate"); e = t; } return W = e; }, Z = y.__private__.getCreationDate = function (t) { var e = W; return "jsDate" === t && (e = X(W)), e; }; y.setCreationDate = function (t) { return K(t), this; }, y.getCreationDate = function (t) { return Z(t); }; var $, Q = y.__private__.padd2 = function (t) { return ("0" + parseInt(t)).slice(-2); }, tt = y.__private__.padd2Hex = function (t) { return ("00" + (t = t.toString())).substr(t.length); }, et = 0, rt = [], nt = [], it = 0, at = [], ot = [], st = !1, ct = nt, ut = function () { et = 0, it = 0, nt = [], rt = [], at = [], Qt = Kt(), te = Kt(); }; y.__private__.setCustomOutputDestination = function (t) { st = !0, ct = t; }; var ht = function (t) { st || (ct = t); }; y.__private__.resetCustomOutputDestination = function () { st = !1, ct = nt; }; var lt = y.__private__.out = function (t) { return t = t.toString(), it += t.length + 1, ct.push(t), ct; }, ft = y.__private__.write = function (t) { return lt(1 === arguments.length ? t.toString() : Array.prototype.join.call(arguments, " ")); }, dt = y.__private__.getArrayBuffer = function (t) { for (var e = t.length, r = new ArrayBuffer(e), n = new Uint8Array(r); e--;) n[e] = t.charCodeAt(e); return r; }, pt = [["Helvetica", "helvetica", "normal", "WinAnsiEncoding"], ["Helvetica-Bold", "helvetica", "bold", "WinAnsiEncoding"], ["Helvetica-Oblique", "helvetica", "italic", "WinAnsiEncoding"], ["Helvetica-BoldOblique", "helvetica", "bolditalic", "WinAnsiEncoding"], ["Courier", "courier", "normal", "WinAnsiEncoding"], ["Courier-Bold", "courier", "bold", "WinAnsiEncoding"], ["Courier-Oblique", "courier", "italic", "WinAnsiEncoding"], ["Courier-BoldOblique", "courier", "bolditalic", "WinAnsiEncoding"], ["Times-Roman", "times", "normal", "WinAnsiEncoding"], ["Times-Bold", "times", "bold", "WinAnsiEncoding"], ["Times-Italic", "times", "italic", "WinAnsiEncoding"], ["Times-BoldItalic", "times", "bolditalic", "WinAnsiEncoding"], ["ZapfDingbats", "zapfdingbats", "normal", null], ["Symbol", "symbol", "normal", null]]; y.__private__.getStandardFonts = function () { return pt; }; var gt = e.fontSize || 16; y.__private__.setFontSize = y.setFontSize = function (t) { return gt = S === x.ADVANCED ? t / _t : t, this; }; var mt, vt = y.__private__.getFontSize = y.getFontSize = function () { return S === x.COMPAT ? gt : gt * _t; }, bt = e.R2L || !1; y.__private__.setR2L = y.setR2L = function (t) { return bt = t, this; }, y.__private__.getR2L = y.getR2L = function () { return bt; }; var yt, wt = y.__private__.setZoomMode = function (t) { var e = [void 0, null, "fullwidth", "fullheight", "fullpage", "original"]; if (/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(t)) mt = t;else if (isNaN(t)) { if (-1 === e.indexOf(t)) throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "' + t + '" is not recognized.'); mt = t; } else mt = parseInt(t, 10); }; y.__private__.getZoomMode = function () { return mt; }; var Nt, Lt = y.__private__.setPageMode = function (t) { if (-1 == [void 0, null, "UseNone", "UseOutlines", "UseThumbs", "FullScreen"].indexOf(t)) throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "' + t + '" is not recognized.'); yt = t; }; y.__private__.getPageMode = function () { return yt; }; var At = y.__private__.setLayoutMode = function (t) { if (-1 == [void 0, null, "continuous", "single", "twoleft", "tworight", "two"].indexOf(t)) throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "' + t + '" is not recognized.'); Nt = t; }; y.__private__.getLayoutMode = function () { return Nt; }, y.__private__.setDisplayMode = y.setDisplayMode = function (t, e, r) { return wt(t), At(e), Lt(r), this; }; var xt = { title: "", subject: "", author: "", keywords: "", creator: "" }; y.__private__.getDocumentProperty = function (t) { if (-1 === Object.keys(xt).indexOf(t)) throw new Error("Invalid argument passed to jsPDF.getDocumentProperty"); return xt[t]; }, y.__private__.getDocumentProperties = function () { return xt; }, y.__private__.setDocumentProperties = y.setProperties = y.setDocumentProperties = function (t) { for (var e in xt) xt.hasOwnProperty(e) && t[e] && (xt[e] = t[e]); return this; }, y.__private__.setDocumentProperty = function (t, e) { if (-1 === Object.keys(xt).indexOf(t)) throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty"); return xt[t] = e; }; var St, _t, Pt, kt, It, Ft = {}, Ct = {}, jt = [], Ot = {}, Bt = {}, Mt = {}, Et = {}, qt = null, Dt = 0, Rt = [], Tt = new C(y), Ut = e.hotfixes || [], zt = {}, Ht = {}, Wt = [], Vt = function t(e, r, n, i, a, o) { if (!(this instanceof t)) return new t(e, r, n, i, a, o); isNaN(e) && (e = 1), isNaN(r) && (r = 0), isNaN(n) && (n = 0), isNaN(i) && (i = 1), isNaN(a) && (a = 0), isNaN(o) && (o = 0), this._matrix = [e, r, n, i, a, o]; }; Object.defineProperty(Vt.prototype, "sx", { get: function () { return this._matrix[0]; }, set: function (t) { this._matrix[0] = t; } }), Object.defineProperty(Vt.prototype, "shy", { get: function () { return this._matrix[1]; }, set: function (t) { this._matrix[1] = t; } }), Object.defineProperty(Vt.prototype, "shx", { get: function () { return this._matrix[2]; }, set: function (t) { this._matrix[2] = t; } }), Object.defineProperty(Vt.prototype, "sy", { get: function () { return this._matrix[3]; }, set: function (t) { this._matrix[3] = t; } }), Object.defineProperty(Vt.prototype, "tx", { get: function () { return this._matrix[4]; }, set: function (t) { this._matrix[4] = t; } }), Object.defineProperty(Vt.prototype, "ty", { get: function () { return this._matrix[5]; }, set: function (t) { this._matrix[5] = t; } }), Object.defineProperty(Vt.prototype, "a", { get: function () { return this._matrix[0]; }, set: function (t) { this._matrix[0] = t; } }), Object.defineProperty(Vt.prototype, "b", { get: function () { return this._matrix[1]; }, set: function (t) { this._matrix[1] = t; } }), Object.defineProperty(Vt.prototype, "c", { get: function () { return this._matrix[2]; }, set: function (t) { this._matrix[2] = t; } }), Object.defineProperty(Vt.prototype, "d", { get: function () { return this._matrix[3]; }, set: function (t) { this._matrix[3] = t; } }), Object.defineProperty(Vt.prototype, "e", { get: function () { return this._matrix[4]; }, set: function (t) { this._matrix[4] = t; } }), Object.defineProperty(Vt.prototype, "f", { get: function () { return this._matrix[5]; }, set: function (t) { this._matrix[5] = t; } }), Object.defineProperty(Vt.prototype, "rotation", { get: function () { return Math.atan2(this.shx, this.sx); } }), Object.defineProperty(Vt.prototype, "scaleX", { get: function () { return this.decompose().scale.sx; } }), Object.defineProperty(Vt.prototype, "scaleY", { get: function () { return this.decompose().scale.sy; } }), Object.defineProperty(Vt.prototype, "isIdentity", { get: function () { return 1 === this.sx && 0 === this.shy && 0 === this.shx && 1 === this.sy && 0 === this.tx && 0 === this.ty; } }), Vt.prototype.join = function (t) { return [this.sx, this.shy, this.shx, this.sy, this.tx, this.ty].map(O).join(t); }, Vt.prototype.multiply = function (t) { var e = t.sx * this.sx + t.shy * this.shx, r = t.sx * this.shy + t.shy * this.sy, n = t.shx * this.sx + t.sy * this.shx, i = t.shx * this.shy + t.sy * this.sy, a = t.tx * this.sx + t.ty * this.shx + this.tx, o = t.tx * this.shy + t.ty * this.sy + this.ty; return new Vt(e, r, n, i, a, o); }, Vt.prototype.decompose = function () { var t = this.sx, e = this.shy, r = this.shx, n = this.sy, i = this.tx, a = this.ty, o = Math.sqrt(t * t + e * e), s = (t /= o) * r + (e /= o) * n; r -= t * s, n -= e * s; var c = Math.sqrt(r * r + n * n); return s /= c, t * (n /= c) < e * (r /= c) && (t = -t, e = -e, s = -s, o = -o), { scale: new Vt(o, 0, 0, c, 0, 0), translate: new Vt(1, 0, 0, 1, i, a), rotate: new Vt(t, e, -e, t, 0, 0), skew: new Vt(1, 0, s, 1, 0, 0) }; }, Vt.prototype.toString = function (t) { return this.join(" "); }, Vt.prototype.inversed = function () { var t = this.sx, e = this.shy, r = this.shx, n = this.sy, i = this.tx, a = this.ty, o = 1 / (t * n - e * r), s = n * o, c = -e * o, u = -r * o, h = t * o; return new Vt(s, c, u, h, -s * i - u * a, -c * i - h * a); }, Vt.prototype.applyToPoint = function (t) { var e = t.x * this.sx + t.y * this.shx + this.tx, r = t.x * this.shy + t.y * this.sy + this.ty; return new Cr(e, r); }, Vt.prototype.applyToRectangle = function (t) { var e = this.applyToPoint(t), r = this.applyToPoint(new Cr(t.x + t.w, t.y + t.h)); return new jr(e.x, e.y, r.x - e.x, r.y - e.y); }, Vt.prototype.clone = function () { var t = this.sx, e = this.shy, r = this.shx, n = this.sy, i = this.tx, a = this.ty; return new Vt(t, e, r, n, i, a); }, y.Matrix = Vt; var Gt = y.matrixMult = function (t, e) { return e.multiply(t); }, Yt = new Vt(1, 0, 0, 1, 0, 0); y.unitMatrix = y.identityMatrix = Yt; var Jt = function (t, e) { if (!Bt[t]) { var r = (e instanceof B ? "Sh" : "P") + (Object.keys(Ot).length + 1).toString(10); e.id = r, Bt[t] = r, Ot[r] = e, Tt.publish("addPattern", e); } }; y.ShadingPattern = B, y.TilingPattern = M, y.addShadingPattern = function (t, e) { return q("addShadingPattern()"), Jt(t, e), this; }, y.beginTilingPattern = function (t) { q("beginTilingPattern()"), Br(t.boundingBox[0], t.boundingBox[1], t.boundingBox[2] - t.boundingBox[0], t.boundingBox[3] - t.boundingBox[1], t.matrix); }, y.endTilingPattern = function (t, e) { q("endTilingPattern()"), e.stream = ot[$].join("\n"), Jt(t, e), Tt.publish("endTilingPattern", e), Wt.pop().restore(); }; var Xt = y.__private__.newObject = function () { var t = Kt(); return Zt(t, !0), t; }, Kt = y.__private__.newObjectDeferred = function () { return et++, rt[et] = function () { return it; }, et; }, Zt = function (t, e) { return e = "boolean" == typeof e && e, rt[t] = it, e && lt(t + " 0 obj"), t; }, $t = y.__private__.newAdditionalObject = function () { var t = { objId: Kt(), content: "" }; return at.push(t), t; }, Qt = Kt(), te = Kt(), ee = y.__private__.decodeColorString = function (t) { var e = t.split(" "); if (2 !== e.length || "g" !== e[1] && "G" !== e[1]) { if (5 === e.length && ("k" === e[4] || "K" === e[4])) { e = [(1 - e[0]) * (1 - e[3]), (1 - e[1]) * (1 - e[3]), (1 - e[2]) * (1 - e[3]), "r"]; } } else { var r = parseFloat(e[0]); e = [r, r, r, "r"]; } for (var n = "#", i = 0; i < 3; i++) n += ("0" + Math.floor(255 * parseFloat(e[i])).toString(16)).slice(-2); return n; }, re = y.__private__.encodeColorString = function (e) { var r; "string" == typeof e && (e = { ch1: e }); var n = e.ch1, i = e.ch2, a = e.ch3, o = e.ch4, s = "draw" === e.pdfColorType ? ["G", "RG", "K"] : ["g", "rg", "k"]; if ("string" == typeof n && "#" !== n.charAt(0)) { var c = new f(n); if (c.ok) n = c.toHex();else if (!/^\d*\.?\d*$/.test(n)) throw new Error('Invalid color "' + n + '" passed to jsPDF.encodeColorString.'); } if ("string" == typeof n && /^#[0-9A-Fa-f]{3}$/.test(n) && (n = "#" + n[1] + n[1] + n[2] + n[2] + n[3] + n[3]), "string" == typeof n && /^#[0-9A-Fa-f]{6}$/.test(n)) { var u = parseInt(n.substr(1), 16); n = u >> 16 & 255, i = u >> 8 & 255, a = 255 & u; } if (void 0 === i || void 0 === o && n === i && i === a) { if ("string" == typeof n) r = n + " " + s[0];else switch (e.precision) { case 2: r = R(n / 255) + " " + s[0]; break; case 3: default: r = T(n / 255) + " " + s[0]; } } else if (void 0 === o || "object" === (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__["default"])(o)) { if (o && !isNaN(o.a) && 0 === o.a) return r = ["1.", "1.", "1.", s[1]].join(" "); if ("string" == typeof n) r = [n, i, a, s[1]].join(" ");else switch (e.precision) { case 2: r = [R(n / 255), R(i / 255), R(a / 255), s[1]].join(" "); break; default: case 3: r = [T(n / 255), T(i / 255), T(a / 255), s[1]].join(" "); } } else if ("string" == typeof n) r = [n, i, a, o, s[2]].join(" ");else switch (e.precision) { case 2: r = [R(n), R(i), R(a), R(o), s[2]].join(" "); break; case 3: default: r = [T(n), T(i), T(a), T(o), s[2]].join(" "); } return r; }, ne = y.__private__.getFilters = function () { return u; }, ie = y.__private__.putStream = function (t) { var e = (t = t || {}).data || "", r = t.filters || ne(), n = t.alreadyAppliedFilters || [], i = t.addLength1 || !1, a = e.length, o = t.objectId, s = function (t) { return t; }; if (null !== m && void 0 === o) throw new Error("ObjectId must be passed to putStream for file encryption"); null !== m && (s = Ye.encryptor(o, 0)); var c = {}; !0 === r && (r = ["FlateEncode"]); var u = t.additionalKeyValues || [], h = (c = void 0 !== E.API.processDataByFilters ? E.API.processDataByFilters(e, r) : { data: e, reverseChain: [] }).reverseChain + (Array.isArray(n) ? n.join(" ") : n.toString()); if (0 !== c.data.length && (u.push({ key: "Length", value: c.data.length }), !0 === i && u.push({ key: "Length1", value: a })), 0 != h.length) if (h.split("/").length - 1 == 1) u.push({ key: "Filter", value: h });else { u.push({ key: "Filter", value: "[" + h + "]" }); for (var l = 0; l < u.length; l += 1) if ("DecodeParms" === u[l].key) { for (var f = [], d = 0; d < c.reverseChain.split("/").length - 1; d += 1) f.push("null"); f.push(u[l].value), u[l].value = "[" + f.join(" ") + "]"; } } lt("<<"); for (var p = 0; p < u.length; p++) lt("/" + u[p].key + " " + u[p].value); lt(">>"), 0 !== c.data.length && (lt("stream"), lt(s(c.data)), lt("endstream")); }, ae = y.__private__.putPage = function (t) { var e = t.number, r = t.data, n = t.objId, i = t.contentsObjId; Zt(n, !0), lt("<>"), lt("endobj"); var a = r.join("\n"); return S === x.ADVANCED && (a += "\nQ"), Zt(i, !0), ie({ data: a, filters: ne(), objectId: i }), lt("endobj"), n; }, oe = y.__private__.putPages = function () { var t, e, r = []; for (t = 1; t <= Dt; t++) Rt[t].objId = Kt(), Rt[t].contentsObjId = Kt(); for (t = 1; t <= Dt; t++) r.push(ae({ number: t, data: ot[t], objId: Rt[t].objId, contentsObjId: Rt[t].contentsObjId, mediaBox: Rt[t].mediaBox, cropBox: Rt[t].cropBox, bleedBox: Rt[t].bleedBox, trimBox: Rt[t].trimBox, artBox: Rt[t].artBox, userUnit: Rt[t].userUnit, rootDictionaryObjId: Qt, resourceDictionaryObjId: te })); Zt(Qt, !0), lt("<>"), lt("endobj"), Tt.publish("postPutPages"); }, se = function (t) { Tt.publish("putFont", { font: t, out: lt, newObject: Xt, putStream: ie }), !0 !== t.isAlreadyPutted && (t.objectNumber = Xt(), lt("<<"), lt("/Type /Font"), lt("/BaseFont /" + F(t.postScriptName)), lt("/Subtype /Type1"), "string" == typeof t.encoding && lt("/Encoding /" + t.encoding), lt("/FirstChar 32"), lt("/LastChar 255"), lt(">>"), lt("endobj")); }, ce = function () { for (var t in Ft) Ft.hasOwnProperty(t) && (!1 === v || !0 === v && b.hasOwnProperty(t)) && se(Ft[t]); }, ue = function (t) { t.objectNumber = Xt(); var e = []; e.push({ key: "Type", value: "/XObject" }), e.push({ key: "Subtype", value: "/Form" }), e.push({ key: "BBox", value: "[" + [O(t.x), O(t.y), O(t.x + t.width), O(t.y + t.height)].join(" ") + "]" }), e.push({ key: "Matrix", value: "[" + t.matrix.toString() + "]" }); var r = t.pages[1].join("\n"); ie({ data: r, additionalKeyValues: e, objectId: t.objectNumber }), lt("endobj"); }, he = function () { for (var t in zt) zt.hasOwnProperty(t) && ue(zt[t]); }, le = function (t, e) { var r, n = [], i = 1 / (e - 1); for (r = 0; r < 1; r += i) n.push(r); if (n.push(1), 0 != t[0].offset) { var a = { offset: 0, color: t[0].color }; t.unshift(a); } if (1 != t[t.length - 1].offset) { var o = { offset: 1, color: t[t.length - 1].color }; t.push(o); } for (var s = "", c = 0, u = 0; u < n.length; u++) { for (r = n[u]; r > t[c + 1].offset;) c++; var h = t[c].offset, l = (r - h) / (t[c + 1].offset - h), f = t[c].color, d = t[c + 1].color; s += tt(Math.round((1 - l) * f[0] + l * d[0]).toString(16)) + tt(Math.round((1 - l) * f[1] + l * d[1]).toString(16)) + tt(Math.round((1 - l) * f[2] + l * d[2]).toString(16)); } return s.trim(); }, fe = function (t, e) { e || (e = 21); var r = Xt(), n = le(t.colors, e), i = []; i.push({ key: "FunctionType", value: "0" }), i.push({ key: "Domain", value: "[0.0 1.0]" }), i.push({ key: "Size", value: "[" + e + "]" }), i.push({ key: "BitsPerSample", value: "8" }), i.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), i.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), ie({ data: n, additionalKeyValues: i, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: r }), lt("endobj"), t.objectNumber = Xt(), lt("<< /ShadingType " + t.type), lt("/ColorSpace /DeviceRGB"); var a = "/Coords [" + O(parseFloat(t.coords[0])) + " " + O(parseFloat(t.coords[1])) + " "; 2 === t.type ? a += O(parseFloat(t.coords[2])) + " " + O(parseFloat(t.coords[3])) : a += O(parseFloat(t.coords[2])) + " " + O(parseFloat(t.coords[3])) + " " + O(parseFloat(t.coords[4])) + " " + O(parseFloat(t.coords[5])), lt(a += "]"), t.matrix && lt("/Matrix [" + t.matrix.toString() + "]"), lt("/Function " + r + " 0 R"), lt("/Extend [true true]"), lt(">>"), lt("endobj"); }, de = function (t, e) { var r = Kt(), n = Xt(); e.push({ resourcesOid: r, objectOid: n }), t.objectNumber = n; var i = []; i.push({ key: "Type", value: "/Pattern" }), i.push({ key: "PatternType", value: "1" }), i.push({ key: "PaintType", value: "1" }), i.push({ key: "TilingType", value: "1" }), i.push({ key: "BBox", value: "[" + t.boundingBox.map(O).join(" ") + "]" }), i.push({ key: "XStep", value: O(t.xStep) }), i.push({ key: "YStep", value: O(t.yStep) }), i.push({ key: "Resources", value: r + " 0 R" }), t.matrix && i.push({ key: "Matrix", value: "[" + t.matrix.toString() + "]" }), ie({ data: t.stream, additionalKeyValues: i, objectId: t.objectNumber }), lt("endobj"); }, pe = function (t) { var e; for (e in Ot) Ot.hasOwnProperty(e) && (Ot[e] instanceof B ? fe(Ot[e]) : Ot[e] instanceof M && de(Ot[e], t)); }, ge = function (t) { for (var e in t.objectNumber = Xt(), lt("<<"), t) switch (e) { case "opacity": lt("/ca " + R(t[e])); break; case "stroke-opacity": lt("/CA " + R(t[e])); } lt(">>"), lt("endobj"); }, me = function () { var t; for (t in Mt) Mt.hasOwnProperty(t) && ge(Mt[t]); }, ve = function () { for (var t in lt("/XObject <<"), zt) zt.hasOwnProperty(t) && zt[t].objectNumber >= 0 && lt("/" + t + " " + zt[t].objectNumber + " 0 R"); Tt.publish("putXobjectDict"), lt(">>"); }, be = function () { Ye.oid = Xt(), lt("<<"), lt("/Filter /Standard"), lt("/V " + Ye.v), lt("/R " + Ye.r), lt("/U <" + Ye.toHexString(Ye.U) + ">"), lt("/O <" + Ye.toHexString(Ye.O) + ">"), lt("/P " + Ye.P), lt(">>"), lt("endobj"); }, ye = function () { for (var t in lt("/Font <<"), Ft) Ft.hasOwnProperty(t) && (!1 === v || !0 === v && b.hasOwnProperty(t)) && lt("/" + t + " " + Ft[t].objectNumber + " 0 R"); lt(">>"); }, we = function () { if (Object.keys(Ot).length > 0) { for (var t in lt("/Shading <<"), Ot) Ot.hasOwnProperty(t) && Ot[t] instanceof B && Ot[t].objectNumber >= 0 && lt("/" + t + " " + Ot[t].objectNumber + " 0 R"); Tt.publish("putShadingPatternDict"), lt(">>"); } }, Ne = function (t) { if (Object.keys(Ot).length > 0) { for (var e in lt("/Pattern <<"), Ot) Ot.hasOwnProperty(e) && Ot[e] instanceof y.TilingPattern && Ot[e].objectNumber >= 0 && Ot[e].objectNumber < t && lt("/" + e + " " + Ot[e].objectNumber + " 0 R"); Tt.publish("putTilingPatternDict"), lt(">>"); } }, Le = function () { if (Object.keys(Mt).length > 0) { var t; for (t in lt("/ExtGState <<"), Mt) Mt.hasOwnProperty(t) && Mt[t].objectNumber >= 0 && lt("/" + t + " " + Mt[t].objectNumber + " 0 R"); Tt.publish("putGStateDict"), lt(">>"); } }, Ae = function (t) { Zt(t.resourcesOid, !0), lt("<<"), lt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), ye(), we(), Ne(t.objectOid), Le(), ve(), lt(">>"), lt("endobj"); }, xe = function () { var t = []; ce(), me(), he(), pe(t), Tt.publish("putResources"), t.forEach(Ae), Ae({ resourcesOid: te, objectOid: Number.MAX_SAFE_INTEGER }), Tt.publish("postPutResources"); }, Se = function () { Tt.publish("putAdditionalObjects"); for (var t = 0; t < at.length; t++) { var e = at[t]; Zt(e.objId, !0), lt(e.content), lt("endobj"); } Tt.publish("postPutAdditionalObjects"); }, _e = function (t) { Ct[t.fontName] = Ct[t.fontName] || {}, Ct[t.fontName][t.fontStyle] = t.id; }, Pe = function (t, e, r, n, i) { var a = { id: "F" + (Object.keys(Ft).length + 1).toString(10), postScriptName: t, fontName: e, fontStyle: r, encoding: n, isStandardFont: i || !1, metadata: {} }; return Tt.publish("addFont", { font: a, instance: this }), Ft[a.id] = a, _e(a), a.id; }, ke = function (t) { for (var e = 0, r = pt.length; e < r; e++) { var n = Pe.call(this, t[e][0], t[e][1], t[e][2], pt[e][3], !0); !1 === v && (b[n] = !0); var i = t[e][0].split("-"); _e({ id: n, fontName: i[0], fontStyle: i[1] || "" }); } Tt.publish("addFonts", { fonts: Ft, dictionary: Ct }); }, Ie = function (t) { return t.foo = function () { try { return t.apply(this, arguments); } catch (t) { var e = t.stack || ""; ~e.indexOf(" at ") && (e = e.split(" at ")[1]); var r = "Error in function " + e.split("\n")[0].split("<")[0] + ": " + t.message; if (!n.console) throw new Error(r); n.console.error(r, t), n.alert && alert(r); } }, t.foo.bar = t, t.foo; }, Fe = function (t, e) { var r, n, i, a, o, s, c, u, h; if (i = (e = e || {}).sourceEncoding || "Unicode", o = e.outputEncoding, (e.autoencode || o) && Ft[St].metadata && Ft[St].metadata[i] && Ft[St].metadata[i].encoding && (a = Ft[St].metadata[i].encoding, !o && Ft[St].encoding && (o = Ft[St].encoding), !o && a.codePages && (o = a.codePages[0]), "string" == typeof o && (o = a[o]), o)) { for (c = !1, s = [], r = 0, n = t.length; r < n; r++) (u = o[t.charCodeAt(r)]) ? s.push(String.fromCharCode(u)) : s.push(t[r]), s[r].charCodeAt(0) >> 8 && (c = !0); t = s.join(""); } for (r = t.length; void 0 === c && 0 !== r;) t.charCodeAt(r - 1) >> 8 && (c = !0), r--; if (!c) return t; for (s = e.noBOM ? [] : [254, 255], r = 0, n = t.length; r < n; r++) { if ((h = (u = t.charCodeAt(r)) >> 8) >> 8) throw new Error("Character at position " + r + " of string '" + t + "' exceeds 16bits. Cannot be encoded into UCS-2 BE"); s.push(h), s.push(u - (h << 8)); } return String.fromCharCode.apply(void 0, s); }, Ce = y.__private__.pdfEscape = y.pdfEscape = function (t, e) { return Fe(t, e).replace(/\\/g, "\\\\").replace(/\(/g, "\\(").replace(/\)/g, "\\)"); }, je = y.__private__.beginPage = function (t) { ot[++Dt] = [], Rt[Dt] = { objId: 0, contentsObjId: 0, userUnit: Number(d), artBox: null, bleedBox: null, cropBox: null, trimBox: null, mediaBox: { bottomLeftX: 0, bottomLeftY: 0, topRightX: Number(t[0]), topRightY: Number(t[1]) } }, Me(Dt), ht(ot[$]); }, Oe = function (t, e) { var r, n, o; switch (i = e || i, "string" == typeof t && (r = A(t.toLowerCase()), Array.isArray(r) && (n = r[0], o = r[1])), Array.isArray(t) && (n = t[0] * _t, o = t[1] * _t), isNaN(n) && (n = s[0], o = s[1]), (n > 14400 || o > 14400) && (a.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"), n = Math.min(14400, n), o = Math.min(14400, o)), s = [n, o], i.substr(0, 1)) { case "l": o > n && (s = [o, n]); break; case "p": n > o && (s = [o, n]); } je(s), pr(fr), lt(Lr), 0 !== kr && lt(kr + " J"), 0 !== Ir && lt(Ir + " j"), Tt.publish("addPage", { pageNumber: Dt }); }, Be = function (t) { t > 0 && t <= Dt && (ot.splice(t, 1), Rt.splice(t, 1), Dt--, $ > Dt && ($ = Dt), this.setPage($)); }, Me = function (t) { t > 0 && t <= Dt && ($ = t); }, Ee = y.__private__.getNumberOfPages = y.getNumberOfPages = function () { return ot.length - 1; }, qe = function (t, e, r) { var n, i = void 0; return r = r || {}, t = void 0 !== t ? t : Ft[St].fontName, e = void 0 !== e ? e : Ft[St].fontStyle, n = t.toLowerCase(), void 0 !== Ct[n] && void 0 !== Ct[n][e] ? i = Ct[n][e] : void 0 !== Ct[t] && void 0 !== Ct[t][e] ? i = Ct[t][e] : !1 === r.disableWarning && a.warn("Unable to look up font label for font '" + t + "', '" + e + "'. Refer to getFontList() for available fonts."), i || r.noFallback || null == (i = Ct.times[e]) && (i = Ct.times.normal), i; }, De = y.__private__.putInfo = function () { var t = Xt(), e = function (t) { return t; }; for (var r in null !== m && (e = Ye.encryptor(t, 0)), lt("<<"), lt("/Producer (" + Ce(e("jsPDF " + E.version)) + ")"), xt) xt.hasOwnProperty(r) && xt[r] && lt("/" + r.substr(0, 1).toUpperCase() + r.substr(1) + " (" + Ce(e(xt[r])) + ")"); lt("/CreationDate (" + Ce(e(W)) + ")"), lt(">>"), lt("endobj"); }, Re = y.__private__.putCatalog = function (t) { var e = (t = t || {}).rootDictionaryObjId || Qt; switch (Xt(), lt("<<"), lt("/Type /Catalog"), lt("/Pages " + e + " 0 R"), mt || (mt = "fullwidth"), mt) { case "fullwidth": lt("/OpenAction [3 0 R /FitH null]"); break; case "fullheight": lt("/OpenAction [3 0 R /FitV null]"); break; case "fullpage": lt("/OpenAction [3 0 R /Fit]"); break; case "original": lt("/OpenAction [3 0 R /XYZ null null 1]"); break; default: var r = "" + mt; "%" === r.substr(r.length - 1) && (mt = parseInt(mt) / 100), "number" == typeof mt && lt("/OpenAction [3 0 R /XYZ null null " + R(mt) + "]"); } switch (Nt || (Nt = "continuous"), Nt) { case "continuous": lt("/PageLayout /OneColumn"); break; case "single": lt("/PageLayout /SinglePage"); break; case "two": case "twoleft": lt("/PageLayout /TwoColumnLeft"); break; case "tworight": lt("/PageLayout /TwoColumnRight"); } yt && lt("/PageMode /" + yt), Tt.publish("putCatalog"), lt(">>"), lt("endobj"); }, Te = y.__private__.putTrailer = function () { lt("trailer"), lt("<<"), lt("/Size " + (et + 1)), lt("/Root " + et + " 0 R"), lt("/Info " + (et - 1) + " 0 R"), null !== m && lt("/Encrypt " + Ye.oid + " 0 R"), lt("/ID [ <" + V + "> <" + V + "> ]"), lt(">>"); }, Ue = y.__private__.putHeader = function () { lt("%PDF-" + w), lt("%ºß¬à"); }, ze = y.__private__.putXRef = function () { var t = "0000000000"; lt("xref"), lt("0 " + (et + 1)), lt("0000000000 65535 f "); for (var e = 1; e <= et; e++) { "function" == typeof rt[e] ? lt((t + rt[e]()).slice(-10) + " 00000 n ") : void 0 !== rt[e] ? lt((t + rt[e]).slice(-10) + " 00000 n ") : lt("0000000000 00000 n "); } }, He = y.__private__.buildDocument = function () { ut(), ht(nt), Tt.publish("buildDocument"), Ue(), oe(), Se(), xe(), null !== m && be(), De(), Re(); var t = it; return ze(), Te(), lt("startxref"), lt("" + t), lt("%%EOF"), ht(ot[$]), nt.join("\n"); }, We = y.__private__.getBlob = function (t) { return new Blob([dt(t)], { type: "application/pdf" }); }, Ve = y.output = y.__private__.output = Ie(function (t, e) { switch ("string" == typeof (e = e || {}) ? e = { filename: e } : e.filename = e.filename || "generated.pdf", t) { case void 0: return He(); case "save": y.save(e.filename); break; case "arraybuffer": return dt(He()); case "blob": return We(He()); case "bloburi": case "bloburl": if (void 0 !== n.URL && "function" == typeof n.URL.createObjectURL) return n.URL && n.URL.createObjectURL(We(He())) || void 0; a.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser."); break; case "datauristring": case "dataurlstring": var r = "", i = He(); try { r = h(i); } catch (t) { r = h(unescape(encodeURIComponent(i))); } return "data:application/pdf;filename=" + e.filename + ";base64," + r; case "pdfobjectnewwindow": if ("[object Window]" === Object.prototype.toString.call(n)) { var o = "https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js", s = ' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"'; e.pdfObjectUrl && (o = e.pdfObjectUrl, s = ""); var c = '