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,OAAOuB,eAAe/E,EAAS,aAAc,CAAEkC,OAAO,GAAO,ECL9DG,EAAoBkB,EAAI,I,MCKxB,IAAIoC,EAAkB,CACrB,IAAK,GAaNtD,EAAoBS,EAAES,EAAKqC,GAA0C,IAA7BD,EAAgBC,GAGxD,IAAIC,EAAuB,CAACC,EAA4BC,KACvD,IAGIzD,EAAUsD,GAHT5C,EAAUgD,EAAaC,GAAWF,EAGhB1F,EAAI,EAC3B,GAAG2C,EAASkD,MAAMC,GAAgC,IAAxBR,EAAgBQ,KAAa,CACtD,IAAI7D,KAAY0D,EACZ3D,EAAoByC,EAAEkB,EAAa1D,KACrCD,EAAoBM,EAAEL,GAAY0D,EAAY1D,IAGhD,GAAG2D,EAAS,IAAIlD,EAASkD,EAAQ5D,EAClC,CAEA,IADGyD,GAA4BA,EAA2BC,GACrD1F,EAAI2C,EAASK,OAAQhD,IACzBuF,EAAU5C,EAAS3C,GAChBgC,EAAoByC,EAAEa,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOvD,EAAoBS,EAAEC,EAAO,EAGjCqD,EAAqB9F,KAAoC,8BAAIA,KAAoC,+BAAK,GAC1G8F,EAAmBjF,QAAQ0E,EAAqBQ,KAAK,KAAM,IAC3DD,EAAmBE,KAAOT,EAAqBQ,KAAK,KAAMD,EAAmBE,KAAKD,KAAKD,G,KC7CvF,IAAIG,EAAsBlE,EAAoBS,OAAEN,EAAW,CAAC,KAAK,OAAO,IAAOH,EAAoB,Q,OACnGkE,EAAsBlE,EAAoBS,EAAEyD,E","sources":["webpack://easyfy.hayppgroup/webpack/universalModuleDefinition","webpack://easyfy.hayppgroup/webpack/runtime/chunk loaded","webpack://easyfy.hayppgroup/webpack/runtime/create fake namespace object","webpack://easyfy.hayppgroup/./ClientApp/scripts/components/readmore.ts","webpack://easyfy.hayppgroup/./ClientApp/contentsections/textsectionwithfade/textsectionwithfade.ts","webpack://easyfy.hayppgroup/webpack/bootstrap","webpack://easyfy.hayppgroup/webpack/runtime/amd define","webpack://easyfy.hayppgroup/webpack/runtime/compat get default export","webpack://easyfy.hayppgroup/webpack/runtime/define property getters","webpack://easyfy.hayppgroup/webpack/runtime/global","webpack://easyfy.hayppgroup/webpack/runtime/hasOwnProperty shorthand","webpack://easyfy.hayppgroup/webpack/runtime/make namespace object","webpack://easyfy.hayppgroup/webpack/runtime/runtimeId","webpack://easyfy.hayppgroup/webpack/runtime/jsonp chunk loading","webpack://easyfy.hayppgroup/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse {\n\t\tvar a = factory();\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(self, () => {\nreturn ","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","import { toggleClass, hasClass } from '../shared/easyfy.utils';\r\nimport { events } from '../shared/easyfy.decorators';\r\nimport { globalEvent } from '../shared/easyfy.core';\r\n\r\nexport default class ReadMore {\r\n constructor() {\r\n globalEvent({\r\n type: 'click',\r\n event: {\r\n event: 'read-more',\r\n callback: this.onReadMore,\r\n },\r\n });\r\n\r\n document.querySelectorAll('.expandable.readmore-compact').forEach((el: HTMLElement) => {\r\n el.parentElement.style.position = 'relative';\r\n });\r\n }\r\n\r\n onReadMore(e: Event) {\r\n e.preventDefault();\r\n const _this: HTMLElement = e.target as HTMLElement;\r\n const previousElement: HTMLElement = _this.parentElement.previousElementSibling as HTMLElement;\r\n\r\n if (previousElement) {\r\n toggleClass(previousElement, 'expanded');\r\n\r\n if (hasClass(previousElement, 'expanded')) {\r\n if (!_this.dataset.maxHeight) {\r\n previousElement.dataset.maxHeight = previousElement.style.maxHeight;\r\n }\r\n _this.textContent = _this.attributes['data-less']?.value;\r\n } else {\r\n previousElement.style.maxHeight = previousElement.dataset.maxHeight;\r\n _this.textContent = _this.attributes['data-more']?.value;\r\n }\r\n }\r\n return false;\r\n }\r\n}\r\n","import { invoke } from '../../scripts/shared/easyfy.decorators';\r\nimport ReadMore from '../../scripts/components/readmore';\r\n\r\n@invoke\r\nexport class TextSectionWithFade {\r\n constructor() {\r\n new ReadMore();\r\n }\r\n}\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdD = function () {\n\tthrow new Error('define cannot be used indirect');\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.j = 428;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t428: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkeasyfy_hayppgroup\"] = self[\"webpackChunkeasyfy_hayppgroup\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [8780,1786], () => (__webpack_require__(1262)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["root","factory","exports","module","define","amd","a","i","self","deferred","leafPrototypes","getProto","ReadMore","constructor","type","event","callback","this","onReadMore","document","querySelectorAll","forEach","el","parentElement","style","position","e","preventDefault","_this","target","previousElement","previousElementSibling","dataset","maxHeight","textContent","attributes","value","TextSectionWithFade","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","call","m","amdD","Error","O","result","chunkIds","fn","priority","notFulfilled","Infinity","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","getPrototypeOf","obj","t","mode","then","ns","create","def","current","indexOf","getOwnPropertyNames","definition","o","defineProperty","enumerable","get","g","globalThis","Function","window","prop","prototype","hasOwnProperty","Symbol","toStringTag","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","bind","push","__webpack_exports__"],"sourceRoot":""}