{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./Scripts/inpulse/Loaders/ILoader.ts","webpack:///./Scripts/inpulse/Loaders/ChildElementDisablerLoader.ts","webpack:///./Scripts/inpulse/Loaders/DefaultLoaderFactory.ts","webpack:///./Scripts/inpulse/Notificators/IValidationNotificator.ts","webpack:///./Scripts/LRE2/Layout/index.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","3","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","loaderElement","elements","hideElement","settings","loader","loaderCollection","elementCollection","hideElementCollection","_settings","_originalElementCollection","this","initSettings","isElementObject","HTMLCollection","isPrototypeOf","isElement","assign","excludeAlreadyDisabled","excludeDisabledFromCollection","children","loaderSettings","disablableChildTags","load","loading","internalLoading","internalNotLoading","collection","tags","hasAttribute","nodeName","style","pointerEvents","definedTag","tagName","classList","add","showloading","disableElements","hideElements","hideLoading","unDisabledElements","showElements","callFunctionForCollection","setDisplayShow","setDisplayNone","disableDefinedChildElements","removeDisabledFromDefinedChildElements","element","display","callFunctionForElement","obj","func","additionalParams","el","getElementsByTagName","disableCollectionElement","setAttribute","removeDisabledFromCollectionElement","contains","removeAttribute","isNode","Node","nodeType","HTMLElement","inputErrorClass","spanErrorClass","addValidationError","txt","nextElementSibling","sibling","innerHTML","hideValidationError","remove","trytoRemoveErrorClassFromParent","recursion","parentElement","parent","_lf","_notificator","DefaultValidationNotificator","$"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,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C1B,EAAS,KAI9C,YAAA0B,gCAAR,SAAwCpB,EAAiBqB,GAErD,GAAIhE,KAAKE,gBAAgByC,EAAGsB,eAAgB,CACxC,IAAIC,EAASvB,EAAGsB,cACZC,EAAO1C,UAAUwB,SAAS,aAA4B,GAAbgB,GAEzChE,KAAK+D,gCAAgCG,EAAQ,GAE7CA,EAAO1C,UAAUwB,SAAS,cAC1BkB,EAAO1C,UAAUsC,OAAO,eAK5B,YAAA7B,eAAR,SAAuBI,GAEnBA,EAAQjB,MAAMkB,QAAU,IAGpB,YAAAJ,eAAR,SAAuBG,GAEnBA,EAAQjB,MAAMkB,QAAU,QAI5B,YAAApC,gBAAA,SAAgBmC,GAEZ,YAA0B,IAAZA,GAAsC,MAAXA,GAAqC,iBAAXA,GAE3E,EAtGA,GCNA,EAAQ,IAMRlD,OAAOgF,IAAM,IAAI,EACjBhF,OAAOiF,aAAe,IAAIC,EAC1BC,GAAE","file":"dist/eservices-main-lre2/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t3: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([169,0]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export interface ILoader {\r\n load(load: boolean): void\r\n}\r\n\r\nexport interface ILoaderFactory {\r\n create(loaderElement: any, elements: any, hideElement: any, settings: loaderSettings): ILoader;\r\n}\r\n\r\nexport class loaderSettings {\r\n excludeAlreadyDisabled: boolean;\r\n disablableChildTags: string[];\r\n}","import { ILoader, loaderSettings } from \"./ILoader\";\r\n\r\nexport class ChildElementDisablerLoader implements ILoader {\r\n\r\n loader: HTMLElement = null;\r\n loaderCollection: HTMLCollection= null;\r\n\r\n elementCollection: HTMLCollection = null;\r\n\r\n hideElement: HTMLElement = null;\r\n hideElementCollection: HTMLCollection = null;\r\n\r\n _settings: loaderSettings = null;\r\n _originalElementCollection: HTMLCollection = null;\r\n\r\n constructor(loaderElement: any, elements: any, hideElement: any, settings: loaderSettings )\r\n {\r\n //document.getElementsByTagName(\"FORM\") does not add links to collection therefore you don't get the disablity of links with it\r\n //document.getElementById(\"loginform\") has also links in the collection so if you need to disable links use it instead of getElementsByTagName\r\n //if you don't need links you can use getElementsByTagName it's also faster\r\n this.initSettings(settings);\r\n\r\n if (this.isElementObject(loaderElement)) {\r\n if (HTMLCollection.prototype.isPrototypeOf(loaderElement)) {\r\n this.loaderCollection = loaderElement; \r\n }\r\n else if (this.isElement(loaderElement)) {\r\n this.loader = loaderElement; \r\n }\r\n }\r\n\r\n if (this.isElementObject(elements)) {\r\n\r\n if (HTMLCollection.prototype.isPrototypeOf(elements))\r\n {\r\n this._originalElementCollection = Object.assign({}, elements);\r\n if (this._settings.excludeAlreadyDisabled == true) {\r\n this.excludeDisabledFromCollection(elements);\r\n }\r\n this.elementCollection =elements; \r\n }\r\n else if (this.isElement(elements))\r\n {\r\n this._originalElementCollection = Object.assign({}, elements);\r\n if (this._settings.excludeAlreadyDisabled== true) {\r\n this.excludeDisabledFromCollection((elements).children);\r\n }\r\n this.elementCollection = (elements).children; \r\n }\r\n }\r\n\r\n if (this.isElementObject(hideElement)) {\r\n if (HTMLCollection.prototype.isPrototypeOf(hideElement)) {\r\n this.hideElementCollection = >hideElement;\r\n\r\n }\r\n else if (this.isElement(hideElement)) {\r\n this.hideElement = hideElement;\r\n }\r\n }\r\n\r\n return this;\r\n }\r\n\r\n private initSettings(settings: loaderSettings) {\r\n this._settings = settings;\r\n if (this._settings === window['undefined'] || this._settings == null) {\r\n this._settings = new loaderSettings();\r\n this._settings.disablableChildTags = [\"INPUT\", \"SELECT\", \"BUTTON\", \"A\", \"TEXTAREA\"];\r\n this._settings.excludeAlreadyDisabled = true;\r\n }\r\n\r\n if (this._settings.disablableChildTags === window['undefined'] || this._settings.disablableChildTags == null) {\r\n this._settings.disablableChildTags = [\"INPUT\", \"SELECT\", \"BUTTON\", \"A\", \"TEXTAREA\"];\r\n }\r\n\r\n if (this._settings.excludeAlreadyDisabled === window['undefined'] || this._settings.excludeAlreadyDisabled == null) {\r\n this._settings.excludeAlreadyDisabled = true;\r\n }\r\n }\r\n\r\n load(loading: boolean): void\r\n {\r\n if (loading == true) {\r\n this.internalLoading();\r\n }\r\n else if (loading == false) {\r\n this.internalNotLoading();\r\n }\r\n }\r\n\r\n private excludeDisabledFromCollection(collection: any) {\r\n\r\n var self = this;\r\n var tags = this._settings.disablableChildTags;\r\n if (collection !== window['undefined'])\r\n {\r\n\r\n if (HTMLCollection.prototype.isPrototypeOf(collection)) {\r\n for (var i = collection.length - 1; i > -1; i--) {\r\n if (self.isElement(collection[i])) {\r\n self.excludeDisabledFromCollection(collection[i]);\r\n }\r\n }\r\n }\r\n else if (collection.children !== window['undefined'] && HTMLCollection.prototype.isPrototypeOf(collection.children) && collection.children.length > 0)\r\n {\r\n self.excludeDisabledFromCollection(collection.children);\r\n }\r\n\r\n if (self.isElement(collection[0]))\r\n {\r\n for (var i = collection.length - 1; i > -1; i--)\r\n {\r\n self.excludeDisabledFromCollection(collection[i]);\r\n }\r\n }\r\n\r\n //If element is disabled or it's link which pointerEvents is 'none' == disabled link. Then we add exclude-undisability-class that prevent's undisabling elements that are already disabled\r\n if (self.isElement(collection) && ((collection).hasAttribute(\"disabled\") || (collection).hasAttribute(\"readonly\")) ||\r\n ((collection).nodeName == \"A\" && (collection).style.pointerEvents == \"none\"))\r\n {\r\n var definedTag = false;\r\n for (var j = tags.length - 1; j > -1; j--) {\r\n if (collection.tagName == tags[j]) {\r\n definedTag = true;\r\n }\r\n }\r\n if (definedTag == true) {\r\n (collection).classList.add(\"exclude-undisability\");\r\n }\r\n }\r\n \r\n }\r\n }\r\n\r\n private internalLoading()\r\n {\r\n this.showloading();\r\n this.disableElements();\r\n this.hideElements();\r\n }\r\n\r\n private internalNotLoading()\r\n {\r\n this.hideLoading();\r\n this.unDisabledElements();\r\n this.showElements();\r\n }\r\n\r\n private showloading()\r\n {\r\n if (this.loaderCollection != null) {\r\n this.callFunctionForCollection(this.loaderCollection, this.setDisplayShow, null);\r\n }\r\n else if (this.loader != null) {\r\n this.setDisplayShow(this.loader);\r\n }\r\n }\r\n\r\n private hideLoading()\r\n {\r\n if (this.loaderCollection != null) {\r\n this.callFunctionForCollection(this.loaderCollection, this.setDisplayNone, null);\r\n }\r\n else if (this.loader != null) {\r\n this.setDisplayNone(this.loader);\r\n }\r\n }\r\n\r\n private disableElements()\r\n {\r\n if (this.elementCollection != null) {\r\n\r\n for (var i = 0; i < this.elementCollection.length; i++) {\r\n this.disableDefinedChildElements(this.elementCollection[i], this._settings.disablableChildTags);\r\n }\r\n }\r\n }\r\n\r\n private unDisabledElements()\r\n {\r\n if (this.elementCollection != null)\r\n {\r\n for (var i = 0; i < this.elementCollection.length; i++) {\r\n this.removeDisabledFromDefinedChildElements(this.elementCollection[i], this._settings.disablableChildTags);\r\n }\r\n }\r\n }\r\n\r\n private hideElements()\r\n {\r\n if (this.hideElementCollection != null) {\r\n this.callFunctionForCollection(this.hideElementCollection, this.setDisplayNone, null);\r\n }\r\n else if (this.hideElement != null) {\r\n this.setDisplayNone(this.hideElement);\r\n }\r\n }\r\n\r\n private showElements()\r\n {\r\n if (this.hideElementCollection != null) {\r\n this.callFunctionForCollection(this.hideElementCollection, this.setDisplayShow, null);\r\n }\r\n else if (this.hideElement != null) {\r\n this.setDisplayShow(this.hideElement);\r\n }\r\n }\r\n\r\n private setDisplayShow(element: HTMLElement)\r\n {\r\n element.style.display = \"\";\r\n }\r\n\r\n private setDisplayNone(element: HTMLElement)\r\n {\r\n element.style.display = \"none\";\r\n }\r\n\r\n private callFunctionForElement(obj: HTMLElement, func: Function, additionalParams: any)\r\n {\r\n if (typeof additionalParams !== 'undefined')\r\n {\r\n func(obj, additionalParams);\r\n }\r\n else\r\n {\r\n func(obj);\r\n }\r\n }\r\n\r\n private callFunctionForCollection(obj: HTMLCollection, func: Function, additionalParams: any)\r\n {\r\n for (var i = 0; i < obj.length; i++)\r\n {\r\n if (typeof additionalParams !== 'undefined') {\r\n func(obj[i], additionalParams);\r\n }\r\n else {\r\n func(obj[i]);\r\n }\r\n }\r\n }\r\n\r\n\r\n private disableDefinedChildElements(el: Element, tags:string[])\r\n {\r\n var self = this;\r\n for (var i = 0; i < tags.length; i++) {\r\n var elements = el.getElementsByTagName(tags[i]);\r\n self.disableCollectionElement(> elements);\r\n }\r\n }\r\n\r\n private disableCollectionElement(collection: HTMLCollectionOf)\r\n {\r\n for (var i = 0; i < collection.length; i++)\r\n {\r\n //We do not want to disable elements that are readonly \r\n if (!collection[i].hasAttribute(\"readonly\"))\r\n {\r\n collection[i].setAttribute(\"disabled\", \"disabled\");\r\n if (collection[i].nodeName == \"A\") {\r\n //This way we can disable links\r\n collection[i].style.pointerEvents = \"none\";\r\n }\r\n }\r\n }\r\n }\r\n\r\n private removeDisabledFromDefinedChildElements(el: Element, tags: string[])\r\n {\r\n var self = this;\r\n for (var i = 0; i < tags.length; i++) {\r\n var elements = el.getElementsByTagName(tags[i]);\r\n self.removeDisabledFromCollectionElement(>elements);\r\n }\r\n }\r\n\r\n private removeDisabledFromCollectionElement(collection: HTMLCollectionOf)\r\n {\r\n for (var i = 0; i < collection.length; i++)\r\n {\r\n if (!collection[i].classList.contains(\"exclude-undisability\")) {\r\n collection[i].removeAttribute(\"disabled\");\r\n if (collection[i].nodeName == \"A\") {\r\n //This way we can disable links\r\n collection[i].style.pointerEvents = \"\";\r\n }\r\n }\r\n }\r\n }\r\n\r\n isElementObject(element)\r\n {\r\n return typeof element !== \"undefined\" && element != null && typeof element == \"object\";\r\n }\r\n\r\n //Returns true if it is a DOM node\r\n isNode(o)\r\n {\r\n return (\r\n typeof Node === \"object\" ? o instanceof Node :\r\n o && typeof o === \"object\" && typeof o.nodeType === \"number\" && typeof o.nodeName === \"string\"\r\n );\r\n }\r\n\r\n //Returns true if it is a DOM element \r\n isElement(o)\r\n {\r\n return (\r\n typeof o !== \"undefined\" && typeof HTMLElement === \"object\" ? o instanceof HTMLElement : //DOM2\r\n o && typeof o === \"object\" && o !== null && o.nodeType === 1 && typeof o.nodeName === \"string\"\r\n );\r\n }\r\n\r\n}","import { ILoaderFactory, ILoader, loaderSettings } from \"./ILoader\";\r\nimport { ChildElementDisablerLoader } from \"./ChildElementDisablerLoader\";\r\n\r\nexport class DefaultLoaderFactory implements ILoaderFactory {\r\n\r\n constructor() {\r\n \r\n }\r\n create(loaderElement: any, elements: any, hideElement: any, settings: loaderSettings): ILoader {\r\n return new ChildElementDisablerLoader(loaderElement, elements, hideElement, settings);\r\n }\r\n}","export interface IValidationNotificator {\r\n addValidationError(element: HTMLElement, txt: string): void\r\n hideValidationError(element: HTMLElement): void\r\n}\r\n\r\n\r\nexport class DefaultValidationNotificator implements IValidationNotificator\r\n{\r\n\r\n private inputErrorClass: string;\r\n private spanErrorClass: string;\r\n\r\n constructor(settings: object = null)\r\n {\r\n if (this.isElementObject(settings))\r\n {\r\n if (settings[\"inputErrorClass\"] != null)\r\n {\r\n this.inputErrorClass = settings[\"inputErrorClass\"];\r\n }\r\n if (settings[\"spanErrorClass\"] != null)\r\n {\r\n this.spanErrorClass = settings[\"spanErrorClass\"];\r\n }\r\n }\r\n\r\n if (this.spanErrorClass == null)\r\n {\r\n this.spanErrorClass = \"field-validation-error\";\r\n }\r\n\r\n if (this.inputErrorClass == null)\r\n {\r\n this.inputErrorClass = \"input-validation-error\";\r\n }\r\n //TODO: add object settings to define classes field-validation-error\r\n }\r\n\r\n addValidationError(element: HTMLElement, txt: string): void\r\n {\r\n if (this.isElementObject(element))\r\n {\r\n if (!element.classList.contains(this.inputErrorClass))\r\n {\r\n element.classList.add(this.inputErrorClass);\r\n }\r\n\r\n if (this.isElementObject(element.nextElementSibling))\r\n {\r\n var sibling = element.nextElementSibling;\r\n if (sibling.nodeName == \"SPAN\" && sibling.classList.contains(this.spanErrorClass))\r\n {\r\n if (txt !== \"undefined\" && txt != null && txt != \"\")\r\n {\r\n sibling.innerHTML = txt;\r\n }\r\n this.setDisplayShow(sibling);\r\n }\r\n }\r\n }\r\n }\r\n\r\n hideValidationError(element: HTMLElement)\r\n {\r\n if (this.isElementObject(element) && element.classList.contains(this.inputErrorClass))\r\n {\r\n element.classList.remove(this.inputErrorClass);\r\n if (this.isElementObject(element.nextElementSibling))\r\n {\r\n var sibling = element.nextElementSibling;\r\n if (sibling.nodeName == \"SPAN\" && sibling.classList.contains(this.spanErrorClass))\r\n {\r\n this.setDisplayNone(sibling);\r\n }\r\n }\r\n this.trytoRemoveErrorClassFromParent(element, 0);\r\n }\r\n }\r\n\r\n private trytoRemoveErrorClassFromParent(el: HTMLElement, recursion: number)\r\n {\r\n if (this.isElementObject(el.parentElement)) {\r\n var parent = el.parentElement;\r\n if (parent.classList.contains(\"controls\") && recursion == 0)\r\n {\r\n this.trytoRemoveErrorClassFromParent(parent, 1);\r\n }\r\n if (parent.classList.contains(\"has-error\")) {\r\n parent.classList.remove(\"has-error\");\r\n }\r\n }\r\n }\r\n\r\n private setDisplayShow(element: HTMLElement)\r\n {\r\n element.style.display = \"\";\r\n }\r\n\r\n private setDisplayNone(element: HTMLElement)\r\n {\r\n element.style.display = \"none\";\r\n }\r\n\r\n\r\n isElementObject(element)\r\n {\r\n return typeof element !== \"undefined\" && element != null && typeof element == \"object\";\r\n }\r\n}","require(\"core-js/features/promise\");\r\n//import { ShowReadingEntryLink } from \"../../../Areas/eServices/Scripts/Default/ShowReadingEntryLink\";\r\nimport { DefaultLoaderFactory } from \"../../inpulse/Loaders/DefaultLoaderFactory\";\r\nimport { DefaultValidationNotificator } from \"../../inpulse/Notificators/IValidationNotificator\";\r\n//declare var readingEntryApiUrl: string;\r\ndeclare var window: any;\r\nwindow._lf = new DefaultLoaderFactory();\r\nwindow._notificator = new DefaultValidationNotificator();\r\n$(function () {\r\n //window.permissionModule = new ShowReadingEntryLink(readingEntryApiUrl, true);\r\n // window.permissionModule.Init();\r\n\r\n});"],"sourceRoot":""}