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,OAAQ,MACR,UAAW,MACX,UAAW,MACX,aAAc,MACd,QAAS,MACT,WAAY,MACZ,OAAQ,MACR,UAAW,MACX,QAAS,MACT,WAAY,MACZ,QAAS,MACT,aAAc,MACd,gBAAiB,MACjB,WAAY,MACZ,UAAW,MACX,aAAc,MACd,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,YAAa,MACb,eAAgB,MAChB,UAAW,MACX,OAAQ,MACR,UAAW,MACX,aAAc,KACd,gBAAiB,KACjB,OAAQ,MACR,UAAW,MACX,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,OAIf,SAAS0c,EAAeC,GACvB,IAAI3R,EAAK4R,EAAsBD,GAC/B,OAAOE,EAAoB7R,EAC5B,CACA,SAAS4R,EAAsBD,GAC9B,IAAIE,EAAoBC,EAAE9c,EAAK2c,GAAM,CACpC,IAAIhV,EAAI,IAAIoV,MAAM,uBAAyBJ,EAAM,KAEjD,MADAhV,EAAEqV,KAAO,mBACHrV,CACP,CACA,OAAO3H,EAAI2c,EACZ,CACAD,EAAe3a,KAAO,WACrB,OAAOnG,OAAOmG,KAAK/B,EACpB,EACA0c,EAAe1e,QAAU4e,EACzBK,EAAOC,QAAUR,EACjBA,EAAe1R,GAAK,K","sources":["webpack://evalarmjs/../share/app/javascript/components/alarm-icon.js","webpack://evalarmjs/../share/app/javascript/components/alert.js","webpack://evalarmjs/../share/app/javascript/components/message.js","webpack://evalarmjs/../share/app/javascript/components/mock-table.js","webpack://evalarmjs/../share/app/javascript/components/modal.js","webpack://evalarmjs/../share/app/javascript/components/pagination.js","webpack://evalarmjs/../share/app/javascript/components/table.js","webpack://evalarmjs/../share/app/javascript/components/tabs.js","webpack://evalarmjs/../share/app/javascript/components/tooltip.js","webpack://evalarmjs/../share/app/javascript/core/legacy/ajax-form.js","webpack://evalarmjs/../share/app/javascript/core/legacy/inline-errors.js","webpack://evalarmjs/../share/app/javascript/core/legacy/wizard.js","webpack://evalarmjs/../share/app/javascript/services/api.js","webpack://evalarmjs/../share/app/javascript/services/attach-terms-modal.js","webpack://evalarmjs/../share/app/javascript/services/createReactRoot.js","webpack://evalarmjs/../share/app/javascript/services/forms.js","webpack://evalarmjs/../share/app/javascript/services/history.js","webpack://evalarmjs/../share/app/javascript/services/i18n.js","webpack://evalarmjs/../share/app/javascript/services/rails-fetch.js","webpack://evalarmjs/../share/app/javascript/services/toastr.js","webpack://evalarmjs/../share/app/javascript/services/utils.js","webpack://evalarmjs/./app/javascript/components/alarm-status-panel.js","webpack://evalarmjs/../share/app/javascript/core/legacy/jquery.js","webpack://evalarmjs/../share/app/javascript/core/layout.js","webpack://evalarmjs/../share/app/javascript/services/firebase.js","webpack://evalarmjs/../share/app/javascript/core/legacy.js","webpack://evalarmjs/../share/app/javascript/core.js","webpack://evalarmjs/./app/javascript/components/bg-status.js","webpack://evalarmjs/./app/javascript/packs/core.js","webpack://evalarmjs/../../shared/node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["export default ({ mod = 'default', icon, className, ...rest }) => (\n \n);\n","import { PureComponent, Fragment } from 'react'\nimport { Translate } from '../services/i18n'\n\nclass Base extends PureComponent {\n static defaultProps = {\n mod: 'info',\n className: ''\n }\n\n renderContent() {\n return this.props.children;\n }\n\n render() {\n return (\n
\n {this.renderContent()}\n
\n )\n }\n}\n\nexport class WarningAlert extends Base {\n static defaultProps = {\n ...Base.defaultProps,\n mod: 'warning'\n }\n\n renderContent() {\n return (\n \n \n {this.props.message ? : this.props.children}\n \n );\n }\n}\n\nexport default Base;","export default ({ children }) => (\n

{children}

\n);\n","export default () => (\n \n \n \n \n \n \n
\n);\n","import ReactDOM from 'react-dom'\nimport { Fragment, PureComponent } from 'react'\n\nexport const ModalHeader = ({ onClose, children }) => (\n \n \n {(children && children !== true) ?
{children}
: null}\n
\n);\n\nclass Modal extends PureComponent {\n static defaultProps = {\n skin: 'default',\n size: 'md',\n header: false\n }\n\n constructor(props) {\n super(props);\n this.el = document.createElement('div');\n document.getElementById('modals').appendChild(this.el);\n }\n\n componentWillUnmount() {\n document.getElementById('modals').removeChild(this.el);\n }\n\n renderContent() {\n return this.props.children;\n }\n\n render() {\n return ReactDOM.createPortal(\n \n
\n
\n
\n {\n this.props.header && (\n \n {this.props.header}\n \n )\n }\n {this.renderContent()}\n
\n
\n
\n
\n ,\n this.el\n );\n }\n}\n\nexport const openModal = (render, custom = {}) => new Promise((resolve, reject) => {\n let node = document.createElement('div');\n let onSuccess = (...args) => {\n ReactDOM.unmountComponentAtNode(node);\n resolve(...args);\n };\n let opts = {\n ...custom,\n onSuccess,\n onCancel(...args) {\n ReactDOM.unmountComponentAtNode(node);\n reject(...args);\n },\n onClose: onSuccess\n };\n ReactDOM.render({render(opts)}, node);\n});\n\nexport default Modal;\n","import ReactPaginate from 'react-js-pagination'\n\nexport default ({ page, per_page, total, onChange }) => {\n if (total === 0 || (page === 1 && total <= per_page)) return null;\n\n return (\n
\n }\n lastPageText={}\n prevPageText={}\n nextPageText={}\n onChange={onChange}\n hideDisabled\n />\n
\n );\n}\n","import { Component, Fragment, PureComponent } from 'react'\nimport { Translate } from '../services/i18n'\nimport Message from './message'\nimport Pagination from './pagination'\nimport MockTable from './mock-table'\n\nclass Table extends PureComponent {\n static defaultProps = {\n className: ''\n }\n\n render() {\n let { ajax, config, list } = this.props;\n let content, pagination;\n if (list === null) {\n return ;\n } else if (list.length === 0) {\n content = (\n \n \n \n \n \n \n \n );\n } else {\n content = (\n {list.map(this.props.renderRow)}\n );\n }\n\n if (config) {\n pagination = (\n \n );\n }\n\n return (\n \n \n {this.props.renderHeader()}\n {content}\n
\n {pagination}\n
\n );\n }\n}\n\nexport class LoadingTable extends Table {\n static defaultProps = {\n ajax: true,\n renderHeader: () => (\n \n ),\n list: null\n }\n}\n\nexport class PaginationTable extends Component {\n static defaultProps = {\n perPage: 10\n };\n\n static getDerivedStateFromProps(props, state) {\n let total = (props.list === null) ? null : props.list.length;\n if (state.total === total) return null;\n\n let result = { total };\n if (total === null) {\n result.page = 1;\n } else if (total <= (state.page - 1) * props.perPage) {\n result.page = Math.max(state.page - 1, 1);\n }\n return result;\n }\n\n constructor(props) {\n super(props);\n this.state = { page: 1, total: null }\n this.onPageChange = this.onPageChange.bind(this);\n }\n\n onPageChange(page) {\n this.setState({ page });\n }\n\n render() {\n let { perPage, list, ...props } = this.props;\n let { page, total } = this.state;\n let config = { page, total, per_page: perPage };\n\n let pageList;\n if (list === null) {\n pageList = list;\n } else {\n pageList = list.slice((page - 1) * perPage, page * perPage);\n }\n return \n }\n}\n\nexport default Table;\n","import { Component, Fragment } from 'react'\nimport { LoadingTable } from './table'\nimport history from '../services/history'\n\nconst getTabId = tabs => {\n let result = location.search.match(/subnav=(\\w+)/);\n if (result !== null) {\n let suggestion = result[1];\n if (tabs.includes(suggestion)) {\n return suggestion;\n }\n }\n return tabs[0];\n}\n\nexport const syncLocationPath = tab =>\n history.replace(`${location.pathname}?subnav=${tab}`);\n\nconst buildCache = tabs => tabs.reduce((acc, key) => {\n acc[key] = null;\n return acc;\n}, {});\n\nexport default class extends Component {\n static defaultProps = {\n inline: false\n }\n\n constructor(props, custom = {}) {\n super();\n let tabs = Object.keys(props.tabs || this.constructor.tabs);\n this.cache = buildCache(tabs);\n this.state = { tab: getTabId(tabs), ...custom };\n this.onTabChange = this.onTabChange.bind(this);\n this.onTabStateChange = this.onTabStateChange.bind(this);\n this.renderTab = this.renderTab.bind(this);\n }\n\n onTabChange(tab) {\n this.setState({ tab });\n if (!this.props.inline) {\n syncLocationPath(tab);\n }\n }\n\n onTabStateChange(data) {\n this.cache[this.state.tab] = data;\n }\n\n renderLoadingTab() {\n return ();\n }\n\n renderTab([key, render]) {\n let content;\n if (typeof render === 'function') {\n content = render.call(null, this.state, this.props);\n if (content === null) {\n return null;\n }\n } else {\n content = render;\n }\n\n let link;\n if (this.props.disabled) {\n link = ({content});\n } else {\n link = (\n \n {content}\n \n );\n }\n\n return (\n
  • \n {link}\n
  • \n );\n }\n\n renderContent(tab, cache) {\n return this.props.renderContent({ tab, cache, onCacheChange: this.onTabStateChange });\n }\n\n render() {\n let { tab } = this.state;\n let tabs = Object.entries(this.props.tabs || this.constructor.tabs).map(this.renderTab);\n let tabList;\n if (1 < tabs.length) {\n tabList = (
      {tabs}
    )\n }\n return (\n \n {tabList}\n {this.renderContent(tab, this.cache[tab])}\n \n );\n }\n}\n","import PropTypes from 'prop-types'\nimport { I18n } from '../services/i18n'\n\nexport const attachTooltip = (node, tooltip, placement) => {\n let $node = jQuery(node).tooltip({\n title: I18n.t(tooltip),\n placement,\n container: false,\n trigger: 'manual',\n html: true\n });\n\n var timeoutId;\n\n node.addEventListener('mouseenter', () => {\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => $node.tooltip('show'), 300);\n });\n node.addEventListener('mouseleave', () => {\n clearTimeout(timeoutId);\n setTimeout(() => $node.tooltip('hide'), 1200);\n });\n}\n\nclass Tooltip extends React.PureComponent {\n static propTypes = {\n value: PropTypes.string.isRequired,\n icon: PropTypes.string.isRequired,\n placement: PropTypes.string.isRequired\n }\n\n static defaultProps = {\n placement: 'top',\n icon: 'info-circle'\n }\n\n constructor() {\n super();\n this.ref = React.createRef();\n }\n\n componentDidMount() {\n attachTooltip(this.ref.current, this.props.value, this.props.placement);\n }\n\n componentWillUnmount() {\n jQuery(this.ref.current).tooltip('hide');\n }\n\n render() {\n let { value, placement, icon, className, ...rest } = this.props;\n return ();\n }\n}\n\nexport class TooltipWrap extends Tooltip {\n static propTypes = {\n value: PropTypes.string.isRequired,\n placement: PropTypes.string.isRequired\n }\n\n render() {\n return this.props.render(this.ref);\n }\n}\n\nexport default Tooltip;\n","(function($) {\n $.fn.ajaxForm = function(_options) {\n var options = _options || {};\n\n this.each(function() {\n var $form = $(this);\n\n $form.on(\"ajax:beforeSend\", function(a, b, settings) {\n settings[\"dataType\"] = \"json\";\n $form.inlineErrors(\"reset\");\n }).on(\"ajax:success\", function(a, b, c, xhr) {\n if(options.success) {\n options.success($form, xhr);\n return;\n }\n\n if($form.data(\"reload\")) {\n location.reload();\n return;\n }\n var url = xhr.getResponseHeader(\"Location\");\n if(url) location.href = url;\n }).on(\"ajax:error\", function(a, xhr) {\n if(xhr.status == 401) {\n window.location = xhr.getResponseHeader(\"Location\");\n return;\n } else if(!xhr.responseJSON) return;\n $.inlineErrorsUpdate($form, xhr.responseJSON[\"errors\"]);\n $form.trigger(\"ajax:formErrors\", [xhr.responseJSON]);\n });\n });\n return this;\n }\n})(jQuery);\n","(function($) {\n $.fn.inlineErrors = function(action, options) {\n if(!options) options = {};\n var selector = null;\n if(options.key)\n selector = \"[data-error-for=\" + options.key + \"]\";\n else\n selector = \"[data-error-for]\"\n\n var $dom = this.find(selector);\n\n switch(action) {\n case \"reset\":\n $dom.removeClass('d-block').empty();\n break;\n case \"update\":\n var content = options.content;\n if(content instanceof Array) content = content[0];\n $dom.addClass('d-block').html(content);\n break;\n case \"active\":\n $dom = $dom.filter(\".d-block\");\n break;\n\n }\n return $dom;\n }\n\n $.inlineErrorsUpdate = function($dom, list) {\n var applied = false\n $.each(list, function(key, content) {\n var $items = $dom.inlineErrors(\"update\", { key: key, content: content });\n if($items.length != 0) applied = true;\n });\n return applied;\n };\n\n $.inlinePopupErrorsUpdate = function($dom, list) {\n var applied = false;\n $.each(list, function(key) {\n var $popup = $dom.find('[data-error-popup-for=\"' + key + '\"]');\n if($popup.length != 0) {\n applied = true;\n $popup.modal(\"show\");\n return false;\n }\n });\n return applied;\n }\n})(jQuery);\n","const getPages = ($wizard, page) => $wizard.find(page ? `[data-wizard-page=\"${page}\"]` : '[data-wizard-page]');\n\n(($) => {\n $.fn.wizard = function() {\n this.each(function() {\n var $wizard = $(this),\n $back = $wizard.find('[data-back-button]'),\n $next = $wizard.find('[data-next-button]'),\n $form = $wizard.parents(\"form\"),\n pages = [], currentPage, locked = false;\n getPages($wizard).each(function() { pages.push($(this).data(\"wizardPage\")); });\n\n var updateWizard = function(newPage) {\n if(locked) return;\n currentPage = newPage;\n\n if((pages.indexOf(currentPage) == 0) || ((currentPage == pages.length) && $wizard.data(\"wizardReview\"))) {\n $wizard.find('[data-cancel-button]').show();\n $back.hide();\n } else {\n $back.show();\n $wizard.find('[data-cancel-button]').hide();\n }\n\n if(pages.indexOf(currentPage) >= (pages.length - 1)) {\n $next.hide();\n $wizard.find('[data-finish-button]').show();\n } else {\n $wizard.find('[data-finish-button]').hide();\n $next.show();\n }\n getPages($wizard).hide();\n getPages($wizard, currentPage).show();\n $wizard.trigger(\"wizard:pageChanged\", { page: currentPage });\n window.scrollToTop();\n }\n updateWizard(pages[0]);\n\n $form.on(\"ajax:formErrors\", function() {\n var page = $form.inlineErrors(\"active\").first().parents(\"[data-wizard-page]\").data(\"wizardPage\");\n updateWizard(page || pages[0]);\n }).on('ajax:beforeLoad', function() {\n $form.find('a[data-wizard-link]').prop('disabled', true);\n }).on('ajax:complete', function() {\n $form.find('a[data-wizard-link]').prop('disabled', false);\n });\n\n // prevent form submit on hitting \"Enter\" key\n $wizard.on(\"keypress\", function(e) {\n if(e.keyCode == 13) {\n e.preventDefault();\n e.stopPropagation();\n }\n });\n\n // wizard navigation\n $next.on(\"click\", function(e) {\n if(locked) return;\n\n locked = true;\n var $page = getPages($wizard, currentPage);\n $page.inlineErrors(\"reset\");\n $.ajax($wizard.data('validate'), {\n cache: false,\n data: $form.serialize(),\n dataType: 'json',\n type: 'PATCH'\n }).always(() => locked = false)\n .success(function() { updateWizard(currentPage + 1); })\n .error(function(xhr) {\n window.app.get('ngAjax').onErrorResponse(xhr, function() {\n var turnPage = true;\n if($.inlineErrorsUpdate($page, xhr.responseJSON[\"errors\"])) turnPage = false;\n if($.inlinePopupErrorsUpdate($page, xhr.responseJSON[\"errors\"])) turnPage = false;\n if(turnPage) updateWizard(currentPage + 1);\n });\n });\n });\n\n $back.on(\"click\", function(e) {\n updateWizard(currentPage - 1);\n });\n\n $wizard.on(\"click\", \"a[data-wizard-link]\", function(e) {\n e.preventDefault();\n var page = $(this).data(\"wizardLink\");\n updateWizard(page);\n });\n });\n }\n\n $(function() { $(\"[data-wizard]\").wizard(); });\n})(jQuery);\n","import saveAs from 'file-saver'\nimport mime from 'mime-types'\nimport toastr from './toastr'\nimport { I18n } from './i18n'\n\nconst toUrl = part => `${gon.app.client.url}${part}`;\n\nexport const toQuery = config => {\n if(!config) return '';\n\n var result = [];\n if(config.hasOwnProperty('page') && config.page !== null) {\n result.push(`page=${config.page}`);\n if(config.per_page) {\n result.push(`per_page=${config.per_page}`);\n }\n }\n\n if(config.hasOwnProperty('filter')) {\n Object.keys(config.filter).forEach(attrName => {\n let val = config.filter[attrName];\n if (val === null) return;\n let value = Array.isArray(val) ? val : [val];\n value.forEach(item => result.push(`${attrName}=${encodeURI(item)}`));\n });\n }\n\n if(config.hasOwnProperty('q') && config.q !== null) {\n result.push(`q=${encodeURI(config.q.toLocaleLowerCase())}`);\n }\n\n return (result.length === 0) ? '' : `?${result.join('&')}`;\n}\n\nconst headers = (custom = {}) => {\n let base = {\n 'x-evalarm-api-session': window.gon.app.client.token,\n 'x-evalarm-api-version': window.EVA.apiVersion\n };\n return new Headers(Object.assign(base, custom));\n}\n\nexport const responseHandler = resp => {\n let { headers, status } = resp;\n\n if (status === 401 && window.gon.app.client.autologin) {\n window.location.reload();\n }\n\n if(status === 404 || 500 <= status) {\n if (500 <= status) {\n toastr(I18n.t('core.api_error'), { theme: 'danger' });\n }\n return Promise.reject({ headers, status });\n } else if ((resp.headers.get('Content-Type') + '').indexOf('json') !== -1 && resp.status !== 204) {\n return resp.json().then(\n json => ({ headers, status, json }),\n () => ({ headers, status, json: null })\n );\n } else {\n return { headers, status, json: null };\n }\n}\n\nconst doRequest = (url, method, options) => {\n var config = { method, headers: headers(options.headers) };\n if(options.body) {\n if(options.body instanceof FormData) {\n config.body = options.body;\n } else {\n config.headers.append('Content-Type', 'application/json');\n config.body = JSON.stringify(options.body);\n }\n }\n\n if (options.cached) {\n config.headers.append('x-cached-resources', Math.ceil(Date.now() / 1000));\n config.headers.append('x-cached-location', gon.app.id);\n }\n\n return fetch(toUrl(url), config).then(responseHandler, error => {\n toastr(\"There's API issue. Please contact support@evalarm.de\", { theme: 'danger' });\n return Promise.reject(error);\n });\n}\n\nif (process.env.RAILS_ENV === 'development') {\n window.apiFetch = (url, method = 'GET', options = {}) => doRequest(url, method, options);\n}\n\nexport const get = (url, options = {}) => doRequest(url, 'GET', options);\n\nexport const post = (url, body, options = {}) => doRequest(url, 'POST', { ...options, body });\n\nexport const put = (url, body, options = {}) => doRequest(url, 'PUT', { ...options, body });\n\nexport const patch = (url, body, options = {}) => doRequest(url, 'PATCH', { ...options, body });\n\nexport const del = (url, options = {}) => doRequest(url, 'DELETE', options);\n\nexport const fetchList = (path, route, config = {}, key = route) => get(`${path}${toQuery(config)}`, config).\n then(resp => {\n let { [key]: listData, ...meta } = resp.json;\n let list = app.schema.normalizeList(listData, route);\n list.$meta = meta;\n list.$meta.$path = path;\n list.forEach(item => {\n item.$meta = item.$meta || {};\n item.$meta.$path = `${path}/${item.id}`;\n });\n return list\n }, Promise.reject);\n\nvar fetchAllListCache = {};\nexport const fetchAllList = (route, config = {}) => {\n let path = config.path || `/${route}`;\n\n if (fetchAllListCache.hasOwnProperty(path)) {\n return new Promise(resolve => resolve(fetchAllListCache[path]));\n }\n\n return fetchList(path, route, { ...config, cached: true }).then(list => {\n fetchAllListCache[path] = list;\n return list;\n }, Promise.reject);\n}\n\nfetchAllList.resetCache = path => delete fetchAllListCache[path]\n\nexport const fetchPage = (path, route, config, key = route) => {\n let params = { per_page: 25, ...config };\n return get(`${path}${toQuery(params)}`).then(resp => {\n let { total, ...meta } = resp.json;\n delete meta[key];\n let list = app.schema.normalizeList(resp.json[key], route);\n list.$meta = { per_page: params.per_page, ...meta, total, $path: path };\n list.forEach(item => {\n item.$meta = item.$meta || {};\n item.$meta.$path = `${path}/${item.id}`;\n });\n return { list, total, meta };\n }, Promise.reject);\n}\n\nexport const fetchOne = (path, route, key) => get(path).then(resp => {\n let resource = app.schema.normalize(resp.json[key], route);\n resource.$meta = resource.$meta || {};\n resource.$meta.$path = path;\n return resource;\n}, Promise.reject);\n\n// sugar methods\nexport const fetchListByIds = (path, route, ids) => {\n if (ids.length === 0) {\n return new Promise(resolve => resolve([]));\n }\n // send only unique list of ids as api duplicates records\n // if there is a few identical ids\n let uniqIds = Array.from(new Set(ids));\n // to fix to long query (2048 chars max)\n if (50 < uniqIds.length) {\n return fetchAllList(route, { path });\n } else {\n return fetchList(path, route, { filter: { id_in: uniqIds } });\n }\n}\n\nexport const fetchRelationIds = relationIdsPath => get(relationIdsPath).then(resp => resp.json, Promise.reject);\n\nexport const fetchListByRelationIds = (relationIdsPath, path, route) =>\n fetchRelationIds(relationIdsPath).then(ids => fetchListByIds(path, route, ids), Promise.reject)\n\nexport const fetchCount = path => get(`${path}${toQuery({ page: 1, per_page: 1 })}`)\n .then(resp => resp.json.total, Promise.reject);\n\nvar fileCache = {};\n\nconst downloadFileBlob = path => {\n let url = path.includes('://') ? path : toUrl(`/files${path}`);\n return fetch(url, { headers: headers() }).then(resp => {\n if (resp.status === 200) {\n return resp.blob()\n } else {\n return Promise.reject(resp);\n }\n }, Promise.reject);\n}\n\nexport const getFileUrl = (url, forceCache = false) => new Promise((resolve, reject) => {\n if (fileCache.hasOwnProperty(url) && !forceCache) {\n return resolve(fileCache[url]);\n }\n\n downloadFileBlob(url).then(blob => {\n let fileUrl = URL.createObjectURL(blob);\n fileCache[url] = fileUrl;\n resolve(fileUrl);\n }, reject);\n});\n\nconst blobToExt = blob => mime.extension(blob.type) || '';\n\nconst toFullFileName = (filename, extName) =>\n filename.endsWith(extName) ? filename : `${filename}.${extName}`;\n\nexport const saveBlob = (blob, opts) => saveAs(blob, toFullFileName(opts.filename, blobToExt(blob)))\n\nexport const downloadFile = (url, opts = { filename: 'EVAlarm' }) =>\n downloadFileBlob(url).then(blob => saveBlob(blob, opts));\n\nexport const preloadFile = (url, filename = 'EVAlarm') => downloadFileBlob(url).then(blob => ({\n url: URL.createObjectURL(blob),\n download(custom = {}) {\n return new Promise(resolve => {\n saveBlob(blob, { filename, ...custom });\n resolve();\n });\n }\n}));\n","import Modal, { openModal, ModalHeader } from '../components/modal'\nimport { Translate } from '../services/i18n'\n\nexport default node => {\n node.addEventListener('click', e => {\n e.preventDefault();\n openModal(props => (\n \n \n EVALARM\n
    \n \n
    \n
    \n