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ID,aAAc,4CACdC,YAAa,CAAC,mBAAoB,qBAAlCA,AACJ,EACA,CACID,aAAc,mBACdC,YAAa,CAAC,yBAAdA,AACJ,EACA,CACID,aAAc,uBACdC,YAAa,CACT,2BACA,yBACA,wBACA,eAJJA,AAMJ,EACA,CACID,aAAc,iBACdC,YAAa,CAAC,wBAAdA,AACJ,EACA,CACID,aAAc,mBACdC,YAAa,CAAC,mBAAdA,AACJ,EACA,CACID,aAAc,kBACdC,YAAa,CAAC,wBAAdA,AACJ,EACA,CACID,aAAc,oBACdC,YAAa,CAAC,wBAAdA,AACJ,EACA,CACID,aAAc,aACdC,YAAa,CAAC,uBAAqB,sBAAnCA,AACJ,EACA,CACID,aAAc,oBACdC,YAAa,CAAC,kBAAdA,AACJ,EACA,CACID,aAAc,uBACdC,YAAa,CAAC,oBAAqB,qBAAnCA,AACJ,EACA,CACID,aAAc,gCACdC,YAAa,CAAC,yBAA0B,8BAAxCA,AACJ,EACA,CACID,aAAc,+BACdC,YAAa,CACT,oBACA,2BACA,uBACA,iBAJJA,AAMJ,EACA,CACID,aAAc,iBACdC,YAAa,CAAC,kBAAdA,AACJ,EACA,CACID,aAAc,eACdC,YAAa,CAAC,0BAAdA,AACJ,EACA,CACID,aAAc,iCACdC,YAAa,CAAC,sBAAuB,YAArCA,AACJ,EACA,CACID,aAAc,gBACdC,YAAa,CAAC,sBAAdA,AACJ,EACA,CACID,aAAc,uBACdC,YAAa,CAAC,uBAAdA,AACJ,EACA,CACID,aAAc,2BACdC,YAAa,CAAC,+BAAdA,AACJ,EACA,CACID,aAAc,kBACdC,YAAa,0BACjB,EACA,CACID,aAAc,gBACdC,YAAa,CAAC,qBAAsB,6BAApCA,AACJ,EACA,CACID,aAAc,sBACdC,YAAa,sBACjB,EACA,CACID,aAAc,eACdC,YAAa,CAAC,uBAAwB,oBAAtCA,AACJ,EACA,CACID,aAAc,kBACdC,YAAa,CAAC,yBAA0B,oBAAxCA,AACJ,EACA,CACID,aAAc,gCACdC,YAA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,MAAA,CA4B+D0rB,GAAY,0KAAA1rB,MAAA,CAC+DyrB,GAAY,gIAAAzrB,MAAA,CACtDwrB,GAAS,gLAQvHpB,GAAM1U,SAAS,CAAA,o+CA0Df,IAAI,CAAChd,WAAW,CAAC0xB,GACrB,CAAC,EAAA,C,G,AA3GuB3B,E,S,C,G,G,GAAAA,E,G,O,c,CAAAA,E,Y,C,S,C,C,GAAAA,CA2GvB,EAAA,WAAA,EAAAwB,GA3GgC9f,cA8GrC,UAAA,EACAwL,eAAeC,MAAM,CAAC,mBAAoB6S,IChH1C,YAAA,EACArgB,AAHe,IAAIqiB,EAAO/yB,SAASE,aAAa,CAAC,UAG1CgK,SAAS,CAAC,CACb,CAACrL,KAAM,IAAK0T,UAAW,cAAc,EAAG,kBAAA;AACxC,CAAC1T,KAAM,YAAa0T,UAAW,eAAe,EAAG,oBAAA;AACjD,CAAC1T,KAAM,WAAY0T,UAAW,cAAc,EAAG,6BAAA;AAC/C,CAAC1T,KAAM,aAAc0T,UAAW,gBAAgB,EAAG,4BAAA;AACnD,CAAC1T,KAAM,YAAa0T,UAAW,eAAe,EAAG,oBAAA;AACjD,CAAC1T,KAAM,iBAAkB0T,UAAW,SAAS,EAAG,yBAAA;AAChD,CAAC1T,KAAM,eAAgB0T,UAAW,kBAAkB,EAAG,uBAAA;AACvD,CAAC1T,KAAM,eAAgB0T,UAAW,kBAAkB,EAAG,uBAAA;AACvD,CAAC1T,KAAM,eAAgB0T,UAAW,kBAAkB,EAAG,uBAAA;AACvD,CAAC1T,KAAM,SAAU0T,UAAW,YAAY,CAAG,qCAAH;CAC3C,EjDCGtO,GAAAA,KAAAA,CAAMue,IAAI,E,4D","sources":["","src/index.ts","src/components/header.ts","node_modules/@vaadin/router/dist/vaadin-router.js","node_modules/@vaadin/router/src/utils.js","node_modules/@vaadin/router/src/triggers/click.js","node_modules/@vaadin/router/src/triggers/popstate.js","node_modules/@vaadin/router/node_modules/path-to-regexp/index.js","node_modules/@vaadin/router/src/resolver/matchPath.js","node_modules/@vaadin/router/src/resolver/matchRoute.js","node_modules/@vaadin/router/src/resolver/resolveRoute.js","node_modules/@vaadin/router/src/resolver/resolver.js","node_modules/@vaadin/router/src/resolver/generateUrls.js","node_modules/@vaadin/router/src/triggers/setNavigationTriggers.js","node_modules/@vaadin/router/src/transitions/animate.js","node_modules/@vaadin/router/src/router.js","node_modules/@vaadin/router/node_modules/@vaadin/vaadin-development-mode-detector/vaadin-development-mode-detector.js","node_modules/@vaadin/router/node_modules/@vaadin/vaadin-usage-statistics/vaadin-usage-statistics-collect.js","node_modules/@vaadin/router/src/router-meta.js","node_modules/@vaadin/router/src/router-config.js","node_modules/@parcel/runtime-js/lib/runtime-c334ba996ba5a0ca.js","node_modules/@parcel/runtime-js/lib/runtime-fc31b571c6d419fb.js","src/components/footer.ts","node_modules/@parcel/runtime-js/lib/runtime-7ca682a1f31cf2c5.js","node_modules/@parcel/runtime-js/lib/runtime-5dbc1874dd2ca5fe.js","node_modules/@parcel/runtime-js/lib/runtime-219a1df803fa56a7.js","node_modules/@parcel/runtime-js/lib/runtime-f46b359559ba5380.js","src/views/no-page.ts","node_modules/@parcel/runtime-js/lib/runtime-bf11d2883f79ce5b.js","src/views/welcome.ts","src/state.ts","node_modules/@parcel/runtime-js/lib/runtime-cf94e8c7fcc34454.js","src/views/nosotros.ts","src/views/sedes.ts","src/views/cobertura.ts","src/ooss.ts","src/views/horarios.ts","src/views/.profesionales.ts","src/.Prueba-Profesionales.ts","src/views/trabaja.ts","src/views/diagnostico.ts","node_modules/@parcel/runtime-js/lib/runtime-0f8adda6c05544da.js","node_modules/@parcel/runtime-js/lib/runtime-670f7c29e7e7ff0a.js","node_modules/@parcel/runtime-js/lib/runtime-b76035273e57c8ed.js","node_modules/@parcel/runtime-js/lib/runtime-013f2e239eb5b1dd.js","node_modules/@parcel/runtime-js/lib/runtime-777caa152281ed91.js","src/views/laboratorio.ts","node_modules/@parcel/runtime-js/lib/runtime-eeca2411a11e5a77.js","node_modules/@parcel/runtime-js/lib/runtime-bcc2e666b5ebe9b6.js","src/views/cardiologia.ts","src/router.ts"],"sourcesContent":["\"use strict\";\nvar $e7453e1bf0e39a4e$exports = {};\n\"use strict\";\nfunction $e7453e1bf0e39a4e$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $e7453e1bf0e39a4e$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $e7453e1bf0e39a4e$var$_typeof(o);\n}\nObject.defineProperty($e7453e1bf0e39a4e$exports, \"__esModule\", {\n value: true\n});\n$e7453e1bf0e39a4e$exports.HeaderComponent = void 0;\nfunction $f9d9d110dea7aeee$var$toArray(objectOrArray) {\n objectOrArray = objectOrArray || [];\n return Array.isArray(objectOrArray) ? objectOrArray : [\n objectOrArray\n ];\n}\nfunction $f9d9d110dea7aeee$var$log(msg) {\n return `[Vaadin.Router] ${msg}`;\n}\nfunction $f9d9d110dea7aeee$var$logValue(value) {\n if (typeof value !== \"object\") return String(value);\n const stringType = Object.prototype.toString.call(value).match(/ (.*)\\]$/)[1];\n if (stringType === \"Object\" || stringType === \"Array\") return `${stringType} ${JSON.stringify(value)}`;\n else return stringType;\n}\nconst $f9d9d110dea7aeee$var$MODULE = \"module\";\nconst $f9d9d110dea7aeee$var$NOMODULE = \"nomodule\";\nconst $f9d9d110dea7aeee$var$bundleKeys = [\n $f9d9d110dea7aeee$var$MODULE,\n $f9d9d110dea7aeee$var$NOMODULE\n];\nfunction $f9d9d110dea7aeee$var$ensureBundle(src) {\n if (!src.match(/.+\\.[m]?js$/)) throw new Error($f9d9d110dea7aeee$var$log(`Unsupported type for bundle \"${src}\": .js or .mjs expected.`));\n}\nfunction $f9d9d110dea7aeee$var$ensureRoute(route) {\n if (!route || !$f9d9d110dea7aeee$var$isString(route.path)) throw new Error($f9d9d110dea7aeee$var$log(`Expected route config to be an object with a \"path\" string property, or an array of such objects`));\n const bundle = route.bundle;\n const stringKeys = [\n \"component\",\n \"redirect\",\n \"bundle\"\n ];\n if (!$f9d9d110dea7aeee$var$isFunction(route.action) && !Array.isArray(route.children) && !$f9d9d110dea7aeee$var$isFunction(route.children) && !$f9d9d110dea7aeee$var$isObject(bundle) && !stringKeys.some((key)=>$f9d9d110dea7aeee$var$isString(route[key]))) throw new Error($f9d9d110dea7aeee$var$log(`Expected route config \"${route.path}\" to include either \"${stringKeys.join('\", \"')}\" ` + `or \"action\" function but none found.`));\n if (bundle) {\n if ($f9d9d110dea7aeee$var$isString(bundle)) $f9d9d110dea7aeee$var$ensureBundle(bundle);\n else if (!$f9d9d110dea7aeee$var$bundleKeys.some((key)=>key in bundle)) throw new Error($f9d9d110dea7aeee$var$log('Expected route bundle to include either \"' + $f9d9d110dea7aeee$var$NOMODULE + '\" or \"' + $f9d9d110dea7aeee$var$MODULE + '\" keys, or both'));\n else $f9d9d110dea7aeee$var$bundleKeys.forEach((key)=>key in bundle && $f9d9d110dea7aeee$var$ensureBundle(bundle[key]));\n }\n if (route.redirect) [\n \"bundle\",\n \"component\"\n ].forEach((overriddenProp)=>{\n if (overriddenProp in route) console.warn($f9d9d110dea7aeee$var$log(`Route config \"${route.path}\" has both \"redirect\" and \"${overriddenProp}\" properties, ` + `and \"redirect\" will always override the latter. Did you mean to only use \"${overriddenProp}\"?`));\n });\n}\nfunction $f9d9d110dea7aeee$var$ensureRoutes(routes) {\n $f9d9d110dea7aeee$var$toArray(routes).forEach((route)=>$f9d9d110dea7aeee$var$ensureRoute(route));\n}\nfunction $f9d9d110dea7aeee$var$loadScript(src, key) {\n let script = document.head.querySelector('script[src=\"' + src + '\"][async]');\n if (!script) {\n script = document.createElement(\"script\");\n script.setAttribute(\"src\", src);\n if (key === $f9d9d110dea7aeee$var$MODULE) script.setAttribute(\"type\", $f9d9d110dea7aeee$var$MODULE);\n else if (key === $f9d9d110dea7aeee$var$NOMODULE) script.setAttribute($f9d9d110dea7aeee$var$NOMODULE, \"\");\n script.async = true;\n }\n return new Promise((resolve, reject)=>{\n script.onreadystatechange = script.onload = (e)=>{\n script.__dynamicImportLoaded = true;\n resolve(e);\n };\n script.onerror = (e)=>{\n if (script.parentNode) script.parentNode.removeChild(script);\n reject(e);\n };\n if (script.parentNode === null) document.head.appendChild(script);\n else if (script.__dynamicImportLoaded) resolve();\n });\n}\nfunction $f9d9d110dea7aeee$var$loadBundle(bundle) {\n if ($f9d9d110dea7aeee$var$isString(bundle)) return $f9d9d110dea7aeee$var$loadScript(bundle);\n else return Promise.race($f9d9d110dea7aeee$var$bundleKeys.filter((key)=>key in bundle).map((key)=>$f9d9d110dea7aeee$var$loadScript(bundle[key], key)));\n}\nfunction $f9d9d110dea7aeee$var$fireRouterEvent(type, detail) {\n return !window.dispatchEvent(new CustomEvent(`vaadin-router-${type}`, {\n cancelable: type === \"go\",\n detail: detail\n }));\n}\nfunction $f9d9d110dea7aeee$var$isObject(o) {\n // guard against null passing the typeof check\n return typeof o === \"object\" && !!o;\n}\nfunction $f9d9d110dea7aeee$var$isFunction(f) {\n return typeof f === \"function\";\n}\nfunction $f9d9d110dea7aeee$var$isString(s) {\n return typeof s === \"string\";\n}\nfunction $f9d9d110dea7aeee$var$getNotFoundError(context) {\n const error = new Error($f9d9d110dea7aeee$var$log(`Page not found (${context.pathname})`));\n error.context = context;\n error.code = 404;\n return error;\n}\nconst $f9d9d110dea7aeee$var$notFoundResult = new class NotFoundResult {\n}();\n/* istanbul ignore next: coverage is calculated in Chrome, this code is for IE */ function $f9d9d110dea7aeee$var$getAnchorOrigin(anchor) {\n // IE11: on HTTP and HTTPS the default port is not included into\n // window.location.origin, so won't include it here either.\n const port = anchor.port;\n const protocol = anchor.protocol;\n const defaultHttp = protocol === \"http:\" && port === \"80\";\n const defaultHttps = protocol === \"https:\" && port === \"443\";\n const host = defaultHttp || defaultHttps ? anchor.hostname // does not include the port number (e.g. www.example.org)\n : anchor.host; // does include the port number (e.g. www.example.org:80)\n return `${protocol}//${host}`;\n}\n// The list of checks is not complete:\n// - SVG support is missing\n// - the 'rel' attribute is not considered\nfunction $f9d9d110dea7aeee$var$vaadinRouterGlobalClickHandler(event) {\n // ignore the click if the default action is prevented\n if (event.defaultPrevented) return;\n // ignore the click if not with the primary mouse button\n if (event.button !== 0) return;\n // ignore the click if a modifier key is pressed\n if (event.shiftKey || event.ctrlKey || event.altKey || event.metaKey) return;\n // find the element that the click is at (or within)\n let anchor = event.target;\n const path = event.composedPath ? event.composedPath() : event.path || [];\n // FIXME(web-padawan): `Symbol.iterator` used by webcomponentsjs is broken for arrays\n // example to check: `for...of` loop here throws the \"Not yet implemented\" error\n for(let i = 0; i < path.length; i++){\n const target = path[i];\n if (target.nodeName && target.nodeName.toLowerCase() === \"a\") {\n anchor = target;\n break;\n }\n }\n while(anchor && anchor.nodeName.toLowerCase() !== \"a\")anchor = anchor.parentNode;\n // ignore the click if not at an element\n if (!anchor || anchor.nodeName.toLowerCase() !== \"a\") return;\n // ignore the click if the element has a non-default target\n if (anchor.target && anchor.target.toLowerCase() !== \"_self\") return;\n // ignore the click if the element has the 'download' attribute\n if (anchor.hasAttribute(\"download\")) return;\n // ignore the click if the element has the 'router-ignore' attribute\n if (anchor.hasAttribute(\"router-ignore\")) return;\n // ignore the click if the target URL is a fragment on the current page\n if (anchor.pathname === window.location.pathname && anchor.hash !== \"\") return;\n // ignore the click if the target is external to the app\n // In IE11 HTMLAnchorElement does not have the `origin` property\n const origin = anchor.origin || $f9d9d110dea7aeee$var$getAnchorOrigin(anchor);\n if (origin !== window.location.origin) return;\n // if none of the above, convert the click into a navigation event\n const { pathname: pathname, search: search, hash: hash } = anchor;\n if ($f9d9d110dea7aeee$var$fireRouterEvent(\"go\", {\n pathname: pathname,\n search: search,\n hash: hash\n })) {\n event.preventDefault();\n // for a click event, the scroll is reset to the top position.\n if (event && event.type === \"click\") window.scrollTo(0, 0);\n }\n}\n/**\n * A navigation trigger for Vaadin Router that translated clicks on `` links\n * into Vaadin Router navigation events.\n *\n * Only regular clicks on in-app links are translated (primary mouse button, no\n * modifier keys, the target href is within the app's URL space).\n *\n * @memberOf Router.NavigationTrigger\n * @type {NavigationTrigger}\n */ const $f9d9d110dea7aeee$var$CLICK = {\n activate () {\n window.document.addEventListener(\"click\", $f9d9d110dea7aeee$var$vaadinRouterGlobalClickHandler);\n },\n inactivate () {\n window.document.removeEventListener(\"click\", $f9d9d110dea7aeee$var$vaadinRouterGlobalClickHandler);\n }\n};\n// PopStateEvent constructor shim\nconst $f9d9d110dea7aeee$var$isIE = /Trident/.test(navigator.userAgent);\n/* istanbul ignore next: coverage is calculated in Chrome, this code is for IE */ if ($f9d9d110dea7aeee$var$isIE && !$f9d9d110dea7aeee$var$isFunction(window.PopStateEvent)) {\n window.PopStateEvent = function(inType, params) {\n params = params || {};\n var e = document.createEvent(\"Event\");\n e.initEvent(inType, Boolean(params.bubbles), Boolean(params.cancelable));\n e.state = params.state || null;\n return e;\n };\n window.PopStateEvent.prototype = window.Event.prototype;\n}\nfunction $f9d9d110dea7aeee$var$vaadinRouterGlobalPopstateHandler(event) {\n if (event.state === \"vaadin-router-ignore\") return;\n const { pathname: pathname, search: search, hash: hash } = window.location;\n $f9d9d110dea7aeee$var$fireRouterEvent(\"go\", {\n pathname: pathname,\n search: search,\n hash: hash\n });\n}\n/**\n * A navigation trigger for Vaadin Router that translates popstate events into\n * Vaadin Router navigation events.\n *\n * @memberOf Router.NavigationTrigger\n * @type {NavigationTrigger}\n */ const $f9d9d110dea7aeee$var$POPSTATE = {\n activate () {\n window.addEventListener(\"popstate\", $f9d9d110dea7aeee$var$vaadinRouterGlobalPopstateHandler);\n },\n inactivate () {\n window.removeEventListener(\"popstate\", $f9d9d110dea7aeee$var$vaadinRouterGlobalPopstateHandler);\n }\n};\n/**\n * Expose `pathToRegexp`.\n */ var $f9d9d110dea7aeee$var$pathToRegexp_1 = $f9d9d110dea7aeee$var$pathToRegexp$1;\nvar $f9d9d110dea7aeee$var$parse_1 = $f9d9d110dea7aeee$var$parse;\nvar $f9d9d110dea7aeee$var$compile_1 = $f9d9d110dea7aeee$var$compile;\nvar $f9d9d110dea7aeee$var$tokensToFunction_1 = $f9d9d110dea7aeee$var$tokensToFunction;\nvar $f9d9d110dea7aeee$var$tokensToRegExp_1 = $f9d9d110dea7aeee$var$tokensToRegExp;\n/**\n * Default configs.\n */ var $f9d9d110dea7aeee$var$DEFAULT_DELIMITER = \"/\";\nvar $f9d9d110dea7aeee$var$DEFAULT_DELIMITERS = \"./\";\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */ var $f9d9d110dea7aeee$var$PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n \"(\\\\\\\\.)\",\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \":test(\\\\d+)?\" => [\"test\", \"\\d+\", undefined, \"?\"]\n // \"(\\\\d+)\" => [undefined, undefined, \"\\d+\", undefined]\n \"(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?\"\n].join(\"|\"), \"g\");\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */ function $f9d9d110dea7aeee$var$parse(str, options) {\n var tokens = [];\n var key = 0;\n var index = 0;\n var path = \"\";\n var defaultDelimiter = options && options.delimiter || $f9d9d110dea7aeee$var$DEFAULT_DELIMITER;\n var delimiters = options && options.delimiters || $f9d9d110dea7aeee$var$DEFAULT_DELIMITERS;\n var pathEscaped = false;\n var res;\n while((res = $f9d9d110dea7aeee$var$PATH_REGEXP.exec(str)) !== null){\n var m = res[0];\n var escaped = res[1];\n var offset = res.index;\n path += str.slice(index, offset);\n index = offset + m.length;\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1];\n pathEscaped = true;\n continue;\n }\n var prev = \"\";\n var next = str[index];\n var name = res[2];\n var capture = res[3];\n var group = res[4];\n var modifier = res[5];\n if (!pathEscaped && path.length) {\n var k = path.length - 1;\n if (delimiters.indexOf(path[k]) > -1) {\n prev = path[k];\n path = path.slice(0, k);\n }\n }\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path);\n path = \"\";\n pathEscaped = false;\n }\n var partial = prev !== \"\" && next !== undefined && next !== prev;\n var repeat = modifier === \"+\" || modifier === \"*\";\n var optional = modifier === \"?\" || modifier === \"*\";\n var delimiter = prev || defaultDelimiter;\n var pattern = capture || group;\n tokens.push({\n name: name || key++,\n prefix: prev,\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n pattern: pattern ? $f9d9d110dea7aeee$var$escapeGroup(pattern) : \"[^\" + $f9d9d110dea7aeee$var$escapeString(delimiter) + \"]+?\"\n });\n }\n // Push any remaining characters.\n if (path || index < str.length) tokens.push(path + str.substr(index));\n return tokens;\n}\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */ function $f9d9d110dea7aeee$var$compile(str, options) {\n return $f9d9d110dea7aeee$var$tokensToFunction($f9d9d110dea7aeee$var$parse(str, options));\n}\n/**\n * Expose a method for transforming tokens into the path function.\n */ function $f9d9d110dea7aeee$var$tokensToFunction(tokens) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length);\n // Compile all the patterns before compilation.\n for(var i = 0; i < tokens.length; i++)if (typeof tokens[i] === \"object\") matches[i] = new RegExp(\"^(?:\" + tokens[i].pattern + \")$\");\n return function(data, options) {\n var path = \"\";\n var encode = options && options.encode || encodeURIComponent;\n for(var i = 0; i < tokens.length; i++){\n var token = tokens[i];\n if (typeof token === \"string\") {\n path += token;\n continue;\n }\n var value = data ? data[token.name] : undefined;\n var segment;\n if (Array.isArray(value)) {\n if (!token.repeat) throw new TypeError('Expected \"' + token.name + '\" to not repeat, but got array');\n if (value.length === 0) {\n if (token.optional) continue;\n throw new TypeError('Expected \"' + token.name + '\" to not be empty');\n }\n for(var j = 0; j < value.length; j++){\n segment = encode(value[j], token);\n if (!matches[i].test(segment)) throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\"');\n path += (j === 0 ? token.prefix : token.delimiter) + segment;\n }\n continue;\n }\n if (typeof value === \"string\" || typeof value === \"number\" || typeof value === \"boolean\") {\n segment = encode(String(value), token);\n if (!matches[i].test(segment)) throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but got \"' + segment + '\"');\n path += token.prefix + segment;\n continue;\n }\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) path += token.prefix;\n continue;\n }\n throw new TypeError('Expected \"' + token.name + '\" to be ' + (token.repeat ? \"an array\" : \"a string\"));\n }\n return path;\n };\n}\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */ function $f9d9d110dea7aeee$var$escapeString(str) {\n return str.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, \"\\\\$1\");\n}\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */ function $f9d9d110dea7aeee$var$escapeGroup(group) {\n return group.replace(/([=!:$/()])/g, \"\\\\$1\");\n}\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */ function $f9d9d110dea7aeee$var$flags(options) {\n return options && options.sensitive ? \"\" : \"i\";\n}\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {Array=} keys\n * @return {!RegExp}\n */ function $f9d9d110dea7aeee$var$regexpToRegexp(path, keys) {\n if (!keys) return path;\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g);\n if (groups) for(var i = 0; i < groups.length; i++)keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n pattern: null\n });\n return path;\n}\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */ function $f9d9d110dea7aeee$var$arrayToRegexp(path, keys, options) {\n var parts = [];\n for(var i = 0; i < path.length; i++)parts.push($f9d9d110dea7aeee$var$pathToRegexp$1(path[i], keys, options).source);\n return new RegExp(\"(?:\" + parts.join(\"|\") + \")\", $f9d9d110dea7aeee$var$flags(options));\n}\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */ function $f9d9d110dea7aeee$var$stringToRegexp(path, keys, options) {\n return $f9d9d110dea7aeee$var$tokensToRegExp($f9d9d110dea7aeee$var$parse(path, options), keys, options);\n}\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */ function $f9d9d110dea7aeee$var$tokensToRegExp(tokens, keys, options) {\n options = options || {};\n var strict = options.strict;\n var start = options.start !== false;\n var end = options.end !== false;\n var delimiter = $f9d9d110dea7aeee$var$escapeString(options.delimiter || $f9d9d110dea7aeee$var$DEFAULT_DELIMITER);\n var delimiters = options.delimiters || $f9d9d110dea7aeee$var$DEFAULT_DELIMITERS;\n var endsWith = [].concat(options.endsWith || []).map($f9d9d110dea7aeee$var$escapeString).concat(\"$\").join(\"|\");\n var route = start ? \"^\" : \"\";\n var isEndDelimited = tokens.length === 0;\n // Iterate over the tokens and create our regexp string.\n for(var i = 0; i < tokens.length; i++){\n var token = tokens[i];\n if (typeof token === \"string\") {\n route += $f9d9d110dea7aeee$var$escapeString(token);\n isEndDelimited = i === tokens.length - 1 && delimiters.indexOf(token[token.length - 1]) > -1;\n } else {\n var capture = token.repeat ? \"(?:\" + token.pattern + \")(?:\" + $f9d9d110dea7aeee$var$escapeString(token.delimiter) + \"(?:\" + token.pattern + \"))*\" : token.pattern;\n if (keys) keys.push(token);\n if (token.optional) {\n if (token.partial) route += $f9d9d110dea7aeee$var$escapeString(token.prefix) + \"(\" + capture + \")?\";\n else route += \"(?:\" + $f9d9d110dea7aeee$var$escapeString(token.prefix) + \"(\" + capture + \"))?\";\n } else route += $f9d9d110dea7aeee$var$escapeString(token.prefix) + \"(\" + capture + \")\";\n }\n }\n if (end) {\n if (!strict) route += \"(?:\" + delimiter + \")?\";\n route += endsWith === \"$\" ? \"$\" : \"(?=\" + endsWith + \")\";\n } else {\n if (!strict) route += \"(?:\" + delimiter + \"(?=\" + endsWith + \"))?\";\n if (!isEndDelimited) route += \"(?=\" + delimiter + \"|\" + endsWith + \")\";\n }\n return new RegExp(route, $f9d9d110dea7aeee$var$flags(options));\n}\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */ function $f9d9d110dea7aeee$var$pathToRegexp$1(path, keys, options) {\n if (path instanceof RegExp) return $f9d9d110dea7aeee$var$regexpToRegexp(path, keys);\n if (Array.isArray(path)) return $f9d9d110dea7aeee$var$arrayToRegexp(/** @type {!Array} */ path, keys, options);\n return $f9d9d110dea7aeee$var$stringToRegexp(/** @type {string} */ path, keys, options);\n}\n$f9d9d110dea7aeee$var$pathToRegexp_1.parse = $f9d9d110dea7aeee$var$parse_1;\n$f9d9d110dea7aeee$var$pathToRegexp_1.compile = $f9d9d110dea7aeee$var$compile_1;\n$f9d9d110dea7aeee$var$pathToRegexp_1.tokensToFunction = $f9d9d110dea7aeee$var$tokensToFunction_1;\n$f9d9d110dea7aeee$var$pathToRegexp_1.tokensToRegExp = $f9d9d110dea7aeee$var$tokensToRegExp_1;\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */ const { hasOwnProperty: $f9d9d110dea7aeee$var$hasOwnProperty } = Object.prototype;\nconst $f9d9d110dea7aeee$var$cache$1 = new Map();\n// see https://github.com/pillarjs/path-to-regexp/issues/148\n$f9d9d110dea7aeee$var$cache$1.set(\"|false\", {\n keys: [],\n pattern: /(?:)/\n});\nfunction $f9d9d110dea7aeee$var$decodeParam(val) {\n try {\n return decodeURIComponent(val);\n } catch (err) {\n return val;\n }\n}\nfunction $f9d9d110dea7aeee$var$matchPath(routepath, path, exact, parentKeys, parentParams) {\n exact = !!exact;\n const cacheKey = `${routepath}|${exact}`;\n let regexp = $f9d9d110dea7aeee$var$cache$1.get(cacheKey);\n if (!regexp) {\n const keys = [];\n regexp = {\n keys: keys,\n pattern: $f9d9d110dea7aeee$var$pathToRegexp_1(routepath, keys, {\n end: exact,\n strict: routepath === \"\"\n })\n };\n $f9d9d110dea7aeee$var$cache$1.set(cacheKey, regexp);\n }\n const m = regexp.pattern.exec(path);\n if (!m) return null;\n const params = Object.assign({}, parentParams);\n for(let i = 1; i < m.length; i++){\n const key = regexp.keys[i - 1];\n const prop = key.name;\n const value = m[i];\n if (value !== undefined || !$f9d9d110dea7aeee$var$hasOwnProperty.call(params, prop)) {\n if (key.repeat) params[prop] = value ? value.split(key.delimiter).map($f9d9d110dea7aeee$var$decodeParam) : [];\n else params[prop] = value ? $f9d9d110dea7aeee$var$decodeParam(value) : value;\n }\n }\n return {\n path: m[0],\n keys: (parentKeys || []).concat(regexp.keys),\n params: params\n };\n}\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */ /**\n * Traverses the routes tree and matches its nodes to the given pathname from\n * the root down to the leaves. Each match consumes a part of the pathname and\n * the matching process continues for as long as there is a matching child\n * route for the remaining part of the pathname.\n *\n * The returned value is a lazily evaluated iterator.\n *\n * The leading \"/\" in a route path matters only for the root of the routes\n * tree (or if all parent routes are \"\"). In all other cases a leading \"/\" in\n * a child route path has no significance.\n *\n * The trailing \"/\" in a _route path_ matters only for the leaves of the\n * routes tree. A leaf route with a trailing \"/\" matches only a pathname that\n * also has a trailing \"/\".\n *\n * The trailing \"/\" in a route path does not affect matching of child routes\n * in any way.\n *\n * The trailing \"/\" in a _pathname_ generally does not matter (except for\n * the case of leaf nodes described above).\n *\n * The \"\" and \"/\" routes have special treatment:\n * 1. as a single route\n * the \"\" and \"/\" routes match only the \"\" and \"/\" pathnames respectively\n * 2. as a parent in the routes tree\n * the \"\" route matches any pathname without consuming any part of it\n * the \"/\" route matches any absolute pathname consuming its leading \"/\"\n * 3. as a leaf in the routes tree\n * the \"\" and \"/\" routes match only if the entire pathname is consumed by\n * the parent routes chain. In this case \"\" and \"/\" are equivalent.\n * 4. several directly nested \"\" or \"/\" routes\n * - directly nested \"\" or \"/\" routes are 'squashed' (i.e. nesting two\n * \"/\" routes does not require a double \"/\" in the pathname to match)\n * - if there are only \"\" in the parent routes chain, no part of the\n * pathname is consumed, and the leading \"/\" in the child routes' paths\n * remains significant\n *\n * Side effect:\n * - the routes tree { path: '' } matches only the '' pathname\n * - the routes tree { path: '', children: [ { path: '' } ] } matches any\n * pathname (for the tree root)\n *\n * Prefix matching can be enabled also by `children: true`.\n */ function $f9d9d110dea7aeee$var$matchRoute(route, pathname, ignoreLeadingSlash, parentKeys, parentParams) {\n let match;\n let childMatches;\n let childIndex = 0;\n let routepath = route.path || \"\";\n if (routepath.charAt(0) === \"/\") {\n if (ignoreLeadingSlash) routepath = routepath.substr(1);\n ignoreLeadingSlash = true;\n }\n return {\n next (routeToSkip) {\n if (route === routeToSkip) return {\n done: true\n };\n const children = route.__children = route.__children || route.children;\n if (!match) {\n match = $f9d9d110dea7aeee$var$matchPath(routepath, pathname, !children, parentKeys, parentParams);\n if (match) return {\n done: false,\n value: {\n route: route,\n keys: match.keys,\n params: match.params,\n path: match.path\n }\n };\n }\n if (match && children) while(childIndex < children.length){\n if (!childMatches) {\n const childRoute = children[childIndex];\n childRoute.parent = route;\n let matchedLength = match.path.length;\n if (matchedLength > 0 && pathname.charAt(matchedLength) === \"/\") matchedLength += 1;\n childMatches = $f9d9d110dea7aeee$var$matchRoute(childRoute, pathname.substr(matchedLength), ignoreLeadingSlash, match.keys, match.params);\n }\n const childMatch = childMatches.next(routeToSkip);\n if (!childMatch.done) return {\n done: false,\n value: childMatch.value\n };\n childMatches = null;\n childIndex++;\n }\n return {\n done: true\n };\n }\n };\n}\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */ function $f9d9d110dea7aeee$var$resolveRoute(context) {\n if ($f9d9d110dea7aeee$var$isFunction(context.route.action)) return context.route.action(context);\n return undefined;\n}\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */ function $f9d9d110dea7aeee$var$isChildRoute(parentRoute, childRoute) {\n let route = childRoute;\n while(route){\n route = route.parent;\n if (route === parentRoute) return true;\n }\n return false;\n}\nfunction $f9d9d110dea7aeee$var$generateErrorMessage(currentContext) {\n let errorMessage = `Path '${currentContext.pathname}' is not properly resolved due to an error.`;\n const routePath = (currentContext.route || {}).path;\n if (routePath) errorMessage += ` Resolution had failed on route: '${routePath}'`;\n return errorMessage;\n}\nfunction $f9d9d110dea7aeee$var$updateChainForRoute(context, match) {\n const { route: route, path: path } = match;\n if (route && !route.__synthetic) {\n const item = {\n path: path,\n route: route\n };\n if (!context.chain) context.chain = [];\n else // Discard old items\n if (route.parent) {\n let i = context.chain.length;\n while(i-- && context.chain[i].route && context.chain[i].route !== route.parent)context.chain.pop();\n }\n context.chain.push(item);\n }\n}\n/**\n */ class $f9d9d110dea7aeee$export$8b4c839865b08288 {\n constructor(routes, options = {}){\n if (Object(routes) !== routes) throw new TypeError(\"Invalid routes\");\n this.baseUrl = options.baseUrl || \"\";\n this.errorHandler = options.errorHandler;\n this.resolveRoute = options.resolveRoute || $f9d9d110dea7aeee$var$resolveRoute;\n this.context = Object.assign({\n resolver: this\n }, options.context);\n this.root = Array.isArray(routes) ? {\n path: \"\",\n __children: routes,\n parent: null,\n __synthetic: true\n } : routes;\n this.root.parent = null;\n }\n /**\n * Returns the current list of routes (as a shallow copy). Adding / removing\n * routes to / from the returned array does not affect the routing config,\n * but modifying the route objects does.\n *\n * @return {!Array}\n */ getRoutes() {\n return [\n ...this.root.__children\n ];\n }\n /**\n * Sets the routing config (replacing the existing one).\n *\n * @param {!Array|!Router.Route} routes a single route or an array of those\n * (the array is shallow copied)\n */ setRoutes(routes) {\n $f9d9d110dea7aeee$var$ensureRoutes(routes);\n const newRoutes = [\n ...$f9d9d110dea7aeee$var$toArray(routes)\n ];\n this.root.__children = newRoutes;\n }\n /**\n * Appends one or several routes to the routing config and returns the\n * effective routing config after the operation.\n *\n * @param {!Array|!Router.Route} routes a single route or an array of those\n * (the array is shallow copied)\n * @return {!Array}\n * @protected\n */ addRoutes(routes) {\n $f9d9d110dea7aeee$var$ensureRoutes(routes);\n this.root.__children.push(...$f9d9d110dea7aeee$var$toArray(routes));\n return this.getRoutes();\n }\n /**\n * Removes all existing routes from the routing config.\n */ removeRoutes() {\n this.setRoutes([]);\n }\n /**\n * Asynchronously resolves the given pathname, i.e. finds all routes matching\n * the pathname and tries resolving them one after another in the order they\n * are listed in the routes config until the first non-null result.\n *\n * Returns a promise that is fulfilled with the return value of an object that consists of the first\n * route handler result that returns something other than `null` or `undefined` and context used to get this result.\n *\n * If no route handlers return a non-null result, or if no route matches the\n * given pathname the returned promise is rejected with a 'page not found'\n * `Error`.\n *\n * @param {!string|!{pathname: !string}} pathnameOrContext the pathname to\n * resolve or a context object with a `pathname` property and other\n * properties to pass to the route resolver functions.\n * @return {!Promise}\n */ resolve(pathnameOrContext) {\n const context = Object.assign({}, this.context, $f9d9d110dea7aeee$var$isString(pathnameOrContext) ? {\n pathname: pathnameOrContext\n } : pathnameOrContext);\n const match = $f9d9d110dea7aeee$var$matchRoute(this.root, this.__normalizePathname(context.pathname), this.baseUrl);\n const resolve = this.resolveRoute;\n let matches = null;\n let nextMatches = null;\n let currentContext = context;\n function next(resume, parent = matches.value.route, prevResult) {\n const routeToSkip = prevResult === null && matches.value.route;\n matches = nextMatches || match.next(routeToSkip);\n nextMatches = null;\n if (!resume) {\n if (matches.done || !$f9d9d110dea7aeee$var$isChildRoute(parent, matches.value.route)) {\n nextMatches = matches;\n return Promise.resolve($f9d9d110dea7aeee$var$notFoundResult);\n }\n }\n if (matches.done) return Promise.reject($f9d9d110dea7aeee$var$getNotFoundError(context));\n currentContext = Object.assign(currentContext ? {\n chain: currentContext.chain ? currentContext.chain.slice(0) : []\n } : {}, context, matches.value);\n $f9d9d110dea7aeee$var$updateChainForRoute(currentContext, matches.value);\n return Promise.resolve(resolve(currentContext)).then((resolution)=>{\n if (resolution !== null && resolution !== undefined && resolution !== $f9d9d110dea7aeee$var$notFoundResult) {\n currentContext.result = resolution.result || resolution;\n return currentContext;\n }\n return next(resume, parent, resolution);\n });\n }\n context.next = next;\n return Promise.resolve().then(()=>next(true, this.root)).catch((error)=>{\n const errorMessage = $f9d9d110dea7aeee$var$generateErrorMessage(currentContext);\n if (!error) error = new Error(errorMessage);\n else console.warn(errorMessage);\n error.context = error.context || currentContext;\n // DOMException has its own code which is read-only\n if (!(error instanceof DOMException)) error.code = error.code || 500;\n if (this.errorHandler) {\n currentContext.result = this.errorHandler(error);\n return currentContext;\n }\n throw error;\n });\n }\n /**\n * URL constructor polyfill hook. Creates and returns an URL instance.\n */ static __createUrl(url, base) {\n return new URL(url, base);\n }\n /**\n * If the baseUrl property is set, transforms the baseUrl and returns the full\n * actual `base` string for using in the `new URL(path, base);` and for\n * prepernding the paths with. The returned base ends with a trailing slash.\n *\n * Otherwise, returns empty string.\n */ get __effectiveBaseUrl() {\n return this.baseUrl ? this.constructor.__createUrl(this.baseUrl, document.baseURI || document.URL).href.replace(/[^\\/]*$/, \"\") : \"\";\n }\n /**\n * If the baseUrl is set, matches the pathname with the router’s baseUrl,\n * and returns the local pathname with the baseUrl stripped out.\n *\n * If the pathname does not match the baseUrl, returns undefined.\n *\n * If the `baseUrl` is not set, returns the unmodified pathname argument.\n */ __normalizePathname(pathname) {\n if (!this.baseUrl) // No base URL, no need to transform the pathname.\n return pathname;\n const base = this.__effectiveBaseUrl;\n const normalizedUrl = this.constructor.__createUrl(pathname, base).href;\n if (normalizedUrl.slice(0, base.length) === base) return normalizedUrl.slice(base.length);\n }\n}\n$f9d9d110dea7aeee$export$8b4c839865b08288.pathToRegexp = $f9d9d110dea7aeee$var$pathToRegexp_1;\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */ const { pathToRegexp: $f9d9d110dea7aeee$var$pathToRegexp } = $f9d9d110dea7aeee$export$8b4c839865b08288;\nconst $f9d9d110dea7aeee$var$cache = new Map();\nfunction $f9d9d110dea7aeee$var$cacheRoutes(routesByName, route, routes) {\n const name = route.name || route.component;\n if (name) {\n if (routesByName.has(name)) routesByName.get(name).push(route);\n else routesByName.set(name, [\n route\n ]);\n }\n if (Array.isArray(routes)) for(let i = 0; i < routes.length; i++){\n const childRoute = routes[i];\n childRoute.parent = route;\n $f9d9d110dea7aeee$var$cacheRoutes(routesByName, childRoute, childRoute.__children || childRoute.children);\n }\n}\nfunction $f9d9d110dea7aeee$var$getRouteByName(routesByName, routeName) {\n const routes = routesByName.get(routeName);\n if (routes && routes.length > 1) throw new Error(`Duplicate route with name \"${routeName}\".` + ` Try seting unique 'name' route properties.`);\n return routes && routes[0];\n}\nfunction $f9d9d110dea7aeee$var$getRoutePath(route) {\n let path = route.path;\n path = Array.isArray(path) ? path[0] : path;\n return path !== undefined ? path : \"\";\n}\nfunction $f9d9d110dea7aeee$var$generateUrls(router, options = {}) {\n if (!(router instanceof $f9d9d110dea7aeee$export$8b4c839865b08288)) throw new TypeError(\"An instance of Resolver is expected\");\n const routesByName = new Map();\n return (routeName, params)=>{\n let route = $f9d9d110dea7aeee$var$getRouteByName(routesByName, routeName);\n if (!route) {\n routesByName.clear(); // clear cache\n $f9d9d110dea7aeee$var$cacheRoutes(routesByName, router.root, router.root.__children);\n route = $f9d9d110dea7aeee$var$getRouteByName(routesByName, routeName);\n if (!route) throw new Error(`Route \"${routeName}\" not found`);\n }\n let regexp = $f9d9d110dea7aeee$var$cache.get(route.fullPath);\n if (!regexp) {\n let fullPath = $f9d9d110dea7aeee$var$getRoutePath(route);\n let rt = route.parent;\n while(rt){\n const path = $f9d9d110dea7aeee$var$getRoutePath(rt);\n if (path) fullPath = path.replace(/\\/$/, \"\") + \"/\" + fullPath.replace(/^\\//, \"\");\n rt = rt.parent;\n }\n const tokens = $f9d9d110dea7aeee$var$pathToRegexp.parse(fullPath);\n const toPath = $f9d9d110dea7aeee$var$pathToRegexp.tokensToFunction(tokens);\n const keys = Object.create(null);\n for(let i = 0; i < tokens.length; i++)if (!$f9d9d110dea7aeee$var$isString(tokens[i])) keys[tokens[i].name] = true;\n regexp = {\n toPath: toPath,\n keys: keys\n };\n $f9d9d110dea7aeee$var$cache.set(fullPath, regexp);\n route.fullPath = fullPath;\n }\n let url = regexp.toPath(params, options) || \"/\";\n if (options.stringifyQueryParams && params) {\n const queryParams = {};\n const keys = Object.keys(params);\n for(let i = 0; i < keys.length; i++){\n const key = keys[i];\n if (!regexp.keys[key]) queryParams[key] = params[key];\n }\n const query = options.stringifyQueryParams(queryParams);\n if (query) url += query.charAt(0) === \"?\" ? query : `?${query}`;\n }\n return url;\n };\n}\n/**\n * @typedef NavigationTrigger\n * @type {object}\n * @property {function()} activate\n * @property {function()} inactivate\n */ /** @type {Array} */ let $f9d9d110dea7aeee$var$triggers = [];\nfunction $f9d9d110dea7aeee$var$setNavigationTriggers(newTriggers) {\n $f9d9d110dea7aeee$var$triggers.forEach((trigger)=>trigger.inactivate());\n newTriggers.forEach((trigger)=>trigger.activate());\n $f9d9d110dea7aeee$var$triggers = newTriggers;\n}\nconst $f9d9d110dea7aeee$var$willAnimate = (elem)=>{\n const name = getComputedStyle(elem).getPropertyValue(\"animation-name\");\n return name && name !== \"none\";\n};\nconst $f9d9d110dea7aeee$var$waitForAnimation = (elem, cb)=>{\n const listener = ()=>{\n elem.removeEventListener(\"animationend\", listener);\n cb();\n };\n elem.addEventListener(\"animationend\", listener);\n};\nfunction $f9d9d110dea7aeee$var$animate(elem, className) {\n elem.classList.add(className);\n return new Promise((resolve)=>{\n if ($f9d9d110dea7aeee$var$willAnimate(elem)) {\n const rect = elem.getBoundingClientRect();\n const size = `height: ${rect.bottom - rect.top}px; width: ${rect.right - rect.left}px`;\n elem.setAttribute(\"style\", `position: absolute; ${size}`);\n $f9d9d110dea7aeee$var$waitForAnimation(elem, ()=>{\n elem.classList.remove(className);\n elem.removeAttribute(\"style\");\n resolve();\n });\n } else {\n elem.classList.remove(className);\n resolve();\n }\n });\n}\nconst $f9d9d110dea7aeee$var$MAX_REDIRECT_COUNT = 256;\nfunction $f9d9d110dea7aeee$var$isResultNotEmpty(result) {\n return result !== null && result !== undefined;\n}\nfunction $f9d9d110dea7aeee$var$copyContextWithoutNext(context) {\n const copy = Object.assign({}, context);\n delete copy.next;\n return copy;\n}\nfunction $f9d9d110dea7aeee$var$createLocation({ pathname: pathname = \"\", search: search = \"\", hash: hash = \"\", chain: chain = [], params: params = {}, redirectFrom: redirectFrom, resolver: resolver }, route) {\n const routes = chain.map((item)=>item.route);\n return {\n baseUrl: resolver && resolver.baseUrl || \"\",\n pathname: pathname,\n search: search,\n hash: hash,\n routes: routes,\n route: route || routes.length && routes[routes.length - 1] || null,\n params: params,\n redirectFrom: redirectFrom,\n getUrl: (userParams = {})=>$f9d9d110dea7aeee$var$getPathnameForRouter($f9d9d110dea7aeee$export$55185c17a0fcbe46.pathToRegexp.compile($f9d9d110dea7aeee$var$getMatchedPath(routes))(Object.assign({}, params, userParams)), resolver)\n };\n}\nfunction $f9d9d110dea7aeee$var$createRedirect(context, pathname) {\n const params = Object.assign({}, context.params);\n return {\n redirect: {\n pathname: pathname,\n from: context.pathname,\n params: params\n }\n };\n}\nfunction $f9d9d110dea7aeee$var$renderElement(context, element) {\n element.location = $f9d9d110dea7aeee$var$createLocation(context);\n const index = context.chain.map((item)=>item.route).indexOf(context.route);\n context.chain[index].element = element;\n return element;\n}\nfunction $f9d9d110dea7aeee$var$runCallbackIfPossible(callback, args, thisArg) {\n if ($f9d9d110dea7aeee$var$isFunction(callback)) return callback.apply(thisArg, args);\n}\nfunction $f9d9d110dea7aeee$var$amend(amendmentFunction, args, element) {\n return (amendmentResult)=>{\n if (amendmentResult && (amendmentResult.cancel || amendmentResult.redirect)) return amendmentResult;\n if (element) return $f9d9d110dea7aeee$var$runCallbackIfPossible(element[amendmentFunction], args, element);\n };\n}\nfunction $f9d9d110dea7aeee$var$processNewChildren(newChildren, route) {\n if (!Array.isArray(newChildren) && !$f9d9d110dea7aeee$var$isObject(newChildren)) throw new Error($f9d9d110dea7aeee$var$log(`Incorrect \"children\" value for the route ${route.path}: expected array or object, but got ${newChildren}`));\n route.__children = [];\n const childRoutes = $f9d9d110dea7aeee$var$toArray(newChildren);\n for(let i = 0; i < childRoutes.length; i++){\n $f9d9d110dea7aeee$var$ensureRoute(childRoutes[i]);\n route.__children.push(childRoutes[i]);\n }\n}\nfunction $f9d9d110dea7aeee$var$removeDomNodes(nodes) {\n if (nodes && nodes.length) {\n const parent = nodes[0].parentNode;\n for(let i = 0; i < nodes.length; i++)parent.removeChild(nodes[i]);\n }\n}\nfunction $f9d9d110dea7aeee$var$getPathnameForRouter(pathname, router) {\n const base = router.__effectiveBaseUrl;\n return base ? router.constructor.__createUrl(pathname.replace(/^\\//, \"\"), base).pathname : pathname;\n}\nfunction $f9d9d110dea7aeee$var$getMatchedPath(chain) {\n return chain.map((item)=>item.path).reduce((a, b)=>{\n if (b.length) return a.replace(/\\/$/, \"\") + \"/\" + b.replace(/^\\//, \"\");\n return a;\n }, \"\");\n}\n/**\n * A simple client-side router for single-page applications. It uses\n * express-style middleware and has a first-class support for Web Components and\n * lazy-loading. Works great in Polymer and non-Polymer apps.\n *\n * Use `new Router(outlet, options)` to create a new Router instance.\n *\n * * The `outlet` parameter is a reference to the DOM node to render\n * the content into.\n *\n * * The `options` parameter is an optional object with options. The following\n * keys are supported:\n * * `baseUrl` — the initial value for [\n * the `baseUrl` property\n * ](#/classes/Router#property-baseUrl)\n *\n * The Router instance is automatically subscribed to navigation events\n * on `window`.\n *\n * See [Live Examples](#/classes/Router/demos/demo/index.html) for the detailed usage demo and code snippets.\n *\n * See also detailed API docs for the following methods, for the advanced usage:\n *\n * * [setOutlet](#/classes/Router#method-setOutlet) – should be used to configure the outlet.\n * * [setTriggers](#/classes/Router#method-setTriggers) – should be used to configure the navigation events.\n * * [setRoutes](#/classes/Router#method-setRoutes) – should be used to configure the routes.\n *\n * Only `setRoutes` has to be called manually, others are automatically invoked when creating a new instance.\n *\n * @extends Resolver\n * @demo demo/index.html\n * @summary JavaScript class that renders different DOM content depending on\n * a given path. It can re-render when triggered or automatically on\n * 'popstate' and / or 'click' events.\n */ class $f9d9d110dea7aeee$export$55185c17a0fcbe46 extends $f9d9d110dea7aeee$export$8b4c839865b08288 {\n /**\n * Creates a new Router instance with a given outlet, and\n * automatically subscribes it to navigation events on the `window`.\n * Using a constructor argument or a setter for outlet is equivalent:\n *\n * ```\n * const router = new Router();\n * router.setOutlet(outlet);\n * ```\n * @param {?Node=} outlet\n * @param {?RouterOptions=} options\n */ constructor(outlet, options){\n const baseElement = document.head.querySelector(\"base\");\n const baseHref = baseElement && baseElement.getAttribute(\"href\");\n super([], Object.assign({\n // Default options\n baseUrl: baseHref && $f9d9d110dea7aeee$export$8b4c839865b08288.__createUrl(baseHref, document.URL).pathname.replace(/[^\\/]*$/, \"\")\n }, options));\n this.resolveRoute = (context)=>this.__resolveRoute(context);\n const triggers = $f9d9d110dea7aeee$export$55185c17a0fcbe46.NavigationTrigger;\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.setTriggers.apply($f9d9d110dea7aeee$export$55185c17a0fcbe46, Object.keys(triggers).map((key)=>triggers[key]));\n /**\n * The base URL for all routes in the router instance. By default,\n * if the base element exists in the ``, vaadin-router\n * takes the `` attribute value, resolves against current `document.URL`\n * and gets the `pathname` from the result.\n *\n * @public\n * @type {string}\n */ this.baseUrl;\n /**\n * A promise that is settled after the current render cycle completes. If\n * there is no render cycle in progress the promise is immediately settled\n * with the last render cycle result.\n *\n * @public\n * @type {!Promise}\n */ this.ready;\n this.ready = Promise.resolve(outlet);\n /**\n * Contains read-only information about the current router location:\n * pathname, active routes, parameters. See the\n * [Location type declaration](#/classes/RouterLocation)\n * for more details.\n *\n * @public\n * @type {!RouterLocation}\n */ this.location;\n this.location = $f9d9d110dea7aeee$var$createLocation({\n resolver: this\n });\n this.__lastStartedRenderId = 0;\n this.__navigationEventHandler = this.__onNavigationEvent.bind(this);\n this.setOutlet(outlet);\n this.subscribe();\n // Using WeakMap instead of WeakSet because WeakSet is not supported by IE11\n this.__createdByRouter = new WeakMap();\n this.__addedByRouter = new WeakMap();\n }\n __resolveRoute(context) {\n const route = context.route;\n let callbacks = Promise.resolve();\n if ($f9d9d110dea7aeee$var$isFunction(route.children)) callbacks = callbacks.then(()=>route.children($f9d9d110dea7aeee$var$copyContextWithoutNext(context))).then((children)=>{\n // The route.children() callback might have re-written the\n // route.children property instead of returning a value\n if (!$f9d9d110dea7aeee$var$isResultNotEmpty(children) && !$f9d9d110dea7aeee$var$isFunction(route.children)) children = route.children;\n $f9d9d110dea7aeee$var$processNewChildren(children, route);\n });\n const commands = {\n redirect: (path)=>$f9d9d110dea7aeee$var$createRedirect(context, path),\n component: (component)=>{\n const element = document.createElement(component);\n this.__createdByRouter.set(element, true);\n return element;\n }\n };\n return callbacks.then(()=>{\n if (this.__isLatestRender(context)) return $f9d9d110dea7aeee$var$runCallbackIfPossible(route.action, [\n context,\n commands\n ], route);\n }).then((result)=>{\n if ($f9d9d110dea7aeee$var$isResultNotEmpty(result)) {\n // Actions like `() => import('my-view.js')` are not expected to\n // end the resolution, despite the result is not empty. Checking\n // the result with a whitelist of values that end the resolution.\n if (result instanceof HTMLElement || result.redirect || result === $f9d9d110dea7aeee$var$notFoundResult) return result;\n }\n if ($f9d9d110dea7aeee$var$isString(route.redirect)) return commands.redirect(route.redirect);\n if (route.bundle) return $f9d9d110dea7aeee$var$loadBundle(route.bundle).then(()=>{}, ()=>{\n throw new Error($f9d9d110dea7aeee$var$log(`Bundle not found: ${route.bundle}. Check if the file name is correct`));\n });\n }).then((result)=>{\n if ($f9d9d110dea7aeee$var$isResultNotEmpty(result)) return result;\n if ($f9d9d110dea7aeee$var$isString(route.component)) return commands.component(route.component);\n });\n }\n /**\n * Sets the router outlet (the DOM node where the content for the current\n * route is inserted). Any content pre-existing in the router outlet is\n * removed at the end of each render pass.\n *\n * NOTE: this method is automatically invoked first time when creating a new Router instance.\n *\n * @param {?Node} outlet the DOM node where the content for the current route\n * is inserted.\n */ setOutlet(outlet) {\n if (outlet) this.__ensureOutlet(outlet);\n this.__outlet = outlet;\n }\n /**\n * Returns the current router outlet. The initial value is `undefined`.\n *\n * @return {?Node} the current router outlet (or `undefined`)\n */ getOutlet() {\n return this.__outlet;\n }\n /**\n * Sets the routing config (replacing the existing one) and triggers a\n * navigation event so that the router outlet is refreshed according to the\n * current `window.location` and the new routing config.\n *\n * Each route object may have the following properties, listed here in the processing order:\n * * `path` – the route path (relative to the parent route if any) in the\n * [express.js syntax](https://expressjs.com/en/guide/routing.html#route-paths\").\n *\n * * `children` – an array of nested routes or a function that provides this\n * array at the render time. The function can be synchronous or asynchronous:\n * in the latter case the render is delayed until the returned promise is\n * resolved. The `children` function is executed every time when this route is\n * being rendered. This allows for dynamic route structures (e.g. backend-defined),\n * but it might have a performance impact as well. In order to avoid calling\n * the function on subsequent renders, you can override the `children` property\n * of the route object and save the calculated array there\n * (via `context.route.children = [ route1, route2, ...];`).\n * Parent routes are fully resolved before resolving the children. Children\n * 'path' values are relative to the parent ones.\n *\n * * `action` – the action that is executed before the route is resolved.\n * The value for this property should be a function, accepting `context`\n * and `commands` parameters described below. If present, this function is\n * always invoked first, disregarding of the other properties' presence.\n * The action can return a result directly or within a `Promise`, which\n * resolves to the result. If the action result is an `HTMLElement` instance,\n * a `commands.component(name)` result, a `commands.redirect(path)` result,\n * or a `context.next()` result, the current route resolution is finished,\n * and other route config properties are ignored.\n * See also **Route Actions** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `redirect` – other route's path to redirect to. Passes all route parameters to the redirect target.\n * The target route should also be defined.\n * See also **Redirects** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `bundle` – string containing the path to `.js` or `.mjs` bundle to load before resolving the route,\n * or the object with \"module\" and \"nomodule\" keys referring to different bundles.\n * Each bundle is only loaded once. If \"module\" and \"nomodule\" are set, only one bundle is loaded,\n * depending on whether the browser supports ES modules or not.\n * The property is ignored when either an `action` returns the result or `redirect` property is present.\n * Any error, e.g. 404 while loading bundle will cause route resolution to throw.\n * See also **Code Splitting** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `component` – the tag name of the Web Component to resolve the route to.\n * The property is ignored when either an `action` returns the result or `redirect` property is present.\n * If route contains the `component` property (or an action that return a component)\n * and its child route also contains the `component` property, child route's component\n * will be rendered as a light dom child of a parent component.\n *\n * * `name` – the string name of the route to use in the\n * [`router.urlForName(name, params)`](#/classes/Router#method-urlForName)\n * navigation helper method.\n *\n * For any route function (`action`, `children`) defined, the corresponding `route` object is available inside the callback\n * through the `this` reference. If you need to access it, make sure you define the callback as a non-arrow function\n * because arrow functions do not have their own `this` reference.\n *\n * `context` object that is passed to `action` function holds the following properties:\n * * `context.pathname` – string with the pathname being resolved\n *\n * * `context.search` – search query string\n *\n * * `context.hash` – hash string\n *\n * * `context.params` – object with route parameters\n *\n * * `context.route` – object that holds the route that is currently being rendered.\n *\n * * `context.next()` – function for asynchronously getting the next route\n * contents from the resolution chain (if any)\n *\n * `commands` object that is passed to `action` function has\n * the following methods:\n *\n * * `commands.redirect(path)` – function that creates a redirect data\n * for the path specified.\n *\n * * `commands.component(component)` – function that creates a new HTMLElement\n * with current context. Note: the component created by this function is reused if visiting the same path twice in row.\n *\n *\n * @param {!Array|!Route} routes a single route or an array of those\n * @param {?boolean} skipRender configure the router but skip rendering the\n * route corresponding to the current `window.location` values\n *\n * @return {!Promise}\n */ setRoutes(routes, skipRender = false) {\n this.__previousContext = undefined;\n this.__urlForName = undefined;\n super.setRoutes(routes);\n if (!skipRender) this.__onNavigationEvent();\n return this.ready;\n }\n /**\n * Asynchronously resolves the given pathname and renders the resolved route\n * component into the router outlet. If no router outlet is set at the time of\n * calling this method, or at the time when the route resolution is completed,\n * a `TypeError` is thrown.\n *\n * Returns a promise that is fulfilled with the router outlet DOM Node after\n * the route component is created and inserted into the router outlet, or\n * rejected if no route matches the given path.\n *\n * If another render pass is started before the previous one is completed, the\n * result of the previous render pass is ignored.\n *\n * @param {!string|!{pathname: !string, search: ?string, hash: ?string}} pathnameOrContext\n * the pathname to render or a context object with a `pathname` property,\n * optional `search` and `hash` properties, and other properties\n * to pass to the resolver.\n * @param {boolean=} shouldUpdateHistory\n * update browser history with the rendered location\n * @return {!Promise}\n */ render(pathnameOrContext, shouldUpdateHistory) {\n const renderId = ++this.__lastStartedRenderId;\n const context = Object.assign({\n search: \"\",\n hash: \"\"\n }, $f9d9d110dea7aeee$var$isString(pathnameOrContext) ? {\n pathname: pathnameOrContext\n } : pathnameOrContext, {\n __renderId: renderId\n });\n // Find the first route that resolves to a non-empty result\n this.ready = this.resolve(context)// Process the result of this.resolve() and handle all special commands:\n // (redirect / prevent / component). If the result is a 'component',\n // then go deeper and build the entire chain of nested components matching\n // the pathname. Also call all 'on before' callbacks along the way.\n .then((context)=>this.__fullyResolveChain(context)).then((context)=>{\n if (this.__isLatestRender(context)) {\n const previousContext = this.__previousContext;\n // Check if the render was prevented and make an early return in that case\n if (context === previousContext) {\n // Replace the history with the previous context\n // to make sure the URL stays the same.\n this.__updateBrowserHistory(previousContext, true);\n return this.location;\n }\n this.location = $f9d9d110dea7aeee$var$createLocation(context);\n if (shouldUpdateHistory) // Replace only if first render redirects, so that we don’t leave\n // the redirecting record in the history\n this.__updateBrowserHistory(context, renderId === 1);\n $f9d9d110dea7aeee$var$fireRouterEvent(\"location-changed\", {\n router: this,\n location: this.location\n });\n // Skip detaching/re-attaching there are no render changes\n if (context.__skipAttach) {\n this.__copyUnchangedElements(context, previousContext);\n this.__previousContext = context;\n return this.location;\n }\n this.__addAppearingContent(context, previousContext);\n const animationDone = this.__animateIfNeeded(context);\n this.__runOnAfterEnterCallbacks(context);\n this.__runOnAfterLeaveCallbacks(context, previousContext);\n return animationDone.then(()=>{\n if (this.__isLatestRender(context)) {\n // If there is another render pass started after this one,\n // the 'disappearing content' would be removed when the other\n // render pass calls `this.__addAppearingContent()`\n this.__removeDisappearingContent();\n this.__previousContext = context;\n return this.location;\n }\n });\n }\n }).catch((error)=>{\n if (renderId === this.__lastStartedRenderId) {\n if (shouldUpdateHistory) this.__updateBrowserHistory(context);\n $f9d9d110dea7aeee$var$removeDomNodes(this.__outlet && this.__outlet.children);\n this.location = $f9d9d110dea7aeee$var$createLocation(Object.assign(context, {\n resolver: this\n }));\n $f9d9d110dea7aeee$var$fireRouterEvent(\"error\", Object.assign({\n router: this,\n error: error\n }, context));\n throw error;\n }\n });\n return this.ready;\n }\n // `topOfTheChainContextBeforeRedirects` is a context coming from Resolver.resolve().\n // It would contain a 'redirect' route or the first 'component' route that\n // matched the pathname. There might be more child 'component' routes to be\n // resolved and added into the chain. This method would find and add them.\n // `contextBeforeRedirects` is the context containing such a child component\n // route. It's only necessary when this method is called recursively (otherwise\n // it's the same as the 'top of the chain' context).\n //\n // Apart from building the chain of child components, this method would also\n // handle 'redirect' routes, call 'onBefore' callbacks and handle 'prevent'\n // and 'redirect' callback results.\n __fullyResolveChain(topOfTheChainContextBeforeRedirects, contextBeforeRedirects = topOfTheChainContextBeforeRedirects) {\n return this.__findComponentContextAfterAllRedirects(contextBeforeRedirects)// `contextAfterRedirects` is always a context with an `HTMLElement` result\n // In other cases the promise gets rejected and .then() is not called\n .then((contextAfterRedirects)=>{\n const redirectsHappened = contextAfterRedirects !== contextBeforeRedirects;\n const topOfTheChainContextAfterRedirects = redirectsHappened ? contextAfterRedirects : topOfTheChainContextBeforeRedirects;\n const matchedPath = $f9d9d110dea7aeee$var$getPathnameForRouter($f9d9d110dea7aeee$var$getMatchedPath(contextAfterRedirects.chain), contextAfterRedirects.resolver);\n const isFound = matchedPath === contextAfterRedirects.pathname;\n // Recursive method to try matching more child and sibling routes\n const findNextContextIfAny = (context, parent = context.route, prevResult)=>{\n return context.next(undefined, parent, prevResult).then((nextContext)=>{\n if (nextContext === null || nextContext === $f9d9d110dea7aeee$var$notFoundResult) {\n // Next context is not found in children, ...\n if (isFound) // ...but original context is already fully matching - use it\n return context;\n else if (parent.parent !== null) // ...and there is no full match yet - step up to check siblings\n return findNextContextIfAny(context, parent.parent, nextContext);\n else return nextContext;\n }\n return nextContext;\n });\n };\n return findNextContextIfAny(contextAfterRedirects).then((nextContext)=>{\n if (nextContext === null || nextContext === $f9d9d110dea7aeee$var$notFoundResult) throw $f9d9d110dea7aeee$var$getNotFoundError(topOfTheChainContextAfterRedirects);\n return nextContext && nextContext !== $f9d9d110dea7aeee$var$notFoundResult && nextContext !== contextAfterRedirects ? this.__fullyResolveChain(topOfTheChainContextAfterRedirects, nextContext) : this.__amendWithOnBeforeCallbacks(contextAfterRedirects);\n });\n });\n }\n __findComponentContextAfterAllRedirects(context) {\n const result = context.result;\n if (result instanceof HTMLElement) {\n $f9d9d110dea7aeee$var$renderElement(context, result);\n return Promise.resolve(context);\n } else if (result.redirect) return this.__redirect(result.redirect, context.__redirectCount, context.__renderId).then((context)=>this.__findComponentContextAfterAllRedirects(context));\n else if (result instanceof Error) return Promise.reject(result);\n else return Promise.reject(new Error($f9d9d110dea7aeee$var$log(`Invalid route resolution result for path \"${context.pathname}\". ` + `Expected redirect object or HTML element, but got: \"${$f9d9d110dea7aeee$var$logValue(result)}\". ` + `Double check the action return value for the route.`)));\n }\n __amendWithOnBeforeCallbacks(contextWithFullChain) {\n return this.__runOnBeforeCallbacks(contextWithFullChain).then((amendedContext)=>{\n if (amendedContext === this.__previousContext || amendedContext === contextWithFullChain) return amendedContext;\n return this.__fullyResolveChain(amendedContext);\n });\n }\n __runOnBeforeCallbacks(newContext) {\n const previousContext = this.__previousContext || {};\n const previousChain = previousContext.chain || [];\n const newChain = newContext.chain;\n let callbacks = Promise.resolve();\n const prevent = ()=>({\n cancel: true\n });\n const redirect = (pathname)=>$f9d9d110dea7aeee$var$createRedirect(newContext, pathname);\n newContext.__divergedChainIndex = 0;\n newContext.__skipAttach = false;\n if (previousChain.length) {\n for(let i = 0; i < Math.min(previousChain.length, newChain.length); i = ++newContext.__divergedChainIndex){\n if (previousChain[i].route !== newChain[i].route || previousChain[i].path !== newChain[i].path && previousChain[i].element !== newChain[i].element || !this.__isReusableElement(previousChain[i].element, newChain[i].element)) break;\n }\n // Skip re-attaching and notifications if element and chain do not change\n newContext.__skipAttach = // Same route chain\n newChain.length === previousChain.length && newContext.__divergedChainIndex == newChain.length && // Same element\n this.__isReusableElement(newContext.result, previousContext.result);\n if (newContext.__skipAttach) {\n // execute onBeforeLeave for changed segment element when skipping attach\n for(let i = newChain.length - 1; i >= 0; i--)callbacks = this.__runOnBeforeLeaveCallbacks(callbacks, newContext, {\n prevent: prevent\n }, previousChain[i]);\n // execute onBeforeEnter for changed segment element when skipping attach\n for(let i = 0; i < newChain.length; i++){\n callbacks = this.__runOnBeforeEnterCallbacks(callbacks, newContext, {\n prevent: prevent,\n redirect: redirect\n }, newChain[i]);\n previousChain[i].element.location = $f9d9d110dea7aeee$var$createLocation(newContext, previousChain[i].route);\n }\n } else // execute onBeforeLeave when NOT skipping attach\n for(let i = previousChain.length - 1; i >= newContext.__divergedChainIndex; i--)callbacks = this.__runOnBeforeLeaveCallbacks(callbacks, newContext, {\n prevent: prevent\n }, previousChain[i]);\n }\n // execute onBeforeEnter when NOT skipping attach\n if (!newContext.__skipAttach) for(let i = 0; i < newChain.length; i++){\n if (i < newContext.__divergedChainIndex) {\n if (i < previousChain.length && previousChain[i].element) previousChain[i].element.location = $f9d9d110dea7aeee$var$createLocation(newContext, previousChain[i].route);\n } else {\n callbacks = this.__runOnBeforeEnterCallbacks(callbacks, newContext, {\n prevent: prevent,\n redirect: redirect\n }, newChain[i]);\n if (newChain[i].element) newChain[i].element.location = $f9d9d110dea7aeee$var$createLocation(newContext, newChain[i].route);\n }\n }\n return callbacks.then((amendmentResult)=>{\n if (amendmentResult) {\n if (amendmentResult.cancel) {\n this.__previousContext.__renderId = newContext.__renderId;\n return this.__previousContext;\n }\n if (amendmentResult.redirect) return this.__redirect(amendmentResult.redirect, newContext.__redirectCount, newContext.__renderId);\n }\n return newContext;\n });\n }\n __runOnBeforeLeaveCallbacks(callbacks, newContext, commands, chainElement) {\n const location = $f9d9d110dea7aeee$var$createLocation(newContext);\n return callbacks.then((result)=>{\n if (this.__isLatestRender(newContext)) {\n const afterLeaveFunction = $f9d9d110dea7aeee$var$amend(\"onBeforeLeave\", [\n location,\n commands,\n this\n ], chainElement.element);\n return afterLeaveFunction(result);\n }\n }).then((result)=>{\n if (!(result || {}).redirect) return result;\n });\n }\n __runOnBeforeEnterCallbacks(callbacks, newContext, commands, chainElement) {\n const location = $f9d9d110dea7aeee$var$createLocation(newContext, chainElement.route);\n return callbacks.then((result)=>{\n if (this.__isLatestRender(newContext)) {\n const beforeEnterFunction = $f9d9d110dea7aeee$var$amend(\"onBeforeEnter\", [\n location,\n commands,\n this\n ], chainElement.element);\n return beforeEnterFunction(result);\n }\n });\n }\n __isReusableElement(element, otherElement) {\n if (element && otherElement) return this.__createdByRouter.get(element) && this.__createdByRouter.get(otherElement) ? element.localName === otherElement.localName : element === otherElement;\n return false;\n }\n __isLatestRender(context) {\n return context.__renderId === this.__lastStartedRenderId;\n }\n __redirect(redirectData, counter, renderId) {\n if (counter > $f9d9d110dea7aeee$var$MAX_REDIRECT_COUNT) throw new Error($f9d9d110dea7aeee$var$log(`Too many redirects when rendering ${redirectData.from}`));\n return this.resolve({\n pathname: this.urlForPath(redirectData.pathname, redirectData.params),\n redirectFrom: redirectData.from,\n __redirectCount: (counter || 0) + 1,\n __renderId: renderId\n });\n }\n __ensureOutlet(outlet = this.__outlet) {\n if (!(outlet instanceof Node)) throw new TypeError($f9d9d110dea7aeee$var$log(`Expected router outlet to be a valid DOM Node (but got ${outlet})`));\n }\n __updateBrowserHistory({ pathname: pathname, search: search = \"\", hash: hash = \"\" }, replace) {\n if (window.location.pathname !== pathname || window.location.search !== search || window.location.hash !== hash) {\n const changeState = replace ? \"replaceState\" : \"pushState\";\n window.history[changeState](null, document.title, pathname + search + hash);\n window.dispatchEvent(new PopStateEvent(\"popstate\", {\n state: \"vaadin-router-ignore\"\n }));\n }\n }\n __copyUnchangedElements(context, previousContext) {\n // Find the deepest common parent between the last and the new component\n // chains. Update references for the unchanged elements in the new chain\n let deepestCommonParent = this.__outlet;\n for(let i = 0; i < context.__divergedChainIndex; i++){\n const unchangedElement = previousContext && previousContext.chain[i].element;\n if (unchangedElement) {\n if (unchangedElement.parentNode === deepestCommonParent) {\n context.chain[i].element = unchangedElement;\n deepestCommonParent = unchangedElement;\n } else break;\n }\n }\n return deepestCommonParent;\n }\n __addAppearingContent(context, previousContext) {\n this.__ensureOutlet();\n // If the previous 'entering' animation has not completed yet,\n // stop it and remove that content from the DOM before adding new one.\n this.__removeAppearingContent();\n // Copy reusable elements from the previousContext to current\n const deepestCommonParent = this.__copyUnchangedElements(context, previousContext);\n // Keep two lists of DOM elements:\n // - those that should be removed once the transition animation is over\n // - and those that should remain\n this.__appearingContent = [];\n this.__disappearingContent = Array.from(deepestCommonParent.children).filter(// Only remove layout content that was added by router\n (e)=>this.__addedByRouter.get(e) && // Do not remove the result element to avoid flickering\n e !== context.result);\n // Add new elements (starting after the deepest common parent) to the DOM.\n // That way only the components that are actually different between the two\n // locations are added to the DOM (and those that are common remain in the\n // DOM without first removing and then adding them again).\n let parentElement = deepestCommonParent;\n for(let i = context.__divergedChainIndex; i < context.chain.length; i++){\n const elementToAdd = context.chain[i].element;\n if (elementToAdd) {\n parentElement.appendChild(elementToAdd);\n this.__addedByRouter.set(elementToAdd, true);\n if (parentElement === deepestCommonParent) this.__appearingContent.push(elementToAdd);\n parentElement = elementToAdd;\n }\n }\n }\n __removeDisappearingContent() {\n if (this.__disappearingContent) $f9d9d110dea7aeee$var$removeDomNodes(this.__disappearingContent);\n this.__disappearingContent = null;\n this.__appearingContent = null;\n }\n __removeAppearingContent() {\n if (this.__disappearingContent && this.__appearingContent) {\n $f9d9d110dea7aeee$var$removeDomNodes(this.__appearingContent);\n this.__disappearingContent = null;\n this.__appearingContent = null;\n }\n }\n __runOnAfterLeaveCallbacks(currentContext, targetContext) {\n if (!targetContext) return;\n // REVERSE iteration: from Z to A\n for(let i = targetContext.chain.length - 1; i >= currentContext.__divergedChainIndex; i--){\n if (!this.__isLatestRender(currentContext)) break;\n const currentComponent = targetContext.chain[i].element;\n if (!currentComponent) continue;\n try {\n const location = $f9d9d110dea7aeee$var$createLocation(currentContext);\n $f9d9d110dea7aeee$var$runCallbackIfPossible(currentComponent.onAfterLeave, [\n location,\n {},\n targetContext.resolver\n ], currentComponent);\n } finally{\n if (this.__disappearingContent.indexOf(currentComponent) > -1) $f9d9d110dea7aeee$var$removeDomNodes(currentComponent.children);\n }\n }\n }\n __runOnAfterEnterCallbacks(currentContext) {\n // forward iteration: from A to Z\n for(let i = currentContext.__divergedChainIndex; i < currentContext.chain.length; i++){\n if (!this.__isLatestRender(currentContext)) break;\n const currentComponent = currentContext.chain[i].element || {};\n const location = $f9d9d110dea7aeee$var$createLocation(currentContext, currentContext.chain[i].route);\n $f9d9d110dea7aeee$var$runCallbackIfPossible(currentComponent.onAfterEnter, [\n location,\n {},\n currentContext.resolver\n ], currentComponent);\n }\n }\n __animateIfNeeded(context) {\n const from = (this.__disappearingContent || [])[0];\n const to = (this.__appearingContent || [])[0];\n const promises = [];\n const chain = context.chain;\n let config;\n for(let i = chain.length; i > 0; i--)if (chain[i - 1].route.animate) {\n config = chain[i - 1].route.animate;\n break;\n }\n if (from && to && config) {\n const leave = $f9d9d110dea7aeee$var$isObject(config) && config.leave || \"leaving\";\n const enter = $f9d9d110dea7aeee$var$isObject(config) && config.enter || \"entering\";\n promises.push($f9d9d110dea7aeee$var$animate(from, leave));\n promises.push($f9d9d110dea7aeee$var$animate(to, enter));\n }\n return Promise.all(promises).then(()=>context);\n }\n /**\n * Subscribes this instance to navigation events on the `window`.\n *\n * NOTE: beware of resource leaks. For as long as a router instance is\n * subscribed to navigation events, it won't be garbage collected.\n */ subscribe() {\n window.addEventListener(\"vaadin-router-go\", this.__navigationEventHandler);\n }\n /**\n * Removes the subscription to navigation events created in the `subscribe()`\n * method.\n */ unsubscribe() {\n window.removeEventListener(\"vaadin-router-go\", this.__navigationEventHandler);\n }\n __onNavigationEvent(event) {\n const { pathname: pathname, search: search, hash: hash } = event ? event.detail : window.location;\n if ($f9d9d110dea7aeee$var$isString(this.__normalizePathname(pathname))) {\n if (event && event.preventDefault) event.preventDefault();\n this.render({\n pathname: pathname,\n search: search,\n hash: hash\n }, true);\n }\n }\n /**\n * Configures what triggers Router navigation events:\n * - `POPSTATE`: popstate events on the current `window`\n * - `CLICK`: click events on `` links leading to the current page\n *\n * This method is invoked with the pre-configured values when creating a new Router instance.\n * By default, both `POPSTATE` and `CLICK` are enabled. This setup is expected to cover most of the use cases.\n *\n * See the `router-config.js` for the default navigation triggers config. Based on it, you can\n * create the own one and only import the triggers you need, instead of pulling in all the code,\n * e.g. if you want to handle `click` differently.\n *\n * See also **Navigation Triggers** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * @param {...NavigationTrigger} triggers\n */ static setTriggers(...triggers) {\n $f9d9d110dea7aeee$var$setNavigationTriggers(triggers);\n }\n /**\n * Generates a URL for the route with the given name, optionally performing\n * substitution of parameters.\n *\n * The route is searched in all the Router instances subscribed to\n * navigation events.\n *\n * **Note:** For child route names, only array children are considered.\n * It is not possible to generate URLs using a name for routes set with\n * a children function.\n *\n * @function urlForName\n * @param {!string} name the route name or the route’s `component` name.\n * @param {Params=} params Optional object with route path parameters.\n * Named parameters are passed by name (`params[name] = value`), unnamed\n * parameters are passed by index (`params[index] = value`).\n *\n * @return {string}\n */ urlForName(name, params) {\n if (!this.__urlForName) this.__urlForName = $f9d9d110dea7aeee$var$generateUrls(this);\n return $f9d9d110dea7aeee$var$getPathnameForRouter(this.__urlForName(name, params), this);\n }\n /**\n * Generates a URL for the given route path, optionally performing\n * substitution of parameters.\n *\n * @param {!string} path string route path declared in [express.js syntax](https://expressjs.com/en/guide/routing.html#route-paths\").\n * @param {Params=} params Optional object with route path parameters.\n * Named parameters are passed by name (`params[name] = value`), unnamed\n * parameters are passed by index (`params[index] = value`).\n *\n * @return {string}\n */ urlForPath(path, params) {\n return $f9d9d110dea7aeee$var$getPathnameForRouter($f9d9d110dea7aeee$export$55185c17a0fcbe46.pathToRegexp.compile(path)(params), this);\n }\n /**\n * Triggers navigation to a new path. Returns a boolean without waiting until\n * the navigation is complete. Returns `true` if at least one `Router`\n * has handled the navigation (was subscribed and had `baseUrl` matching\n * the `path` argument), otherwise returns `false`.\n *\n * @param {!string|!{pathname: !string, search: (string|undefined), hash: (string|undefined)}} path\n * a new in-app path string, or an URL-like object with `pathname`\n * string property, and optional `search` and `hash` string properties.\n * @return {boolean}\n */ static go(path) {\n const { pathname: pathname, search: search, hash: hash } = $f9d9d110dea7aeee$var$isString(path) ? this.__createUrl(path, \"http://a\") // some base to omit origin\n : path;\n return $f9d9d110dea7aeee$var$fireRouterEvent(\"go\", {\n pathname: pathname,\n search: search,\n hash: hash\n });\n }\n}\nconst $f9d9d110dea7aeee$var$DEV_MODE_CODE_REGEXP = /\\/\\*[\\*!]\\s+vaadin-dev-mode:start([\\s\\S]*)vaadin-dev-mode:end\\s+\\*\\*\\//i;\nconst $f9d9d110dea7aeee$var$FlowClients = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;\nfunction $f9d9d110dea7aeee$var$isMinified() {\n function test() {\n /** vaadin-dev-mode:start\n return false;\n vaadin-dev-mode:end **/ return true;\n }\n return $f9d9d110dea7aeee$var$uncommentAndRun(test);\n}\nfunction $f9d9d110dea7aeee$var$isDevelopmentMode() {\n try {\n if ($f9d9d110dea7aeee$var$isForcedDevelopmentMode()) return true;\n if (!$f9d9d110dea7aeee$var$isLocalhost()) return false;\n if ($f9d9d110dea7aeee$var$FlowClients) return !$f9d9d110dea7aeee$var$isFlowProductionMode();\n return !$f9d9d110dea7aeee$var$isMinified();\n } catch (e) {\n // Some error in this code, assume production so no further actions will be taken\n return false;\n }\n}\nfunction $f9d9d110dea7aeee$var$isForcedDevelopmentMode() {\n return localStorage.getItem(\"vaadin.developmentmode.force\");\n}\nfunction $f9d9d110dea7aeee$var$isLocalhost() {\n return [\n \"localhost\",\n \"127.0.0.1\"\n ].indexOf(window.location.hostname) >= 0;\n}\nfunction $f9d9d110dea7aeee$var$isFlowProductionMode() {\n if ($f9d9d110dea7aeee$var$FlowClients) {\n const productionModeApps = Object.keys($f9d9d110dea7aeee$var$FlowClients).map((key)=>$f9d9d110dea7aeee$var$FlowClients[key]).filter((client)=>client.productionMode);\n if (productionModeApps.length > 0) return true;\n }\n return false;\n}\nfunction $f9d9d110dea7aeee$var$uncommentAndRun(callback, args) {\n if (typeof callback !== \"function\") return;\n const match = $f9d9d110dea7aeee$var$DEV_MODE_CODE_REGEXP.exec(callback.toString());\n if (match) try {\n // requires CSP: script-src 'unsafe-eval'\n callback = new Function(match[1]);\n } catch (e) {\n // eat the exception\n console.log(\"vaadin-development-mode-detector: uncommentAndRun() failed\", e);\n }\n return callback(args);\n}\n// A guard against polymer-modulizer removing the window.Vaadin\n// initialization above.\nwindow[\"Vaadin\"] = window[\"Vaadin\"] || {};\n/**\n * Inspects the source code of the given `callback` function for\n * specially-marked _commented_ code. If such commented code is found in the\n * callback source, uncomments and runs that code instead of the callback\n * itself. Otherwise runs the callback as is.\n *\n * The optional arguments are passed into the callback / uncommented code,\n * the result is returned.\n *\n * See the `isMinified()` function source code in this file for an example.\n *\n */ const $f9d9d110dea7aeee$var$runIfDevelopmentMode = function(callback, args) {\n if (window.Vaadin.developmentMode) return $f9d9d110dea7aeee$var$uncommentAndRun(callback, args);\n};\nif (window.Vaadin.developmentMode === undefined) window.Vaadin.developmentMode = $f9d9d110dea7aeee$var$isDevelopmentMode();\n/* This file is autogenerated from src/vaadin-usage-statistics.tpl.html */ function $f9d9d110dea7aeee$var$maybeGatherAndSendStats() {\n/** vaadin-dev-mode:start\n (function () {\n'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar getPolymerVersion = function getPolymerVersion() {\n return window.Polymer && window.Polymer.version;\n};\n\nvar StatisticsGatherer = function () {\n function StatisticsGatherer(logger) {\n classCallCheck(this, StatisticsGatherer);\n\n this.now = new Date().getTime();\n this.logger = logger;\n }\n\n createClass(StatisticsGatherer, [{\n key: 'frameworkVersionDetectors',\n value: function frameworkVersionDetectors() {\n return {\n 'Flow': function Flow() {\n if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {\n var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {\n return window.Vaadin.Flow.clients[key];\n }).filter(function (client) {\n return client.getVersionInfo;\n }).map(function (client) {\n return client.getVersionInfo().flow;\n });\n if (flowVersions.length > 0) {\n return flowVersions[0];\n }\n }\n },\n 'Vaadin Framework': function VaadinFramework() {\n if (window.vaadin && window.vaadin.clients) {\n var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {\n return client.getVersionInfo;\n }).map(function (client) {\n return client.getVersionInfo().vaadinVersion;\n });\n if (frameworkVersions.length > 0) {\n return frameworkVersions[0];\n }\n }\n },\n 'AngularJs': function AngularJs() {\n if (window.angular && window.angular.version && window.angular.version) {\n return window.angular.version.full;\n }\n },\n 'Angular': function Angular() {\n if (window.ng) {\n var tags = document.querySelectorAll(\"[ng-version]\");\n if (tags.length > 0) {\n return tags[0].getAttribute(\"ng-version\");\n }\n return \"Unknown\";\n }\n },\n 'Backbone.js': function BackboneJs() {\n if (window.Backbone) {\n return window.Backbone.VERSION;\n }\n },\n 'React': function React() {\n var reactSelector = '[data-reactroot], [data-reactid]';\n if (!!document.querySelector(reactSelector)) {\n // React does not publish the version by default\n return \"unknown\";\n }\n },\n 'Ember': function Ember() {\n if (window.Em && window.Em.VERSION) {\n return window.Em.VERSION;\n } else if (window.Ember && window.Ember.VERSION) {\n return window.Ember.VERSION;\n }\n },\n 'jQuery': function (_jQuery) {\n function jQuery() {\n return _jQuery.apply(this, arguments);\n }\n\n jQuery.toString = function () {\n return _jQuery.toString();\n };\n\n return jQuery;\n }(function () {\n if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {\n return jQuery.prototype.jquery;\n }\n }),\n 'Polymer': function Polymer() {\n var version = getPolymerVersion();\n if (version) {\n return version;\n }\n },\n 'LitElement': function LitElement() {\n var version = window.litElementVersions && window.litElementVersions[0];\n if (version) {\n return version;\n }\n },\n 'LitHtml': function LitHtml() {\n var version = window.litHtmlVersions && window.litHtmlVersions[0];\n if (version) {\n return version;\n }\n },\n 'Vue.js': function VueJs() {\n if (window.Vue) {\n return window.Vue.version;\n }\n }\n };\n }\n }, {\n key: 'getUsedVaadinElements',\n value: function getUsedVaadinElements(elements) {\n var version = getPolymerVersion();\n var elementClasses = void 0;\n // NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.\n // Check all locations calling the method getEntries() in\n // https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106\n // Currently it is only used by BootstrapHandler.\n if (version && version.indexOf('2') === 0) {\n // Polymer 2: components classes are stored in window.Vaadin\n elementClasses = Object.keys(window.Vaadin).map(function (c) {\n return window.Vaadin[c];\n }).filter(function (c) {\n return c.is;\n });\n } else {\n // Polymer 3: components classes are stored in window.Vaadin.registrations\n elementClasses = window.Vaadin.registrations || [];\n }\n elementClasses.forEach(function (klass) {\n var version = klass.version ? klass.version : \"0.0.0\";\n elements[klass.is] = { version: version };\n });\n }\n }, {\n key: 'getUsedVaadinThemes',\n value: function getUsedVaadinThemes(themes) {\n ['Lumo', 'Material'].forEach(function (themeName) {\n var theme;\n var version = getPolymerVersion();\n if (version && version.indexOf('2') === 0) {\n // Polymer 2: themes are stored in window.Vaadin\n theme = window.Vaadin[themeName];\n } else {\n // Polymer 3: themes are stored in custom element registry\n theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');\n }\n if (theme && theme.version) {\n themes[themeName] = { version: theme.version };\n }\n });\n }\n }, {\n key: 'getFrameworks',\n value: function getFrameworks(frameworks) {\n var detectors = this.frameworkVersionDetectors();\n Object.keys(detectors).forEach(function (framework) {\n var detector = detectors[framework];\n try {\n var version = detector();\n if (version) {\n frameworks[framework] = { version: version };\n }\n } catch (e) {}\n });\n }\n }, {\n key: 'gather',\n value: function gather(storage) {\n var storedStats = storage.read();\n var gatheredStats = {};\n var types = [\"elements\", \"frameworks\", \"themes\"];\n\n types.forEach(function (type) {\n gatheredStats[type] = {};\n if (!storedStats[type]) {\n storedStats[type] = {};\n }\n });\n\n var previousStats = JSON.stringify(storedStats);\n\n this.getUsedVaadinElements(gatheredStats.elements);\n this.getFrameworks(gatheredStats.frameworks);\n this.getUsedVaadinThemes(gatheredStats.themes);\n\n var now = this.now;\n types.forEach(function (type) {\n var keys = Object.keys(gatheredStats[type]);\n keys.forEach(function (key) {\n if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {\n storedStats[type][key] = { firstUsed: now };\n }\n // Discards any previously logged version number\n storedStats[type][key].version = gatheredStats[type][key].version;\n storedStats[type][key].lastUsed = now;\n });\n });\n\n var newStats = JSON.stringify(storedStats);\n storage.write(newStats);\n if (newStats != previousStats && Object.keys(storedStats).length > 0) {\n this.logger.debug(\"New stats: \" + newStats);\n }\n }\n }]);\n return StatisticsGatherer;\n}();\n\nvar StatisticsStorage = function () {\n function StatisticsStorage(key) {\n classCallCheck(this, StatisticsStorage);\n\n this.key = key;\n }\n\n createClass(StatisticsStorage, [{\n key: 'read',\n value: function read() {\n var localStorageStatsString = localStorage.getItem(this.key);\n try {\n return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');\n } catch (e) {\n return {};\n }\n }\n }, {\n key: 'write',\n value: function write(data) {\n localStorage.setItem(this.key, data);\n }\n }, {\n key: 'clear',\n value: function clear() {\n localStorage.removeItem(this.key);\n }\n }, {\n key: 'isEmpty',\n value: function isEmpty() {\n var storedStats = this.read();\n var empty = true;\n Object.keys(storedStats).forEach(function (key) {\n if (Object.keys(storedStats[key]).length > 0) {\n empty = false;\n }\n });\n\n return empty;\n }\n }]);\n return StatisticsStorage;\n}();\n\nvar StatisticsSender = function () {\n function StatisticsSender(url, logger) {\n classCallCheck(this, StatisticsSender);\n\n this.url = url;\n this.logger = logger;\n }\n\n createClass(StatisticsSender, [{\n key: 'send',\n value: function send(data, errorHandler) {\n var logger = this.logger;\n\n if (navigator.onLine === false) {\n logger.debug(\"Offline, can't send\");\n errorHandler();\n return;\n }\n logger.debug(\"Sending data to \" + this.url);\n\n var req = new XMLHttpRequest();\n req.withCredentials = true;\n req.addEventListener(\"load\", function () {\n // Stats sent, nothing more to do\n logger.debug(\"Response: \" + req.responseText);\n });\n req.addEventListener(\"error\", function () {\n logger.debug(\"Send failed\");\n errorHandler();\n });\n req.addEventListener(\"abort\", function () {\n logger.debug(\"Send aborted\");\n errorHandler();\n });\n req.open(\"POST\", this.url);\n req.setRequestHeader(\"Content-Type\", \"application/json\");\n req.send(data);\n }\n }]);\n return StatisticsSender;\n}();\n\nvar StatisticsLogger = function () {\n function StatisticsLogger(id) {\n classCallCheck(this, StatisticsLogger);\n\n this.id = id;\n }\n\n createClass(StatisticsLogger, [{\n key: '_isDebug',\n value: function _isDebug() {\n return localStorage.getItem(\"vaadin.\" + this.id + \".debug\");\n }\n }, {\n key: 'debug',\n value: function debug(msg) {\n if (this._isDebug()) {\n console.info(this.id + \": \" + msg);\n }\n }\n }]);\n return StatisticsLogger;\n}();\n\nvar UsageStatistics = function () {\n function UsageStatistics() {\n classCallCheck(this, UsageStatistics);\n\n this.now = new Date();\n this.timeNow = this.now.getTime();\n this.gatherDelay = 10; // Delay between loading this file and gathering stats\n this.initialDelay = 24 * 60 * 60;\n\n this.logger = new StatisticsLogger(\"statistics\");\n this.storage = new StatisticsStorage(\"vaadin.statistics.basket\");\n this.gatherer = new StatisticsGatherer(this.logger);\n this.sender = new StatisticsSender(\"https://tools.vaadin.com/usage-stats/submit\", this.logger);\n }\n\n createClass(UsageStatistics, [{\n key: 'maybeGatherAndSend',\n value: function maybeGatherAndSend() {\n var _this = this;\n\n if (localStorage.getItem(UsageStatistics.optOutKey)) {\n return;\n }\n this.gatherer.gather(this.storage);\n setTimeout(function () {\n _this.maybeSend();\n }, this.gatherDelay * 1000);\n }\n }, {\n key: 'lottery',\n value: function lottery() {\n return true;\n }\n }, {\n key: 'currentMonth',\n value: function currentMonth() {\n return this.now.getYear() * 12 + this.now.getMonth();\n }\n }, {\n key: 'maybeSend',\n value: function maybeSend() {\n var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));\n var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));\n\n if (!firstUse) {\n // Use a grace period to avoid interfering with tests, incognito mode etc\n firstUse = this.timeNow;\n localStorage.setItem(UsageStatistics.firstUseKey, firstUse);\n }\n\n if (this.timeNow < firstUse + this.initialDelay * 1000) {\n this.logger.debug(\"No statistics will be sent until the initial delay of \" + this.initialDelay + \"s has passed\");\n return;\n }\n if (this.currentMonth() <= monthProcessed) {\n this.logger.debug(\"This month has already been processed\");\n return;\n }\n localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());\n // Use random sampling\n if (this.lottery()) {\n this.logger.debug(\"Congratulations, we have a winner!\");\n } else {\n this.logger.debug(\"Sorry, no stats from you this time\");\n return;\n }\n\n this.send();\n }\n }, {\n key: 'send',\n value: function send() {\n // Ensure we have the latest data\n this.gatherer.gather(this.storage);\n\n // Read, send and clean up\n var data = this.storage.read();\n data[\"firstUse\"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));\n data[\"usageStatisticsVersion\"] = UsageStatistics.version;\n var info = 'This request contains usage statistics gathered from the application running in development mode. \\n\\nStatistics gathering is automatically disabled and excluded from production builds.\\n\\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\\n\\n\\n\\n';\n var self = this;\n this.sender.send(info + JSON.stringify(data), function () {\n // Revert the 'month processed' flag\n localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);\n });\n }\n }], [{\n key: 'version',\n get: function get$1() {\n return '2.1.2';\n }\n }, {\n key: 'firstUseKey',\n get: function get$1() {\n return 'vaadin.statistics.firstuse';\n }\n }, {\n key: 'monthProcessedKey',\n get: function get$1() {\n return 'vaadin.statistics.monthProcessed';\n }\n }, {\n key: 'optOutKey',\n get: function get$1() {\n return 'vaadin.statistics.optout';\n }\n }]);\n return UsageStatistics;\n}();\n\ntry {\n window.Vaadin = window.Vaadin || {};\n window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();\n window.Vaadin.usageStatsChecker.maybeGatherAndSend();\n} catch (e) {\n // Intentionally ignored as this is not a problem in the app being developed\n}\n\n}());\n\n vaadin-dev-mode:end **/ }\nconst $f9d9d110dea7aeee$var$usageStatistics = function() {\n if (typeof $f9d9d110dea7aeee$var$runIfDevelopmentMode === \"function\") return $f9d9d110dea7aeee$var$runIfDevelopmentMode($f9d9d110dea7aeee$var$maybeGatherAndSendStats);\n};\nwindow.Vaadin = window.Vaadin || {};\nwindow.Vaadin.registrations = window.Vaadin.registrations || [];\nwindow.Vaadin.registrations.push({\n is: \"@vaadin/router\",\n version: \"1.7.4\"\n});\n$f9d9d110dea7aeee$var$usageStatistics();\n$f9d9d110dea7aeee$export$55185c17a0fcbe46.NavigationTrigger = {\n POPSTATE: $f9d9d110dea7aeee$var$POPSTATE,\n CLICK: $f9d9d110dea7aeee$var$CLICK\n};\n\n\nfunction $e7453e1bf0e39a4e$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $e7453e1bf0e39a4e$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $e7453e1bf0e39a4e$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $e7453e1bf0e39a4e$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $e7453e1bf0e39a4e$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $e7453e1bf0e39a4e$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $e7453e1bf0e39a4e$var$_toPropertyKey(t) {\n var i = $e7453e1bf0e39a4e$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $e7453e1bf0e39a4e$var$_typeof(i) ? i : i + \"\";\n}\nfunction $e7453e1bf0e39a4e$var$_toPrimitive(t, r) {\n if (\"object\" != $e7453e1bf0e39a4e$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $e7453e1bf0e39a4e$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $e7453e1bf0e39a4e$var$_callSuper(t, o, e) {\n return o = $e7453e1bf0e39a4e$var$_getPrototypeOf(o), $e7453e1bf0e39a4e$var$_possibleConstructorReturn(t, $e7453e1bf0e39a4e$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $e7453e1bf0e39a4e$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $e7453e1bf0e39a4e$var$_possibleConstructorReturn(self, call) {\n if (call && ($e7453e1bf0e39a4e$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $e7453e1bf0e39a4e$var$_assertThisInitialized(self);\n}\nfunction $e7453e1bf0e39a4e$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $e7453e1bf0e39a4e$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $e7453e1bf0e39a4e$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $e7453e1bf0e39a4e$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $e7453e1bf0e39a4e$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$e7453e1bf0e39a4e$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $e7453e1bf0e39a4e$var$_construct(Class, arguments, $e7453e1bf0e39a4e$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $e7453e1bf0e39a4e$var$_setPrototypeOf(Wrapper, Class);\n };\n return $e7453e1bf0e39a4e$var$_wrapNativeSuper(Class);\n}\nfunction $e7453e1bf0e39a4e$var$_construct(t, e, r) {\n if ($e7453e1bf0e39a4e$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $e7453e1bf0e39a4e$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $e7453e1bf0e39a4e$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($e7453e1bf0e39a4e$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $e7453e1bf0e39a4e$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $e7453e1bf0e39a4e$var$_setPrototypeOf(o, p) {\n $e7453e1bf0e39a4e$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $e7453e1bf0e39a4e$var$_setPrototypeOf(o, p);\n}\nfunction $e7453e1bf0e39a4e$var$_getPrototypeOf(o) {\n $e7453e1bf0e39a4e$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $e7453e1bf0e39a4e$var$_getPrototypeOf(o);\n} /* Imports */ \n/* Variables */ var $e7453e1bf0e39a4e$var$style = document.createElement(\"style\");\nvar $f535c099c9126121$exports = {};\n$f535c099c9126121$exports = new URL(\"prequir\\xfargico.044d6275.pdf\", import.meta.url).toString();\n\n\nvar $ce17c60c061cde41$exports = {};\n$ce17c60c061cde41$exports = new URL(\"logo-sprc.382ec9bd.png\", import.meta.url).toString();\n\n\n/* Class nosotroslcome */ var $e7453e1bf0e39a4e$var$HeaderComponent = $e7453e1bf0e39a4e$exports.HeaderComponent = /*#__PURE__*/ function(_HTMLElement) {\n function HeaderComponent() {\n $e7453e1bf0e39a4e$var$_classCallCheck(this, HeaderComponent);\n return $e7453e1bf0e39a4e$var$_callSuper(this, HeaderComponent, arguments);\n }\n $e7453e1bf0e39a4e$var$_inherits(HeaderComponent, _HTMLElement);\n return $e7453e1bf0e39a4e$var$_createClass(HeaderComponent, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n /* Button Header */ var inicio = this.querySelector(\".logo\");\n inicio.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/\");\n });\n /* Button Nav - Nosotros */ var institucional = this.querySelector(\".institucional\");\n institucional.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/nosotros\");\n });\n var trabaja = this.querySelector(\".trabaja\");\n trabaja.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/trabaja\");\n });\n var cobertura = this.querySelector(\".cobertura\");\n cobertura.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/cobertura\");\n });\n var horarios = this.querySelector(\".horarios\");\n horarios.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/horarios\");\n });\n var profesionales = this.querySelector(\".profesionales\");\n profesionales.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/profesionales\");\n });\n var diagnostico = this.querySelector(\".diagnostico\");\n diagnostico.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/diagnostico\");\n });\n var laboratorio = this.querySelector(\".laboratorio\");\n laboratorio.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/laboratorio\");\n });\n var cardiologia = this.querySelector(\".cardiologia\");\n cardiologia.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/cardiologia\");\n });\n var sedes = this.querySelector(\".sedes\");\n sedes.addEventListener(\"click\", function() {\n $f9d9d110dea7aeee$export$55185c17a0fcbe46.go(\"/sedes\");\n });\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"header\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n \\n
\\n
\\n
\\n \\n
\\n \\n \\n
\\n
\\n
\\n \\n \\n
\\n
\\n \\n
\\n \\n \\n \\n \\n \\n
\\n
\\n
\\n \\n \\n
\\n
\\n
\\n ');\n $e7453e1bf0e39a4e$var$style.innerHTML = \"\\n /* Header */\\n .header-container{\\n font-family: 'Poppins', sans-serif;\\n height: 100px;\\n width: 100%;\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n justify-content: space-evenly;\\n }\\n /* Header - Box */\\n .header-box{\\n width: 1024px;\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n justify-content: space-between;\\n padding: 20px;\\n }\\n .logo{\\n height: 70px;\\n }\\n .header__link-box{\\n display: flex;\\n flex-direction: column;\\n }\\n .header__call-title{\\n margin: 0 auto;\\n font-size: 24px;\\n }\\n .header__call-number{\\n margin: 0 auto;\\n width: 200px;\\n text-align: center;\\n background-color: #50af70;\\n color: whitesmoke;\\n border-radius: 10px;\\n font-size: 24px;\\n text-decoration: none;\\n }\\n\\n /* Nav */\\n .nav-container{\\n height: 50px;\\n width: 100%;\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n justify-content: space-evenly;\\n background-color: whitesmoke;\\n }\\n /* Nav - Box */\\n .nav-box{\\n width: 768px;\\n display: grid;\\n grid-template-columns: 25% 25% 25% 25%;\\n justify-content: center;\\n }\\n .nav__menu{\\n border: none;\\n height: 50px;\\n width: 150px;\\n background-color: transparent;\\n color: #1e1e1ead;\\n text-align: center;\\n font-size: 15px;\\n }\\n .nav__nosotros-box,\\n .nav__pacientes-box,\\n .nav__servicios-box,\\n .nav__intranet-box{\\n position: relative;\\n display: inline-block;\\n } \\n .nav__nosotros-content,\\n .nav__pacientes-content,\\n .nav__servicios-content,\\n .nav__intranet-content{\\n display: none;\\n position: absolute;\\n background-color: #f1f1f1;\\n min-width: 260px;\\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\\n z-index: 1;\\n }\\n .nav__nosotros,\\n .nav__pacientes,\\n .nav__servicios,\\n .nav__intranet{\\n border: none;\\n min-height: 50px;\\n min-width: 260px;\\n background-color: transparent;\\n color: rgba(0, 0, 0, 0.60);\\n text-align: start;\\n font-size: 15px;\\n padding: 12px 16px;\\n }\\n .nav__nosotros-content a,\\n .nav__pacientes-content a,\\n .nav__servicios-content a,\\n .nav__intranet-content a{\\n color: rgba(0, 0, 0, 0.60);\\n padding: 12px 16px;\\n text-decoration: none;\\n display: block;\\n }\\n .nosotros:hover,\\n .nav__nosotros:hover,\\n .pacientes:hover,\\n .nav__pacientes:hover,\\n .servicios:hover,\\n .nav__servicios:hover,\\n .intranet:hover,\\n .nav__intranet:hover{\\n transition: 0.5s;\\n background-color: #ddd;\\n } \\n .nav__nosotros-box:hover .nav__nosotros-content,\\n .nav__pacientes-box:hover .nav__pacientes-content,\\n .nav__servicios-box:hover .nav__servicios-content,\\n .nav__intranet-box:hover .nav__intranet-content{\\n transition: 0.5s;\\n display: block;\\n }\\n \";\n this.appendChild($e7453e1bf0e39a4e$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $e7453e1bf0e39a4e$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"header-components\", $e7453e1bf0e39a4e$var$HeaderComponent);\n\n\nvar $791dbe1805b7a1bf$exports = {};\n\"use strict\";\nfunction $791dbe1805b7a1bf$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $791dbe1805b7a1bf$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $791dbe1805b7a1bf$var$_typeof(o);\n}\nObject.defineProperty($791dbe1805b7a1bf$exports, \"__esModule\", {\n value: true\n});\n$791dbe1805b7a1bf$exports.FooterComponent = void 0;\nfunction $791dbe1805b7a1bf$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $791dbe1805b7a1bf$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $791dbe1805b7a1bf$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $791dbe1805b7a1bf$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $791dbe1805b7a1bf$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $791dbe1805b7a1bf$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $791dbe1805b7a1bf$var$_toPropertyKey(t) {\n var i = $791dbe1805b7a1bf$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $791dbe1805b7a1bf$var$_typeof(i) ? i : i + \"\";\n}\nfunction $791dbe1805b7a1bf$var$_toPrimitive(t, r) {\n if (\"object\" != $791dbe1805b7a1bf$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $791dbe1805b7a1bf$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $791dbe1805b7a1bf$var$_callSuper(t, o, e) {\n return o = $791dbe1805b7a1bf$var$_getPrototypeOf(o), $791dbe1805b7a1bf$var$_possibleConstructorReturn(t, $791dbe1805b7a1bf$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $791dbe1805b7a1bf$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $791dbe1805b7a1bf$var$_possibleConstructorReturn(self, call) {\n if (call && ($791dbe1805b7a1bf$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $791dbe1805b7a1bf$var$_assertThisInitialized(self);\n}\nfunction $791dbe1805b7a1bf$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $791dbe1805b7a1bf$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $791dbe1805b7a1bf$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $791dbe1805b7a1bf$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $791dbe1805b7a1bf$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$791dbe1805b7a1bf$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $791dbe1805b7a1bf$var$_construct(Class, arguments, $791dbe1805b7a1bf$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $791dbe1805b7a1bf$var$_setPrototypeOf(Wrapper, Class);\n };\n return $791dbe1805b7a1bf$var$_wrapNativeSuper(Class);\n}\nfunction $791dbe1805b7a1bf$var$_construct(t, e, r) {\n if ($791dbe1805b7a1bf$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $791dbe1805b7a1bf$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $791dbe1805b7a1bf$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($791dbe1805b7a1bf$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $791dbe1805b7a1bf$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $791dbe1805b7a1bf$var$_setPrototypeOf(o, p) {\n $791dbe1805b7a1bf$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $791dbe1805b7a1bf$var$_setPrototypeOf(o, p);\n}\nfunction $791dbe1805b7a1bf$var$_getPrototypeOf(o) {\n $791dbe1805b7a1bf$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $791dbe1805b7a1bf$var$_getPrototypeOf(o);\n}\n/* Variables */ var $791dbe1805b7a1bf$var$style = document.createElement(\"style\");\nvar $7b03f4dbb4d7b5f5$exports = {};\n$7b03f4dbb4d7b5f5$exports = new URL(\"icon-whatsapp.6331bf9a.png\", import.meta.url).toString();\n\n\nvar $e09e19849f6e3b79$exports = {};\n$e09e19849f6e3b79$exports = new URL(\"icon-linkedin.b818e2b3.png\", import.meta.url).toString();\n\n\nvar $6462e6b5cab8b45b$exports = {};\n$6462e6b5cab8b45b$exports = new URL(\"icon-instagram.2e128d1f.png\", import.meta.url).toString();\n\n\nvar $e3fbcf0844ee80af$exports = {};\n$e3fbcf0844ee80af$exports = new URL(\"icon-facebook.2bd313d5.png\", import.meta.url).toString();\n\n\n/* Class Welcome */ var $791dbe1805b7a1bf$var$FooterComponent = $791dbe1805b7a1bf$exports.FooterComponent = /*#__PURE__*/ function(_HTMLElement) {\n function FooterComponent() {\n $791dbe1805b7a1bf$var$_classCallCheck(this, FooterComponent);\n return $791dbe1805b7a1bf$var$_callSuper(this, FooterComponent, arguments);\n }\n $791dbe1805b7a1bf$var$_inherits(FooterComponent, _HTMLElement);\n return $791dbe1805b7a1bf$var$_createClass(FooterComponent, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"footer\";\n this.innerHTML = '\\n \\n
\\n
\\n \\n
\\n

Contacto

\\n \\n \\xbfDonde nos encontramos?\\n Ir al inicio\\n
\\n
\\n

Redes Sociales

\\n
\\n \"facebook\"\\n \"linkedin\"\\n \"instagram\"\\n \"whatsapp\"\\n
\\n
\\n
\\n
\\n
Sanatorio Privado 2024 \\xa9
\\n
\\n
\\n ');\n $791dbe1805b7a1bf$var$style.innerHTML = \"\\n /* Footer */\\n .footer{\\n font-family: 'Poppins', sans-serif;\\n width: 100%;\\n min-height: 250px;\\n background-color: #50af70;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n justify-content: space-between;\\n gap: 15px;\\n }\\n /* Footer - Box */\\n .footer-box{\\n width: 1024px;\\n display: flex;\\n flex-direction: row;\\n justify-content: space-evenly;\\n }\\n .footer__sucursales,\\n .footer__informacion,\\n .footer__redes{\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n .footer__sucursales-title,\\n .footer__informacion-title,\\n .footer__redes-title{\\n font-size: 18px;\\n color: whitesmoke\\n }\\n .footer__sucursales a,\\n .footer__informacion a{\\n font-size: 15px;\\n color: rgba(245, 245, 245, 0.72);\\n padding: 3px;\\n text-decoration: none;\\n }\\n .footer__redes-icon{\\n display: flex;\\n gap: 10px;\\n }\\n .footer__redes-img{\\n height: 35px;\\n width: 35px;\\n }\\n \";\n this.appendChild($791dbe1805b7a1bf$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $791dbe1805b7a1bf$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"footer-components\", $791dbe1805b7a1bf$var$FooterComponent);\n\n\nvar $471d51884eb22c52$exports = {};\n\"use strict\";\nfunction $471d51884eb22c52$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $471d51884eb22c52$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $471d51884eb22c52$var$_typeof(o);\n}\nObject.defineProperty($471d51884eb22c52$exports, \"__esModule\", {\n value: true\n});\n$471d51884eb22c52$exports.NoPage = void 0;\nfunction $471d51884eb22c52$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $471d51884eb22c52$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $471d51884eb22c52$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $471d51884eb22c52$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $471d51884eb22c52$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $471d51884eb22c52$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $471d51884eb22c52$var$_toPropertyKey(t) {\n var i = $471d51884eb22c52$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $471d51884eb22c52$var$_typeof(i) ? i : i + \"\";\n}\nfunction $471d51884eb22c52$var$_toPrimitive(t, r) {\n if (\"object\" != $471d51884eb22c52$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $471d51884eb22c52$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $471d51884eb22c52$var$_callSuper(t, o, e) {\n return o = $471d51884eb22c52$var$_getPrototypeOf(o), $471d51884eb22c52$var$_possibleConstructorReturn(t, $471d51884eb22c52$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $471d51884eb22c52$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $471d51884eb22c52$var$_possibleConstructorReturn(self, call) {\n if (call && ($471d51884eb22c52$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $471d51884eb22c52$var$_assertThisInitialized(self);\n}\nfunction $471d51884eb22c52$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $471d51884eb22c52$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $471d51884eb22c52$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $471d51884eb22c52$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $471d51884eb22c52$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$471d51884eb22c52$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $471d51884eb22c52$var$_construct(Class, arguments, $471d51884eb22c52$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $471d51884eb22c52$var$_setPrototypeOf(Wrapper, Class);\n };\n return $471d51884eb22c52$var$_wrapNativeSuper(Class);\n}\nfunction $471d51884eb22c52$var$_construct(t, e, r) {\n if ($471d51884eb22c52$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $471d51884eb22c52$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $471d51884eb22c52$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($471d51884eb22c52$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $471d51884eb22c52$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $471d51884eb22c52$var$_setPrototypeOf(o, p) {\n $471d51884eb22c52$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $471d51884eb22c52$var$_setPrototypeOf(o, p);\n}\nfunction $471d51884eb22c52$var$_getPrototypeOf(o) {\n $471d51884eb22c52$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $471d51884eb22c52$var$_getPrototypeOf(o);\n}\n/* Variables */ var $471d51884eb22c52$var$style = document.createElement(\"style\");\nvar $a806b328614afb46$exports = {};\n$a806b328614afb46$exports = new URL(\"site-construccion.f016c901.png\", import.meta.url).toString();\n\n\n/* Class No Page */ var $471d51884eb22c52$var$NoPage = $471d51884eb22c52$exports.NoPage = /*#__PURE__*/ function(_HTMLElement) {\n function NoPage() {\n $471d51884eb22c52$var$_classCallCheck(this, NoPage);\n return $471d51884eb22c52$var$_callSuper(this, NoPage, arguments);\n }\n $471d51884eb22c52$var$_inherits(NoPage, _HTMLElement);\n return $471d51884eb22c52$var$_createClass(NoPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"no-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n
\\n
\\n

Sitio en construcci\\xf3n.

\\n

Proximamente mas informaci\\xf3n.

\\n
\\n
\\n
\\n
\\n
\\n ';\n $471d51884eb22c52$var$style.innerHTML = \"\\n /* Page */\\n .no-page-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n\\n /* Body */\\n .no-page-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n height: 350px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n flex-direction: row;\\n }\\n .body__cuerpo-text{\\n height: 300px;\\n width: 400px;\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n align-items: flex-start;\\n padding: 50px;\\n }\\n .body__cuerpo-text-title{\\n margin: 0px;\\n font-size: 25px;\\n text-align: center;\\n }\\n .body__cuerpo-text-subtitle{\\n margin: 0px;\\n font-size: 15px;\\n }\\n \";\n this.appendChild($471d51884eb22c52$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $471d51884eb22c52$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"no-page\", $471d51884eb22c52$var$NoPage);\n\n\nvar $4ffce5fddec20c53$exports = {};\n\"use strict\";\nfunction $4ffce5fddec20c53$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $4ffce5fddec20c53$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $4ffce5fddec20c53$var$_typeof(o);\n}\nObject.defineProperty($4ffce5fddec20c53$exports, \"__esModule\", {\n value: true\n});\n$4ffce5fddec20c53$exports.WelcomePage = void 0;\nvar $0b89d474933103bc$exports = {};\n\"use strict\";\nObject.defineProperty($0b89d474933103bc$exports, \"__esModule\", {\n value: true\n});\n$0b89d474933103bc$exports.state = void 0;\nfunction $0b89d474933103bc$var$_createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n if (!it) {\n if (Array.isArray(o) || (it = $0b89d474933103bc$var$_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n var F = function F() {};\n return {\n s: F,\n n: function n() {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function e(_e) {\n throw _e;\n },\n f: F\n };\n }\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var normalCompletion = true, didErr = false, err;\n return {\n s: function s() {\n it = it.call(o);\n },\n n: function n() {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function e(_e2) {\n didErr = true;\n err = _e2;\n },\n f: function f() {\n try {\n if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n } finally{\n if (didErr) throw err;\n }\n }\n };\n}\nfunction $0b89d474933103bc$var$_unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return $0b89d474933103bc$var$_arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return $0b89d474933103bc$var$_arrayLikeToArray(o, minLen);\n}\nfunction $0b89d474933103bc$var$_arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];\n return arr2;\n}\n/* Variables */ /* State */ var $0b89d474933103bc$var$state = $0b89d474933103bc$exports.state = {\n /* Inicio */ init: function init() {},\n /* Template - Foto */ searchImagen: function searchImagen(idPhoto, data) {\n var i = data.includes.Asset.find(function(item) {\n return item.sys.id == idPhoto;\n });\n return i;\n },\n /* Template - Welcome (Template) */ addNotice: function addNotice(params) {\n var template = document.querySelector(\".noticias__template\");\n var container = document.querySelector(\".body__noticias\");\n template.content.querySelector(\".noticias__title\").textContent = params.titulo;\n template.content.querySelector(\".noticias__subtitle\").textContent = params.informacion;\n template.content.querySelector(\".noticias__photo\").src = params.foto;\n var clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Welcome (Fetch) */ getNotice: function getNotice() {\n var _this = this;\n return fetch(\"https://cdn.contentful.com/spaces/vzrchh5059a8/environments/master/entries?access_token=rycvlQrg1NFTKqUz7jfatycdJ9nuFrsxh8LlfViD9so&content_type=home\").then(function(r) {\n return r.json();\n }).then(function(data) {\n var notice = data.items.map(function(item) {\n return {\n titulo: item.fields.titulo,\n informacion: item.fields.informacion,\n foto: _this.searchImagen(item.fields.foto.sys.id, data).fields.file.url\n };\n });\n return notice;\n });\n },\n /* Template - Welcome (Publica) */ dataWelcome: function dataWelcome() {\n var _this2 = this;\n this.getNotice().then(function(item) {\n var _iterator = $0b89d474933103bc$var$_createForOfIteratorHelper(item), _step;\n try {\n for(_iterator.s(); !(_step = _iterator.n()).done;){\n var i = _step.value;\n _this2.addNotice(i);\n }\n } catch (err) {\n _iterator.e(err);\n } finally{\n _iterator.f();\n }\n });\n },\n /* Template - Trabaja (Template) */ addJob: function addJob(params) {\n var template = document.querySelector(\".job__template\");\n var container = document.querySelector(\".job__container\");\n template.content.querySelector(\".job__titulo\").textContent = params.puesto;\n template.content.querySelector(\".job__descripcion\").textContent = params.descripcion;\n template.content.querySelector(\".job__disponibilidad\").textContent = params.disponibilidad;\n var clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Trabaja (Fetch) */ getJob: function getJob() {\n return fetch(\"https://cdn.contentful.com/spaces/vzrchh5059a8/environments/master/entries?access_token=rycvlQrg1NFTKqUz7jfatycdJ9nuFrsxh8LlfViD9so&content_type=busquedas\").then(function(r) {\n return r.json();\n }).then(function(data) {\n var job = data.items.map(function(item) {\n return {\n puesto: item.fields.puesto,\n descripcion: item.fields.descripcion,\n disponibilidad: item.fields.disponibilidad\n };\n });\n return job;\n });\n },\n /* Template - Trabaja (Publica) */ dataJob: function dataJob() {\n var _this3 = this;\n this.getJob().then(function(item) {\n var _iterator2 = $0b89d474933103bc$var$_createForOfIteratorHelper(item), _step2;\n try {\n for(_iterator2.s(); !(_step2 = _iterator2.n()).done;){\n var i = _step2.value;\n _this3.addJob(i);\n }\n } catch (err) {\n _iterator2.e(err);\n } finally{\n _iterator2.f();\n }\n });\n },\n /* Template - Sedes (Template) */ addSedes: function addSedes(params) {\n var template = document.querySelector(\".sedes__template\");\n var container = document.querySelector(\".sedes__container\");\n template.content.querySelector(\".sedes__titulo\").textContent = params.periferico;\n template.content.querySelector(\".sedes__direccion\").textContent = params.direccion;\n template.content.querySelector(\".sedes__phone\").textContent = params.telefono;\n template.content.querySelector(\".sedes__mail\").textContent = params.contacto;\n template.content.querySelector(\".sedes__photo\").src = params.foto;\n var clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Sedes (Fetch) */ getSedes: function getSedes() {\n var _this4 = this;\n return fetch(\"https://cdn.contentful.com/spaces/vzrchh5059a8/environments/master/entries?access_token=rycvlQrg1NFTKqUz7jfatycdJ9nuFrsxh8LlfViD9so&content_type=sucursales\").then(function(r) {\n return r.json();\n }).then(function(data) {\n var sedes = data.items.map(function(item) {\n return {\n periferico: item.fields.periferico,\n direccion: item.fields.direccion,\n telefono: item.fields.telefono,\n contacto: item.fields.contacto,\n foto: _this4.searchImagen(item.fields.foto.sys.id, data).fields.file.url\n };\n });\n return sedes;\n });\n },\n /* Template - Sedes (Publica) */ dataSedes: function dataSedes() {\n var _this5 = this;\n this.getSedes().then(function(item) {\n var _iterator3 = $0b89d474933103bc$var$_createForOfIteratorHelper(item), _step3;\n try {\n for(_iterator3.s(); !(_step3 = _iterator3.n()).done;){\n var i = _step3.value;\n _this5.addSedes(i);\n }\n } catch (err) {\n _iterator3.e(err);\n } finally{\n _iterator3.f();\n }\n });\n },\n /* Template - Profesionales (Fetch) */ addProfesionales: function addProfesionales(params) {\n var template = document.querySelector(\".profesional__template\");\n var container = document.querySelector(\".body__profesionales-container\");\n template.content.querySelector(\".profesional__especialidad\").textContent = params.Especialidad;\n template.content.querySelector(\".profesional__info\").textContent = params.Profesional;\n var clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Profesionales (Publica) */ dataProfesionales: function dataProfesionales(data) {\n var _iterator4 = $0b89d474933103bc$var$_createForOfIteratorHelper(data), _step4;\n try {\n for(_iterator4.s(); !(_step4 = _iterator4.n()).done;){\n var i = _step4.value;\n this.addProfesionales(i);\n }\n } catch (err) {\n _iterator4.e(err);\n } finally{\n _iterator4.f();\n }\n },\n /* Template - Mutuales (Fetch) */ addMutuales: function addMutuales(params) {\n var template = document.querySelector(\".mutuales__template\");\n var container = document.querySelector(\".body__mutuales-container\");\n template.content.querySelector(\".mutuales__info\").textContent = params.Mutual;\n var clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Mutuales (Publica) */ dataMutuales: function dataMutuales(data) {\n var _iterator5 = $0b89d474933103bc$var$_createForOfIteratorHelper(data), _step5;\n try {\n for(_iterator5.s(); !(_step5 = _iterator5.n()).done;){\n var i = _step5.value;\n this.addMutuales(i);\n }\n } catch (err) {\n _iterator5.e(err);\n } finally{\n _iterator5.f();\n }\n }\n}; /* Export */ \n\n\nfunction $4ffce5fddec20c53$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $4ffce5fddec20c53$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $4ffce5fddec20c53$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $4ffce5fddec20c53$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $4ffce5fddec20c53$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $4ffce5fddec20c53$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $4ffce5fddec20c53$var$_toPropertyKey(t) {\n var i = $4ffce5fddec20c53$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $4ffce5fddec20c53$var$_typeof(i) ? i : i + \"\";\n}\nfunction $4ffce5fddec20c53$var$_toPrimitive(t, r) {\n if (\"object\" != $4ffce5fddec20c53$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $4ffce5fddec20c53$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $4ffce5fddec20c53$var$_callSuper(t, o, e) {\n return o = $4ffce5fddec20c53$var$_getPrototypeOf(o), $4ffce5fddec20c53$var$_possibleConstructorReturn(t, $4ffce5fddec20c53$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $4ffce5fddec20c53$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $4ffce5fddec20c53$var$_possibleConstructorReturn(self, call) {\n if (call && ($4ffce5fddec20c53$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $4ffce5fddec20c53$var$_assertThisInitialized(self);\n}\nfunction $4ffce5fddec20c53$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $4ffce5fddec20c53$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $4ffce5fddec20c53$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $4ffce5fddec20c53$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $4ffce5fddec20c53$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$4ffce5fddec20c53$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $4ffce5fddec20c53$var$_construct(Class, arguments, $4ffce5fddec20c53$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $4ffce5fddec20c53$var$_setPrototypeOf(Wrapper, Class);\n };\n return $4ffce5fddec20c53$var$_wrapNativeSuper(Class);\n}\nfunction $4ffce5fddec20c53$var$_construct(t, e, r) {\n if ($4ffce5fddec20c53$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $4ffce5fddec20c53$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $4ffce5fddec20c53$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($4ffce5fddec20c53$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $4ffce5fddec20c53$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $4ffce5fddec20c53$var$_setPrototypeOf(o, p) {\n $4ffce5fddec20c53$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $4ffce5fddec20c53$var$_setPrototypeOf(o, p);\n}\nfunction $4ffce5fddec20c53$var$_getPrototypeOf(o) {\n $4ffce5fddec20c53$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $4ffce5fddec20c53$var$_getPrototypeOf(o);\n}\n/* Variables */ var $4ffce5fddec20c53$var$style = document.createElement(\"style\");\nvar $d42eaa44e1dfce0d$exports = {};\n$d42eaa44e1dfce0d$exports = new URL(\"home.8601b3f4.gif\", import.meta.url).toString();\n\n\n/* Class Welcome */ var $4ffce5fddec20c53$var$WelcomePage = $4ffce5fddec20c53$exports.WelcomePage = /*#__PURE__*/ function(_HTMLElement) {\n function WelcomePage() {\n $4ffce5fddec20c53$var$_classCallCheck(this, WelcomePage);\n return $4ffce5fddec20c53$var$_callSuper(this, WelcomePage, arguments);\n }\n $4ffce5fddec20c53$var$_inherits(WelcomePage, _HTMLElement);\n return $4ffce5fddec20c53$var$_createClass(WelcomePage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n $0b89d474933103bc$exports.state.dataWelcome();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"welcome-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n \"sanatorio\\n \\n
\\n
\\n \\n \\n \\n \\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n \\n
\\n
\\n

Sede Central

\\n
Direcci\\xf3n: Bv. Roca 949 - Rio Cuarto
Lineas Rotativas: +549 358 4675800
Contacto: info@sanatorioprivado.com.ar
\\n
\\n
\\n \\n
\\n
\\n\\n
\\n
\\n
\\n
\\n ');\n $4ffce5fddec20c53$var$style.innerHTML = \"\\n /* Page */\\n .welcome-container{\\n max-width: 100%;\\n min-height: 100vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .welcome-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n flex-direction: column;\\n align-items: center;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__carrusel,\\n .wallpaper{\\n height: 500px;\\n width: 1200px;\\n background-color: #1E1E1E75;\\n }\\n .body__break{\\n height: 35px;\\n }\\n .body__noticias{\\n background-color: #1e1e1e10;\\n min-height: 300px;\\n width: 100%;\\n display: grid;\\n grid-template-columns: 33% 33% 33%;\\n justify-content: center;\\n padding: 25px;\\n gap: 10px;\\n }\\n .body__formulario{\\n background-color: #1e1e1e10;\\n min-height: 100px;\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n font-size: 23px;\\n }\\n .formulario{\\n text-decoration: none;\\n }\\n .noticias{\\n display: flex;\\n flex-direction: column;\\n min-height: 250px;\\n align-items: center;\\n gap: 20px;\\n }\\n .noticias__box{\\n min-height: 150px;\\n width: 100%;\\n display: flex;\\n flex-direction: column;\\n justify-content: flex-start;\\n }\\n .noticias__title{\\n margin: 0 auto;\\n font-size: 25px;\\n text-align: center;\\n }\\n .noticias__subtitle{\\n font-size: 15px;\\n }\\n .noticias__photo{\\n height: 200px;\\n width: 100%;\\n background-color: #1E1E1E75;\\n }\\n .body__ubicacion{\\n background-color: #1e1e1e10;\\n height: 300px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n flex-direction: row;\\n justify-content: space-between;\\n gap: 20px;\\n }\\n .body__cuerpo-text{\\n padding: 15px;\\n margin: 20px auto;\\n }\\n .body__cuerpo-text-title{\\n margin: 0 auto;\\n font-size: 25px;\\n text-align: center;\\n }\\n .body__cuerpo-text-subtitle{\\n font-size: 15px;\\n }\\n .body__cuerpo-map{\\n height: 300px;\\n width: 60%;\\n }\\n \";\n this.appendChild($4ffce5fddec20c53$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $4ffce5fddec20c53$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"welcome-page\", $4ffce5fddec20c53$var$WelcomePage);\n\n\nvar $018a8573d9cd844e$exports = {};\n\"use strict\";\nfunction $018a8573d9cd844e$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $018a8573d9cd844e$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $018a8573d9cd844e$var$_typeof(o);\n}\nObject.defineProperty($018a8573d9cd844e$exports, \"__esModule\", {\n value: true\n});\n$018a8573d9cd844e$exports.NosotrosPage = void 0;\nfunction $018a8573d9cd844e$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $018a8573d9cd844e$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $018a8573d9cd844e$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $018a8573d9cd844e$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $018a8573d9cd844e$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $018a8573d9cd844e$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $018a8573d9cd844e$var$_toPropertyKey(t) {\n var i = $018a8573d9cd844e$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $018a8573d9cd844e$var$_typeof(i) ? i : i + \"\";\n}\nfunction $018a8573d9cd844e$var$_toPrimitive(t, r) {\n if (\"object\" != $018a8573d9cd844e$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $018a8573d9cd844e$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $018a8573d9cd844e$var$_callSuper(t, o, e) {\n return o = $018a8573d9cd844e$var$_getPrototypeOf(o), $018a8573d9cd844e$var$_possibleConstructorReturn(t, $018a8573d9cd844e$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $018a8573d9cd844e$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $018a8573d9cd844e$var$_possibleConstructorReturn(self, call) {\n if (call && ($018a8573d9cd844e$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $018a8573d9cd844e$var$_assertThisInitialized(self);\n}\nfunction $018a8573d9cd844e$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $018a8573d9cd844e$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $018a8573d9cd844e$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $018a8573d9cd844e$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $018a8573d9cd844e$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$018a8573d9cd844e$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $018a8573d9cd844e$var$_construct(Class, arguments, $018a8573d9cd844e$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $018a8573d9cd844e$var$_setPrototypeOf(Wrapper, Class);\n };\n return $018a8573d9cd844e$var$_wrapNativeSuper(Class);\n}\nfunction $018a8573d9cd844e$var$_construct(t, e, r) {\n if ($018a8573d9cd844e$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $018a8573d9cd844e$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $018a8573d9cd844e$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($018a8573d9cd844e$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $018a8573d9cd844e$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $018a8573d9cd844e$var$_setPrototypeOf(o, p) {\n $018a8573d9cd844e$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $018a8573d9cd844e$var$_setPrototypeOf(o, p);\n}\nfunction $018a8573d9cd844e$var$_getPrototypeOf(o) {\n $018a8573d9cd844e$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $018a8573d9cd844e$var$_getPrototypeOf(o);\n}\n/* Variables */ var $018a8573d9cd844e$var$style = document.createElement(\"style\");\n\n/* Class Nosotros */ var $018a8573d9cd844e$var$NosotrosPage = $018a8573d9cd844e$exports.NosotrosPage = /*#__PURE__*/ function(_HTMLElement) {\n function NosotrosPage() {\n $018a8573d9cd844e$var$_classCallCheck(this, NosotrosPage);\n return $018a8573d9cd844e$var$_callSuper(this, NosotrosPage, arguments);\n }\n $018a8573d9cd844e$var$_inherits(NosotrosPage, _HTMLElement);\n return $018a8573d9cd844e$var$_createClass(NosotrosPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"nosotros-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n
\\n
\\n
\\n

\\xa1Comprometidos con tu salud!

\\n
\\n
Desde nuestra fundaci\\xf3n en el a\\xf1o 2000, en Sanatorio Privado R\\xedo Cuarto nos hemos dedicado apasionadamente a proporcionar servicios m\\xe9dicos de alta calidad para la ciudad y la regi\\xf3n. Ubicados estrat\\xe9gicamente en el Boulevard Roca 949 de la ciudad de R\\xedo Cuarto, nos enorgullece ser un pilar en el cuidado de la salud de nuestra comunidad.
Servicios Integralmente Dise\\xf1ados:
Ofrecemos una amplia gama de servicios m\\xe9dicos para abordar todas las necesidades de salud de nuestros pacientes. Desde atenci\\xf3n ambulatoria en consultorios hasta servicios especializados, nuestra instituci\\xf3n est\\xe1 comprometida con la excelencia m\\xe9dica.
\\xa0Infraestructura Moderna y Equipamiento Avanzado:
Contamos con instalaciones modernas y equipamiento de \\xfaltima generaci\\xf3n para brindar servicios de calidad. Nuestro sanatorio alberga un laboratorio de an\\xe1lisis bioqu\\xedmicos y microbiolog\\xeda, servicios de diagn\\xf3stico por im\\xe1genes y una guardia central para adultos, garantizando respuestas r\\xe1pidas y precisas a las necesidades de nuestros pacientes.
Internaci\\xf3n y Cuidados Especializados:
Para aquellos que requieren internaci\\xf3n, nuestro sanatorio ofrece habitaciones confortables con ba\\xf1o privado. Adem\\xe1s, contamos con una Unidad de Terapia Intensiva para adultos y un \\xe1rea especializada en cirug\\xeda e intervencionismo que incluye quir\\xf3fanos, salas de endoscopia y servicios de hemodinamia.
Comprometidos con su Bienestar:
En Sanatorio Privado R\\xedo Cuarto, la atenci\\xf3n centrada en el paciente es nuestra prioridad. Nuestro equipo de profesionales altamente calificados y comprometidos est\\xe1 aqu\\xed para brindarle la mejor atenci\\xf3n m\\xe9dica posible, asegurando su bienestar y tranquilidad.
Explore nuestras instalaciones, conozca a nuestro equipo y descubra c\\xf3mo en Sanatorio Privado R\\xedo Cuarto, la salud y el cuidado van de la mano. Estamos aqu\\xed para usted, comprometidos con su salud y calidad de vida.
\\n
\\n
\\n
\\n
\\n
\\n
\\n ';\n $018a8573d9cd844e$var$style.innerHTML = \"\\n /* Page */\\n .nosotros-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .nosotros-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n min-height: 100px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: row;\\n }\\n .body__cuerpo-text{\\n min-height: 200px;\\n width: 90%;\\n }\\n .body__cuerpo-text-title{\\n margin: 10px auto;\\n font-size: 25px;\\n text-align: start;\\n }\\n .body__cuerpo-text-subtitle{\\n margin: 10px auto;\\n font-size: 15px;\\n }\\n .body__cuerpo-img-a{\\n height: 400px;\\n width: 400px;\\n background-color: #1E1E1E75;\\n }\\n \";\n this.appendChild($018a8573d9cd844e$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $018a8573d9cd844e$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"nosotros-page\", $018a8573d9cd844e$var$NosotrosPage);\n\n\nvar $afed6b31e36da77f$exports = {};\n\"use strict\";\nfunction $afed6b31e36da77f$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $afed6b31e36da77f$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $afed6b31e36da77f$var$_typeof(o);\n}\nObject.defineProperty($afed6b31e36da77f$exports, \"__esModule\", {\n value: true\n});\n$afed6b31e36da77f$exports.SedesPage = void 0;\n\nfunction $afed6b31e36da77f$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $afed6b31e36da77f$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $afed6b31e36da77f$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $afed6b31e36da77f$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $afed6b31e36da77f$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $afed6b31e36da77f$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $afed6b31e36da77f$var$_toPropertyKey(t) {\n var i = $afed6b31e36da77f$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $afed6b31e36da77f$var$_typeof(i) ? i : i + \"\";\n}\nfunction $afed6b31e36da77f$var$_toPrimitive(t, r) {\n if (\"object\" != $afed6b31e36da77f$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $afed6b31e36da77f$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $afed6b31e36da77f$var$_callSuper(t, o, e) {\n return o = $afed6b31e36da77f$var$_getPrototypeOf(o), $afed6b31e36da77f$var$_possibleConstructorReturn(t, $afed6b31e36da77f$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $afed6b31e36da77f$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $afed6b31e36da77f$var$_possibleConstructorReturn(self, call) {\n if (call && ($afed6b31e36da77f$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $afed6b31e36da77f$var$_assertThisInitialized(self);\n}\nfunction $afed6b31e36da77f$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $afed6b31e36da77f$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $afed6b31e36da77f$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $afed6b31e36da77f$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $afed6b31e36da77f$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$afed6b31e36da77f$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $afed6b31e36da77f$var$_construct(Class, arguments, $afed6b31e36da77f$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $afed6b31e36da77f$var$_setPrototypeOf(Wrapper, Class);\n };\n return $afed6b31e36da77f$var$_wrapNativeSuper(Class);\n}\nfunction $afed6b31e36da77f$var$_construct(t, e, r) {\n if ($afed6b31e36da77f$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $afed6b31e36da77f$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $afed6b31e36da77f$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($afed6b31e36da77f$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $afed6b31e36da77f$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $afed6b31e36da77f$var$_setPrototypeOf(o, p) {\n $afed6b31e36da77f$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $afed6b31e36da77f$var$_setPrototypeOf(o, p);\n}\nfunction $afed6b31e36da77f$var$_getPrototypeOf(o) {\n $afed6b31e36da77f$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $afed6b31e36da77f$var$_getPrototypeOf(o);\n}\n/* Variables */ var $afed6b31e36da77f$var$style = document.createElement(\"style\");\n/* Class Sedes */ var $afed6b31e36da77f$var$SedesPage = $afed6b31e36da77f$exports.SedesPage = /*#__PURE__*/ function(_HTMLElement) {\n function SedesPage() {\n $afed6b31e36da77f$var$_classCallCheck(this, SedesPage);\n return $afed6b31e36da77f$var$_callSuper(this, SedesPage, arguments);\n }\n $afed6b31e36da77f$var$_inherits(SedesPage, _HTMLElement);\n return $afed6b31e36da77f$var$_createClass(SedesPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n $0b89d474933103bc$exports.state.dataSedes();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"sedes-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n
\\n
\\n

Sedes y Centro Asociados

\\n
\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n ';\n $afed6b31e36da77f$var$style.innerHTML = \"\\n /* Page */\\n .sedes-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .sedes-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n min-height: 250px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: row;\\n }\\n .body__cuerpo-text{\\n margin: 20px 0px;\\n min-height: 200px;\\n width: 90%;\\n text-align: center;\\n gap: 20px;\\n \\n }\\n .body__cuerpo-text-title{\\n margin: 0 auto;\\n font-size: 25px;\\n text-align: center;\\n }\\n .body__cuerpo-text-link{\\n font-size: 18px;\\n border-radius: 5px;\\n text-decoration: none;\\n color: whitesmoke;\\n background-color: #2f6b31;\\n padding: 7px 250px;\\n }\\n .info{\\n min-height: auto;\\n }\\n .sedes__container{\\n display: grid;\\n grid-template-columns: 45% 45%;\\n align-items: start;\\n justify-content: center;\\n }\\n .sedes__box{\\n text-align: start;\\n }\\n .sedes__titulo{\\n font-size: 20px;\\n margin: 0px auto;\\n }\\n .sedes__direccion{\\n margin: 0px auto;\\n }\\n .sedes__phone{\\n margin: 0px auto;\\n }\\n .sedes__mail{\\n margin: 0px auto;\\n }\\n .sedes__photo{\\n height: 200px;\\n width: 100%;\\n background-color: #1E1E1E75;\\n }\\n \";\n this.appendChild($afed6b31e36da77f$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $afed6b31e36da77f$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"sedes-page\", $afed6b31e36da77f$var$SedesPage);\n\n\nvar $91362b5270957ac7$exports = {};\n\"use strict\";\nfunction $91362b5270957ac7$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $91362b5270957ac7$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $91362b5270957ac7$var$_typeof(o);\n}\nObject.defineProperty($91362b5270957ac7$exports, \"__esModule\", {\n value: true\n});\n$91362b5270957ac7$exports.CoberturaPage = void 0;\n\nvar $8ff575a4ccc1ade5$exports = {};\n\"use strict\";\nObject.defineProperty($8ff575a4ccc1ade5$exports, \"__esModule\", {\n value: true\n});\n$8ff575a4ccc1ade5$exports.data = void 0;\nvar $8ff575a4ccc1ade5$var$data = $8ff575a4ccc1ade5$exports.data = [\n {\n Mutual: \"ABOGADOS\"\n },\n {\n Mutual: \"AMPROSA\"\n },\n {\n Mutual: \"AMSTERDAM SALUD\"\n },\n {\n Mutual: \"APROSS\"\n },\n {\n Mutual: \"ASOCIART SA ART\"\n },\n {\n Mutual: \"ASPURC\"\n },\n {\n Mutual: \"ATSA - OSPSA\"\n },\n {\n Mutual: \"AVALIAN\"\n },\n {\n Mutual: \"BERKLEY ART\"\n },\n {\n Mutual: \"CAJA NOTARIAL\"\n },\n {\n Mutual: \"CARMED\"\n },\n {\n Mutual: \"CIENCIAS ECONOMICAS\"\n },\n {\n Mutual: \"ENDOCTER - ENSALUD\"\n },\n {\n Mutual: \"ENSALUD\"\n },\n {\n Mutual: \"EXPERTA ART (EX QBE)\"\n },\n {\n Mutual: \"FEDERADA SALUD\"\n },\n {\n Mutual: \"FUTBOLISTAS AGREMIADOS\"\n },\n {\n Mutual: \"GALENO - AZUL Y BLANCO\"\n },\n {\n Mutual: \"GALENO - ORO Y PLATA\"\n },\n {\n Mutual: \"GENMED MEDICAL ASISTANCE\"\n },\n {\n Mutual: \"GRAFICOS\"\n },\n {\n Mutual: \"IOSFA - DIBA\"\n },\n {\n Mutual: \"ISSPICA\"\n },\n {\n Mutual: \"JERARQUICO SALUD\"\n },\n {\n Mutual: \"LA SEGUNDA ART \"\n },\n {\n Mutual: \"LABOUMED SRL\"\n },\n {\n Mutual: \"LUIS PASTEURS\"\n },\n {\n Mutual: \"LUZ Y FUERZA (AESA) ALUMBRAR\"\n },\n {\n Mutual: \"LUZ Y FUERZA REGIONAL SALUD\"\n },\n {\n Mutual: \"MADEREROS\"\n },\n {\n Mutual: \"MEDICUS - AZUL - BLANCO - CELESTE\"\n },\n {\n Mutual: \"MEDICUS - CORP - FAMILY - MC\"\n },\n {\n Mutual: \"MEDINALS - PREMED\"\n },\n {\n Mutual: \"MUNICIPALES\"\n },\n {\n Mutual: \"MUTUAL MEDICA\"\n },\n {\n Mutual: \"NOBIS\"\n },\n {\n Mutual: \"OMINT SA\"\n },\n {\n Mutual: \"OPDEA \"\n },\n {\n Mutual: \"OSADEF (EMPLEADOS DE FARMACIA)\"\n },\n {\n Mutual: \"OSAM - MINEROS\"\n },\n {\n Mutual: \"OSAPM (PROPAGANDA MEDICA)\"\n },\n {\n Mutual: \"OSDE\"\n },\n {\n Mutual: \"OSDOP - SERVIRED\"\n },\n {\n Mutual: \"OSFATLYF RIO CUARTO\"\n },\n {\n Mutual: \"OSFATLYF VILLA MARIA\"\n },\n {\n Mutual: \"OSFATUN NO DOCENTE\"\n },\n {\n Mutual: \"OSOETSYLRA - TINTOREROS (ENSALUD)\"\n },\n {\n Mutual: \"OSPACA\"\n },\n {\n Mutual: \"OSPCRA (ENSALUD)\"\n },\n {\n Mutual: \"OSPECOR\"\n },\n {\n Mutual: \"OSPEDYC\"\n },\n {\n Mutual: \"OSPEP (PANADEROS)\"\n },\n {\n Mutual: \"OSPERHYRA\"\n },\n {\n Mutual: \"OSPES (ESTACIONES DE SERVICIO)\"\n },\n {\n Mutual: \"OSPIHMP (HIELO) ENSALUD\"\n },\n {\n Mutual: \"OSPIM (ENSALUD)\"\n },\n {\n Mutual: \"OSSACRA\"\n },\n {\n Mutual: \"OSTEL - ACTIVOS - ENSALUD\"\n },\n {\n Mutual: \"OSTEL - JUBILADOS - ENSALUD\"\n },\n {\n Mutual: \"PARQUE SALUD\"\n },\n {\n Mutual: \"PASTELEROS (OPCPHYA)\"\n },\n {\n Mutual: \"PODER JUDICIAL\"\n },\n {\n Mutual: \"POLICIA FEDERAL\"\n },\n {\n Mutual: \"PRENSA\"\n },\n {\n Mutual: \"PREVENCION SALUD\"\n },\n {\n Mutual: \"PRIVEL OBRA SOCIAL\"\n },\n {\n Mutual: \"PRIVEL SERVICIOS SOCIALES\"\n },\n {\n Mutual: \"SADAIC\"\n },\n {\n Mutual: \"SAN PEDRO\"\n },\n {\n Mutual: \"SANCOR SALUD\"\n },\n {\n Mutual: \"SAT (TV SALUD)\"\n },\n {\n Mutual: \"SEGUROS\"\n },\n {\n Mutual: \"SERVIRED (OSBLYCA)\"\n },\n {\n Mutual: \"SWISS MEDICAL\"\n },\n {\n Mutual: \"UNIMED\"\n },\n {\n Mutual: \"UTA\"\n }\n];\n\n\nfunction $91362b5270957ac7$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $91362b5270957ac7$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $91362b5270957ac7$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $91362b5270957ac7$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $91362b5270957ac7$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $91362b5270957ac7$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $91362b5270957ac7$var$_toPropertyKey(t) {\n var i = $91362b5270957ac7$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $91362b5270957ac7$var$_typeof(i) ? i : i + \"\";\n}\nfunction $91362b5270957ac7$var$_toPrimitive(t, r) {\n if (\"object\" != $91362b5270957ac7$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $91362b5270957ac7$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $91362b5270957ac7$var$_callSuper(t, o, e) {\n return o = $91362b5270957ac7$var$_getPrototypeOf(o), $91362b5270957ac7$var$_possibleConstructorReturn(t, $91362b5270957ac7$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $91362b5270957ac7$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $91362b5270957ac7$var$_possibleConstructorReturn(self, call) {\n if (call && ($91362b5270957ac7$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $91362b5270957ac7$var$_assertThisInitialized(self);\n}\nfunction $91362b5270957ac7$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $91362b5270957ac7$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $91362b5270957ac7$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $91362b5270957ac7$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $91362b5270957ac7$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$91362b5270957ac7$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $91362b5270957ac7$var$_construct(Class, arguments, $91362b5270957ac7$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $91362b5270957ac7$var$_setPrototypeOf(Wrapper, Class);\n };\n return $91362b5270957ac7$var$_wrapNativeSuper(Class);\n}\nfunction $91362b5270957ac7$var$_construct(t, e, r) {\n if ($91362b5270957ac7$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $91362b5270957ac7$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $91362b5270957ac7$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($91362b5270957ac7$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $91362b5270957ac7$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $91362b5270957ac7$var$_setPrototypeOf(o, p) {\n $91362b5270957ac7$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $91362b5270957ac7$var$_setPrototypeOf(o, p);\n}\nfunction $91362b5270957ac7$var$_getPrototypeOf(o) {\n $91362b5270957ac7$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $91362b5270957ac7$var$_getPrototypeOf(o);\n}\n/* Variables */ var $91362b5270957ac7$var$style = document.createElement(\"style\");\n/* Class Cobertura */ var $91362b5270957ac7$var$CoberturaPage = $91362b5270957ac7$exports.CoberturaPage = /*#__PURE__*/ function(_HTMLElement) {\n function CoberturaPage() {\n $91362b5270957ac7$var$_classCallCheck(this, CoberturaPage);\n return $91362b5270957ac7$var$_callSuper(this, CoberturaPage, arguments);\n }\n $91362b5270957ac7$var$_inherits(CoberturaPage, _HTMLElement);\n return $91362b5270957ac7$var$_createClass(CoberturaPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n $0b89d474933103bc$exports.state.dataMutuales($8ff575a4ccc1ade5$exports.data);\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"cobertura-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n\\n
\\n
\\n

Obras Sociales

\\n
El Sanatorio Privado R\\xedo Cuarto atiende a las siguientes obras sociales y prepagas. Para conocer las modalidades de atenci\\xf3n de la cobertura m\\xe9dica que poseas, deber\\xe1s consultar a la misma d\\xf3nde te informar\\xe1n las condiciones para atenderte en nuestra Instituci\\xf3n.
\\n
\\n
\\n\\n
\\n \\n
\\n\\n
\\n
\\n
\\n ';\n $91362b5270957ac7$var$style.innerHTML = \"\\n /* Page */\\n .cobertura-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .cobertura-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__mutuales-container{\\n background-color: #1e1e1e10;\\n min-height: 250px;\\n width: 100%;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n gap: 5px;\\n padding: 20px;\\n }\\n .mutuales__container{\\n height: 35\\n px;\\n width: 85%;\\n padding: 0px 20px;\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n }\\n .mutuales__info{\\n text-align: start;\\n margin: 0;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n min-height: 250px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: row;\\n }\\n .body__cuerpo-text{\\n margin: 20px 0px;\\n min-height: 200px;\\n width: 90%;\\n text-align: center;\\n gap: 20px;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n justify-content: flex-start;\\n }\\n .body__cuerpo-text-title{\\n margin: 0 auto;\\n font-size: 25px;\\n text-align: center;\\n }\\n .body__cuerpo-text-link{\\n font-size: 18px;\\n border-radius: 5px;\\n text-decoration: none;\\n color: whitesmoke;\\n background-color: #2f6b31;\\n }\\n .body__cuerpo-text-subtitle{\\n font-size: 15px;\\n margin: 0px auto;\\n text-align: start;\\n width: 90%;\\n }\\n .info{\\n min-height: 100px;\\n }\\n \";\n this.appendChild($91362b5270957ac7$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $91362b5270957ac7$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"cobertura-page\", $91362b5270957ac7$var$CoberturaPage);\n\n\nvar $44d926c2d64e01e6$exports = {};\n\"use strict\";\nfunction $44d926c2d64e01e6$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $44d926c2d64e01e6$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $44d926c2d64e01e6$var$_typeof(o);\n}\nObject.defineProperty($44d926c2d64e01e6$exports, \"__esModule\", {\n value: true\n});\n$44d926c2d64e01e6$exports.HorariosPage = void 0;\nfunction $44d926c2d64e01e6$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $44d926c2d64e01e6$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $44d926c2d64e01e6$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $44d926c2d64e01e6$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $44d926c2d64e01e6$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $44d926c2d64e01e6$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $44d926c2d64e01e6$var$_toPropertyKey(t) {\n var i = $44d926c2d64e01e6$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $44d926c2d64e01e6$var$_typeof(i) ? i : i + \"\";\n}\nfunction $44d926c2d64e01e6$var$_toPrimitive(t, r) {\n if (\"object\" != $44d926c2d64e01e6$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $44d926c2d64e01e6$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $44d926c2d64e01e6$var$_callSuper(t, o, e) {\n return o = $44d926c2d64e01e6$var$_getPrototypeOf(o), $44d926c2d64e01e6$var$_possibleConstructorReturn(t, $44d926c2d64e01e6$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $44d926c2d64e01e6$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $44d926c2d64e01e6$var$_possibleConstructorReturn(self, call) {\n if (call && ($44d926c2d64e01e6$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $44d926c2d64e01e6$var$_assertThisInitialized(self);\n}\nfunction $44d926c2d64e01e6$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $44d926c2d64e01e6$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $44d926c2d64e01e6$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $44d926c2d64e01e6$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $44d926c2d64e01e6$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$44d926c2d64e01e6$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $44d926c2d64e01e6$var$_construct(Class, arguments, $44d926c2d64e01e6$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $44d926c2d64e01e6$var$_setPrototypeOf(Wrapper, Class);\n };\n return $44d926c2d64e01e6$var$_wrapNativeSuper(Class);\n}\nfunction $44d926c2d64e01e6$var$_construct(t, e, r) {\n if ($44d926c2d64e01e6$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $44d926c2d64e01e6$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $44d926c2d64e01e6$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($44d926c2d64e01e6$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $44d926c2d64e01e6$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $44d926c2d64e01e6$var$_setPrototypeOf(o, p) {\n $44d926c2d64e01e6$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $44d926c2d64e01e6$var$_setPrototypeOf(o, p);\n}\nfunction $44d926c2d64e01e6$var$_getPrototypeOf(o) {\n $44d926c2d64e01e6$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $44d926c2d64e01e6$var$_getPrototypeOf(o);\n}\n/* Variables */ var $44d926c2d64e01e6$var$style = document.createElement(\"style\");\n/* Class Horarios */ var $44d926c2d64e01e6$var$HorariosPage = $44d926c2d64e01e6$exports.HorariosPage = /*#__PURE__*/ function(_HTMLElement) {\n function HorariosPage() {\n $44d926c2d64e01e6$var$_classCallCheck(this, HorariosPage);\n return $44d926c2d64e01e6$var$_callSuper(this, HorariosPage, arguments);\n }\n $44d926c2d64e01e6$var$_inherits(HorariosPage, _HTMLElement);\n return $44d926c2d64e01e6$var$_createClass(HorariosPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"horarios-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n
\\n
\\n

Horarios de atenci\\xf3n, visita y acompa\\xf1antes

\\n
\\n
\\n\\n
\\n
\\n

\\u2022 Guardia y Emergencias

\\n

Para la atenci\\xf3n por Guardia M\\xe9dica traer Documento de Identidad y Credencial de la Cobertura M\\xe9dica.
Ingreso por Sargento Cabral 1064

\\n
\\n
\\n\\n
\\n
\\n

\\u2022 Horarios de Atenci\\xf3n

\\n

Recepci\\xf3n / Administraci\\xf3n

\\n
Lunes a Viernes de 8:00 a 12:00 hs \\u2013 16:00 a 20:00 hs.
\\n
\\n
\\n\\n
\\n
\\n

\\u2022 Diagn\\xf3stico por Im\\xe1genes

\\n

Horarios de atenci\\xf3n

\\n
Lunes a Viernes de 8:00 a 20:00 hs.
\\n
\\n
\\n\\n
\\n
\\n

\\u2022 Laboratorio de An\\xe1lisis Cl\\xednicos

\\n

Horarios de atenci\\xf3n

\\n
Lunes a Viernes de 7:30 a 12:00 hs \\u2013 16:00 a 20:00 hs.
\\n

Horarios de extracci\\xf3n

\\n
Lunes a Viernes de 8:00 a 20:00 hs.
\\n

Horarios de entrega de resultados

\\n
Lunes a Viernes de 10:00 a 12:00 hs - 16:00 a 19:30 hs.
\\n
\\n
\\n\\n
\\n
\\n

\\u2022 Horario de Visitas

\\n
El Sanatorio Privado R\\xedo Cuarto implementa normas/pol\\xedticas que regulan las visitas y el acompa\\xf1amiento de los pacientes que permanecen internados en la instituci\\xf3n, permitiendo la permanencia de acompa\\xf1antes definiendo horarios de visita en cada sector, siempre sujetos a las necesidades tanto del paciente como del sector en el cual se encuentre internado.
Se transmite a la familia del paciente la informaci\\xf3n acerca de los horarios de visita correspondientes al sector mediante folletos, carteles informativos o verbalmente por parte del equipo tratante.
El r\\xe9gimen y el horario definido seg\\xfan el \\xe1rea de internaci\\xf3n ser\\xe1n los siguientes:
\\n

Informe M\\xe9dico:

\\n
Terapia: 12:00 a 13:00 hs
Piso: 8:00 a 12:00 hs - Se le comunica al acompa\\xf1ante
\\n

Visitas:

\\n
Piso: 17:00 a 19:00 hs
\\n
Acompa\\xf1antes: solo 1 (una) por persona a la vez. En el caso de habitaciones compartidas, el acompa\\xf1ante debe ser del mismo sexo que el paciente.
El cambio de acompa\\xf1antes se deber\\xe1 realizar en la sala de espera, no as\\xed en zona de tr\\xe1nsito de pacientes (pasillos).
Se solicita el retiro del acompa\\xf1ante ante la realizaci\\xf3n de un procedimiento o una situaci\\xf3n de emergencia en el \\xe1rea.
\\n

Alimentaci\\xf3n

\\n
Desaryuno: 8:00 a 9:00 hs
Almuerzo: 12:00 a 13:00 hs
Merienda: 16:00 a 17:00 hs
Cena: 20:00 a 21:00 hs
\\n

Servicio de Limpieza de Habitaciones:

\\n
Turno Ma\\xf1ana: 6:30 a 9:30 hs
Turno Tarde: 14:30 a 17:00 hs
\\n
Aclaraci\\xf3n: Fuera del horario establecido, se podr\\xe1 solicitar el servicio, informando en sector cocina.
Por favor tenga en cuenta que, por pol\\xedticas del Sanatorio, no est\\xe1 permitido fumar dentro de la instituci\\xf3n y se proh\\xedbe el ingreso de animales, armas de cualquier tipo, flores, equipo de mate, reposeras, etc.
\\n\\n
\\n
\\n\\n\\n\\n
\\n
\\n
\\n ';\n $44d926c2d64e01e6$var$style.innerHTML = \"\\n /* Page */\\n .horarios-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .horarios-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n min-height: 100px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: row;\\n }\\n .body__cuerpo-text{\\n margin: 0px auto;\\n min-height: 80px;\\n width: 90%;\\n }\\n .body__cuerpo-text-title{\\n margin: 0px auto;\\n font-size: 20px;\\n }\\n .body__cuerpo-text-subtitle{\\n margin: 5px 0px 20px 0px;\\n font-size: 15px;\\n }\\n .title{\\n margin: 25px auto;\\n text-align: center;\\n }\\n \";\n this.appendChild($44d926c2d64e01e6$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $44d926c2d64e01e6$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"horarios-page\", $44d926c2d64e01e6$var$HorariosPage);\n\n\nvar $44b3c5d5af63dbbd$exports = {};\n\"use strict\";\nfunction $44b3c5d5af63dbbd$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $44b3c5d5af63dbbd$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $44b3c5d5af63dbbd$var$_typeof(o);\n}\nObject.defineProperty($44b3c5d5af63dbbd$exports, \"__esModule\", {\n value: true\n});\n$44b3c5d5af63dbbd$exports.ProfesionalesPage = void 0;\n\nvar $22fafd7121aa3f7b$exports = {};\n\"use strict\";\nObject.defineProperty($22fafd7121aa3f7b$exports, \"__esModule\", {\n value: true\n});\n$22fafd7121aa3f7b$exports.data = void 0;\nvar $22fafd7121aa3f7b$var$data = $22fafd7121aa3f7b$exports.data = [\n {\n Especialidad: \"Alergia\",\n Profesional: [\n \"Fernandez, Alicia\",\n \"Yammal, Garbiela\"\n ]\n },\n {\n Especialidad: \"Anestesiolog\\xeda\",\n Profesional: [\n \"Marazano, Antonella\",\n \"Padilla, Natalia\"\n ]\n },\n {\n Especialidad: \"Cardiologia\",\n Profesional: [\n \"Achilli, Federico\",\n \"Ferrero, Daniel Omar\",\n \"Alvez, Antonio Joaquin\",\n \"Espilocin, Maria Gisela\",\n \"Bovio, Monica\",\n \"Fernandez Pinto, Edwin\"\n ]\n },\n {\n Especialidad: \"Cardiologia Infantil\",\n Profesional: [\n \"ZANOTTO, Isabel\"\n ]\n },\n {\n Especialidad: \"Cirug\\xeda Card\\xedaca\",\n Profesional: [\n \"CARDINALI, Eduardo Luis\"\n ]\n },\n {\n Especialidad: \"Cirug\\xeda General y Gastroenterolog\\xeda\",\n Profesional: [\n \"PEZZUTTI, Hernan\",\n \"PEZZUTTI, Leonardo\"\n ]\n },\n {\n Especialidad: \"Cirug\\xeda Torax\",\n Profesional: [\n \"ABDALA, Victor Esteban\"\n ]\n },\n {\n Especialidad: \"Cl\\xednica M\\xe9dica\",\n Profesional: [\n \"BLANCO, Gabriela Silvana\",\n \"PAREDES, Marcos Andres\",\n \"RODRIGUEZ TELLO, Luis\",\n \"SORIA, Pablo\"\n ]\n },\n {\n Especialidad: \"Colposcop\\xeda\",\n Profesional: [\n \"TORRES, Carolina Etel\"\n ]\n },\n {\n Especialidad: \"Dermatolog\\xeda \",\n Profesional: [\n \"SARDOY, Agustina\"\n ]\n },\n {\n Especialidad: \"Diabetelog\\xeda\",\n Profesional: [\n \"AYALA, Mariela Andrea\"\n ]\n },\n {\n Especialidad: \"Endocrinolog\\xeda\",\n Profesional: [\n \"ARCE JAURY, Alejandra\"\n ]\n },\n {\n Especialidad: \"Flebologia\",\n Profesional: [\n \"PEZZUTTI, Hern\\xe1n \",\n \"GUGLIELMONE, Daniel\"\n ]\n },\n {\n Especialidad: \"Fonoaudiolog\\xeda\",\n Profesional: [\n \"PRIMO, Claudina\"\n ]\n },\n {\n Especialidad: \"Gastroenterolog\\xeda\",\n Profesional: [\n \"FERRARIO, Marcelo\",\n \"BALDUZZI, Carolina\"\n ]\n },\n {\n Especialidad: \"Gastroenterolog\\xeda Infantil\",\n Profesional: [\n \"MOYANO, Damaris Magali\",\n \"COMPAGNUCCI, Horacio Andres\"\n ]\n },\n {\n Especialidad: \"Ginecolog\\xeda y Obstetricia\",\n Profesional: [\n \"BARBERO, Ezequiel\",\n \"BERAUDO, Gustavo Marcelo\",\n \"CARRASCOSA, Carolina\",\n \"DEPAULI, Sofia\"\n ]\n },\n {\n Especialidad: \"Hepatolog\\xeda\",\n Profesional: [\n \"MENDOZA, Carlos\"\n ]\n },\n {\n Especialidad: \"Infectologia\",\n Profesional: [\n \"ALANIZ, Valeria Mariana\"\n ]\n },\n {\n Especialidad: \"Kinesiolog\\xeda y Fisioterapia\",\n Profesional: [\n \"ESPINOSA, Florencia\",\n \"PAZ, juan\"\n ]\n },\n {\n Especialidad: \"Mastolog\\xeda\",\n Profesional: [\n \"DI GIORGIO, Roberto\"\n ]\n },\n {\n Especialidad: \"Nefrolog\\xeda Adulto\",\n Profesional: [\n \"ABASCAL, Juan Manuel\"\n ]\n },\n {\n Especialidad: \"Neumonolog\\xeda infantil\",\n Profesional: [\n \"FERREYRA, Clarisa del Carmen\"\n ]\n },\n {\n Especialidad: \"Neurocirug\\xeda\",\n Profesional: \"ETCHECHOURY, Juan Manuel\"\n },\n {\n Especialidad: \"Neurolog\\xeda\",\n Profesional: [\n \"RIERA, Juan Manuel\",\n \"TORRIGIANI, Enzo Alejandro\"\n ]\n },\n {\n Especialidad: \"Neurologia Infantil\",\n Profesional: \"MATHIEU, Maria Lidia\"\n },\n {\n Especialidad: \"Nutrici\\xf3n\",\n Profesional: [\n \"MAITANA, Maria Lucia\",\n \"TALANO, Sebastian\"\n ]\n },\n {\n Especialidad: \"Oftalmolog\\xeda\",\n Profesional: [\n \"FARINA, Maria Fernanda\",\n \"LAFUENTE, Cecilia\"\n ]\n },\n {\n Especialidad: \"Oncolog\\xeda - Hematolog\\xeda\",\n Profesional: [\n \"QUINTANA, Sebasti\\xe1n\",\n \"PAGOLA, Natalia Ruth\"\n ]\n },\n {\n Especialidad: \"Otorrinolaringolog\\xeda\",\n Profesional: [\n \"COLOMBANO, Pablo\"\n ]\n },\n {\n Especialidad: \"Pediatr\\xeda\",\n Profesional: [\n \"BARRIONUEVO, Patricia\",\n \"COMPAGNUCCI, Horacio Andres\",\n \"SERRANO, H\\xe9ctor Tom\\xe1s\"\n ]\n },\n {\n Especialidad: \"Psicolog\\xeda\",\n Profesional: [\n \"FENOGLIO, Melanie\",\n \"RAMACCIOTTI, Sabrina\"\n ]\n },\n {\n Especialidad: \"Psiquiatr\\xeda\",\n Profesional: [\n \"RODRIGUEZ, Silvia Susana\"\n ]\n },\n {\n Especialidad: \"Reumatologia\",\n Profesional: [\n \"PICCO, Luis\"\n ]\n },\n {\n Especialidad: \"Traumatolog\\xeda\",\n Profesional: [\n \"AGUERO GIODA, Carlos Alfredo\",\n \"AGUERO GIODA, Fernando\",\n \"BALMACEDA, Hermes Ariel\",\n \"CAPELL, Federico Luis\",\n \"VIGLIONE, Guillermo\",\n \"LOVATO, Mauro Atilio\",\n \"MACARRON, Marcelo\",\n \"SCARMAGNANI, Miguel\",\n \"MANFREDINI, Jose\"\n ]\n },\n {\n Especialidad: \"Urolog\\xeda\",\n Profesional: [\n \"PUELLES, Marcos Agustin\",\n \"QUIROGA, Sebastian Andres\"\n ]\n },\n {\n Especialidad: \"Vascular Periferica\",\n Profesional: [\n \"GARELLI, Guillermo\",\n \"FISCHER, Raul Walter\"\n ]\n },\n {\n Especialidad: \"Videoendoscop\\xeda y Gastroenterolog\\xeda\",\n Profesional: [\n \"MENDOZA, Carlos\",\n \"BALDUZZI, Carolina\"\n ]\n }\n];\n\n\nfunction $44b3c5d5af63dbbd$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $44b3c5d5af63dbbd$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $44b3c5d5af63dbbd$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $44b3c5d5af63dbbd$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $44b3c5d5af63dbbd$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $44b3c5d5af63dbbd$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $44b3c5d5af63dbbd$var$_toPropertyKey(t) {\n var i = $44b3c5d5af63dbbd$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $44b3c5d5af63dbbd$var$_typeof(i) ? i : i + \"\";\n}\nfunction $44b3c5d5af63dbbd$var$_toPrimitive(t, r) {\n if (\"object\" != $44b3c5d5af63dbbd$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $44b3c5d5af63dbbd$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $44b3c5d5af63dbbd$var$_callSuper(t, o, e) {\n return o = $44b3c5d5af63dbbd$var$_getPrototypeOf(o), $44b3c5d5af63dbbd$var$_possibleConstructorReturn(t, $44b3c5d5af63dbbd$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $44b3c5d5af63dbbd$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $44b3c5d5af63dbbd$var$_possibleConstructorReturn(self, call) {\n if (call && ($44b3c5d5af63dbbd$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $44b3c5d5af63dbbd$var$_assertThisInitialized(self);\n}\nfunction $44b3c5d5af63dbbd$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $44b3c5d5af63dbbd$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $44b3c5d5af63dbbd$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $44b3c5d5af63dbbd$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $44b3c5d5af63dbbd$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$44b3c5d5af63dbbd$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $44b3c5d5af63dbbd$var$_construct(Class, arguments, $44b3c5d5af63dbbd$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $44b3c5d5af63dbbd$var$_setPrototypeOf(Wrapper, Class);\n };\n return $44b3c5d5af63dbbd$var$_wrapNativeSuper(Class);\n}\nfunction $44b3c5d5af63dbbd$var$_construct(t, e, r) {\n if ($44b3c5d5af63dbbd$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $44b3c5d5af63dbbd$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $44b3c5d5af63dbbd$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($44b3c5d5af63dbbd$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $44b3c5d5af63dbbd$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $44b3c5d5af63dbbd$var$_setPrototypeOf(o, p) {\n $44b3c5d5af63dbbd$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $44b3c5d5af63dbbd$var$_setPrototypeOf(o, p);\n}\nfunction $44b3c5d5af63dbbd$var$_getPrototypeOf(o) {\n $44b3c5d5af63dbbd$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $44b3c5d5af63dbbd$var$_getPrototypeOf(o);\n}\n/* Variables */ var $44b3c5d5af63dbbd$var$style = document.createElement(\"style\");\n/* Class Profesionales */ var $44b3c5d5af63dbbd$var$ProfesionalesPage = $44b3c5d5af63dbbd$exports.ProfesionalesPage = /*#__PURE__*/ function(_HTMLElement) {\n function ProfesionalesPage() {\n $44b3c5d5af63dbbd$var$_classCallCheck(this, ProfesionalesPage);\n return $44b3c5d5af63dbbd$var$_callSuper(this, ProfesionalesPage, arguments);\n }\n $44b3c5d5af63dbbd$var$_inherits(ProfesionalesPage, _HTMLElement);\n return $44b3c5d5af63dbbd$var$_createClass(ProfesionalesPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n $0b89d474933103bc$exports.state.dataProfesionales($22fafd7121aa3f7b$exports.data);\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"profesionales-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n \\n
\\n
\\n

Profesionales que nos acompa\\xf1an

\\n
\\n
\\n\\n
\\n \\n
\\n\\n
\\n
\\n
\\n ';\n $44b3c5d5af63dbbd$var$style.innerHTML = \"\\n /* Page */\\n .profesionales-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n\\n /* Body */\\n .profesionales-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__profesionales-container{\\n background-color: #1e1e1e10;\\n min-height: 250px;\\n width: 100%;\\n display: flex;\\n justify-items: center;\\n gap: 5px;\\n padding: 20px;\\n flex-direction: column;\\n }\\n .profesional__container{\\n height: 35px;\\n width: 100%;\\n display: flex;\\n flex-direction: row;\\n justify-content: space-between;\\n align-items: center;\\n gap: 10px;\\n transition: 0.3s;\\n padding: 0px 20px; \\n }\\n .profesional__container:hover{\\n background-color: #4CAF50;\\n font-size: 130%;\\n transition: 0.3s;\\n color: beige;\\n }\\n .profesional__info,\\n .profesional__especialidad{\\n text-align: center;\\n margin: 0;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n min-height: 100px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: column;\\n }\\n .body__cuerpo-text{\\n height: 100px;\\n width: 400px;\\n }\\n .body__cuerpo-text-title{\\n margin: 0 auto;\\n font-size: 25px;\\n text-align: center;\\n }\\n .body__cuerpo-text-subtitle{\\n font-size: 15px;\\n margin: 0 auto;\\n }\\n .body__cuerpo-img{\\n height: 200px;\\n width: 400px;\\n background-color: #1E1E1E75;\\n }\\n .no-photo{\\n width: 80%;\\n text-align: center;\\n display: flex;\\n flex-direction: column;\\n justify-content: center;\\n }\\n .option__box{\\n background-color: #1e1e1e10;\\n min-height: 50px;\\n width: 100%;\\n display: flex;\\n gap: 20px;\\n align-items: center;\\n justify-content: center;\\n }\\n .option__title{\\n font-size: 15px;\\n }\\n .option__seleccion{\\n min-width: 400px;\\n height: 30px;\\n font-size: 15px;\\n background: whitesmoke;\\n border: none;\\n }\\n \";\n this.appendChild($44b3c5d5af63dbbd$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $44b3c5d5af63dbbd$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"profesionales-page\", $44b3c5d5af63dbbd$var$ProfesionalesPage);\n\n\nvar $6bb7f8dcb263d6a9$exports = {};\n\"use strict\";\nfunction $6bb7f8dcb263d6a9$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $6bb7f8dcb263d6a9$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $6bb7f8dcb263d6a9$var$_typeof(o);\n}\nObject.defineProperty($6bb7f8dcb263d6a9$exports, \"__esModule\", {\n value: true\n});\n$6bb7f8dcb263d6a9$exports.TrabajaPage = void 0;\n\nfunction $6bb7f8dcb263d6a9$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $6bb7f8dcb263d6a9$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $6bb7f8dcb263d6a9$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $6bb7f8dcb263d6a9$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $6bb7f8dcb263d6a9$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $6bb7f8dcb263d6a9$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $6bb7f8dcb263d6a9$var$_toPropertyKey(t) {\n var i = $6bb7f8dcb263d6a9$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $6bb7f8dcb263d6a9$var$_typeof(i) ? i : i + \"\";\n}\nfunction $6bb7f8dcb263d6a9$var$_toPrimitive(t, r) {\n if (\"object\" != $6bb7f8dcb263d6a9$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $6bb7f8dcb263d6a9$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $6bb7f8dcb263d6a9$var$_callSuper(t, o, e) {\n return o = $6bb7f8dcb263d6a9$var$_getPrototypeOf(o), $6bb7f8dcb263d6a9$var$_possibleConstructorReturn(t, $6bb7f8dcb263d6a9$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $6bb7f8dcb263d6a9$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $6bb7f8dcb263d6a9$var$_possibleConstructorReturn(self, call) {\n if (call && ($6bb7f8dcb263d6a9$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $6bb7f8dcb263d6a9$var$_assertThisInitialized(self);\n}\nfunction $6bb7f8dcb263d6a9$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $6bb7f8dcb263d6a9$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $6bb7f8dcb263d6a9$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $6bb7f8dcb263d6a9$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $6bb7f8dcb263d6a9$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$6bb7f8dcb263d6a9$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $6bb7f8dcb263d6a9$var$_construct(Class, arguments, $6bb7f8dcb263d6a9$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $6bb7f8dcb263d6a9$var$_setPrototypeOf(Wrapper, Class);\n };\n return $6bb7f8dcb263d6a9$var$_wrapNativeSuper(Class);\n}\nfunction $6bb7f8dcb263d6a9$var$_construct(t, e, r) {\n if ($6bb7f8dcb263d6a9$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $6bb7f8dcb263d6a9$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $6bb7f8dcb263d6a9$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($6bb7f8dcb263d6a9$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $6bb7f8dcb263d6a9$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $6bb7f8dcb263d6a9$var$_setPrototypeOf(o, p) {\n $6bb7f8dcb263d6a9$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $6bb7f8dcb263d6a9$var$_setPrototypeOf(o, p);\n}\nfunction $6bb7f8dcb263d6a9$var$_getPrototypeOf(o) {\n $6bb7f8dcb263d6a9$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $6bb7f8dcb263d6a9$var$_getPrototypeOf(o);\n}\n/* Variables */ var $6bb7f8dcb263d6a9$var$style = document.createElement(\"style\");\n/* Class Trabaja */ var $6bb7f8dcb263d6a9$var$TrabajaPage = $6bb7f8dcb263d6a9$exports.TrabajaPage = /*#__PURE__*/ function(_HTMLElement) {\n function TrabajaPage() {\n $6bb7f8dcb263d6a9$var$_classCallCheck(this, TrabajaPage);\n return $6bb7f8dcb263d6a9$var$_callSuper(this, TrabajaPage, arguments);\n }\n $6bb7f8dcb263d6a9$var$_inherits(TrabajaPage, _HTMLElement);\n return $6bb7f8dcb263d6a9$var$_createClass(TrabajaPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n $0b89d474933103bc$exports.state.dataJob();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"trabaja-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n
\\n
\\n

\\xa1Estas son nuestras b\\xfasquedas activas!

\\n Carga tu CV\\n
\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n

\\xbfDonde puedo enviar mi CV?

\\n
Para enviar CV, hacerlo a seleccion@sanatorioprivado.com.ar e indicar el puesto de inter\\xe9s en el asunto del mail.
\\n
\\n
\\n
\\n
\\n
\\n ';\n $6bb7f8dcb263d6a9$var$style.innerHTML = \"\\n /* Page */\\n .trabaja-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .trabaja-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: row;\\n }\\n .body__cuerpo-text{\\n margin: 20px 0px 0px 0px;\\n width: 60%;\\n text-align: center;\\n gap: 20px;\\n display: flex;\\n \\n align-items: center;\\n justify-content: flex-start;\\n }\\n .formulario__cv{\\n text-decoration: none;\\n width: 30%;\\n color: whitesmoke;\\n background-color: #50af70;\\n border-radius: 5px;\\n padding: 7px;\\n }\\n .body__cuerpo-text-title{\\n margin: 0 auto;\\n font-size: 21px;\\n text-align: center;\\n }\\n .body__enviar{\\n width: 90%;\\n margin: 0px;\\n margin-left: 80px;\\n }\\n .enviar{\\n margin: 0px auto;\\n font-size: 21px;\\n }\\n .enviar-info{\\n margin: 10px auto 25px auto;\\n width: 90%;\\n }\\n .body__cuerpo-text-link{\\n font-size: 18px;\\n border-radius: 5px;\\n text-decoration: none;\\n color: whitesmoke;\\n background-color: #50af70;\\n padding: 7px 250px;\\n transition: 0.5s;\\n }\\n .body__cuerpo-text-link:hover{\\n background-color: #4CAF50;\\n transition: 0.5s;\\n }\\n .job__container{\\n display: flex;\\n gap: 50px;\\n margin: 30px auto;\\n align-items: flex-start;\\n }\\n .job__box{\\n text-align: start;\\n border-left: solid 3px green;\\n padding: 10px 10px 10px 20px;\\n transition: 0.3s;\\n min-height: 100%;\\n width: 100%;\\n }\\n .job__box:hover{\\n transition: 0.3s;\\n border-left: solid 7px green;\\n background: #306c3129;\\n }\\n .job__titulo{\\n font-size: 25px;\\n margin: 0px auto;\\n }\\n .job__descripcion{\\n font-style: italic;\\n margin: 0px auto;\\n }\\n .job__disponibilidad,\\n .job__auxiliar{\\n font-size: 14px;\\n background-color: lightgrey;\\n padding: 0px 10px;\\n width: fit-content;\\n border-radius: 50px;\\n }\\n .job__photo{\\n height: 200px;\\n width: 100%;\\n background-color: #1E1E1E75;\\n }\\n .job__etiquetas{\\n display: flex;\\n gap: 10px;\\n }\\n \";\n this.appendChild($6bb7f8dcb263d6a9$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $6bb7f8dcb263d6a9$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"trabaja-page\", $6bb7f8dcb263d6a9$var$TrabajaPage);\n\n\nvar $f9b38f7fd0fbf448$exports = {};\n\"use strict\";\nfunction $f9b38f7fd0fbf448$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $f9b38f7fd0fbf448$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $f9b38f7fd0fbf448$var$_typeof(o);\n}\nObject.defineProperty($f9b38f7fd0fbf448$exports, \"__esModule\", {\n value: true\n});\n$f9b38f7fd0fbf448$exports.DiagnosticoPage = void 0;\nfunction $f9b38f7fd0fbf448$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $f9b38f7fd0fbf448$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $f9b38f7fd0fbf448$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $f9b38f7fd0fbf448$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $f9b38f7fd0fbf448$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $f9b38f7fd0fbf448$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $f9b38f7fd0fbf448$var$_toPropertyKey(t) {\n var i = $f9b38f7fd0fbf448$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $f9b38f7fd0fbf448$var$_typeof(i) ? i : i + \"\";\n}\nfunction $f9b38f7fd0fbf448$var$_toPrimitive(t, r) {\n if (\"object\" != $f9b38f7fd0fbf448$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $f9b38f7fd0fbf448$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $f9b38f7fd0fbf448$var$_callSuper(t, o, e) {\n return o = $f9b38f7fd0fbf448$var$_getPrototypeOf(o), $f9b38f7fd0fbf448$var$_possibleConstructorReturn(t, $f9b38f7fd0fbf448$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $f9b38f7fd0fbf448$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $f9b38f7fd0fbf448$var$_possibleConstructorReturn(self, call) {\n if (call && ($f9b38f7fd0fbf448$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $f9b38f7fd0fbf448$var$_assertThisInitialized(self);\n}\nfunction $f9b38f7fd0fbf448$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $f9b38f7fd0fbf448$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $f9b38f7fd0fbf448$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $f9b38f7fd0fbf448$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $f9b38f7fd0fbf448$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$f9b38f7fd0fbf448$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $f9b38f7fd0fbf448$var$_construct(Class, arguments, $f9b38f7fd0fbf448$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $f9b38f7fd0fbf448$var$_setPrototypeOf(Wrapper, Class);\n };\n return $f9b38f7fd0fbf448$var$_wrapNativeSuper(Class);\n}\nfunction $f9b38f7fd0fbf448$var$_construct(t, e, r) {\n if ($f9b38f7fd0fbf448$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $f9b38f7fd0fbf448$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $f9b38f7fd0fbf448$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($f9b38f7fd0fbf448$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $f9b38f7fd0fbf448$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $f9b38f7fd0fbf448$var$_setPrototypeOf(o, p) {\n $f9b38f7fd0fbf448$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $f9b38f7fd0fbf448$var$_setPrototypeOf(o, p);\n}\nfunction $f9b38f7fd0fbf448$var$_getPrototypeOf(o) {\n $f9b38f7fd0fbf448$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $f9b38f7fd0fbf448$var$_getPrototypeOf(o);\n}\n/* Variables */ var $f9b38f7fd0fbf448$var$style = document.createElement(\"style\");\nvar $cc8638b9c65abbe4$exports = {};\n$cc8638b9c65abbe4$exports = new URL(\"diag2.ba1ddd2a.png\", import.meta.url).toString();\n\n\nvar $a245fe08668640dc$exports = {};\n$a245fe08668640dc$exports = new URL(\"diag1.02634958.png\", import.meta.url).toString();\n\n\nvar $37c27fc1ca559d02$exports = {};\n$37c27fc1ca559d02$exports = new URL(\"btn-email.f76c9838.png\", import.meta.url).toString();\n\n\nvar $490c76e5cc6cb528$exports = {};\n$490c76e5cc6cb528$exports = new URL(\"btn-whatsapp.d54af20d.png\", import.meta.url).toString();\n\n\nvar $fc7a2a1016b7c401$exports = {};\n$fc7a2a1016b7c401$exports = new URL(\"btn-horarios.efd83b50.png\", import.meta.url).toString();\n\n\n/* Class Diagnostico */ var $f9b38f7fd0fbf448$var$DiagnosticoPage = $f9b38f7fd0fbf448$exports.DiagnosticoPage = /*#__PURE__*/ function(_HTMLElement) {\n function DiagnosticoPage() {\n $f9b38f7fd0fbf448$var$_classCallCheck(this, DiagnosticoPage);\n return $f9b38f7fd0fbf448$var$_callSuper(this, DiagnosticoPage, arguments);\n }\n $f9b38f7fd0fbf448$var$_inherits(DiagnosticoPage, _HTMLElement);\n return $f9b38f7fd0fbf448$var$_createClass(DiagnosticoPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"diagnostico-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n
\\n
\\n
\\n

Diagn\\xf3stico por Im\\xe1genes

\\n
\\n
En nuestro centro, contamos con una variedad de tecnolog\\xedas y especialidades para brindarle un diagn\\xf3stico preciso y confiable.
Nuestro equipo de expertos en diagn\\xf3stico por im\\xe1genes trabajar\\xe1 en estrecha colaboraci\\xf3n con usted y su m\\xe9dico para comprender sus necesidades y brindarle un cuidado personalizado. En nuestro departamento, encontrar\\xe1 servicios tales como Tomograf\\xeda Computada, Radiolog\\xeda General, Digestiva, Mastol\\xf3gica e Intervencionista, Mamograf\\xeda y Ecograf\\xeda.
La Tomograf\\xeda Computada es una herramienta avanzada que nos permite obtener im\\xe1genes detalladas de su cuerpo, ayudando a identificar y evaluar diversas afecciones m\\xe9dicas. Nuestra radiolog\\xeda general est\\xe1 equipada con tecnolog\\xeda de \\xfaltima generaci\\xf3n para obtener im\\xe1genes precisas de diferentes partes del cuerpo, ofreciendo un diagn\\xf3stico completo.
Adem\\xe1s, contamos con especialidades espec\\xedficas, como la radiolog\\xeda digestiva, que nos permite visualizar y evaluar el sistema gastrointestinal, y la radiolog\\xeda mastol\\xf3gica e intervencionista, que se centra en el diagn\\xf3stico y tratamiento de enfermedades de las mamas.
No podemos olvidar la importancia de la mamograf\\xeda en el diagn\\xf3stico temprano del c\\xe1ncer de mama. Nuestro departamento est\\xe1 equipado con la \\xfaltima tecnolog\\xeda en mamograf\\xeda, brindando un examen r\\xe1pido y preciso para la detecci\\xf3n temprana de esta enfermedad.
Por \\xfaltimo, pero no menos importante, nuestra ecograf\\xeda es una herramienta segura y eficaz para evaluar diferentes partes del cuerpo. Proporciona im\\xe1genes en tiempo real que nos permiten detectar y diagnosticar diversas afecciones con precisi\\xf3n.
En resumen, en nuestro Departamento de Diagn\\xf3stico por Im\\xe1genes, encontrar\\xe1 un equipo de profesionales altamente capacitados y tecnolog\\xeda de vanguardia para brindarle servicios de radiolog\\xeda de calidad. Ya sea que necesite una tomograf\\xeda computada, una radiograf\\xeda general, una mamograf\\xeda o una ecograf\\xeda, estamos aqu\\xed para brindarle un diagn\\xf3stico confiable y un cuidado integral de su salud.

\\u2022 Jefe de Servicio
Dr. Vettorazzi Rom\\xe1n - M.P. 26.009/3

\\u2022 Profesionales M\\xe9dicos
Dr. Di Giorgio Roberto - M.P. 16.733
Dra. Dodero Mar\\xeda de los \\xc1ngeles - M.P. 34.596
Dr. Selak Franco - M.P. 34.027/2
Dr. Balerdi Rodolfo - M.P. 23.443

\\u2022 Licenciados en Diagn\\xf3stico en Bio Im\\xe1genes
Lic. Basualdo Jos\\xe9
Lic. Escudero Evangelina
Lic. Ferreyra Pablo
Lic. Gallardo Martin
Lic. Perez Marina
Lic. Requelme Noelia

\\n
\\u2022 Conctacto:
\\n
\\n \\n \\n \\n
\\n
\\n \\n
\\n
\\n
\\n
\\n ');\n $f9b38f7fd0fbf448$var$style.innerHTML = \"\\n /* Page */\\n .diagnostico-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .diagnostico-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n min-height: 100px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: column;\\n }\\n .body__cuerpo-text{\\n min-height: 200px;\\n width: 90%;\\n }\\n .body__cuerpo-text-title{\\n margin: 10px auto;\\n font-size: 25px;\\n text-align: start;\\n }\\n .body__cuerpo-text-subtitle{\\n margin: 10px auto;\\n font-size: 15px;\\n }\\n .body__cuerpo-img-a{\\n height: 400px;\\n width: 400px;\\n background-color: #1E1E1E75;\\n }\\n .link{\\n text-decoration: none;\\n font-size: 15px;\\n color: whitesmoke;\\n background: #50af70;\\n padding: 10px;\\n border-radius: 5px;\\n }\\n .btn{\\n width: 150px;\\n }\\n .body__cuerpo-box{\\n display: grid;\\n grid-template-columns: 45% 45%;\\n gap: 10px;\\n padding: 10px;\\n justify-content: center;\\n }\\n .body__cuerpo-fotos{\\n width: 100%;\\n }\\n .body__cuerpo-contacto{\\n display: grid;\\n grid-template-columns: 30% 30% 30%;\\n justify-content: space-evenly;\\n justify-items: center;\\n }\\n \";\n this.appendChild($f9b38f7fd0fbf448$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $f9b38f7fd0fbf448$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"diagnostico-page\", $f9b38f7fd0fbf448$var$DiagnosticoPage);\n\n\nvar $6ebd6b6e3cb2ca9e$exports = {};\n\"use strict\";\nfunction $6ebd6b6e3cb2ca9e$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $6ebd6b6e3cb2ca9e$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $6ebd6b6e3cb2ca9e$var$_typeof(o);\n}\nObject.defineProperty($6ebd6b6e3cb2ca9e$exports, \"__esModule\", {\n value: true\n});\n$6ebd6b6e3cb2ca9e$exports.LaboratorioPage = void 0;\nfunction $6ebd6b6e3cb2ca9e$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $6ebd6b6e3cb2ca9e$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $6ebd6b6e3cb2ca9e$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $6ebd6b6e3cb2ca9e$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $6ebd6b6e3cb2ca9e$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $6ebd6b6e3cb2ca9e$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $6ebd6b6e3cb2ca9e$var$_toPropertyKey(t) {\n var i = $6ebd6b6e3cb2ca9e$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $6ebd6b6e3cb2ca9e$var$_typeof(i) ? i : i + \"\";\n}\nfunction $6ebd6b6e3cb2ca9e$var$_toPrimitive(t, r) {\n if (\"object\" != $6ebd6b6e3cb2ca9e$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $6ebd6b6e3cb2ca9e$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $6ebd6b6e3cb2ca9e$var$_callSuper(t, o, e) {\n return o = $6ebd6b6e3cb2ca9e$var$_getPrototypeOf(o), $6ebd6b6e3cb2ca9e$var$_possibleConstructorReturn(t, $6ebd6b6e3cb2ca9e$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $6ebd6b6e3cb2ca9e$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $6ebd6b6e3cb2ca9e$var$_possibleConstructorReturn(self, call) {\n if (call && ($6ebd6b6e3cb2ca9e$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $6ebd6b6e3cb2ca9e$var$_assertThisInitialized(self);\n}\nfunction $6ebd6b6e3cb2ca9e$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $6ebd6b6e3cb2ca9e$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $6ebd6b6e3cb2ca9e$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $6ebd6b6e3cb2ca9e$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $6ebd6b6e3cb2ca9e$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$6ebd6b6e3cb2ca9e$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $6ebd6b6e3cb2ca9e$var$_construct(Class, arguments, $6ebd6b6e3cb2ca9e$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $6ebd6b6e3cb2ca9e$var$_setPrototypeOf(Wrapper, Class);\n };\n return $6ebd6b6e3cb2ca9e$var$_wrapNativeSuper(Class);\n}\nfunction $6ebd6b6e3cb2ca9e$var$_construct(t, e, r) {\n if ($6ebd6b6e3cb2ca9e$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $6ebd6b6e3cb2ca9e$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $6ebd6b6e3cb2ca9e$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($6ebd6b6e3cb2ca9e$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $6ebd6b6e3cb2ca9e$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $6ebd6b6e3cb2ca9e$var$_setPrototypeOf(o, p) {\n $6ebd6b6e3cb2ca9e$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $6ebd6b6e3cb2ca9e$var$_setPrototypeOf(o, p);\n}\nfunction $6ebd6b6e3cb2ca9e$var$_getPrototypeOf(o) {\n $6ebd6b6e3cb2ca9e$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $6ebd6b6e3cb2ca9e$var$_getPrototypeOf(o);\n}\n/* Variables */ var $6ebd6b6e3cb2ca9e$var$style = document.createElement(\"style\");\nvar $0f358af7edcebcc1$exports = {};\n$0f358af7edcebcc1$exports = new URL(\"lab1.b1942eff.png\", import.meta.url).toString();\n\n\nvar $e028da7ed83e2839$exports = {};\n$e028da7ed83e2839$exports = new URL(\"lab2.9f58222d.png\", import.meta.url).toString();\n\n\n\n\n\n/* Class Laboratorio */ var $6ebd6b6e3cb2ca9e$var$LaboratorioPage = $6ebd6b6e3cb2ca9e$exports.LaboratorioPage = /*#__PURE__*/ function(_HTMLElement) {\n function LaboratorioPage() {\n $6ebd6b6e3cb2ca9e$var$_classCallCheck(this, LaboratorioPage);\n return $6ebd6b6e3cb2ca9e$var$_callSuper(this, LaboratorioPage, arguments);\n }\n $6ebd6b6e3cb2ca9e$var$_inherits(LaboratorioPage, _HTMLElement);\n return $6ebd6b6e3cb2ca9e$var$_createClass(LaboratorioPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"laboratorio-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n
\\n
\\n
\\n

Laboratorio de An\\xe1lisis Cl\\xednicos y Microbiol\\xf3gicos

\\n
\\n
La Direcci\\xf3n del Laboratorio tiene como objetivo la calidad, innovaci\\xf3n tecnol\\xf3gica y la mejora continua, poniendo \\xe9nfasis en la satisfacci\\xf3n y seguridad de nuestros pacientes y m\\xe9dicos; mediante la entrega de resultados confiables y reproducibles, con un tiempo de respuesta adecuado a los compromisos establecidos y de acuerdo al uso previsto para diagn\\xf3stico, pron\\xf3stico y seguimiento cl\\xednico.
El plantel del Laboratorio cuenta con destacados profesionales comprometidos con la capacitaci\\xf3n continua.
En el mes de enero de 2023, el Laboratorio obtuvo su acreditaci\\xf3n del programa de evaluaci\\xf3n externa de calidad de la fundaci\\xf3n bioqu\\xedmica argentina.
Cumplir con esta evaluaci\\xf3n vigente implica que el Laboratorio tiene implementado un sistema de Gesti\\xf3n de la Calidad en mejora continua, reconociendo su competencia t\\xe9cnica para la realizaci\\xf3n de los an\\xe1lisis acreditados.

\\u2022 Direcci\\xf3n T\\xe9cnica:
Dra. Liliana Bertola - M.P. 3.585

\\u2022 Bioquimicos:
Dra. Gisel Bersi - M.P. 6.343
Dra. Mar\\xeda Julia Armonti - M.P. 4.767
Dra. Flavia M\\xe1spero - M.P. 6.656

\\u2022 Tec. Laboratorio:
Avila Daniela
Emiliozzi Liliana
Ortiz Karina

\\n
\\u2022 Conctacto:
\\n
\\n \\n \\n \\n
\\n
\\n \\n
\\n
\\n
\\n
\\n ');\n $6ebd6b6e3cb2ca9e$var$style.innerHTML = \"\\n /* Page */\\n .laboratorio-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .laboratorio-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n min-height: 100px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: column;\\n }\\n .body__cuerpo-text{\\n min-height: 200px;\\n width: 90%;\\n }\\n .body__cuerpo-text-title{\\n margin: 10px auto;\\n font-size: 25px;\\n text-align: start;\\n }\\n .body__cuerpo-text-subtitle{\\n margin: 10px auto;\\n font-size: 15px;\\n }\\n .body__cuerpo-img-a{\\n height: 400px;\\n width: 400px;\\n background-color: #1E1E1E75;\\n }\\n .link{\\n text-decoration: none;\\n font-size: 15px;\\n color: whitesmoke;\\n background: #50af70;\\n padding: 10px;\\n border-radius: 5px;\\n }\\n .btn{\\n width: 150px;\\n }\\n .body__cuerpo-box{\\n display: grid;\\n grid-template-columns: 45% 45%;\\n gap: 10px;\\n padding: 10px;\\n justify-content: center;\\n }\\n .body__cuerpo-fotos{\\n width: 100%;\\n }\\n .body__cuerpo-contacto{\\n display: grid;\\n grid-template-columns: 30% 30% 30%;\\n justify-content: space-evenly;\\n justify-items: center;\\n }\\n \";\n this.appendChild($6ebd6b6e3cb2ca9e$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $6ebd6b6e3cb2ca9e$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"laboratorio-page\", $6ebd6b6e3cb2ca9e$var$LaboratorioPage);\n\n\nvar $e8ae634224872ffd$exports = {};\n\"use strict\";\nfunction $e8ae634224872ffd$var$_typeof(o) {\n \"@babel/helpers - typeof\";\n return $e8ae634224872ffd$var$_typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function(o) {\n return typeof o;\n } : function(o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, $e8ae634224872ffd$var$_typeof(o);\n}\nObject.defineProperty($e8ae634224872ffd$exports, \"__esModule\", {\n value: true\n});\n$e8ae634224872ffd$exports.CardiologiaPage = void 0;\nfunction $e8ae634224872ffd$var$_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) throw new TypeError(\"Cannot call a class as a function\");\n}\nfunction $e8ae634224872ffd$var$_defineProperties(target, props) {\n for(var i = 0; i < props.length; i++){\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, $e8ae634224872ffd$var$_toPropertyKey(descriptor.key), descriptor);\n }\n}\nfunction $e8ae634224872ffd$var$_createClass(Constructor, protoProps, staticProps) {\n if (protoProps) $e8ae634224872ffd$var$_defineProperties(Constructor.prototype, protoProps);\n if (staticProps) $e8ae634224872ffd$var$_defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\nfunction $e8ae634224872ffd$var$_toPropertyKey(t) {\n var i = $e8ae634224872ffd$var$_toPrimitive(t, \"string\");\n return \"symbol\" == $e8ae634224872ffd$var$_typeof(i) ? i : i + \"\";\n}\nfunction $e8ae634224872ffd$var$_toPrimitive(t, r) {\n if (\"object\" != $e8ae634224872ffd$var$_typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != $e8ae634224872ffd$var$_typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nfunction $e8ae634224872ffd$var$_callSuper(t, o, e) {\n return o = $e8ae634224872ffd$var$_getPrototypeOf(o), $e8ae634224872ffd$var$_possibleConstructorReturn(t, $e8ae634224872ffd$var$_isNativeReflectConstruct() ? Reflect.construct(o, e || [], $e8ae634224872ffd$var$_getPrototypeOf(t).constructor) : o.apply(t, e));\n}\nfunction $e8ae634224872ffd$var$_possibleConstructorReturn(self, call) {\n if (call && ($e8ae634224872ffd$var$_typeof(call) === \"object\" || typeof call === \"function\")) return call;\n else if (call !== void 0) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return $e8ae634224872ffd$var$_assertThisInitialized(self);\n}\nfunction $e8ae634224872ffd$var$_assertThisInitialized(self) {\n if (self === void 0) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return self;\n}\nfunction $e8ae634224872ffd$var$_inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) throw new TypeError(\"Super expression must either be null or a function\");\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) $e8ae634224872ffd$var$_setPrototypeOf(subClass, superClass);\n}\nfunction $e8ae634224872ffd$var$_wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n $e8ae634224872ffd$var$_wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !$e8ae634224872ffd$var$_isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") throw new TypeError(\"Super expression must either be null or a function\");\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return $e8ae634224872ffd$var$_construct(Class, arguments, $e8ae634224872ffd$var$_getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return $e8ae634224872ffd$var$_setPrototypeOf(Wrapper, Class);\n };\n return $e8ae634224872ffd$var$_wrapNativeSuper(Class);\n}\nfunction $e8ae634224872ffd$var$_construct(t, e, r) {\n if ($e8ae634224872ffd$var$_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [\n null\n ];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && $e8ae634224872ffd$var$_setPrototypeOf(p, r.prototype), p;\n}\nfunction $e8ae634224872ffd$var$_isNativeReflectConstruct() {\n try {\n var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));\n } catch (t) {}\n return ($e8ae634224872ffd$var$_isNativeReflectConstruct = function _isNativeReflectConstruct() {\n return !!t;\n })();\n}\nfunction $e8ae634224872ffd$var$_isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}\nfunction $e8ae634224872ffd$var$_setPrototypeOf(o, p) {\n $e8ae634224872ffd$var$_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return $e8ae634224872ffd$var$_setPrototypeOf(o, p);\n}\nfunction $e8ae634224872ffd$var$_getPrototypeOf(o) {\n $e8ae634224872ffd$var$_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return $e8ae634224872ffd$var$_getPrototypeOf(o);\n}\n/* Variables */ var $e8ae634224872ffd$var$style = document.createElement(\"style\");\n\n\n\n/* Class Cardiologia */ var $e8ae634224872ffd$var$CardiologiaPage = $e8ae634224872ffd$exports.CardiologiaPage = /*#__PURE__*/ function(_HTMLElement) {\n function CardiologiaPage() {\n $e8ae634224872ffd$var$_classCallCheck(this, CardiologiaPage);\n return $e8ae634224872ffd$var$_callSuper(this, CardiologiaPage, arguments);\n }\n $e8ae634224872ffd$var$_inherits(CardiologiaPage, _HTMLElement);\n return $e8ae634224872ffd$var$_createClass(CardiologiaPage, [\n {\n key: \"connectedCallback\",\n value: /* Connected to CallBack */ function connectedCallback() {\n this.render();\n }\n },\n {\n key: \"render\",\n value: /* Render */ function render() {\n this.className = \"cardiologia-page\";\n this.innerHTML = '\\n \\n
\\n \\n
\\n
\\n
\\n
\\n
\\n

Servicio de Cardiolog\\xeda

\\n
\\n
En Sanatorio Privado R\\xedo Cuarto, entendemos la importancia de la salud card\\xedaca y nos enorgullece ofrecer un servicio de Cardiolog\\xeda de primer nivel con los mejores cardi\\xf3logos de la provincia a su disposici\\xf3n.
Nuestro equipo de Cardiolog\\xeda est\\xe1 compuesto por destacados profesionales, reconocidos como los mejores en su campo. Su dedicaci\\xf3n y experiencia aseguran que cada paciente reciba una atenci\\xf3n personalizada y de calidad excepcional.
Nos comprometemos a brindar las herramientas necesarias para evaluar su salud card\\xedaca de manera completa. Realizamos estudios de vanguardia, incluyendo Ecocardiograma Doppler, Ergometr\\xeda, Holter de 24 horas y Presurometr\\xeda o Monitoreo Ambulatorio de Presi\\xf3n Arterial. Estos estudios son fundamentales para un diagn\\xf3stico preciso y un plan de tratamiento efectivo.
\\n

ECOCARDIOGRAMA DOPPLER

\\n
Permite visualizar las cavidades card\\xedacas, su tama\\xf1o, el movimiento de sus paredes, adem\\xe1s de la estructura y el funcionamiento de las v\\xe1lvulas.

\\xbfC\\xd3MO FUNCIONA?
Las im\\xe1genes se obtienen apoyando un dispositivo llamado \\u201Ctransductor\\u201D, en distintos puntos de la pared del t\\xf3rax. Se trata de un procedimiento no invasivo y no doloroso.

RECOMENDACIONES PARA EL PACIENTE
\\u2022 No requiere preparaci\\xf3n previa ni ayuno.
\\u2022 Debe tomar su medicaci\\xf3n habitual.

No requiere preparaci\\xf3n
\\n

ERGOMETR\\xcdA (BICICLETA)

\\n
Se denomina ergometr\\xeda a la prueba diagn\\xf3stica que consiste en realizar un registro del electrocardiograma durante un esfuerzo controlado, est\\xe1 indicado ante factores de riesgo tales como hipertensi\\xf3n, diabetes y referencia de dolor de pecho.

\\xbfC\\xd3MO FUNCIONA?
Se le colocan unos electrodos adhesivos en el t\\xf3rax, se le conecta al equipo y siguiendo las instrucciones debe andar en bicicleta est\\xe1tica. Durante el esfuerzo se le registrar\\xe1 el electrocardiograma y se le tomar\\xe1 la presi\\xf3n arterial. El paciente debe indicar al personal m\\xe9dico, si presenta en la prueba, cualquier incidencia como (fatiga, cansancio, dolor en el pecho, palpitaciones, dificultad respiratoria).

RECOMENDACIONES PARA EL PACIENTE
\\u2022 Ingerir un desayuno liviano previo al estudio.
\\u2022 No fumar por lo menos 8 horas antes del estudio.
\\u2022 Evitar la ingesta de bebidas alcoh\\xf3licas, cafe\\xedna y otras excitantes horas antes a la realizaci\\xf3n de la prueba.
\\u2022 Vaya equipado con ropa holgada y c\\xf3moda, y calzado apropiado (zapatillas de deporte o similar) para andar o correr.

Preparaci\\xf3n:
\\u2022 Traer 10 Electrodos.
\\u2022 Llegar puntual a su turno.
\\u2022 Desayunar liviano (sin excepci\\xf3n).
\\u2022 Tomar la medicaci\\xf3n habitual.
\\u2022 Utilizar ropa c\\xf3moda y calzado adecuado para realizar ejercicio f\\xedsico.
\\n

HOLTER DE 24 HORAS

\\n
Consiste en la monitorizaci\\xf3n ambulatoria del electrocardiograma por un periodo de 24 a 48 horas, durante la actividad diaria habitual del paciente. Se usa en pacientes con sospecha de arritmia card\\xedaca.

\\xbfC\\xd3MO FUNCIONA?
El monitor tiene entre 6 y 10 cables. Las derivaciones van conectados a electrodos, los cuales se colocan en el pecho, estos se conectan a un Holter del tama\\xf1o de un tel\\xe9fono m\\xf3vil que graba los impulsos el\\xe9ctricos del coraz\\xf3n durante 24 horas.

\\xbfCU\\xc1NDO ESTA INDICADA?
\\u2022 Evaluaci\\xf3n de s\\xedntomas que est\\xe9n relacionados con ARRITMIAS.
\\u2022 Detecci\\xf3n, cuantificaci\\xf3n y mecanismo de las arritmias.
\\u2022 Valorar el riesgo en pacientes con arritmias sintom\\xe1ticas y asintom\\xe1ticas.
\\u2022 Evaluaci\\xf3n de la eficacia de la terapia antiarr\\xedtmica.
\\u2022 Evaluaci\\xf3n del funcionamiento de los marcapasos.

RECOMENDACI\\xd3N PARA EL PACIENTE
\\u2022 No se necesita estar en ayunas, Puede ingerir alimentos.
\\u2022 El/La paciente debe venir ba\\xf1ado antes de colocarse el equipo porque durante el monitoreo no se puede ba\\xf1ar, hasta ser retirado.
\\u2022 No debe untarse cremas, talcos, aceites, colonias, ya que se puede da\\xf1ar el equipo.
\\u2022 No es necesario suspender los medicamentos si toma algunos.

Preparaci\\xf3n:
El paciente recibir\\xe1 un equipo que deber\\xe1 devolver luego de siete d\\xedas h\\xe1biles
\\u2022 Traer 8 Electrodos y 1 Pila \\u201CAA\\u201D.
\\n

PRESUROMETR\\xcdA O MONITOREO AMBULATORIO DE PRESI\\xd3N ARTERIAL

\\n
La presurometr\\xeda es un estudio indicado para el monitoreo de la presi\\xf3n arterial durante 24 hs. Se indica en pacientes con sospecha de hipertensi\\xf3n y en pacientes hipertensos para valoraci\\xf3n de la respuesta al tratamiento.

\\xbfC\\xd3MO FUNCIONA?
El presur\\xf3metro se compone de un manguito de insuflaci\\xf3n que se coloca en el brazo del paciente, una manguera con una v\\xe1lvula y un aparato de mediciones que se lleva colgado es un cintur\\xf3n, las mediciones son en forma autom\\xe1tica cada 30 a 60 minutos de acuerdo a programaci\\xf3n.

RECOMENDACIONES PARA EL PACIENTE
\\u2022 No se requiere preparaci\\xf3n previa ni estar en ayunas.
\\u2022 Durante el estudio el paciente no se puede ba\\xf1ar.
\\u2022 Cuando el presur\\xf3metro est\\xe9 realizando la medici\\xf3n el paciente debe mantener el brazo relajado y estirado hasta que la misma se complete.

Preparaci\\xf3n:
\\u2022 Traer 2 Pilas \\u201CAA\\u201D.
\\n
\\n

Servicio de Hemodinamia

\\n
\\n
Adem\\xe1s de nuestros estudios cardiol\\xf3gicos, contamos con el servicio de Hemodinamia, una herramienta invaluable para evaluar y tratar diversas afecciones card\\xedacas. Nuestro compromiso es poner la \\xfaltima tecnolog\\xeda m\\xe9dica a disposici\\xf3n y mejorar la calidad de vida de nuestros pacientes, especialmente aquellos que son adultos mayores. Reconocemos la importancia de brindar un cuidado especializado a esta poblaci\\xf3n, ya que a menudo enfrentan problemas de salud relacionados con el sistema cardiovascular.
En nuestras modernas instalaciones, utilizamos tecnolog\\xeda de vanguardia para llevar a cabo procedimientos de hemodinamia. Esto nos permite diagnosticar y tratar de manera efectiva una amplia gama de enfermedades cardiovasculares, como enfermedad coronaria, insuficiencia card\\xedaca y enfermedad de las arterias perif\\xe9ricas.
Nuestro equipo m\\xe9dico est\\xe1 altamente comprometido con la excelencia y el cuidado integral del paciente. Trabajamos en estrecha colaboraci\\xf3n con otros especialistas m\\xe9dicos para ofrecer un enfoque multidisciplinario en la atenci\\xf3n de nuestros pacientes.
\\n
\\n
\\u2022 Conctacto:
\\n
\\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\\n ');\n $e8ae634224872ffd$var$style.innerHTML = \"\\n /* Page */\\n .cardiologia-container{\\n max-width: 100%;\\n min-height: 10vh;\\n display: flex;\\n flex-direction: column;\\n align-items: center;\\n }\\n \\n /* Body */\\n .cardiologia-body{\\n width: 100%;\\n display: flex;\\n justify-content: center;\\n background-color: whitesmoke;\\n }\\n /* Body - Box */\\n .body-box{\\n width: 1024px;\\n }\\n .body__cuerpo{\\n background-color: #1e1e1e10;\\n min-height: 100px;\\n width: 100%;\\n display: flex;\\n align-items: center;\\n justify-content: space-evenly;\\n flex-direction: row;\\n }\\n .body__cuerpo-text{\\n min-height: 200px;\\n width: 90%;\\n }\\n .body__cuerpo-text-title{\\n margin: 10px auto;\\n font-size: 25px;\\n text-align: start;\\n }\\n .body__cuerpo-text-subtitle{\\n margin: 10px auto;\\n font-size: 15px;\\n }\\n .body__cuerpo-text-estudio{\\n font-size: 20px;\\n margin: 5px auto;\\n }\\n .btn{\\n width: 150px;\\n }\\n .body__cuerpo-contacto{\\n display: grid;\\n grid-template-columns: 30% 30% 30%;\\n justify-content: space-evenly;\\n justify-items: center;\\n }\\n \";\n this.appendChild($e8ae634224872ffd$var$style);\n }\n }\n ]);\n}(/*#__PURE__*/ $e8ae634224872ffd$var$_wrapNativeSuper(HTMLElement));\n/* Define */ customElements.define(\"cardiologia-page\", $e8ae634224872ffd$var$CardiologiaPage);\n\n\n\"use strict\";\n\n/* Imports */ /* Variables */ var $e817d3341cf3ea9c$var$router = new $f9d9d110dea7aeee$export$55185c17a0fcbe46(document.querySelector(\".root\"));\n/* Function */ $e817d3341cf3ea9c$var$router.setRoutes([\n {\n path: \"/\",\n component: \"welcome-page\"\n },\n //Pagina de Inicio\n {\n path: \"/nosotros\",\n component: \"nosotros-page\"\n },\n //Pagina de Nosotros\n {\n path: \"/trabaja\",\n component: \"trabaja-page\"\n },\n //Pagina Trabaja con Nosotros\n {\n path: \"/cobertura\",\n component: \"cobertura-page\"\n },\n //Pagina de Cobertura Medica\n {\n path: \"/horarios\",\n component: \"horarios-page\"\n },\n //Pagina de Horarios\n {\n path: \"/profesionales\",\n component: \"no-page\"\n },\n //Pagina de Profesionales\n {\n path: \"/diagnostico\",\n component: \"diagnostico-page\"\n },\n //Pagina de Diagnostico\n {\n path: \"/laboratorio\",\n component: \"laboratorio-page\"\n },\n //Pagina de Laboratorio\n {\n path: \"/cardiologia\",\n component: \"cardiologia-page\"\n },\n //Pagina de Hemodinamia\n {\n path: \"/sedes\",\n component: \"sedes-page\"\n } //Pagina de Sedes y Centros Asociados\n]);\n\n\n\n/* Imports */ /* Function */ (function() {\n $0b89d474933103bc$exports.state.init();\n})();\n\n\n//# sourceMappingURL=index.2ddc0d3b.js.map\n","/* Imports */\nimport \"./components/header\"\nimport \"./components/footer\"\nimport \"./views/no-page\"\nimport \"./views/welcome\"\nimport \"./views/nosotros\"\nimport \"./views/sedes\"\nimport \"./views/cobertura\"\nimport \"./views/horarios\"\nimport \"./views/.profesionales\"\nimport \"./views/trabaja\"\nimport \"./views/diagnostico\"\nimport \"./views/laboratorio\"\nimport \"./views/cardiologia\"\nimport \"./router\"\nimport { state } from \"./state\";\n\n/* Function */\n(() => {\n state.init();\n})();","/* Imports */\nimport { Router } from \"@vaadin/router\";\n\n/* Variables */\nconst style = document.createElement('style');\nconst prequirurgico = require(\"url:../assets/prequirúrgico.pdf\")\nconst logoSanatorio = require(\"url:../assets/logo-sprc.png\")\n\n/* Class nosotroslcome */\nexport class HeaderComponent extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n\n /* Button Header */\n const inicio:any = this.querySelector(\".logo\")\n inicio.addEventListener(\"click\", ()=>{\n Router.go(\"/\")\n })\n\n /* Button Nav - Nosotros */\n const institucional:any = this.querySelector(\".institucional\")\n institucional.addEventListener(\"click\", ()=>{\n Router.go(\"/nosotros\")\n }) \n \n const trabaja:any = this.querySelector(\".trabaja\")\n trabaja.addEventListener(\"click\", ()=>{\n Router.go(\"/trabaja\")\n })\n\n const cobertura:any = this.querySelector(\".cobertura\")\n cobertura.addEventListener(\"click\", ()=>{\n Router.go(\"/cobertura\")\n })\n \n const horarios:any = this.querySelector(\".horarios\")\n horarios.addEventListener(\"click\", ()=>{\n Router.go(\"/horarios\")\n })\n \n const profesionales:any = this.querySelector(\".profesionales\")\n profesionales.addEventListener(\"click\", ()=>{\n Router.go(\"/profesionales\")\n }) \n\n const diagnostico:any = this.querySelector(\".diagnostico\")\n diagnostico.addEventListener(\"click\", ()=>{\n Router.go(\"/diagnostico\")\n }) \n\n const laboratorio:any = this.querySelector(\".laboratorio\")\n laboratorio.addEventListener(\"click\", ()=>{\n Router.go(\"/laboratorio\")\n }) \n\n const cardiologia:any = this.querySelector(\".cardiologia\")\n cardiologia.addEventListener(\"click\", ()=>{\n Router.go(\"/cardiologia\")\n }) \n\n const sedes:any = this.querySelector(\".sedes\")\n sedes.addEventListener(\"click\", ()=>{\n Router.go(\"/sedes\")\n }) \n\n };\n\n /* Render */\n render(){\n this.className = 'header';\n this.innerHTML = \n `\n \n
\n
\n
\n \n
\n\n \n\n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n
\n
\n \n \n
\n
\n \n
\n \n \n \n \n \n
\n
\n
\n \n \n
\n
\n
\n `\n style.innerHTML = \n `\n /* Header */\n .header-container{\n font-family: 'Poppins', sans-serif;\n height: 100px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly;\n }\n /* Header - Box */\n .header-box{\n width: 1024px;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n padding: 20px;\n }\n .logo{\n height: 70px;\n }\n .header__link-box{\n display: flex;\n flex-direction: column;\n }\n .header__call-title{\n margin: 0 auto;\n font-size: 24px;\n }\n .header__call-number{\n margin: 0 auto;\n width: 200px;\n text-align: center;\n background-color: #50af70;\n color: whitesmoke;\n border-radius: 10px;\n font-size: 24px;\n text-decoration: none;\n }\n\n /* Nav */\n .nav-container{\n height: 50px;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-evenly;\n background-color: whitesmoke;\n }\n /* Nav - Box */\n .nav-box{\n width: 768px;\n display: grid;\n grid-template-columns: 25% 25% 25% 25%;\n justify-content: center;\n }\n .nav__menu{\n border: none;\n height: 50px;\n width: 150px;\n background-color: transparent;\n color: #1e1e1ead;\n text-align: center;\n font-size: 15px;\n }\n .nav__nosotros-box,\n .nav__pacientes-box,\n .nav__servicios-box,\n .nav__intranet-box{\n position: relative;\n display: inline-block;\n } \n .nav__nosotros-content,\n .nav__pacientes-content,\n .nav__servicios-content,\n .nav__intranet-content{\n display: none;\n position: absolute;\n background-color: #f1f1f1;\n min-width: 260px;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 1;\n }\n .nav__nosotros,\n .nav__pacientes,\n .nav__servicios,\n .nav__intranet{\n border: none;\n min-height: 50px;\n min-width: 260px;\n background-color: transparent;\n color: rgba(0, 0, 0, 0.60);\n text-align: start;\n font-size: 15px;\n padding: 12px 16px;\n }\n .nav__nosotros-content a,\n .nav__pacientes-content a,\n .nav__servicios-content a,\n .nav__intranet-content a{\n color: rgba(0, 0, 0, 0.60);\n padding: 12px 16px;\n text-decoration: none;\n display: block;\n }\n .nosotros:hover,\n .nav__nosotros:hover,\n .pacientes:hover,\n .nav__pacientes:hover,\n .servicios:hover,\n .nav__servicios:hover,\n .intranet:hover,\n .nav__intranet:hover{\n transition: 0.5s;\n background-color: #ddd;\n } \n .nav__nosotros-box:hover .nav__nosotros-content,\n .nav__pacientes-box:hover .nav__pacientes-content,\n .nav__servicios-box:hover .nav__servicios-content,\n .nav__intranet-box:hover .nav__intranet-content{\n transition: 0.5s;\n display: block;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"header-components\", HeaderComponent)","function toArray(objectOrArray) {\n objectOrArray = objectOrArray || [];\n return Array.isArray(objectOrArray) ? objectOrArray : [objectOrArray];\n}\n\nfunction log(msg) {\n return `[Vaadin.Router] ${msg}`;\n}\n\nfunction logValue(value) {\n if (typeof value !== 'object') {\n return String(value);\n }\n\n const stringType = Object.prototype.toString.call(value).match(/ (.*)\\]$/)[1];\n if (stringType === 'Object' || stringType === 'Array') {\n return `${stringType} ${JSON.stringify(value)}`;\n } else {\n return stringType;\n }\n}\n\nconst MODULE = 'module';\nconst NOMODULE = 'nomodule';\nconst bundleKeys = [MODULE, NOMODULE];\n\nfunction ensureBundle(src) {\n if (!src.match(/.+\\.[m]?js$/)) {\n throw new Error(\n log(`Unsupported type for bundle \"${src}\": .js or .mjs expected.`)\n );\n }\n}\n\nfunction ensureRoute(route) {\n if (!route || !isString(route.path)) {\n throw new Error(\n log(`Expected route config to be an object with a \"path\" string property, or an array of such objects`)\n );\n }\n\n const bundle = route.bundle;\n\n const stringKeys = ['component', 'redirect', 'bundle'];\n if (\n !isFunction(route.action) &&\n !Array.isArray(route.children) &&\n !isFunction(route.children) &&\n !isObject(bundle) &&\n !stringKeys.some(key => isString(route[key]))\n ) {\n throw new Error(\n log(\n `Expected route config \"${route.path}\" to include either \"${stringKeys.join('\", \"')}\" ` +\n `or \"action\" function but none found.`\n )\n );\n }\n\n if (bundle) {\n if (isString(bundle)) {\n ensureBundle(bundle);\n } else if (!bundleKeys.some(key => key in bundle)) {\n throw new Error(\n log('Expected route bundle to include either \"' + NOMODULE + '\" or \"' + MODULE + '\" keys, or both')\n );\n } else {\n bundleKeys.forEach(key => key in bundle && ensureBundle(bundle[key]));\n }\n }\n\n if (route.redirect) {\n ['bundle', 'component'].forEach(overriddenProp => {\n if (overriddenProp in route) {\n console.warn(\n log(\n `Route config \"${route.path}\" has both \"redirect\" and \"${overriddenProp}\" properties, ` +\n `and \"redirect\" will always override the latter. Did you mean to only use \"${overriddenProp}\"?`\n )\n );\n }\n });\n }\n}\n\nfunction ensureRoutes(routes) {\n toArray(routes).forEach(route => ensureRoute(route));\n}\n\nfunction loadScript(src, key) {\n let script = document.head.querySelector('script[src=\"' + src + '\"][async]');\n if (!script) {\n script = document.createElement('script');\n script.setAttribute('src', src);\n if (key === MODULE) {\n script.setAttribute('type', MODULE);\n } else if (key === NOMODULE) {\n script.setAttribute(NOMODULE, '');\n }\n script.async = true;\n }\n return new Promise((resolve, reject) => {\n script.onreadystatechange = script.onload = e => {\n script.__dynamicImportLoaded = true;\n resolve(e);\n };\n script.onerror = e => {\n if (script.parentNode) {\n script.parentNode.removeChild(script);\n }\n reject(e);\n };\n if (script.parentNode === null) {\n document.head.appendChild(script);\n } else if (script.__dynamicImportLoaded) {\n resolve();\n }\n });\n}\n\nfunction loadBundle(bundle) {\n if (isString(bundle)) {\n return loadScript(bundle);\n } else {\n return Promise.race(\n bundleKeys\n .filter(key => key in bundle)\n .map(key => loadScript(bundle[key], key))\n );\n }\n}\n\nfunction fireRouterEvent(type, detail) {\n return !window.dispatchEvent(new CustomEvent(\n `vaadin-router-${type}`,\n {cancelable: type === 'go', detail}\n ));\n}\n\nfunction isObject(o) {\n // guard against null passing the typeof check\n return typeof o === 'object' && !!o;\n}\n\nfunction isFunction(f) {\n return typeof f === 'function';\n}\n\nfunction isString(s) {\n return typeof s === 'string';\n}\n\nfunction getNotFoundError(context) {\n const error = new Error(log(`Page not found (${context.pathname})`));\n error.context = context;\n error.code = 404;\n return error;\n}\n\nconst notFoundResult = new (class NotFoundResult {})();\n\n/* istanbul ignore next: coverage is calculated in Chrome, this code is for IE */\nfunction getAnchorOrigin(anchor) {\n // IE11: on HTTP and HTTPS the default port is not included into\n // window.location.origin, so won't include it here either.\n const port = anchor.port;\n const protocol = anchor.protocol;\n const defaultHttp = protocol === 'http:' && port === '80';\n const defaultHttps = protocol === 'https:' && port === '443';\n const host = (defaultHttp || defaultHttps)\n ? anchor.hostname // does not include the port number (e.g. www.example.org)\n : anchor.host; // does include the port number (e.g. www.example.org:80)\n return `${protocol}//${host}`;\n}\n\n// The list of checks is not complete:\n// - SVG support is missing\n// - the 'rel' attribute is not considered\nfunction vaadinRouterGlobalClickHandler(event) {\n // ignore the click if the default action is prevented\n if (event.defaultPrevented) {\n return;\n }\n\n // ignore the click if not with the primary mouse button\n if (event.button !== 0) {\n return;\n }\n\n // ignore the click if a modifier key is pressed\n if (event.shiftKey || event.ctrlKey || event.altKey || event.metaKey) {\n return;\n }\n\n // find the element that the click is at (or within)\n let anchor = event.target;\n const path = event.composedPath\n ? event.composedPath()\n : (event.path || []);\n\n // FIXME(web-padawan): `Symbol.iterator` used by webcomponentsjs is broken for arrays\n // example to check: `for...of` loop here throws the \"Not yet implemented\" error\n for (let i = 0; i < path.length; i++) {\n const target = path[i];\n if (target.nodeName && target.nodeName.toLowerCase() === 'a') {\n anchor = target;\n break;\n }\n }\n\n while (anchor && anchor.nodeName.toLowerCase() !== 'a') {\n anchor = anchor.parentNode;\n }\n\n // ignore the click if not at an element\n if (!anchor || anchor.nodeName.toLowerCase() !== 'a') {\n return;\n }\n\n // ignore the click if the element has a non-default target\n if (anchor.target && anchor.target.toLowerCase() !== '_self') {\n return;\n }\n\n // ignore the click if the element has the 'download' attribute\n if (anchor.hasAttribute('download')) {\n return;\n }\n\n // ignore the click if the element has the 'router-ignore' attribute\n if (anchor.hasAttribute('router-ignore')) {\n return;\n }\n\n // ignore the click if the target URL is a fragment on the current page\n if (anchor.pathname === window.location.pathname && anchor.hash !== '') {\n return;\n }\n\n // ignore the click if the target is external to the app\n // In IE11 HTMLAnchorElement does not have the `origin` property\n const origin = anchor.origin || getAnchorOrigin(anchor);\n if (origin !== window.location.origin) {\n return;\n }\n\n // if none of the above, convert the click into a navigation event\n const {pathname, search, hash} = anchor;\n if (fireRouterEvent('go', {pathname, search, hash})) {\n event.preventDefault();\n // for a click event, the scroll is reset to the top position.\n if (event && event.type === 'click') {\n window.scrollTo(0, 0);\n }\n }\n}\n\n/**\n * A navigation trigger for Vaadin Router that translated clicks on `` links\n * into Vaadin Router navigation events.\n *\n * Only regular clicks on in-app links are translated (primary mouse button, no\n * modifier keys, the target href is within the app's URL space).\n *\n * @memberOf Router.NavigationTrigger\n * @type {NavigationTrigger}\n */\nconst CLICK = {\n activate() {\n window.document.addEventListener('click', vaadinRouterGlobalClickHandler);\n },\n\n inactivate() {\n window.document.removeEventListener('click', vaadinRouterGlobalClickHandler);\n }\n};\n\n// PopStateEvent constructor shim\nconst isIE = /Trident/.test(navigator.userAgent);\n\n/* istanbul ignore next: coverage is calculated in Chrome, this code is for IE */\nif (isIE && !isFunction(window.PopStateEvent)) {\n window.PopStateEvent = function(inType, params) {\n params = params || {};\n var e = document.createEvent('Event');\n e.initEvent(inType, Boolean(params.bubbles), Boolean(params.cancelable));\n e.state = params.state || null;\n return e;\n };\n window.PopStateEvent.prototype = window.Event.prototype;\n}\n\nfunction vaadinRouterGlobalPopstateHandler(event) {\n if (event.state === 'vaadin-router-ignore') {\n return;\n }\n const {pathname, search, hash} = window.location;\n fireRouterEvent('go', {pathname, search, hash});\n}\n\n/**\n * A navigation trigger for Vaadin Router that translates popstate events into\n * Vaadin Router navigation events.\n *\n * @memberOf Router.NavigationTrigger\n * @type {NavigationTrigger}\n */\nconst POPSTATE = {\n activate() {\n window.addEventListener('popstate', vaadinRouterGlobalPopstateHandler);\n },\n\n inactivate() {\n window.removeEventListener('popstate', vaadinRouterGlobalPopstateHandler);\n }\n};\n\n/**\n * Expose `pathToRegexp`.\n */\nvar pathToRegexp_1 = pathToRegexp$1;\nvar parse_1 = parse;\nvar compile_1 = compile;\nvar tokensToFunction_1 = tokensToFunction;\nvar tokensToRegExp_1 = tokensToRegExp;\n\n/**\n * Default configs.\n */\nvar DEFAULT_DELIMITER = '/';\nvar DEFAULT_DELIMITERS = './';\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \":test(\\\\d+)?\" => [\"test\", \"\\d+\", undefined, \"?\"]\n // \"(\\\\d+)\" => [undefined, undefined, \"\\d+\", undefined]\n '(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?'\n].join('|'), 'g');\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n var tokens = [];\n var key = 0;\n var index = 0;\n var path = '';\n var defaultDelimiter = (options && options.delimiter) || DEFAULT_DELIMITER;\n var delimiters = (options && options.delimiters) || DEFAULT_DELIMITERS;\n var pathEscaped = false;\n var res;\n\n while ((res = PATH_REGEXP.exec(str)) !== null) {\n var m = res[0];\n var escaped = res[1];\n var offset = res.index;\n path += str.slice(index, offset);\n index = offset + m.length;\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1];\n pathEscaped = true;\n continue\n }\n\n var prev = '';\n var next = str[index];\n var name = res[2];\n var capture = res[3];\n var group = res[4];\n var modifier = res[5];\n\n if (!pathEscaped && path.length) {\n var k = path.length - 1;\n\n if (delimiters.indexOf(path[k]) > -1) {\n prev = path[k];\n path = path.slice(0, k);\n }\n }\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path);\n path = '';\n pathEscaped = false;\n }\n\n var partial = prev !== '' && next !== undefined && next !== prev;\n var repeat = modifier === '+' || modifier === '*';\n var optional = modifier === '?' || modifier === '*';\n var delimiter = prev || defaultDelimiter;\n var pattern = capture || group;\n\n tokens.push({\n name: name || key++,\n prefix: prev,\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n pattern: pattern ? escapeGroup(pattern) : '[^' + escapeString(delimiter) + ']+?'\n });\n }\n\n // Push any remaining characters.\n if (path || index < str.length) {\n tokens.push(path + str.substr(index));\n }\n\n return tokens\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile (str, options) {\n return tokensToFunction(parse(str, options))\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length);\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$');\n }\n }\n\n return function (data, options) {\n var path = '';\n var encode = (options && options.encode) || encodeURIComponent;\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n path += token;\n continue\n }\n\n var value = data ? data[token.name] : undefined;\n var segment;\n\n if (Array.isArray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but got array')\n }\n\n if (value.length === 0) {\n if (token.optional) continue\n\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j], token);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\"')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment;\n }\n\n continue\n }\n\n if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {\n segment = encode(String(value), token);\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but got \"' + segment + '\"')\n }\n\n path += token.prefix + segment;\n continue\n }\n\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) path += token.prefix;\n\n continue\n }\n\n throw new TypeError('Expected \"' + token.name + '\" to be ' + (token.repeat ? 'an array' : 'a string'))\n }\n\n return path\n }\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$/()])/g, '\\\\$1')\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {Array=} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n if (!keys) return path\n\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g);\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n pattern: null\n });\n }\n }\n\n return path\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n var parts = [];\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp$1(path[i], keys, options).source);\n }\n\n return new RegExp('(?:' + parts.join('|') + ')', flags(options))\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction stringToRegexp (path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options)\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp (tokens, keys, options) {\n options = options || {};\n\n var strict = options.strict;\n var start = options.start !== false;\n var end = options.end !== false;\n var delimiter = escapeString(options.delimiter || DEFAULT_DELIMITER);\n var delimiters = options.delimiters || DEFAULT_DELIMITERS;\n var endsWith = [].concat(options.endsWith || []).map(escapeString).concat('$').join('|');\n var route = start ? '^' : '';\n var isEndDelimited = tokens.length === 0;\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n\n if (typeof token === 'string') {\n route += escapeString(token);\n isEndDelimited = i === tokens.length - 1 && delimiters.indexOf(token[token.length - 1]) > -1;\n } else {\n var capture = token.repeat\n ? '(?:' + token.pattern + ')(?:' + escapeString(token.delimiter) + '(?:' + token.pattern + '))*'\n : token.pattern;\n\n if (keys) keys.push(token);\n\n if (token.optional) {\n if (token.partial) {\n route += escapeString(token.prefix) + '(' + capture + ')?';\n } else {\n route += '(?:' + escapeString(token.prefix) + '(' + capture + '))?';\n }\n } else {\n route += escapeString(token.prefix) + '(' + capture + ')';\n }\n }\n }\n\n if (end) {\n if (!strict) route += '(?:' + delimiter + ')?';\n\n route += endsWith === '$' ? '$' : '(?=' + endsWith + ')';\n } else {\n if (!strict) route += '(?:' + delimiter + '(?=' + endsWith + '))?';\n if (!isEndDelimited) route += '(?=' + delimiter + '|' + endsWith + ')';\n }\n\n return new RegExp(route, flags(options))\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp$1 (path, keys, options) {\n if (path instanceof RegExp) {\n return regexpToRegexp(path, keys)\n }\n\n if (Array.isArray(path)) {\n return arrayToRegexp(/** @type {!Array} */ (path), keys, options)\n }\n\n return stringToRegexp(/** @type {string} */ (path), keys, options)\n}\npathToRegexp_1.parse = parse_1;\npathToRegexp_1.compile = compile_1;\npathToRegexp_1.tokensToFunction = tokensToFunction_1;\npathToRegexp_1.tokensToRegExp = tokensToRegExp_1;\n\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nconst {hasOwnProperty} = Object.prototype;\nconst cache$1 = new Map();\n// see https://github.com/pillarjs/path-to-regexp/issues/148\ncache$1.set('|false', {\n keys: [],\n pattern: /(?:)/\n});\n\nfunction decodeParam(val) {\n try {\n return decodeURIComponent(val);\n } catch (err) {\n return val;\n }\n}\n\nfunction matchPath(routepath, path, exact, parentKeys, parentParams) {\n exact = !!exact;\n const cacheKey = `${routepath}|${exact}`;\n let regexp = cache$1.get(cacheKey);\n\n if (!regexp) {\n const keys = [];\n regexp = {\n keys,\n pattern: pathToRegexp_1(routepath, keys, {\n end: exact,\n strict: routepath === ''\n }),\n };\n cache$1.set(cacheKey, regexp);\n }\n\n const m = regexp.pattern.exec(path);\n if (!m) {\n return null;\n }\n\n const params = Object.assign({}, parentParams);\n\n for (let i = 1; i < m.length; i++) {\n const key = regexp.keys[i - 1];\n const prop = key.name;\n const value = m[i];\n if (value !== undefined || !hasOwnProperty.call(params, prop)) {\n if (key.repeat) {\n params[prop] = value ? value.split(key.delimiter).map(decodeParam) : [];\n } else {\n params[prop] = value ? decodeParam(value) : value;\n }\n }\n }\n\n return {\n path: m[0],\n keys: (parentKeys || []).concat(regexp.keys),\n params,\n };\n}\n\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\n/**\n * Traverses the routes tree and matches its nodes to the given pathname from\n * the root down to the leaves. Each match consumes a part of the pathname and\n * the matching process continues for as long as there is a matching child\n * route for the remaining part of the pathname.\n *\n * The returned value is a lazily evaluated iterator.\n *\n * The leading \"/\" in a route path matters only for the root of the routes\n * tree (or if all parent routes are \"\"). In all other cases a leading \"/\" in\n * a child route path has no significance.\n *\n * The trailing \"/\" in a _route path_ matters only for the leaves of the\n * routes tree. A leaf route with a trailing \"/\" matches only a pathname that\n * also has a trailing \"/\".\n *\n * The trailing \"/\" in a route path does not affect matching of child routes\n * in any way.\n *\n * The trailing \"/\" in a _pathname_ generally does not matter (except for\n * the case of leaf nodes described above).\n *\n * The \"\" and \"/\" routes have special treatment:\n * 1. as a single route\n * the \"\" and \"/\" routes match only the \"\" and \"/\" pathnames respectively\n * 2. as a parent in the routes tree\n * the \"\" route matches any pathname without consuming any part of it\n * the \"/\" route matches any absolute pathname consuming its leading \"/\"\n * 3. as a leaf in the routes tree\n * the \"\" and \"/\" routes match only if the entire pathname is consumed by\n * the parent routes chain. In this case \"\" and \"/\" are equivalent.\n * 4. several directly nested \"\" or \"/\" routes\n * - directly nested \"\" or \"/\" routes are 'squashed' (i.e. nesting two\n * \"/\" routes does not require a double \"/\" in the pathname to match)\n * - if there are only \"\" in the parent routes chain, no part of the\n * pathname is consumed, and the leading \"/\" in the child routes' paths\n * remains significant\n *\n * Side effect:\n * - the routes tree { path: '' } matches only the '' pathname\n * - the routes tree { path: '', children: [ { path: '' } ] } matches any\n * pathname (for the tree root)\n *\n * Prefix matching can be enabled also by `children: true`.\n */\nfunction matchRoute(route, pathname, ignoreLeadingSlash, parentKeys, parentParams) {\n let match;\n let childMatches;\n let childIndex = 0;\n let routepath = route.path || '';\n if (routepath.charAt(0) === '/') {\n if (ignoreLeadingSlash) {\n routepath = routepath.substr(1);\n }\n ignoreLeadingSlash = true;\n }\n\n return {\n next(routeToSkip) {\n if (route === routeToSkip) {\n return {done: true};\n }\n\n const children = route.__children = route.__children || route.children;\n\n if (!match) {\n match = matchPath(routepath, pathname, !children, parentKeys, parentParams);\n\n if (match) {\n return {\n done: false,\n value: {\n route,\n keys: match.keys,\n params: match.params,\n path: match.path\n },\n };\n }\n }\n\n if (match && children) {\n while (childIndex < children.length) {\n if (!childMatches) {\n const childRoute = children[childIndex];\n childRoute.parent = route;\n\n let matchedLength = match.path.length;\n if (matchedLength > 0 && pathname.charAt(matchedLength) === '/') {\n matchedLength += 1;\n }\n\n childMatches = matchRoute(\n childRoute,\n pathname.substr(matchedLength),\n ignoreLeadingSlash,\n match.keys,\n match.params\n );\n }\n\n const childMatch = childMatches.next(routeToSkip);\n if (!childMatch.done) {\n return {\n done: false,\n value: childMatch.value,\n };\n }\n\n childMatches = null;\n childIndex++;\n }\n }\n\n return {done: true};\n },\n };\n}\n\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nfunction resolveRoute(context) {\n if (isFunction(context.route.action)) {\n return context.route.action(context);\n }\n return undefined;\n}\n\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nfunction isChildRoute(parentRoute, childRoute) {\n let route = childRoute;\n while (route) {\n route = route.parent;\n if (route === parentRoute) {\n return true;\n }\n }\n return false;\n}\n\nfunction generateErrorMessage(currentContext) {\n let errorMessage = `Path '${currentContext.pathname}' is not properly resolved due to an error.`;\n const routePath = (currentContext.route || {}).path;\n if (routePath) {\n errorMessage += ` Resolution had failed on route: '${routePath}'`;\n }\n return errorMessage;\n}\n\nfunction updateChainForRoute(context, match) {\n const {route, path} = match;\n\n if (route && !route.__synthetic) {\n const item = {path, route};\n if (!context.chain) {\n context.chain = [];\n } else {\n // Discard old items\n if (route.parent) {\n let i = context.chain.length;\n while (i-- && context.chain[i].route && context.chain[i].route !== route.parent) {\n context.chain.pop();\n }\n }\n }\n context.chain.push(item);\n }\n}\n\n/**\n */\nclass Resolver {\n constructor(routes, options = {}) {\n if (Object(routes) !== routes) {\n throw new TypeError('Invalid routes');\n }\n\n this.baseUrl = options.baseUrl || '';\n this.errorHandler = options.errorHandler;\n this.resolveRoute = options.resolveRoute || resolveRoute;\n this.context = Object.assign({resolver: this}, options.context);\n this.root = Array.isArray(routes) ? {path: '', __children: routes, parent: null, __synthetic: true} : routes;\n this.root.parent = null;\n }\n\n /**\n * Returns the current list of routes (as a shallow copy). Adding / removing\n * routes to / from the returned array does not affect the routing config,\n * but modifying the route objects does.\n *\n * @return {!Array}\n */\n getRoutes() {\n return [...this.root.__children];\n }\n\n /**\n * Sets the routing config (replacing the existing one).\n *\n * @param {!Array|!Router.Route} routes a single route or an array of those\n * (the array is shallow copied)\n */\n setRoutes(routes) {\n ensureRoutes(routes);\n const newRoutes = [...toArray(routes)];\n this.root.__children = newRoutes;\n }\n\n /**\n * Appends one or several routes to the routing config and returns the\n * effective routing config after the operation.\n *\n * @param {!Array|!Router.Route} routes a single route or an array of those\n * (the array is shallow copied)\n * @return {!Array}\n * @protected\n */\n addRoutes(routes) {\n ensureRoutes(routes);\n this.root.__children.push(...toArray(routes));\n return this.getRoutes();\n }\n\n /**\n * Removes all existing routes from the routing config.\n */\n removeRoutes() {\n this.setRoutes([]);\n }\n\n /**\n * Asynchronously resolves the given pathname, i.e. finds all routes matching\n * the pathname and tries resolving them one after another in the order they\n * are listed in the routes config until the first non-null result.\n *\n * Returns a promise that is fulfilled with the return value of an object that consists of the first\n * route handler result that returns something other than `null` or `undefined` and context used to get this result.\n *\n * If no route handlers return a non-null result, or if no route matches the\n * given pathname the returned promise is rejected with a 'page not found'\n * `Error`.\n *\n * @param {!string|!{pathname: !string}} pathnameOrContext the pathname to\n * resolve or a context object with a `pathname` property and other\n * properties to pass to the route resolver functions.\n * @return {!Promise}\n */\n resolve(pathnameOrContext) {\n const context = Object.assign(\n {},\n this.context,\n isString(pathnameOrContext) ? {pathname: pathnameOrContext} : pathnameOrContext\n );\n const match = matchRoute(\n this.root,\n this.__normalizePathname(context.pathname),\n this.baseUrl\n );\n const resolve = this.resolveRoute;\n let matches = null;\n let nextMatches = null;\n let currentContext = context;\n\n function next(resume, parent = matches.value.route, prevResult) {\n const routeToSkip = prevResult === null && matches.value.route;\n matches = nextMatches || match.next(routeToSkip);\n nextMatches = null;\n\n if (!resume) {\n if (matches.done || !isChildRoute(parent, matches.value.route)) {\n nextMatches = matches;\n return Promise.resolve(notFoundResult);\n }\n }\n\n if (matches.done) {\n return Promise.reject(getNotFoundError(context));\n }\n\n currentContext = Object.assign(\n currentContext\n ? {chain: (currentContext.chain ? currentContext.chain.slice(0) : [])}\n : {},\n context,\n matches.value\n );\n updateChainForRoute(currentContext, matches.value);\n\n return Promise.resolve(resolve(currentContext)).then(resolution => {\n if (resolution !== null && resolution !== undefined && resolution !== notFoundResult) {\n currentContext.result = resolution.result || resolution;\n return currentContext;\n }\n return next(resume, parent, resolution);\n });\n }\n\n context.next = next;\n\n return Promise.resolve()\n .then(() => next(true, this.root))\n .catch((error) => {\n const errorMessage = generateErrorMessage(currentContext);\n if (!error) {\n error = new Error(errorMessage);\n } else {\n console.warn(errorMessage);\n }\n error.context = error.context || currentContext;\n // DOMException has its own code which is read-only\n if (!(error instanceof DOMException)) {\n error.code = error.code || 500;\n }\n if (this.errorHandler) {\n currentContext.result = this.errorHandler(error);\n return currentContext;\n }\n throw error;\n });\n }\n\n /**\n * URL constructor polyfill hook. Creates and returns an URL instance.\n */\n static __createUrl(url, base) {\n return new URL(url, base);\n }\n\n /**\n * If the baseUrl property is set, transforms the baseUrl and returns the full\n * actual `base` string for using in the `new URL(path, base);` and for\n * prepernding the paths with. The returned base ends with a trailing slash.\n *\n * Otherwise, returns empty string.\n */\n get __effectiveBaseUrl() {\n return this.baseUrl\n ? this.constructor.__createUrl(\n this.baseUrl,\n document.baseURI || document.URL\n ).href.replace(/[^\\/]*$/, '')\n : '';\n }\n\n /**\n * If the baseUrl is set, matches the pathname with the router’s baseUrl,\n * and returns the local pathname with the baseUrl stripped out.\n *\n * If the pathname does not match the baseUrl, returns undefined.\n *\n * If the `baseUrl` is not set, returns the unmodified pathname argument.\n */\n __normalizePathname(pathname) {\n if (!this.baseUrl) {\n // No base URL, no need to transform the pathname.\n return pathname;\n }\n\n const base = this.__effectiveBaseUrl;\n const normalizedUrl = this.constructor.__createUrl(pathname, base).href;\n if (normalizedUrl.slice(0, base.length) === base) {\n return normalizedUrl.slice(base.length);\n }\n }\n}\n\nResolver.pathToRegexp = pathToRegexp_1;\n\n/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nconst {pathToRegexp} = Resolver;\nconst cache = new Map();\n\nfunction cacheRoutes(routesByName, route, routes) {\n const name = route.name || route.component;\n if (name) {\n if (routesByName.has(name)) {\n routesByName.get(name).push(route);\n } else {\n routesByName.set(name, [route]);\n }\n }\n\n if (Array.isArray(routes)) {\n for (let i = 0; i < routes.length; i++) {\n const childRoute = routes[i];\n childRoute.parent = route;\n cacheRoutes(routesByName, childRoute, childRoute.__children || childRoute.children);\n }\n }\n}\n\nfunction getRouteByName(routesByName, routeName) {\n const routes = routesByName.get(routeName);\n if (routes && routes.length > 1) {\n throw new Error(\n `Duplicate route with name \"${routeName}\".`\n + ` Try seting unique 'name' route properties.`\n );\n }\n return routes && routes[0];\n}\n\nfunction getRoutePath(route) {\n let path = route.path;\n path = Array.isArray(path) ? path[0] : path;\n return path !== undefined ? path : '';\n}\n\nfunction generateUrls(router, options = {}) {\n if (!(router instanceof Resolver)) {\n throw new TypeError('An instance of Resolver is expected');\n }\n\n const routesByName = new Map();\n\n return (routeName, params) => {\n let route = getRouteByName(routesByName, routeName);\n if (!route) {\n routesByName.clear(); // clear cache\n cacheRoutes(routesByName, router.root, router.root.__children);\n\n route = getRouteByName(routesByName, routeName);\n if (!route) {\n throw new Error(`Route \"${routeName}\" not found`);\n }\n }\n\n let regexp = cache.get(route.fullPath);\n if (!regexp) {\n let fullPath = getRoutePath(route);\n let rt = route.parent;\n while (rt) {\n const path = getRoutePath(rt);\n if (path) {\n fullPath = path.replace(/\\/$/, '') + '/' + fullPath.replace(/^\\//, '');\n }\n rt = rt.parent;\n }\n const tokens = pathToRegexp.parse(fullPath);\n const toPath = pathToRegexp.tokensToFunction(tokens);\n const keys = Object.create(null);\n for (let i = 0; i < tokens.length; i++) {\n if (!isString(tokens[i])) {\n keys[tokens[i].name] = true;\n }\n }\n regexp = {toPath, keys};\n cache.set(fullPath, regexp);\n route.fullPath = fullPath;\n }\n\n let url = regexp.toPath(params, options) || '/';\n\n if (options.stringifyQueryParams && params) {\n const queryParams = {};\n const keys = Object.keys(params);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (!regexp.keys[key]) {\n queryParams[key] = params[key];\n }\n }\n const query = options.stringifyQueryParams(queryParams);\n if (query) {\n url += query.charAt(0) === '?' ? query : `?${query}`;\n }\n }\n\n return url;\n };\n}\n\n/**\n * @typedef NavigationTrigger\n * @type {object}\n * @property {function()} activate\n * @property {function()} inactivate\n */\n\n/** @type {Array} */\nlet triggers = [];\n\nfunction setNavigationTriggers(newTriggers) {\n triggers.forEach(trigger => trigger.inactivate());\n\n newTriggers.forEach(trigger => trigger.activate());\n\n triggers = newTriggers;\n}\n\nconst willAnimate = elem => {\n const name = getComputedStyle(elem).getPropertyValue('animation-name');\n return name && name !== 'none';\n};\n\nconst waitForAnimation = (elem, cb) => {\n const listener = () => {\n elem.removeEventListener('animationend', listener);\n cb();\n };\n elem.addEventListener('animationend', listener);\n};\n\nfunction animate(elem, className) {\n elem.classList.add(className);\n\n return new Promise(resolve => {\n if (willAnimate(elem)) {\n const rect = elem.getBoundingClientRect();\n const size = `height: ${rect.bottom - rect.top}px; width: ${rect.right - rect.left}px`;\n elem.setAttribute('style', `position: absolute; ${size}`);\n waitForAnimation(elem, () => {\n elem.classList.remove(className);\n elem.removeAttribute('style');\n resolve();\n });\n } else {\n elem.classList.remove(className);\n resolve();\n }\n });\n}\n\nconst MAX_REDIRECT_COUNT = 256;\n\nfunction isResultNotEmpty(result) {\n return result !== null && result !== undefined;\n}\n\nfunction copyContextWithoutNext(context) {\n const copy = Object.assign({}, context);\n delete copy.next;\n return copy;\n}\n\nfunction createLocation({pathname = '', search = '', hash = '', chain = [], params = {}, redirectFrom, resolver}, route) {\n const routes = chain.map(item => item.route);\n return {\n baseUrl: resolver && resolver.baseUrl || '',\n pathname,\n search,\n hash,\n routes,\n route: route || routes.length && routes[routes.length - 1] || null,\n params,\n redirectFrom,\n getUrl: (userParams = {}) => getPathnameForRouter(\n Router.pathToRegexp.compile(\n getMatchedPath(routes)\n )(Object.assign({}, params, userParams)),\n resolver\n )\n };\n}\n\nfunction createRedirect(context, pathname) {\n const params = Object.assign({}, context.params);\n return {\n redirect: {\n pathname,\n from: context.pathname,\n params\n }\n };\n}\n\nfunction renderElement(context, element) {\n element.location = createLocation(context);\n const index = context.chain.map(item => item.route).indexOf(context.route);\n context.chain[index].element = element;\n return element;\n}\n\nfunction runCallbackIfPossible(callback, args, thisArg) {\n if (isFunction(callback)) {\n return callback.apply(thisArg, args);\n }\n}\n\nfunction amend(amendmentFunction, args, element) {\n return amendmentResult => {\n if (amendmentResult && (amendmentResult.cancel || amendmentResult.redirect)) {\n return amendmentResult;\n }\n\n if (element) {\n return runCallbackIfPossible(element[amendmentFunction], args, element);\n }\n };\n}\n\nfunction processNewChildren(newChildren, route) {\n if (!Array.isArray(newChildren) && !isObject(newChildren)) {\n throw new Error(\n log(\n `Incorrect \"children\" value for the route ${route.path}: expected array or object, but got ${newChildren}`\n )\n );\n }\n\n route.__children = [];\n const childRoutes = toArray(newChildren);\n for (let i = 0; i < childRoutes.length; i++) {\n ensureRoute(childRoutes[i]);\n route.__children.push(childRoutes[i]);\n }\n}\n\nfunction removeDomNodes(nodes) {\n if (nodes && nodes.length) {\n const parent = nodes[0].parentNode;\n for (let i = 0; i < nodes.length; i++) {\n parent.removeChild(nodes[i]);\n }\n }\n}\n\nfunction getPathnameForRouter(pathname, router) {\n const base = router.__effectiveBaseUrl;\n return base\n ? router.constructor.__createUrl(pathname.replace(/^\\//, ''), base).pathname\n : pathname;\n}\n\nfunction getMatchedPath(chain) {\n return chain.map(item => item.path).reduce((a, b) => {\n if (b.length) {\n return a.replace(/\\/$/, '') + '/' + b.replace(/^\\//, '');\n }\n return a;\n }, '');\n}\n\n/**\n * A simple client-side router for single-page applications. It uses\n * express-style middleware and has a first-class support for Web Components and\n * lazy-loading. Works great in Polymer and non-Polymer apps.\n *\n * Use `new Router(outlet, options)` to create a new Router instance.\n *\n * * The `outlet` parameter is a reference to the DOM node to render\n * the content into.\n *\n * * The `options` parameter is an optional object with options. The following\n * keys are supported:\n * * `baseUrl` — the initial value for [\n * the `baseUrl` property\n * ](#/classes/Router#property-baseUrl)\n *\n * The Router instance is automatically subscribed to navigation events\n * on `window`.\n *\n * See [Live Examples](#/classes/Router/demos/demo/index.html) for the detailed usage demo and code snippets.\n *\n * See also detailed API docs for the following methods, for the advanced usage:\n *\n * * [setOutlet](#/classes/Router#method-setOutlet) – should be used to configure the outlet.\n * * [setTriggers](#/classes/Router#method-setTriggers) – should be used to configure the navigation events.\n * * [setRoutes](#/classes/Router#method-setRoutes) – should be used to configure the routes.\n *\n * Only `setRoutes` has to be called manually, others are automatically invoked when creating a new instance.\n *\n * @extends Resolver\n * @demo demo/index.html\n * @summary JavaScript class that renders different DOM content depending on\n * a given path. It can re-render when triggered or automatically on\n * 'popstate' and / or 'click' events.\n */\nclass Router extends Resolver {\n\n /**\n * Creates a new Router instance with a given outlet, and\n * automatically subscribes it to navigation events on the `window`.\n * Using a constructor argument or a setter for outlet is equivalent:\n *\n * ```\n * const router = new Router();\n * router.setOutlet(outlet);\n * ```\n * @param {?Node=} outlet\n * @param {?RouterOptions=} options\n */\n constructor(outlet, options) {\n const baseElement = document.head.querySelector('base');\n const baseHref = baseElement && baseElement.getAttribute('href');\n super([], Object.assign({\n // Default options\n baseUrl: baseHref && Resolver.__createUrl(baseHref, document.URL).pathname.replace(/[^\\/]*$/, '')\n }, options));\n\n this.resolveRoute = context => this.__resolveRoute(context);\n\n const triggers = Router.NavigationTrigger;\n Router.setTriggers.apply(Router, Object.keys(triggers).map(key => triggers[key]));\n\n /**\n * The base URL for all routes in the router instance. By default,\n * if the base element exists in the ``, vaadin-router\n * takes the `` attribute value, resolves against current `document.URL`\n * and gets the `pathname` from the result.\n *\n * @public\n * @type {string}\n */\n this.baseUrl;\n\n /**\n * A promise that is settled after the current render cycle completes. If\n * there is no render cycle in progress the promise is immediately settled\n * with the last render cycle result.\n *\n * @public\n * @type {!Promise}\n */\n this.ready;\n this.ready = Promise.resolve(outlet);\n\n /**\n * Contains read-only information about the current router location:\n * pathname, active routes, parameters. See the\n * [Location type declaration](#/classes/RouterLocation)\n * for more details.\n *\n * @public\n * @type {!RouterLocation}\n */\n this.location;\n this.location = createLocation({resolver: this});\n\n this.__lastStartedRenderId = 0;\n this.__navigationEventHandler = this.__onNavigationEvent.bind(this);\n this.setOutlet(outlet);\n this.subscribe();\n // Using WeakMap instead of WeakSet because WeakSet is not supported by IE11\n this.__createdByRouter = new WeakMap();\n this.__addedByRouter = new WeakMap();\n }\n\n __resolveRoute(context) {\n const route = context.route;\n\n let callbacks = Promise.resolve();\n\n if (isFunction(route.children)) {\n callbacks = callbacks\n .then(() => route.children(copyContextWithoutNext(context)))\n .then(children => {\n // The route.children() callback might have re-written the\n // route.children property instead of returning a value\n if (!isResultNotEmpty(children) && !isFunction(route.children)) {\n children = route.children;\n }\n processNewChildren(children, route);\n });\n }\n\n const commands = {\n redirect: path => createRedirect(context, path),\n component: (component) => {\n const element = document.createElement(component);\n this.__createdByRouter.set(element, true);\n return element;\n }\n };\n\n return callbacks\n .then(() => {\n if (this.__isLatestRender(context)) {\n return runCallbackIfPossible(route.action, [context, commands], route);\n }\n })\n .then(result => {\n if (isResultNotEmpty(result)) {\n // Actions like `() => import('my-view.js')` are not expected to\n // end the resolution, despite the result is not empty. Checking\n // the result with a whitelist of values that end the resolution.\n if (result instanceof HTMLElement ||\n result.redirect ||\n result === notFoundResult) {\n return result;\n }\n }\n\n if (isString(route.redirect)) {\n return commands.redirect(route.redirect);\n }\n\n if (route.bundle) {\n return loadBundle(route.bundle)\n .then(() => {}, () => {\n throw new Error(log(`Bundle not found: ${route.bundle}. Check if the file name is correct`));\n });\n }\n })\n .then(result => {\n if (isResultNotEmpty(result)) {\n return result;\n }\n if (isString(route.component)) {\n return commands.component(route.component);\n }\n });\n }\n\n /**\n * Sets the router outlet (the DOM node where the content for the current\n * route is inserted). Any content pre-existing in the router outlet is\n * removed at the end of each render pass.\n *\n * NOTE: this method is automatically invoked first time when creating a new Router instance.\n *\n * @param {?Node} outlet the DOM node where the content for the current route\n * is inserted.\n */\n setOutlet(outlet) {\n if (outlet) {\n this.__ensureOutlet(outlet);\n }\n this.__outlet = outlet;\n }\n\n /**\n * Returns the current router outlet. The initial value is `undefined`.\n *\n * @return {?Node} the current router outlet (or `undefined`)\n */\n getOutlet() {\n return this.__outlet;\n }\n\n /**\n * Sets the routing config (replacing the existing one) and triggers a\n * navigation event so that the router outlet is refreshed according to the\n * current `window.location` and the new routing config.\n *\n * Each route object may have the following properties, listed here in the processing order:\n * * `path` – the route path (relative to the parent route if any) in the\n * [express.js syntax](https://expressjs.com/en/guide/routing.html#route-paths\").\n *\n * * `children` – an array of nested routes or a function that provides this\n * array at the render time. The function can be synchronous or asynchronous:\n * in the latter case the render is delayed until the returned promise is\n * resolved. The `children` function is executed every time when this route is\n * being rendered. This allows for dynamic route structures (e.g. backend-defined),\n * but it might have a performance impact as well. In order to avoid calling\n * the function on subsequent renders, you can override the `children` property\n * of the route object and save the calculated array there\n * (via `context.route.children = [ route1, route2, ...];`).\n * Parent routes are fully resolved before resolving the children. Children\n * 'path' values are relative to the parent ones.\n *\n * * `action` – the action that is executed before the route is resolved.\n * The value for this property should be a function, accepting `context`\n * and `commands` parameters described below. If present, this function is\n * always invoked first, disregarding of the other properties' presence.\n * The action can return a result directly or within a `Promise`, which\n * resolves to the result. If the action result is an `HTMLElement` instance,\n * a `commands.component(name)` result, a `commands.redirect(path)` result,\n * or a `context.next()` result, the current route resolution is finished,\n * and other route config properties are ignored.\n * See also **Route Actions** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `redirect` – other route's path to redirect to. Passes all route parameters to the redirect target.\n * The target route should also be defined.\n * See also **Redirects** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `bundle` – string containing the path to `.js` or `.mjs` bundle to load before resolving the route,\n * or the object with \"module\" and \"nomodule\" keys referring to different bundles.\n * Each bundle is only loaded once. If \"module\" and \"nomodule\" are set, only one bundle is loaded,\n * depending on whether the browser supports ES modules or not.\n * The property is ignored when either an `action` returns the result or `redirect` property is present.\n * Any error, e.g. 404 while loading bundle will cause route resolution to throw.\n * See also **Code Splitting** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `component` – the tag name of the Web Component to resolve the route to.\n * The property is ignored when either an `action` returns the result or `redirect` property is present.\n * If route contains the `component` property (or an action that return a component)\n * and its child route also contains the `component` property, child route's component\n * will be rendered as a light dom child of a parent component.\n *\n * * `name` – the string name of the route to use in the\n * [`router.urlForName(name, params)`](#/classes/Router#method-urlForName)\n * navigation helper method.\n *\n * For any route function (`action`, `children`) defined, the corresponding `route` object is available inside the callback\n * through the `this` reference. If you need to access it, make sure you define the callback as a non-arrow function\n * because arrow functions do not have their own `this` reference.\n *\n * `context` object that is passed to `action` function holds the following properties:\n * * `context.pathname` – string with the pathname being resolved\n *\n * * `context.search` – search query string\n *\n * * `context.hash` – hash string\n *\n * * `context.params` – object with route parameters\n *\n * * `context.route` – object that holds the route that is currently being rendered.\n *\n * * `context.next()` – function for asynchronously getting the next route\n * contents from the resolution chain (if any)\n *\n * `commands` object that is passed to `action` function has\n * the following methods:\n *\n * * `commands.redirect(path)` – function that creates a redirect data\n * for the path specified.\n *\n * * `commands.component(component)` – function that creates a new HTMLElement\n * with current context. Note: the component created by this function is reused if visiting the same path twice in row.\n *\n *\n * @param {!Array|!Route} routes a single route or an array of those\n * @param {?boolean} skipRender configure the router but skip rendering the\n * route corresponding to the current `window.location` values\n *\n * @return {!Promise}\n */\n setRoutes(routes, skipRender = false) {\n this.__previousContext = undefined;\n this.__urlForName = undefined;\n super.setRoutes(routes);\n if (!skipRender) {\n this.__onNavigationEvent();\n }\n return this.ready;\n }\n\n /**\n * Asynchronously resolves the given pathname and renders the resolved route\n * component into the router outlet. If no router outlet is set at the time of\n * calling this method, or at the time when the route resolution is completed,\n * a `TypeError` is thrown.\n *\n * Returns a promise that is fulfilled with the router outlet DOM Node after\n * the route component is created and inserted into the router outlet, or\n * rejected if no route matches the given path.\n *\n * If another render pass is started before the previous one is completed, the\n * result of the previous render pass is ignored.\n *\n * @param {!string|!{pathname: !string, search: ?string, hash: ?string}} pathnameOrContext\n * the pathname to render or a context object with a `pathname` property,\n * optional `search` and `hash` properties, and other properties\n * to pass to the resolver.\n * @param {boolean=} shouldUpdateHistory\n * update browser history with the rendered location\n * @return {!Promise}\n */\n render(pathnameOrContext, shouldUpdateHistory) {\n const renderId = ++this.__lastStartedRenderId;\n const context = Object.assign(\n {\n search: '',\n hash: ''\n },\n isString(pathnameOrContext)\n ? {pathname: pathnameOrContext}\n : pathnameOrContext,\n {\n __renderId: renderId\n }\n );\n\n // Find the first route that resolves to a non-empty result\n this.ready = this.resolve(context)\n\n // Process the result of this.resolve() and handle all special commands:\n // (redirect / prevent / component). If the result is a 'component',\n // then go deeper and build the entire chain of nested components matching\n // the pathname. Also call all 'on before' callbacks along the way.\n .then(context => this.__fullyResolveChain(context))\n\n .then(context => {\n if (this.__isLatestRender(context)) {\n const previousContext = this.__previousContext;\n\n // Check if the render was prevented and make an early return in that case\n if (context === previousContext) {\n // Replace the history with the previous context\n // to make sure the URL stays the same.\n this.__updateBrowserHistory(previousContext, true);\n return this.location;\n }\n\n this.location = createLocation(context);\n\n if (shouldUpdateHistory) {\n // Replace only if first render redirects, so that we don’t leave\n // the redirecting record in the history\n this.__updateBrowserHistory(context, renderId === 1);\n }\n\n fireRouterEvent('location-changed', {router: this, location: this.location});\n\n // Skip detaching/re-attaching there are no render changes\n if (context.__skipAttach) {\n this.__copyUnchangedElements(context, previousContext);\n this.__previousContext = context;\n return this.location;\n }\n\n this.__addAppearingContent(context, previousContext);\n const animationDone = this.__animateIfNeeded(context);\n\n this.__runOnAfterEnterCallbacks(context);\n this.__runOnAfterLeaveCallbacks(context, previousContext);\n\n return animationDone.then(() => {\n if (this.__isLatestRender(context)) {\n // If there is another render pass started after this one,\n // the 'disappearing content' would be removed when the other\n // render pass calls `this.__addAppearingContent()`\n this.__removeDisappearingContent();\n\n this.__previousContext = context;\n return this.location;\n }\n });\n }\n })\n .catch(error => {\n if (renderId === this.__lastStartedRenderId) {\n if (shouldUpdateHistory) {\n this.__updateBrowserHistory(context);\n }\n removeDomNodes(this.__outlet && this.__outlet.children);\n this.location = createLocation(Object.assign(context, {resolver: this}));\n fireRouterEvent('error', Object.assign({router: this, error}, context));\n throw error;\n }\n });\n return this.ready;\n }\n\n // `topOfTheChainContextBeforeRedirects` is a context coming from Resolver.resolve().\n // It would contain a 'redirect' route or the first 'component' route that\n // matched the pathname. There might be more child 'component' routes to be\n // resolved and added into the chain. This method would find and add them.\n // `contextBeforeRedirects` is the context containing such a child component\n // route. It's only necessary when this method is called recursively (otherwise\n // it's the same as the 'top of the chain' context).\n //\n // Apart from building the chain of child components, this method would also\n // handle 'redirect' routes, call 'onBefore' callbacks and handle 'prevent'\n // and 'redirect' callback results.\n __fullyResolveChain(topOfTheChainContextBeforeRedirects,\n contextBeforeRedirects = topOfTheChainContextBeforeRedirects) {\n return this.__findComponentContextAfterAllRedirects(contextBeforeRedirects)\n // `contextAfterRedirects` is always a context with an `HTMLElement` result\n // In other cases the promise gets rejected and .then() is not called\n .then(contextAfterRedirects => {\n const redirectsHappened = contextAfterRedirects !== contextBeforeRedirects;\n const topOfTheChainContextAfterRedirects =\n redirectsHappened ? contextAfterRedirects : topOfTheChainContextBeforeRedirects;\n\n const matchedPath = getPathnameForRouter(\n getMatchedPath(contextAfterRedirects.chain),\n contextAfterRedirects.resolver\n );\n const isFound = (matchedPath === contextAfterRedirects.pathname);\n\n // Recursive method to try matching more child and sibling routes\n const findNextContextIfAny = (context, parent = context.route, prevResult) => {\n return context.next(undefined, parent, prevResult).then(nextContext => {\n if (nextContext === null || nextContext === notFoundResult) {\n // Next context is not found in children, ...\n if (isFound) {\n // ...but original context is already fully matching - use it\n return context;\n } else if (parent.parent !== null) {\n // ...and there is no full match yet - step up to check siblings\n return findNextContextIfAny(context, parent.parent, nextContext);\n } else {\n return nextContext;\n }\n }\n\n return nextContext;\n });\n };\n\n return findNextContextIfAny(contextAfterRedirects).then(nextContext => {\n if (nextContext === null || nextContext === notFoundResult) {\n throw getNotFoundError(topOfTheChainContextAfterRedirects);\n }\n\n return nextContext\n && nextContext !== notFoundResult\n && nextContext !== contextAfterRedirects\n ? this.__fullyResolveChain(topOfTheChainContextAfterRedirects, nextContext)\n : this.__amendWithOnBeforeCallbacks(contextAfterRedirects);\n });\n });\n }\n\n __findComponentContextAfterAllRedirects(context) {\n const result = context.result;\n if (result instanceof HTMLElement) {\n renderElement(context, result);\n return Promise.resolve(context);\n } else if (result.redirect) {\n return this.__redirect(result.redirect, context.__redirectCount, context.__renderId)\n .then(context => this.__findComponentContextAfterAllRedirects(context));\n } else if (result instanceof Error) {\n return Promise.reject(result);\n } else {\n return Promise.reject(\n new Error(\n log(\n `Invalid route resolution result for path \"${context.pathname}\". ` +\n `Expected redirect object or HTML element, but got: \"${logValue(result)}\". ` +\n `Double check the action return value for the route.`\n )\n ));\n }\n }\n\n __amendWithOnBeforeCallbacks(contextWithFullChain) {\n return this.__runOnBeforeCallbacks(contextWithFullChain).then(amendedContext => {\n if (amendedContext === this.__previousContext || amendedContext === contextWithFullChain) {\n return amendedContext;\n }\n return this.__fullyResolveChain(amendedContext);\n });\n }\n\n __runOnBeforeCallbacks(newContext) {\n const previousContext = this.__previousContext || {};\n const previousChain = previousContext.chain || [];\n const newChain = newContext.chain;\n\n let callbacks = Promise.resolve();\n const prevent = () => ({cancel: true});\n const redirect = (pathname) => createRedirect(newContext, pathname);\n\n newContext.__divergedChainIndex = 0;\n newContext.__skipAttach = false;\n if (previousChain.length) {\n for (let i = 0; i < Math.min(previousChain.length, newChain.length); i = ++newContext.__divergedChainIndex) {\n if (previousChain[i].route !== newChain[i].route\n || previousChain[i].path !== newChain[i].path && previousChain[i].element !== newChain[i].element\n || !this.__isReusableElement(previousChain[i].element, newChain[i].element)) {\n break;\n }\n }\n\n // Skip re-attaching and notifications if element and chain do not change\n newContext.__skipAttach =\n // Same route chain\n newChain.length === previousChain.length && newContext.__divergedChainIndex == newChain.length &&\n // Same element\n this.__isReusableElement(newContext.result, previousContext.result);\n\n if (newContext.__skipAttach) {\n // execute onBeforeLeave for changed segment element when skipping attach\n for (let i = newChain.length - 1; i >= 0; i--) {\n callbacks = this.__runOnBeforeLeaveCallbacks(callbacks, newContext, {prevent}, previousChain[i]);\n }\n // execute onBeforeEnter for changed segment element when skipping attach\n for (let i = 0; i < newChain.length; i++) {\n callbacks = this.__runOnBeforeEnterCallbacks(callbacks, newContext, {prevent, redirect}, newChain[i]);\n previousChain[i].element.location = createLocation(newContext, previousChain[i].route);\n }\n\n } else {\n // execute onBeforeLeave when NOT skipping attach\n for (let i = previousChain.length - 1; i >= newContext.__divergedChainIndex; i--) {\n callbacks = this.__runOnBeforeLeaveCallbacks(callbacks, newContext, {prevent}, previousChain[i]);\n }\n }\n }\n // execute onBeforeEnter when NOT skipping attach\n if (!newContext.__skipAttach) {\n for (let i = 0; i < newChain.length; i++) {\n if (i < newContext.__divergedChainIndex) {\n if (i < previousChain.length && previousChain[i].element) {\n previousChain[i].element.location = createLocation(newContext, previousChain[i].route);\n }\n } else {\n callbacks = this.__runOnBeforeEnterCallbacks(callbacks, newContext, {prevent, redirect}, newChain[i]);\n if (newChain[i].element) {\n newChain[i].element.location = createLocation(newContext, newChain[i].route);\n }\n }\n }\n }\n return callbacks.then(amendmentResult => {\n if (amendmentResult) {\n if (amendmentResult.cancel) {\n this.__previousContext.__renderId = newContext.__renderId;\n return this.__previousContext;\n }\n if (amendmentResult.redirect) {\n return this.__redirect(amendmentResult.redirect, newContext.__redirectCount, newContext.__renderId);\n }\n }\n return newContext;\n });\n }\n\n __runOnBeforeLeaveCallbacks(callbacks, newContext, commands, chainElement) {\n const location = createLocation(newContext);\n return callbacks.then(result => {\n if (this.__isLatestRender(newContext)) {\n const afterLeaveFunction = amend('onBeforeLeave', [location, commands, this], chainElement.element);\n return afterLeaveFunction(result);\n }\n }).then(result => {\n if (!(result || {}).redirect) {\n return result;\n }\n });\n }\n\n __runOnBeforeEnterCallbacks(callbacks, newContext, commands, chainElement) {\n const location = createLocation(newContext, chainElement.route);\n return callbacks.then(result => {\n if (this.__isLatestRender(newContext)) {\n const beforeEnterFunction = amend('onBeforeEnter', [location, commands, this], chainElement.element);\n return beforeEnterFunction(result);\n }\n });\n }\n\n __isReusableElement(element, otherElement) {\n if (element && otherElement) {\n return this.__createdByRouter.get(element) && this.__createdByRouter.get(otherElement)\n ? element.localName === otherElement.localName\n : element === otherElement;\n }\n return false;\n }\n\n __isLatestRender(context) {\n return context.__renderId === this.__lastStartedRenderId;\n }\n\n __redirect(redirectData, counter, renderId) {\n if (counter > MAX_REDIRECT_COUNT) {\n throw new Error(log(`Too many redirects when rendering ${redirectData.from}`));\n }\n\n return this.resolve({\n pathname: this.urlForPath(\n redirectData.pathname,\n redirectData.params\n ),\n redirectFrom: redirectData.from,\n __redirectCount: (counter || 0) + 1,\n __renderId: renderId\n });\n }\n\n __ensureOutlet(outlet = this.__outlet) {\n if (!(outlet instanceof Node)) {\n throw new TypeError(log(`Expected router outlet to be a valid DOM Node (but got ${outlet})`));\n }\n }\n\n __updateBrowserHistory({pathname, search = '', hash = ''}, replace) {\n if (window.location.pathname !== pathname\n || window.location.search !== search\n || window.location.hash !== hash\n ) {\n const changeState = replace ? 'replaceState' : 'pushState';\n window.history[changeState](null, document.title, pathname + search + hash);\n window.dispatchEvent(new PopStateEvent('popstate', {state: 'vaadin-router-ignore'}));\n }\n }\n\n __copyUnchangedElements(context, previousContext) {\n // Find the deepest common parent between the last and the new component\n // chains. Update references for the unchanged elements in the new chain\n let deepestCommonParent = this.__outlet;\n for (let i = 0; i < context.__divergedChainIndex; i++) {\n const unchangedElement = previousContext && previousContext.chain[i].element;\n if (unchangedElement) {\n if (unchangedElement.parentNode === deepestCommonParent) {\n context.chain[i].element = unchangedElement;\n deepestCommonParent = unchangedElement;\n } else {\n break;\n }\n }\n }\n return deepestCommonParent;\n }\n\n __addAppearingContent(context, previousContext) {\n this.__ensureOutlet();\n\n // If the previous 'entering' animation has not completed yet,\n // stop it and remove that content from the DOM before adding new one.\n this.__removeAppearingContent();\n\n // Copy reusable elements from the previousContext to current\n const deepestCommonParent = this.__copyUnchangedElements(context, previousContext);\n\n // Keep two lists of DOM elements:\n // - those that should be removed once the transition animation is over\n // - and those that should remain\n this.__appearingContent = [];\n this.__disappearingContent = Array\n .from(deepestCommonParent.children)\n .filter(\n // Only remove layout content that was added by router\n e => this.__addedByRouter.get(e) &&\n // Do not remove the result element to avoid flickering\n e !== context.result);\n\n // Add new elements (starting after the deepest common parent) to the DOM.\n // That way only the components that are actually different between the two\n // locations are added to the DOM (and those that are common remain in the\n // DOM without first removing and then adding them again).\n let parentElement = deepestCommonParent;\n for (let i = context.__divergedChainIndex; i < context.chain.length; i++) {\n const elementToAdd = context.chain[i].element;\n if (elementToAdd) {\n parentElement.appendChild(elementToAdd);\n this.__addedByRouter.set(elementToAdd, true);\n if (parentElement === deepestCommonParent) {\n this.__appearingContent.push(elementToAdd);\n }\n parentElement = elementToAdd;\n }\n }\n }\n\n __removeDisappearingContent() {\n if (this.__disappearingContent) {\n removeDomNodes(this.__disappearingContent);\n }\n this.__disappearingContent = null;\n this.__appearingContent = null;\n }\n\n __removeAppearingContent() {\n if (this.__disappearingContent && this.__appearingContent) {\n removeDomNodes(this.__appearingContent);\n this.__disappearingContent = null;\n this.__appearingContent = null;\n }\n }\n\n __runOnAfterLeaveCallbacks(currentContext, targetContext) {\n if (!targetContext) {\n return;\n }\n\n // REVERSE iteration: from Z to A\n for (let i = targetContext.chain.length - 1; i >= currentContext.__divergedChainIndex; i--) {\n if (!this.__isLatestRender(currentContext)) {\n break;\n }\n const currentComponent = targetContext.chain[i].element;\n if (!currentComponent) {\n continue;\n }\n try {\n const location = createLocation(currentContext);\n runCallbackIfPossible(\n currentComponent.onAfterLeave,\n [location, {}, targetContext.resolver],\n currentComponent);\n } finally {\n if (this.__disappearingContent.indexOf(currentComponent) > -1) {\n removeDomNodes(currentComponent.children);\n }\n }\n }\n }\n\n __runOnAfterEnterCallbacks(currentContext) {\n // forward iteration: from A to Z\n for (let i = currentContext.__divergedChainIndex; i < currentContext.chain.length; i++) {\n if (!this.__isLatestRender(currentContext)) {\n break;\n }\n const currentComponent = currentContext.chain[i].element || {};\n const location = createLocation(currentContext, currentContext.chain[i].route);\n runCallbackIfPossible(\n currentComponent.onAfterEnter,\n [location, {}, currentContext.resolver],\n currentComponent);\n }\n }\n\n __animateIfNeeded(context) {\n const from = (this.__disappearingContent || [])[0];\n const to = (this.__appearingContent || [])[0];\n const promises = [];\n\n const chain = context.chain;\n let config;\n for (let i = chain.length; i > 0; i--) {\n if (chain[i - 1].route.animate) {\n config = chain[i - 1].route.animate;\n break;\n }\n }\n\n if (from && to && config) {\n const leave = isObject(config) && config.leave || 'leaving';\n const enter = isObject(config) && config.enter || 'entering';\n promises.push(animate(from, leave));\n promises.push(animate(to, enter));\n }\n\n return Promise.all(promises).then(() => context);\n }\n\n /**\n * Subscribes this instance to navigation events on the `window`.\n *\n * NOTE: beware of resource leaks. For as long as a router instance is\n * subscribed to navigation events, it won't be garbage collected.\n */\n subscribe() {\n window.addEventListener('vaadin-router-go', this.__navigationEventHandler);\n }\n\n /**\n * Removes the subscription to navigation events created in the `subscribe()`\n * method.\n */\n unsubscribe() {\n window.removeEventListener('vaadin-router-go', this.__navigationEventHandler);\n }\n\n __onNavigationEvent(event) {\n const {pathname, search, hash} = event ? event.detail : window.location;\n if (isString(this.__normalizePathname(pathname))) {\n if (event && event.preventDefault) {\n event.preventDefault();\n }\n this.render({pathname, search, hash}, true);\n }\n }\n\n /**\n * Configures what triggers Router navigation events:\n * - `POPSTATE`: popstate events on the current `window`\n * - `CLICK`: click events on `` links leading to the current page\n *\n * This method is invoked with the pre-configured values when creating a new Router instance.\n * By default, both `POPSTATE` and `CLICK` are enabled. This setup is expected to cover most of the use cases.\n *\n * See the `router-config.js` for the default navigation triggers config. Based on it, you can\n * create the own one and only import the triggers you need, instead of pulling in all the code,\n * e.g. if you want to handle `click` differently.\n *\n * See also **Navigation Triggers** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * @param {...NavigationTrigger} triggers\n */\n static setTriggers(...triggers) {\n setNavigationTriggers(triggers);\n }\n\n /**\n * Generates a URL for the route with the given name, optionally performing\n * substitution of parameters.\n *\n * The route is searched in all the Router instances subscribed to\n * navigation events.\n *\n * **Note:** For child route names, only array children are considered.\n * It is not possible to generate URLs using a name for routes set with\n * a children function.\n *\n * @function urlForName\n * @param {!string} name the route name or the route’s `component` name.\n * @param {Params=} params Optional object with route path parameters.\n * Named parameters are passed by name (`params[name] = value`), unnamed\n * parameters are passed by index (`params[index] = value`).\n *\n * @return {string}\n */\n urlForName(name, params) {\n if (!this.__urlForName) {\n this.__urlForName = generateUrls(this);\n }\n return getPathnameForRouter(\n this.__urlForName(name, params),\n this\n );\n }\n\n /**\n * Generates a URL for the given route path, optionally performing\n * substitution of parameters.\n *\n * @param {!string} path string route path declared in [express.js syntax](https://expressjs.com/en/guide/routing.html#route-paths\").\n * @param {Params=} params Optional object with route path parameters.\n * Named parameters are passed by name (`params[name] = value`), unnamed\n * parameters are passed by index (`params[index] = value`).\n *\n * @return {string}\n */\n urlForPath(path, params) {\n return getPathnameForRouter(\n Router.pathToRegexp.compile(path)(params),\n this\n );\n }\n\n /**\n * Triggers navigation to a new path. Returns a boolean without waiting until\n * the navigation is complete. Returns `true` if at least one `Router`\n * has handled the navigation (was subscribed and had `baseUrl` matching\n * the `path` argument), otherwise returns `false`.\n *\n * @param {!string|!{pathname: !string, search: (string|undefined), hash: (string|undefined)}} path\n * a new in-app path string, or an URL-like object with `pathname`\n * string property, and optional `search` and `hash` string properties.\n * @return {boolean}\n */\n static go(path) {\n const {pathname, search, hash} = isString(path)\n ? this.__createUrl(path, 'http://a') // some base to omit origin\n : path;\n return fireRouterEvent('go', {pathname, search, hash});\n }\n}\n\nconst DEV_MODE_CODE_REGEXP =\n /\\/\\*[\\*!]\\s+vaadin-dev-mode:start([\\s\\S]*)vaadin-dev-mode:end\\s+\\*\\*\\//i;\n\nconst FlowClients = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;\n\nfunction isMinified() {\n function test() {\n /** vaadin-dev-mode:start\n return false;\n vaadin-dev-mode:end **/\n return true;\n }\n return uncommentAndRun(test);\n}\n\nfunction isDevelopmentMode() {\n try {\n if (isForcedDevelopmentMode()) {\n return true;\n }\n\n if (!isLocalhost()) {\n return false;\n }\n\n if (FlowClients) {\n return !isFlowProductionMode();\n }\n\n return !isMinified();\n } catch (e) {\n // Some error in this code, assume production so no further actions will be taken\n return false;\n }\n}\n\nfunction isForcedDevelopmentMode() {\n return localStorage.getItem(\"vaadin.developmentmode.force\");\n}\n\nfunction isLocalhost() {\n return ([\"localhost\",\"127.0.0.1\"].indexOf(window.location.hostname) >= 0);\n}\n\nfunction isFlowProductionMode() {\n if (FlowClients) {\n const productionModeApps = Object.keys(FlowClients)\n .map(key => FlowClients[key])\n .filter(client => client.productionMode);\n if (productionModeApps.length > 0) {\n return true;\n }\n }\n return false;\n}\n\nfunction uncommentAndRun(callback, args) {\n if (typeof callback !== 'function') {\n return;\n }\n\n const match = DEV_MODE_CODE_REGEXP.exec(callback.toString());\n if (match) {\n try {\n // requires CSP: script-src 'unsafe-eval'\n callback = new Function(match[1]);\n } catch (e) {\n // eat the exception\n console.log('vaadin-development-mode-detector: uncommentAndRun() failed', e);\n }\n }\n\n return callback(args);\n}\n\n// A guard against polymer-modulizer removing the window.Vaadin\n// initialization above.\nwindow['Vaadin'] = window['Vaadin'] || {};\n\n/**\n * Inspects the source code of the given `callback` function for\n * specially-marked _commented_ code. If such commented code is found in the\n * callback source, uncomments and runs that code instead of the callback\n * itself. Otherwise runs the callback as is.\n *\n * The optional arguments are passed into the callback / uncommented code,\n * the result is returned.\n *\n * See the `isMinified()` function source code in this file for an example.\n *\n */\nconst runIfDevelopmentMode = function(callback, args) {\n if (window.Vaadin.developmentMode) {\n return uncommentAndRun(callback, args);\n }\n};\n\nif (window.Vaadin.developmentMode === undefined) {\n window.Vaadin.developmentMode = isDevelopmentMode();\n}\n\n/* This file is autogenerated from src/vaadin-usage-statistics.tpl.html */\n\nfunction maybeGatherAndSendStats() {\n /** vaadin-dev-mode:start\n (function () {\n'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar getPolymerVersion = function getPolymerVersion() {\n return window.Polymer && window.Polymer.version;\n};\n\nvar StatisticsGatherer = function () {\n function StatisticsGatherer(logger) {\n classCallCheck(this, StatisticsGatherer);\n\n this.now = new Date().getTime();\n this.logger = logger;\n }\n\n createClass(StatisticsGatherer, [{\n key: 'frameworkVersionDetectors',\n value: function frameworkVersionDetectors() {\n return {\n 'Flow': function Flow() {\n if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {\n var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {\n return window.Vaadin.Flow.clients[key];\n }).filter(function (client) {\n return client.getVersionInfo;\n }).map(function (client) {\n return client.getVersionInfo().flow;\n });\n if (flowVersions.length > 0) {\n return flowVersions[0];\n }\n }\n },\n 'Vaadin Framework': function VaadinFramework() {\n if (window.vaadin && window.vaadin.clients) {\n var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {\n return client.getVersionInfo;\n }).map(function (client) {\n return client.getVersionInfo().vaadinVersion;\n });\n if (frameworkVersions.length > 0) {\n return frameworkVersions[0];\n }\n }\n },\n 'AngularJs': function AngularJs() {\n if (window.angular && window.angular.version && window.angular.version) {\n return window.angular.version.full;\n }\n },\n 'Angular': function Angular() {\n if (window.ng) {\n var tags = document.querySelectorAll(\"[ng-version]\");\n if (tags.length > 0) {\n return tags[0].getAttribute(\"ng-version\");\n }\n return \"Unknown\";\n }\n },\n 'Backbone.js': function BackboneJs() {\n if (window.Backbone) {\n return window.Backbone.VERSION;\n }\n },\n 'React': function React() {\n var reactSelector = '[data-reactroot], [data-reactid]';\n if (!!document.querySelector(reactSelector)) {\n // React does not publish the version by default\n return \"unknown\";\n }\n },\n 'Ember': function Ember() {\n if (window.Em && window.Em.VERSION) {\n return window.Em.VERSION;\n } else if (window.Ember && window.Ember.VERSION) {\n return window.Ember.VERSION;\n }\n },\n 'jQuery': function (_jQuery) {\n function jQuery() {\n return _jQuery.apply(this, arguments);\n }\n\n jQuery.toString = function () {\n return _jQuery.toString();\n };\n\n return jQuery;\n }(function () {\n if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {\n return jQuery.prototype.jquery;\n }\n }),\n 'Polymer': function Polymer() {\n var version = getPolymerVersion();\n if (version) {\n return version;\n }\n },\n 'LitElement': function LitElement() {\n var version = window.litElementVersions && window.litElementVersions[0];\n if (version) {\n return version;\n }\n },\n 'LitHtml': function LitHtml() {\n var version = window.litHtmlVersions && window.litHtmlVersions[0];\n if (version) {\n return version;\n }\n },\n 'Vue.js': function VueJs() {\n if (window.Vue) {\n return window.Vue.version;\n }\n }\n };\n }\n }, {\n key: 'getUsedVaadinElements',\n value: function getUsedVaadinElements(elements) {\n var version = getPolymerVersion();\n var elementClasses = void 0;\n // NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.\n // Check all locations calling the method getEntries() in\n // https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106\n // Currently it is only used by BootstrapHandler.\n if (version && version.indexOf('2') === 0) {\n // Polymer 2: components classes are stored in window.Vaadin\n elementClasses = Object.keys(window.Vaadin).map(function (c) {\n return window.Vaadin[c];\n }).filter(function (c) {\n return c.is;\n });\n } else {\n // Polymer 3: components classes are stored in window.Vaadin.registrations\n elementClasses = window.Vaadin.registrations || [];\n }\n elementClasses.forEach(function (klass) {\n var version = klass.version ? klass.version : \"0.0.0\";\n elements[klass.is] = { version: version };\n });\n }\n }, {\n key: 'getUsedVaadinThemes',\n value: function getUsedVaadinThemes(themes) {\n ['Lumo', 'Material'].forEach(function (themeName) {\n var theme;\n var version = getPolymerVersion();\n if (version && version.indexOf('2') === 0) {\n // Polymer 2: themes are stored in window.Vaadin\n theme = window.Vaadin[themeName];\n } else {\n // Polymer 3: themes are stored in custom element registry\n theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');\n }\n if (theme && theme.version) {\n themes[themeName] = { version: theme.version };\n }\n });\n }\n }, {\n key: 'getFrameworks',\n value: function getFrameworks(frameworks) {\n var detectors = this.frameworkVersionDetectors();\n Object.keys(detectors).forEach(function (framework) {\n var detector = detectors[framework];\n try {\n var version = detector();\n if (version) {\n frameworks[framework] = { version: version };\n }\n } catch (e) {}\n });\n }\n }, {\n key: 'gather',\n value: function gather(storage) {\n var storedStats = storage.read();\n var gatheredStats = {};\n var types = [\"elements\", \"frameworks\", \"themes\"];\n\n types.forEach(function (type) {\n gatheredStats[type] = {};\n if (!storedStats[type]) {\n storedStats[type] = {};\n }\n });\n\n var previousStats = JSON.stringify(storedStats);\n\n this.getUsedVaadinElements(gatheredStats.elements);\n this.getFrameworks(gatheredStats.frameworks);\n this.getUsedVaadinThemes(gatheredStats.themes);\n\n var now = this.now;\n types.forEach(function (type) {\n var keys = Object.keys(gatheredStats[type]);\n keys.forEach(function (key) {\n if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {\n storedStats[type][key] = { firstUsed: now };\n }\n // Discards any previously logged version number\n storedStats[type][key].version = gatheredStats[type][key].version;\n storedStats[type][key].lastUsed = now;\n });\n });\n\n var newStats = JSON.stringify(storedStats);\n storage.write(newStats);\n if (newStats != previousStats && Object.keys(storedStats).length > 0) {\n this.logger.debug(\"New stats: \" + newStats);\n }\n }\n }]);\n return StatisticsGatherer;\n}();\n\nvar StatisticsStorage = function () {\n function StatisticsStorage(key) {\n classCallCheck(this, StatisticsStorage);\n\n this.key = key;\n }\n\n createClass(StatisticsStorage, [{\n key: 'read',\n value: function read() {\n var localStorageStatsString = localStorage.getItem(this.key);\n try {\n return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');\n } catch (e) {\n return {};\n }\n }\n }, {\n key: 'write',\n value: function write(data) {\n localStorage.setItem(this.key, data);\n }\n }, {\n key: 'clear',\n value: function clear() {\n localStorage.removeItem(this.key);\n }\n }, {\n key: 'isEmpty',\n value: function isEmpty() {\n var storedStats = this.read();\n var empty = true;\n Object.keys(storedStats).forEach(function (key) {\n if (Object.keys(storedStats[key]).length > 0) {\n empty = false;\n }\n });\n\n return empty;\n }\n }]);\n return StatisticsStorage;\n}();\n\nvar StatisticsSender = function () {\n function StatisticsSender(url, logger) {\n classCallCheck(this, StatisticsSender);\n\n this.url = url;\n this.logger = logger;\n }\n\n createClass(StatisticsSender, [{\n key: 'send',\n value: function send(data, errorHandler) {\n var logger = this.logger;\n\n if (navigator.onLine === false) {\n logger.debug(\"Offline, can't send\");\n errorHandler();\n return;\n }\n logger.debug(\"Sending data to \" + this.url);\n\n var req = new XMLHttpRequest();\n req.withCredentials = true;\n req.addEventListener(\"load\", function () {\n // Stats sent, nothing more to do\n logger.debug(\"Response: \" + req.responseText);\n });\n req.addEventListener(\"error\", function () {\n logger.debug(\"Send failed\");\n errorHandler();\n });\n req.addEventListener(\"abort\", function () {\n logger.debug(\"Send aborted\");\n errorHandler();\n });\n req.open(\"POST\", this.url);\n req.setRequestHeader(\"Content-Type\", \"application/json\");\n req.send(data);\n }\n }]);\n return StatisticsSender;\n}();\n\nvar StatisticsLogger = function () {\n function StatisticsLogger(id) {\n classCallCheck(this, StatisticsLogger);\n\n this.id = id;\n }\n\n createClass(StatisticsLogger, [{\n key: '_isDebug',\n value: function _isDebug() {\n return localStorage.getItem(\"vaadin.\" + this.id + \".debug\");\n }\n }, {\n key: 'debug',\n value: function debug(msg) {\n if (this._isDebug()) {\n console.info(this.id + \": \" + msg);\n }\n }\n }]);\n return StatisticsLogger;\n}();\n\nvar UsageStatistics = function () {\n function UsageStatistics() {\n classCallCheck(this, UsageStatistics);\n\n this.now = new Date();\n this.timeNow = this.now.getTime();\n this.gatherDelay = 10; // Delay between loading this file and gathering stats\n this.initialDelay = 24 * 60 * 60;\n\n this.logger = new StatisticsLogger(\"statistics\");\n this.storage = new StatisticsStorage(\"vaadin.statistics.basket\");\n this.gatherer = new StatisticsGatherer(this.logger);\n this.sender = new StatisticsSender(\"https://tools.vaadin.com/usage-stats/submit\", this.logger);\n }\n\n createClass(UsageStatistics, [{\n key: 'maybeGatherAndSend',\n value: function maybeGatherAndSend() {\n var _this = this;\n\n if (localStorage.getItem(UsageStatistics.optOutKey)) {\n return;\n }\n this.gatherer.gather(this.storage);\n setTimeout(function () {\n _this.maybeSend();\n }, this.gatherDelay * 1000);\n }\n }, {\n key: 'lottery',\n value: function lottery() {\n return true;\n }\n }, {\n key: 'currentMonth',\n value: function currentMonth() {\n return this.now.getYear() * 12 + this.now.getMonth();\n }\n }, {\n key: 'maybeSend',\n value: function maybeSend() {\n var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));\n var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));\n\n if (!firstUse) {\n // Use a grace period to avoid interfering with tests, incognito mode etc\n firstUse = this.timeNow;\n localStorage.setItem(UsageStatistics.firstUseKey, firstUse);\n }\n\n if (this.timeNow < firstUse + this.initialDelay * 1000) {\n this.logger.debug(\"No statistics will be sent until the initial delay of \" + this.initialDelay + \"s has passed\");\n return;\n }\n if (this.currentMonth() <= monthProcessed) {\n this.logger.debug(\"This month has already been processed\");\n return;\n }\n localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());\n // Use random sampling\n if (this.lottery()) {\n this.logger.debug(\"Congratulations, we have a winner!\");\n } else {\n this.logger.debug(\"Sorry, no stats from you this time\");\n return;\n }\n\n this.send();\n }\n }, {\n key: 'send',\n value: function send() {\n // Ensure we have the latest data\n this.gatherer.gather(this.storage);\n\n // Read, send and clean up\n var data = this.storage.read();\n data[\"firstUse\"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));\n data[\"usageStatisticsVersion\"] = UsageStatistics.version;\n var info = 'This request contains usage statistics gathered from the application running in development mode. \\n\\nStatistics gathering is automatically disabled and excluded from production builds.\\n\\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\\n\\n\\n\\n';\n var self = this;\n this.sender.send(info + JSON.stringify(data), function () {\n // Revert the 'month processed' flag\n localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);\n });\n }\n }], [{\n key: 'version',\n get: function get$1() {\n return '2.1.2';\n }\n }, {\n key: 'firstUseKey',\n get: function get$1() {\n return 'vaadin.statistics.firstuse';\n }\n }, {\n key: 'monthProcessedKey',\n get: function get$1() {\n return 'vaadin.statistics.monthProcessed';\n }\n }, {\n key: 'optOutKey',\n get: function get$1() {\n return 'vaadin.statistics.optout';\n }\n }]);\n return UsageStatistics;\n}();\n\ntry {\n window.Vaadin = window.Vaadin || {};\n window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();\n window.Vaadin.usageStatsChecker.maybeGatherAndSend();\n} catch (e) {\n // Intentionally ignored as this is not a problem in the app being developed\n}\n\n}());\n\n vaadin-dev-mode:end **/\n}\n\nconst usageStatistics = function() {\n if (typeof runIfDevelopmentMode === 'function') {\n return runIfDevelopmentMode(maybeGatherAndSendStats);\n }\n};\n\nwindow.Vaadin = window.Vaadin || {};\nwindow.Vaadin.registrations = window.Vaadin.registrations || [];\n\nwindow.Vaadin.registrations.push({\n is: '@vaadin/router',\n version: '1.7.4',\n});\n\nusageStatistics();\n\nRouter.NavigationTrigger = {POPSTATE, CLICK};\n\nexport { Resolver, Router };\n//# sourceMappingURL=vaadin-router.js.map\n","export function toArray(objectOrArray) {\n objectOrArray = objectOrArray || [];\n return Array.isArray(objectOrArray) ? objectOrArray : [objectOrArray];\n}\n\nexport function log(msg) {\n return `[Vaadin.Router] ${msg}`;\n}\n\nexport function logValue(value) {\n if (typeof value !== 'object') {\n return String(value);\n }\n\n const stringType = Object.prototype.toString.call(value).match(/ (.*)\\]$/)[1];\n if (stringType === 'Object' || stringType === 'Array') {\n return `${stringType} ${JSON.stringify(value)}`;\n } else {\n return stringType;\n }\n}\n\nconst MODULE = 'module';\nconst NOMODULE = 'nomodule';\nconst bundleKeys = [MODULE, NOMODULE];\n\nfunction ensureBundle(src) {\n if (!src.match(/.+\\.[m]?js$/)) {\n throw new Error(\n log(`Unsupported type for bundle \"${src}\": .js or .mjs expected.`)\n );\n }\n}\n\nexport function ensureRoute(route) {\n if (!route || !isString(route.path)) {\n throw new Error(\n log(`Expected route config to be an object with a \"path\" string property, or an array of such objects`)\n );\n }\n\n const bundle = route.bundle;\n\n const stringKeys = ['component', 'redirect', 'bundle'];\n if (\n !isFunction(route.action) &&\n !Array.isArray(route.children) &&\n !isFunction(route.children) &&\n !isObject(bundle) &&\n !stringKeys.some(key => isString(route[key]))\n ) {\n throw new Error(\n log(\n `Expected route config \"${route.path}\" to include either \"${stringKeys.join('\", \"')}\" ` +\n `or \"action\" function but none found.`\n )\n );\n }\n\n if (bundle) {\n if (isString(bundle)) {\n ensureBundle(bundle);\n } else if (!bundleKeys.some(key => key in bundle)) {\n throw new Error(\n log('Expected route bundle to include either \"' + NOMODULE + '\" or \"' + MODULE + '\" keys, or both')\n );\n } else {\n bundleKeys.forEach(key => key in bundle && ensureBundle(bundle[key]));\n }\n }\n\n if (route.redirect) {\n ['bundle', 'component'].forEach(overriddenProp => {\n if (overriddenProp in route) {\n console.warn(\n log(\n `Route config \"${route.path}\" has both \"redirect\" and \"${overriddenProp}\" properties, ` +\n `and \"redirect\" will always override the latter. Did you mean to only use \"${overriddenProp}\"?`\n )\n );\n }\n });\n }\n}\n\nexport function ensureRoutes(routes) {\n toArray(routes).forEach(route => ensureRoute(route));\n}\n\nfunction loadScript(src, key) {\n let script = document.head.querySelector('script[src=\"' + src + '\"][async]');\n if (!script) {\n script = document.createElement('script');\n script.setAttribute('src', src);\n if (key === MODULE) {\n script.setAttribute('type', MODULE);\n } else if (key === NOMODULE) {\n script.setAttribute(NOMODULE, '');\n }\n script.async = true;\n }\n return new Promise((resolve, reject) => {\n script.onreadystatechange = script.onload = e => {\n script.__dynamicImportLoaded = true;\n resolve(e);\n };\n script.onerror = e => {\n if (script.parentNode) {\n script.parentNode.removeChild(script);\n }\n reject(e);\n };\n if (script.parentNode === null) {\n document.head.appendChild(script);\n } else if (script.__dynamicImportLoaded) {\n resolve();\n }\n });\n}\n\nexport function loadBundle(bundle) {\n if (isString(bundle)) {\n return loadScript(bundle);\n } else {\n return Promise.race(\n bundleKeys\n .filter(key => key in bundle)\n .map(key => loadScript(bundle[key], key))\n );\n }\n}\n\nexport function fireRouterEvent(type, detail) {\n return !window.dispatchEvent(new CustomEvent(\n `vaadin-router-${type}`,\n {cancelable: type === 'go', detail}\n ));\n}\n\nexport function isObject(o) {\n // guard against null passing the typeof check\n return typeof o === 'object' && !!o;\n}\n\nexport function isFunction(f) {\n return typeof f === 'function';\n}\n\nexport function isString(s) {\n return typeof s === 'string';\n}\n\nexport function getNotFoundError(context) {\n const error = new Error(log(`Page not found (${context.pathname})`));\n error.context = context;\n error.code = 404;\n return error;\n}\n\nexport const notFoundResult = new (class NotFoundResult {})();\n","import {fireRouterEvent} from '../utils.js';\n\n/* istanbul ignore next: coverage is calculated in Chrome, this code is for IE */\nfunction getAnchorOrigin(anchor) {\n // IE11: on HTTP and HTTPS the default port is not included into\n // window.location.origin, so won't include it here either.\n const port = anchor.port;\n const protocol = anchor.protocol;\n const defaultHttp = protocol === 'http:' && port === '80';\n const defaultHttps = protocol === 'https:' && port === '443';\n const host = (defaultHttp || defaultHttps)\n ? anchor.hostname // does not include the port number (e.g. www.example.org)\n : anchor.host; // does include the port number (e.g. www.example.org:80)\n return `${protocol}//${host}`;\n}\n\n// The list of checks is not complete:\n// - SVG support is missing\n// - the 'rel' attribute is not considered\nfunction vaadinRouterGlobalClickHandler(event) {\n // ignore the click if the default action is prevented\n if (event.defaultPrevented) {\n return;\n }\n\n // ignore the click if not with the primary mouse button\n if (event.button !== 0) {\n return;\n }\n\n // ignore the click if a modifier key is pressed\n if (event.shiftKey || event.ctrlKey || event.altKey || event.metaKey) {\n return;\n }\n\n // find the element that the click is at (or within)\n let anchor = event.target;\n const path = event.composedPath\n ? event.composedPath()\n : (event.path || []);\n\n // FIXME(web-padawan): `Symbol.iterator` used by webcomponentsjs is broken for arrays\n // example to check: `for...of` loop here throws the \"Not yet implemented\" error\n for (let i = 0; i < path.length; i++) {\n const target = path[i];\n if (target.nodeName && target.nodeName.toLowerCase() === 'a') {\n anchor = target;\n break;\n }\n }\n\n while (anchor && anchor.nodeName.toLowerCase() !== 'a') {\n anchor = anchor.parentNode;\n }\n\n // ignore the click if not at an element\n if (!anchor || anchor.nodeName.toLowerCase() !== 'a') {\n return;\n }\n\n // ignore the click if the element has a non-default target\n if (anchor.target && anchor.target.toLowerCase() !== '_self') {\n return;\n }\n\n // ignore the click if the element has the 'download' attribute\n if (anchor.hasAttribute('download')) {\n return;\n }\n\n // ignore the click if the element has the 'router-ignore' attribute\n if (anchor.hasAttribute('router-ignore')) {\n return;\n }\n\n // ignore the click if the target URL is a fragment on the current page\n if (anchor.pathname === window.location.pathname && anchor.hash !== '') {\n return;\n }\n\n // ignore the click if the target is external to the app\n // In IE11 HTMLAnchorElement does not have the `origin` property\n const origin = anchor.origin || getAnchorOrigin(anchor);\n if (origin !== window.location.origin) {\n return;\n }\n\n // if none of the above, convert the click into a navigation event\n const {pathname, search, hash} = anchor;\n if (fireRouterEvent('go', {pathname, search, hash})) {\n event.preventDefault();\n // for a click event, the scroll is reset to the top position.\n if (event && event.type === 'click') {\n window.scrollTo(0, 0);\n }\n }\n}\n\n/**\n * A navigation trigger for Vaadin Router that translated clicks on `` links\n * into Vaadin Router navigation events.\n *\n * Only regular clicks on in-app links are translated (primary mouse button, no\n * modifier keys, the target href is within the app's URL space).\n *\n * @memberOf Router.NavigationTrigger\n * @type {NavigationTrigger}\n */\nconst CLICK = {\n activate() {\n window.document.addEventListener('click', vaadinRouterGlobalClickHandler);\n },\n\n inactivate() {\n window.document.removeEventListener('click', vaadinRouterGlobalClickHandler);\n }\n};\n\nexport default CLICK;\n","import {fireRouterEvent, isFunction} from '../utils.js';\n\n// PopStateEvent constructor shim\nconst isIE = /Trident/.test(navigator.userAgent);\n\n/* istanbul ignore next: coverage is calculated in Chrome, this code is for IE */\nif (isIE && !isFunction(window.PopStateEvent)) {\n window.PopStateEvent = function(inType, params) {\n params = params || {};\n var e = document.createEvent('Event');\n e.initEvent(inType, Boolean(params.bubbles), Boolean(params.cancelable));\n e.state = params.state || null;\n return e;\n };\n window.PopStateEvent.prototype = window.Event.prototype;\n}\n\nfunction vaadinRouterGlobalPopstateHandler(event) {\n if (event.state === 'vaadin-router-ignore') {\n return;\n }\n const {pathname, search, hash} = window.location;\n fireRouterEvent('go', {pathname, search, hash});\n}\n\n/**\n * A navigation trigger for Vaadin Router that translates popstate events into\n * Vaadin Router navigation events.\n *\n * @memberOf Router.NavigationTrigger\n * @type {NavigationTrigger}\n */\nconst POPSTATE = {\n activate() {\n window.addEventListener('popstate', vaadinRouterGlobalPopstateHandler);\n },\n\n inactivate() {\n window.removeEventListener('popstate', vaadinRouterGlobalPopstateHandler);\n }\n};\n\nexport default POPSTATE;\n","/**\n * Expose `pathToRegexp`.\n */\nmodule.exports = pathToRegexp\nmodule.exports.parse = parse\nmodule.exports.compile = compile\nmodule.exports.tokensToFunction = tokensToFunction\nmodule.exports.tokensToRegExp = tokensToRegExp\n\n/**\n * Default configs.\n */\nvar DEFAULT_DELIMITER = '/'\nvar DEFAULT_DELIMITERS = './'\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n // Match escaped characters that would otherwise appear in future matches.\n // This allows the user to escape special characters that won't transform.\n '(\\\\\\\\.)',\n // Match Express-style parameters and un-named parameters with a prefix\n // and optional suffixes. Matches appear as:\n //\n // \":test(\\\\d+)?\" => [\"test\", \"\\d+\", undefined, \"?\"]\n // \"(\\\\d+)\" => [undefined, undefined, \"\\d+\", undefined]\n '(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))?|\\\\(((?:\\\\\\\\.|[^\\\\\\\\()])+)\\\\))([+*?])?'\n].join('|'), 'g')\n\n/**\n * Parse a string for the raw tokens.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!Array}\n */\nfunction parse (str, options) {\n var tokens = []\n var key = 0\n var index = 0\n var path = ''\n var defaultDelimiter = (options && options.delimiter) || DEFAULT_DELIMITER\n var delimiters = (options && options.delimiters) || DEFAULT_DELIMITERS\n var pathEscaped = false\n var res\n\n while ((res = PATH_REGEXP.exec(str)) !== null) {\n var m = res[0]\n var escaped = res[1]\n var offset = res.index\n path += str.slice(index, offset)\n index = offset + m.length\n\n // Ignore already escaped sequences.\n if (escaped) {\n path += escaped[1]\n pathEscaped = true\n continue\n }\n\n var prev = ''\n var next = str[index]\n var name = res[2]\n var capture = res[3]\n var group = res[4]\n var modifier = res[5]\n\n if (!pathEscaped && path.length) {\n var k = path.length - 1\n\n if (delimiters.indexOf(path[k]) > -1) {\n prev = path[k]\n path = path.slice(0, k)\n }\n }\n\n // Push the current path onto the tokens.\n if (path) {\n tokens.push(path)\n path = ''\n pathEscaped = false\n }\n\n var partial = prev !== '' && next !== undefined && next !== prev\n var repeat = modifier === '+' || modifier === '*'\n var optional = modifier === '?' || modifier === '*'\n var delimiter = prev || defaultDelimiter\n var pattern = capture || group\n\n tokens.push({\n name: name || key++,\n prefix: prev,\n delimiter: delimiter,\n optional: optional,\n repeat: repeat,\n partial: partial,\n pattern: pattern ? escapeGroup(pattern) : '[^' + escapeString(delimiter) + ']+?'\n })\n }\n\n // Push any remaining characters.\n if (path || index < str.length) {\n tokens.push(path + str.substr(index))\n }\n\n return tokens\n}\n\n/**\n * Compile a string to a template function for the path.\n *\n * @param {string} str\n * @param {Object=} options\n * @return {!function(Object=, Object=)}\n */\nfunction compile (str, options) {\n return tokensToFunction(parse(str, options))\n}\n\n/**\n * Expose a method for transforming tokens into the path function.\n */\nfunction tokensToFunction (tokens) {\n // Compile all the tokens into regexps.\n var matches = new Array(tokens.length)\n\n // Compile all the patterns before compilation.\n for (var i = 0; i < tokens.length; i++) {\n if (typeof tokens[i] === 'object') {\n matches[i] = new RegExp('^(?:' + tokens[i].pattern + ')$')\n }\n }\n\n return function (data, options) {\n var path = ''\n var encode = (options && options.encode) || encodeURIComponent\n\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i]\n\n if (typeof token === 'string') {\n path += token\n continue\n }\n\n var value = data ? data[token.name] : undefined\n var segment\n\n if (Array.isArray(value)) {\n if (!token.repeat) {\n throw new TypeError('Expected \"' + token.name + '\" to not repeat, but got array')\n }\n\n if (value.length === 0) {\n if (token.optional) continue\n\n throw new TypeError('Expected \"' + token.name + '\" to not be empty')\n }\n\n for (var j = 0; j < value.length; j++) {\n segment = encode(value[j], token)\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected all \"' + token.name + '\" to match \"' + token.pattern + '\"')\n }\n\n path += (j === 0 ? token.prefix : token.delimiter) + segment\n }\n\n continue\n }\n\n if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {\n segment = encode(String(value), token)\n\n if (!matches[i].test(segment)) {\n throw new TypeError('Expected \"' + token.name + '\" to match \"' + token.pattern + '\", but got \"' + segment + '\"')\n }\n\n path += token.prefix + segment\n continue\n }\n\n if (token.optional) {\n // Prepend partial segment prefixes.\n if (token.partial) path += token.prefix\n\n continue\n }\n\n throw new TypeError('Expected \"' + token.name + '\" to be ' + (token.repeat ? 'an array' : 'a string'))\n }\n\n return path\n }\n}\n\n/**\n * Escape a regular expression string.\n *\n * @param {string} str\n * @return {string}\n */\nfunction escapeString (str) {\n return str.replace(/([.+*?=^!:${}()[\\]|/\\\\])/g, '\\\\$1')\n}\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param {string} group\n * @return {string}\n */\nfunction escapeGroup (group) {\n return group.replace(/([=!:$/()])/g, '\\\\$1')\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param {Object} options\n * @return {string}\n */\nfunction flags (options) {\n return options && options.sensitive ? '' : 'i'\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param {!RegExp} path\n * @param {Array=} keys\n * @return {!RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n if (!keys) return path\n\n // Use a negative lookahead to match only capturing groups.\n var groups = path.source.match(/\\((?!\\?)/g)\n\n if (groups) {\n for (var i = 0; i < groups.length; i++) {\n keys.push({\n name: i,\n prefix: null,\n delimiter: null,\n optional: false,\n repeat: false,\n partial: false,\n pattern: null\n })\n }\n }\n\n return path\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param {!Array} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n var parts = []\n\n for (var i = 0; i < path.length; i++) {\n parts.push(pathToRegexp(path[i], keys, options).source)\n }\n\n return new RegExp('(?:' + parts.join('|') + ')', flags(options))\n}\n\n/**\n * Create a path regexp from string input.\n *\n * @param {string} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction stringToRegexp (path, keys, options) {\n return tokensToRegExp(parse(path, options), keys, options)\n}\n\n/**\n * Expose a function for taking tokens and returning a RegExp.\n *\n * @param {!Array} tokens\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction tokensToRegExp (tokens, keys, options) {\n options = options || {}\n\n var strict = options.strict\n var start = options.start !== false\n var end = options.end !== false\n var delimiter = escapeString(options.delimiter || DEFAULT_DELIMITER)\n var delimiters = options.delimiters || DEFAULT_DELIMITERS\n var endsWith = [].concat(options.endsWith || []).map(escapeString).concat('$').join('|')\n var route = start ? '^' : ''\n var isEndDelimited = tokens.length === 0\n\n // Iterate over the tokens and create our regexp string.\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i]\n\n if (typeof token === 'string') {\n route += escapeString(token)\n isEndDelimited = i === tokens.length - 1 && delimiters.indexOf(token[token.length - 1]) > -1\n } else {\n var capture = token.repeat\n ? '(?:' + token.pattern + ')(?:' + escapeString(token.delimiter) + '(?:' + token.pattern + '))*'\n : token.pattern\n\n if (keys) keys.push(token)\n\n if (token.optional) {\n if (token.partial) {\n route += escapeString(token.prefix) + '(' + capture + ')?'\n } else {\n route += '(?:' + escapeString(token.prefix) + '(' + capture + '))?'\n }\n } else {\n route += escapeString(token.prefix) + '(' + capture + ')'\n }\n }\n }\n\n if (end) {\n if (!strict) route += '(?:' + delimiter + ')?'\n\n route += endsWith === '$' ? '$' : '(?=' + endsWith + ')'\n } else {\n if (!strict) route += '(?:' + delimiter + '(?=' + endsWith + '))?'\n if (!isEndDelimited) route += '(?=' + delimiter + '|' + endsWith + ')'\n }\n\n return new RegExp(route, flags(options))\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param {(string|RegExp|Array)} path\n * @param {Array=} keys\n * @param {Object=} options\n * @return {!RegExp}\n */\nfunction pathToRegexp (path, keys, options) {\n if (path instanceof RegExp) {\n return regexpToRegexp(path, keys)\n }\n\n if (Array.isArray(path)) {\n return arrayToRegexp(/** @type {!Array} */ (path), keys, options)\n }\n\n return stringToRegexp(/** @type {string} */ (path), keys, options)\n}\n","/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nimport pathToRegexp from './path-to-regexp.js';\n\nconst {hasOwnProperty} = Object.prototype;\nconst cache = new Map();\n// see https://github.com/pillarjs/path-to-regexp/issues/148\ncache.set('|false', {\n keys: [],\n pattern: /(?:)/\n});\n\nfunction decodeParam(val) {\n try {\n return decodeURIComponent(val);\n } catch (err) {\n return val;\n }\n}\n\nfunction matchPath(routepath, path, exact, parentKeys, parentParams) {\n exact = !!exact;\n const cacheKey = `${routepath}|${exact}`;\n let regexp = cache.get(cacheKey);\n\n if (!regexp) {\n const keys = [];\n regexp = {\n keys,\n pattern: pathToRegexp(routepath, keys, {\n end: exact,\n strict: routepath === ''\n }),\n };\n cache.set(cacheKey, regexp);\n }\n\n const m = regexp.pattern.exec(path);\n if (!m) {\n return null;\n }\n\n const params = Object.assign({}, parentParams);\n\n for (let i = 1; i < m.length; i++) {\n const key = regexp.keys[i - 1];\n const prop = key.name;\n const value = m[i];\n if (value !== undefined || !hasOwnProperty.call(params, prop)) {\n if (key.repeat) {\n params[prop] = value ? value.split(key.delimiter).map(decodeParam) : [];\n } else {\n params[prop] = value ? decodeParam(value) : value;\n }\n }\n }\n\n return {\n path: m[0],\n keys: (parentKeys || []).concat(regexp.keys),\n params,\n };\n}\n\nexport default matchPath;\n","/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nimport matchPath from './matchPath.js';\n\n/**\n * Traverses the routes tree and matches its nodes to the given pathname from\n * the root down to the leaves. Each match consumes a part of the pathname and\n * the matching process continues for as long as there is a matching child\n * route for the remaining part of the pathname.\n *\n * The returned value is a lazily evaluated iterator.\n *\n * The leading \"/\" in a route path matters only for the root of the routes\n * tree (or if all parent routes are \"\"). In all other cases a leading \"/\" in\n * a child route path has no significance.\n *\n * The trailing \"/\" in a _route path_ matters only for the leaves of the\n * routes tree. A leaf route with a trailing \"/\" matches only a pathname that\n * also has a trailing \"/\".\n *\n * The trailing \"/\" in a route path does not affect matching of child routes\n * in any way.\n *\n * The trailing \"/\" in a _pathname_ generally does not matter (except for\n * the case of leaf nodes described above).\n *\n * The \"\" and \"/\" routes have special treatment:\n * 1. as a single route\n * the \"\" and \"/\" routes match only the \"\" and \"/\" pathnames respectively\n * 2. as a parent in the routes tree\n * the \"\" route matches any pathname without consuming any part of it\n * the \"/\" route matches any absolute pathname consuming its leading \"/\"\n * 3. as a leaf in the routes tree\n * the \"\" and \"/\" routes match only if the entire pathname is consumed by\n * the parent routes chain. In this case \"\" and \"/\" are equivalent.\n * 4. several directly nested \"\" or \"/\" routes\n * - directly nested \"\" or \"/\" routes are 'squashed' (i.e. nesting two\n * \"/\" routes does not require a double \"/\" in the pathname to match)\n * - if there are only \"\" in the parent routes chain, no part of the\n * pathname is consumed, and the leading \"/\" in the child routes' paths\n * remains significant\n *\n * Side effect:\n * - the routes tree { path: '' } matches only the '' pathname\n * - the routes tree { path: '', children: [ { path: '' } ] } matches any\n * pathname (for the tree root)\n *\n * Prefix matching can be enabled also by `children: true`.\n */\nfunction matchRoute(route, pathname, ignoreLeadingSlash, parentKeys, parentParams) {\n let match;\n let childMatches;\n let childIndex = 0;\n let routepath = route.path || '';\n if (routepath.charAt(0) === '/') {\n if (ignoreLeadingSlash) {\n routepath = routepath.substr(1);\n }\n ignoreLeadingSlash = true;\n }\n\n return {\n next(routeToSkip) {\n if (route === routeToSkip) {\n return {done: true};\n }\n\n const children = route.__children = route.__children || route.children;\n\n if (!match) {\n match = matchPath(routepath, pathname, !children, parentKeys, parentParams);\n\n if (match) {\n return {\n done: false,\n value: {\n route,\n keys: match.keys,\n params: match.params,\n path: match.path\n },\n };\n }\n }\n\n if (match && children) {\n while (childIndex < children.length) {\n if (!childMatches) {\n const childRoute = children[childIndex];\n childRoute.parent = route;\n\n let matchedLength = match.path.length;\n if (matchedLength > 0 && pathname.charAt(matchedLength) === '/') {\n matchedLength += 1;\n }\n\n childMatches = matchRoute(\n childRoute,\n pathname.substr(matchedLength),\n ignoreLeadingSlash,\n match.keys,\n match.params\n );\n }\n\n const childMatch = childMatches.next(routeToSkip);\n if (!childMatch.done) {\n return {\n done: false,\n value: childMatch.value,\n };\n }\n\n childMatches = null;\n childIndex++;\n }\n }\n\n return {done: true};\n },\n };\n}\n\nexport default matchRoute;\n","/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nimport {isFunction} from '../utils.js';\n\nfunction resolveRoute(context) {\n if (isFunction(context.route.action)) {\n return context.route.action(context);\n }\n return undefined;\n}\n\nexport default resolveRoute;\n","/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nimport pathToRegexp from './path-to-regexp.js';\nimport matchRoute from './matchRoute.js';\nimport resolveRoute from './resolveRoute.js';\nimport {toArray, ensureRoutes, isString, getNotFoundError, notFoundResult} from '../utils.js';\n\nfunction isChildRoute(parentRoute, childRoute) {\n let route = childRoute;\n while (route) {\n route = route.parent;\n if (route === parentRoute) {\n return true;\n }\n }\n return false;\n}\n\nfunction generateErrorMessage(currentContext) {\n let errorMessage = `Path '${currentContext.pathname}' is not properly resolved due to an error.`;\n const routePath = (currentContext.route || {}).path;\n if (routePath) {\n errorMessage += ` Resolution had failed on route: '${routePath}'`;\n }\n return errorMessage;\n}\n\nfunction updateChainForRoute(context, match) {\n const {route, path} = match;\n\n if (route && !route.__synthetic) {\n const item = {path, route};\n if (!context.chain) {\n context.chain = [];\n } else {\n // Discard old items\n if (route.parent) {\n let i = context.chain.length;\n while (i-- && context.chain[i].route && context.chain[i].route !== route.parent) {\n context.chain.pop();\n }\n }\n }\n context.chain.push(item);\n }\n}\n\n/**\n */\nclass Resolver {\n constructor(routes, options = {}) {\n if (Object(routes) !== routes) {\n throw new TypeError('Invalid routes');\n }\n\n this.baseUrl = options.baseUrl || '';\n this.errorHandler = options.errorHandler;\n this.resolveRoute = options.resolveRoute || resolveRoute;\n this.context = Object.assign({resolver: this}, options.context);\n this.root = Array.isArray(routes) ? {path: '', __children: routes, parent: null, __synthetic: true} : routes;\n this.root.parent = null;\n }\n\n /**\n * Returns the current list of routes (as a shallow copy). Adding / removing\n * routes to / from the returned array does not affect the routing config,\n * but modifying the route objects does.\n *\n * @return {!Array}\n */\n getRoutes() {\n return [...this.root.__children];\n }\n\n /**\n * Sets the routing config (replacing the existing one).\n *\n * @param {!Array|!Router.Route} routes a single route or an array of those\n * (the array is shallow copied)\n */\n setRoutes(routes) {\n ensureRoutes(routes);\n const newRoutes = [...toArray(routes)];\n this.root.__children = newRoutes;\n }\n\n /**\n * Appends one or several routes to the routing config and returns the\n * effective routing config after the operation.\n *\n * @param {!Array|!Router.Route} routes a single route or an array of those\n * (the array is shallow copied)\n * @return {!Array}\n * @protected\n */\n addRoutes(routes) {\n ensureRoutes(routes);\n this.root.__children.push(...toArray(routes));\n return this.getRoutes();\n }\n\n /**\n * Removes all existing routes from the routing config.\n */\n removeRoutes() {\n this.setRoutes([]);\n }\n\n /**\n * Asynchronously resolves the given pathname, i.e. finds all routes matching\n * the pathname and tries resolving them one after another in the order they\n * are listed in the routes config until the first non-null result.\n *\n * Returns a promise that is fulfilled with the return value of an object that consists of the first\n * route handler result that returns something other than `null` or `undefined` and context used to get this result.\n *\n * If no route handlers return a non-null result, or if no route matches the\n * given pathname the returned promise is rejected with a 'page not found'\n * `Error`.\n *\n * @param {!string|!{pathname: !string}} pathnameOrContext the pathname to\n * resolve or a context object with a `pathname` property and other\n * properties to pass to the route resolver functions.\n * @return {!Promise}\n */\n resolve(pathnameOrContext) {\n const context = Object.assign(\n {},\n this.context,\n isString(pathnameOrContext) ? {pathname: pathnameOrContext} : pathnameOrContext\n );\n const match = matchRoute(\n this.root,\n this.__normalizePathname(context.pathname),\n this.baseUrl\n );\n const resolve = this.resolveRoute;\n let matches = null;\n let nextMatches = null;\n let currentContext = context;\n\n function next(resume, parent = matches.value.route, prevResult) {\n const routeToSkip = prevResult === null && matches.value.route;\n matches = nextMatches || match.next(routeToSkip);\n nextMatches = null;\n\n if (!resume) {\n if (matches.done || !isChildRoute(parent, matches.value.route)) {\n nextMatches = matches;\n return Promise.resolve(notFoundResult);\n }\n }\n\n if (matches.done) {\n return Promise.reject(getNotFoundError(context));\n }\n\n currentContext = Object.assign(\n currentContext\n ? {chain: (currentContext.chain ? currentContext.chain.slice(0) : [])}\n : {},\n context,\n matches.value\n );\n updateChainForRoute(currentContext, matches.value);\n\n return Promise.resolve(resolve(currentContext)).then(resolution => {\n if (resolution !== null && resolution !== undefined && resolution !== notFoundResult) {\n currentContext.result = resolution.result || resolution;\n return currentContext;\n }\n return next(resume, parent, resolution);\n });\n }\n\n context.next = next;\n\n return Promise.resolve()\n .then(() => next(true, this.root))\n .catch((error) => {\n const errorMessage = generateErrorMessage(currentContext);\n if (!error) {\n error = new Error(errorMessage);\n } else {\n console.warn(errorMessage);\n }\n error.context = error.context || currentContext;\n // DOMException has its own code which is read-only\n if (!(error instanceof DOMException)) {\n error.code = error.code || 500;\n }\n if (this.errorHandler) {\n currentContext.result = this.errorHandler(error);\n return currentContext;\n }\n throw error;\n });\n }\n\n /**\n * URL constructor polyfill hook. Creates and returns an URL instance.\n */\n static __createUrl(url, base) {\n return new URL(url, base);\n }\n\n /**\n * If the baseUrl property is set, transforms the baseUrl and returns the full\n * actual `base` string for using in the `new URL(path, base);` and for\n * prepernding the paths with. The returned base ends with a trailing slash.\n *\n * Otherwise, returns empty string.\n */\n get __effectiveBaseUrl() {\n return this.baseUrl\n ? this.constructor.__createUrl(\n this.baseUrl,\n document.baseURI || document.URL\n ).href.replace(/[^\\/]*$/, '')\n : '';\n }\n\n /**\n * If the baseUrl is set, matches the pathname with the router’s baseUrl,\n * and returns the local pathname with the baseUrl stripped out.\n *\n * If the pathname does not match the baseUrl, returns undefined.\n *\n * If the `baseUrl` is not set, returns the unmodified pathname argument.\n */\n __normalizePathname(pathname) {\n if (!this.baseUrl) {\n // No base URL, no need to transform the pathname.\n return pathname;\n }\n\n const base = this.__effectiveBaseUrl;\n const normalizedUrl = this.constructor.__createUrl(pathname, base).href;\n if (normalizedUrl.slice(0, base.length) === base) {\n return normalizedUrl.slice(base.length);\n }\n }\n}\n\nResolver.pathToRegexp = pathToRegexp;\n\nexport default Resolver;\n","/**\n * Universal Router (https://www.kriasoft.com/universal-router/)\n *\n * Copyright (c) 2015-present Kriasoft.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.txt file in the root directory of this source tree.\n */\n\nimport Resolver from './resolver.js';\nimport {isString} from '../utils.js';\n\nconst {pathToRegexp} = Resolver;\nconst cache = new Map();\n\nfunction cacheRoutes(routesByName, route, routes) {\n const name = route.name || route.component;\n if (name) {\n if (routesByName.has(name)) {\n routesByName.get(name).push(route);\n } else {\n routesByName.set(name, [route]);\n }\n }\n\n if (Array.isArray(routes)) {\n for (let i = 0; i < routes.length; i++) {\n const childRoute = routes[i];\n childRoute.parent = route;\n cacheRoutes(routesByName, childRoute, childRoute.__children || childRoute.children);\n }\n }\n}\n\nfunction getRouteByName(routesByName, routeName) {\n const routes = routesByName.get(routeName);\n if (routes && routes.length > 1) {\n throw new Error(\n `Duplicate route with name \"${routeName}\".`\n + ` Try seting unique 'name' route properties.`\n );\n }\n return routes && routes[0];\n}\n\nfunction getRoutePath(route) {\n let path = route.path;\n path = Array.isArray(path) ? path[0] : path;\n return path !== undefined ? path : '';\n}\n\nfunction generateUrls(router, options = {}) {\n if (!(router instanceof Resolver)) {\n throw new TypeError('An instance of Resolver is expected');\n }\n\n const routesByName = new Map();\n\n return (routeName, params) => {\n let route = getRouteByName(routesByName, routeName);\n if (!route) {\n routesByName.clear(); // clear cache\n cacheRoutes(routesByName, router.root, router.root.__children);\n\n route = getRouteByName(routesByName, routeName);\n if (!route) {\n throw new Error(`Route \"${routeName}\" not found`);\n }\n }\n\n let regexp = cache.get(route.fullPath);\n if (!regexp) {\n let fullPath = getRoutePath(route);\n let rt = route.parent;\n while (rt) {\n const path = getRoutePath(rt);\n if (path) {\n fullPath = path.replace(/\\/$/, '') + '/' + fullPath.replace(/^\\//, '');\n }\n rt = rt.parent;\n }\n const tokens = pathToRegexp.parse(fullPath);\n const toPath = pathToRegexp.tokensToFunction(tokens);\n const keys = Object.create(null);\n for (let i = 0; i < tokens.length; i++) {\n if (!isString(tokens[i])) {\n keys[tokens[i].name] = true;\n }\n }\n regexp = {toPath, keys};\n cache.set(fullPath, regexp);\n route.fullPath = fullPath;\n }\n\n let url = regexp.toPath(params, options) || '/';\n\n if (options.stringifyQueryParams && params) {\n const queryParams = {};\n const keys = Object.keys(params);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (!regexp.keys[key]) {\n queryParams[key] = params[key];\n }\n }\n const query = options.stringifyQueryParams(queryParams);\n if (query) {\n url += query.charAt(0) === '?' ? query : `?${query}`;\n }\n }\n\n return url;\n };\n}\n\nexport default generateUrls;\n","/**\n * @typedef NavigationTrigger\n * @type {object}\n * @property {function()} activate\n * @property {function()} inactivate\n */\n\n/** @type {Array} */\nlet triggers = [];\n\nexport default function setNavigationTriggers(newTriggers) {\n triggers.forEach(trigger => trigger.inactivate());\n\n newTriggers.forEach(trigger => trigger.activate());\n\n triggers = newTriggers;\n}\n","const willAnimate = elem => {\n const name = getComputedStyle(elem).getPropertyValue('animation-name');\n return name && name !== 'none';\n};\n\nconst waitForAnimation = (elem, cb) => {\n const listener = () => {\n elem.removeEventListener('animationend', listener);\n cb();\n };\n elem.addEventListener('animationend', listener);\n};\n\nfunction animate(elem, className) {\n elem.classList.add(className);\n\n return new Promise(resolve => {\n if (willAnimate(elem)) {\n const rect = elem.getBoundingClientRect();\n const size = `height: ${rect.bottom - rect.top}px; width: ${rect.right - rect.left}px`;\n elem.setAttribute('style', `position: absolute; ${size}`);\n waitForAnimation(elem, () => {\n elem.classList.remove(className);\n elem.removeAttribute('style');\n resolve();\n });\n } else {\n elem.classList.remove(className);\n resolve();\n }\n });\n}\n\nexport default animate;\n","import Resolver from './resolver/resolver.js';\nimport generateUrls from './resolver/generateUrls.js';\nimport setNavigationTriggers from './triggers/setNavigationTriggers.js';\nimport animate from './transitions/animate.js';\nimport {\n ensureRoute,\n fireRouterEvent,\n loadBundle,\n log,\n logValue,\n toArray,\n isFunction,\n isString,\n isObject,\n getNotFoundError,\n notFoundResult\n} from './utils.js';\n\nconst MAX_REDIRECT_COUNT = 256;\n\nfunction isResultNotEmpty(result) {\n return result !== null && result !== undefined;\n}\n\nfunction copyContextWithoutNext(context) {\n const copy = Object.assign({}, context);\n delete copy.next;\n return copy;\n}\n\nfunction createLocation({pathname = '', search = '', hash = '', chain = [], params = {}, redirectFrom, resolver}, route) {\n const routes = chain.map(item => item.route);\n return {\n baseUrl: resolver && resolver.baseUrl || '',\n pathname,\n search,\n hash,\n routes,\n route: route || routes.length && routes[routes.length - 1] || null,\n params,\n redirectFrom,\n getUrl: (userParams = {}) => getPathnameForRouter(\n Router.pathToRegexp.compile(\n getMatchedPath(routes)\n )(Object.assign({}, params, userParams)),\n resolver\n )\n };\n}\n\nfunction createRedirect(context, pathname) {\n const params = Object.assign({}, context.params);\n return {\n redirect: {\n pathname,\n from: context.pathname,\n params\n }\n };\n}\n\nfunction renderElement(context, element) {\n element.location = createLocation(context);\n const index = context.chain.map(item => item.route).indexOf(context.route);\n context.chain[index].element = element;\n return element;\n}\n\nfunction runCallbackIfPossible(callback, args, thisArg) {\n if (isFunction(callback)) {\n return callback.apply(thisArg, args);\n }\n}\n\nfunction amend(amendmentFunction, args, element) {\n return amendmentResult => {\n if (amendmentResult && (amendmentResult.cancel || amendmentResult.redirect)) {\n return amendmentResult;\n }\n\n if (element) {\n return runCallbackIfPossible(element[amendmentFunction], args, element);\n }\n };\n}\n\nfunction processNewChildren(newChildren, route) {\n if (!Array.isArray(newChildren) && !isObject(newChildren)) {\n throw new Error(\n log(\n `Incorrect \"children\" value for the route ${route.path}: expected array or object, but got ${newChildren}`\n )\n );\n }\n\n route.__children = [];\n const childRoutes = toArray(newChildren);\n for (let i = 0; i < childRoutes.length; i++) {\n ensureRoute(childRoutes[i]);\n route.__children.push(childRoutes[i]);\n }\n}\n\nfunction removeDomNodes(nodes) {\n if (nodes && nodes.length) {\n const parent = nodes[0].parentNode;\n for (let i = 0; i < nodes.length; i++) {\n parent.removeChild(nodes[i]);\n }\n }\n}\n\nfunction getPathnameForRouter(pathname, router) {\n const base = router.__effectiveBaseUrl;\n return base\n ? router.constructor.__createUrl(pathname.replace(/^\\//, ''), base).pathname\n : pathname;\n}\n\nfunction getMatchedPath(chain) {\n return chain.map(item => item.path).reduce((a, b) => {\n if (b.length) {\n return a.replace(/\\/$/, '') + '/' + b.replace(/^\\//, '');\n }\n return a;\n }, '');\n}\n\n/**\n * A simple client-side router for single-page applications. It uses\n * express-style middleware and has a first-class support for Web Components and\n * lazy-loading. Works great in Polymer and non-Polymer apps.\n *\n * Use `new Router(outlet, options)` to create a new Router instance.\n *\n * * The `outlet` parameter is a reference to the DOM node to render\n * the content into.\n *\n * * The `options` parameter is an optional object with options. The following\n * keys are supported:\n * * `baseUrl` — the initial value for [\n * the `baseUrl` property\n * ](#/classes/Router#property-baseUrl)\n *\n * The Router instance is automatically subscribed to navigation events\n * on `window`.\n *\n * See [Live Examples](#/classes/Router/demos/demo/index.html) for the detailed usage demo and code snippets.\n *\n * See also detailed API docs for the following methods, for the advanced usage:\n *\n * * [setOutlet](#/classes/Router#method-setOutlet) – should be used to configure the outlet.\n * * [setTriggers](#/classes/Router#method-setTriggers) – should be used to configure the navigation events.\n * * [setRoutes](#/classes/Router#method-setRoutes) – should be used to configure the routes.\n *\n * Only `setRoutes` has to be called manually, others are automatically invoked when creating a new instance.\n *\n * @extends Resolver\n * @demo demo/index.html\n * @summary JavaScript class that renders different DOM content depending on\n * a given path. It can re-render when triggered or automatically on\n * 'popstate' and / or 'click' events.\n */\nexport class Router extends Resolver {\n\n /**\n * Creates a new Router instance with a given outlet, and\n * automatically subscribes it to navigation events on the `window`.\n * Using a constructor argument or a setter for outlet is equivalent:\n *\n * ```\n * const router = new Router();\n * router.setOutlet(outlet);\n * ```\n * @param {?Node=} outlet\n * @param {?RouterOptions=} options\n */\n constructor(outlet, options) {\n const baseElement = document.head.querySelector('base');\n const baseHref = baseElement && baseElement.getAttribute('href');\n super([], Object.assign({\n // Default options\n baseUrl: baseHref && Resolver.__createUrl(baseHref, document.URL).pathname.replace(/[^\\/]*$/, '')\n }, options));\n\n this.resolveRoute = context => this.__resolveRoute(context);\n\n const triggers = Router.NavigationTrigger;\n Router.setTriggers.apply(Router, Object.keys(triggers).map(key => triggers[key]));\n\n /**\n * The base URL for all routes in the router instance. By default,\n * if the base element exists in the ``, vaadin-router\n * takes the `` attribute value, resolves against current `document.URL`\n * and gets the `pathname` from the result.\n *\n * @public\n * @type {string}\n */\n this.baseUrl;\n\n /**\n * A promise that is settled after the current render cycle completes. If\n * there is no render cycle in progress the promise is immediately settled\n * with the last render cycle result.\n *\n * @public\n * @type {!Promise}\n */\n this.ready;\n this.ready = Promise.resolve(outlet);\n\n /**\n * Contains read-only information about the current router location:\n * pathname, active routes, parameters. See the\n * [Location type declaration](#/classes/RouterLocation)\n * for more details.\n *\n * @public\n * @type {!RouterLocation}\n */\n this.location;\n this.location = createLocation({resolver: this});\n\n this.__lastStartedRenderId = 0;\n this.__navigationEventHandler = this.__onNavigationEvent.bind(this);\n this.setOutlet(outlet);\n this.subscribe();\n // Using WeakMap instead of WeakSet because WeakSet is not supported by IE11\n this.__createdByRouter = new WeakMap();\n this.__addedByRouter = new WeakMap();\n }\n\n __resolveRoute(context) {\n const route = context.route;\n\n let callbacks = Promise.resolve();\n\n if (isFunction(route.children)) {\n callbacks = callbacks\n .then(() => route.children(copyContextWithoutNext(context)))\n .then(children => {\n // The route.children() callback might have re-written the\n // route.children property instead of returning a value\n if (!isResultNotEmpty(children) && !isFunction(route.children)) {\n children = route.children;\n }\n processNewChildren(children, route);\n });\n }\n\n const commands = {\n redirect: path => createRedirect(context, path),\n component: (component) => {\n const element = document.createElement(component);\n this.__createdByRouter.set(element, true);\n return element;\n }\n };\n\n return callbacks\n .then(() => {\n if (this.__isLatestRender(context)) {\n return runCallbackIfPossible(route.action, [context, commands], route);\n }\n })\n .then(result => {\n if (isResultNotEmpty(result)) {\n // Actions like `() => import('my-view.js')` are not expected to\n // end the resolution, despite the result is not empty. Checking\n // the result with a whitelist of values that end the resolution.\n if (result instanceof HTMLElement ||\n result.redirect ||\n result === notFoundResult) {\n return result;\n }\n }\n\n if (isString(route.redirect)) {\n return commands.redirect(route.redirect);\n }\n\n if (route.bundle) {\n return loadBundle(route.bundle)\n .then(() => {}, () => {\n throw new Error(log(`Bundle not found: ${route.bundle}. Check if the file name is correct`));\n });\n }\n })\n .then(result => {\n if (isResultNotEmpty(result)) {\n return result;\n }\n if (isString(route.component)) {\n return commands.component(route.component);\n }\n });\n }\n\n /**\n * Sets the router outlet (the DOM node where the content for the current\n * route is inserted). Any content pre-existing in the router outlet is\n * removed at the end of each render pass.\n *\n * NOTE: this method is automatically invoked first time when creating a new Router instance.\n *\n * @param {?Node} outlet the DOM node where the content for the current route\n * is inserted.\n */\n setOutlet(outlet) {\n if (outlet) {\n this.__ensureOutlet(outlet);\n }\n this.__outlet = outlet;\n }\n\n /**\n * Returns the current router outlet. The initial value is `undefined`.\n *\n * @return {?Node} the current router outlet (or `undefined`)\n */\n getOutlet() {\n return this.__outlet;\n }\n\n /**\n * Sets the routing config (replacing the existing one) and triggers a\n * navigation event so that the router outlet is refreshed according to the\n * current `window.location` and the new routing config.\n *\n * Each route object may have the following properties, listed here in the processing order:\n * * `path` – the route path (relative to the parent route if any) in the\n * [express.js syntax](https://expressjs.com/en/guide/routing.html#route-paths\").\n *\n * * `children` – an array of nested routes or a function that provides this\n * array at the render time. The function can be synchronous or asynchronous:\n * in the latter case the render is delayed until the returned promise is\n * resolved. The `children` function is executed every time when this route is\n * being rendered. This allows for dynamic route structures (e.g. backend-defined),\n * but it might have a performance impact as well. In order to avoid calling\n * the function on subsequent renders, you can override the `children` property\n * of the route object and save the calculated array there\n * (via `context.route.children = [ route1, route2, ...];`).\n * Parent routes are fully resolved before resolving the children. Children\n * 'path' values are relative to the parent ones.\n *\n * * `action` – the action that is executed before the route is resolved.\n * The value for this property should be a function, accepting `context`\n * and `commands` parameters described below. If present, this function is\n * always invoked first, disregarding of the other properties' presence.\n * The action can return a result directly or within a `Promise`, which\n * resolves to the result. If the action result is an `HTMLElement` instance,\n * a `commands.component(name)` result, a `commands.redirect(path)` result,\n * or a `context.next()` result, the current route resolution is finished,\n * and other route config properties are ignored.\n * See also **Route Actions** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `redirect` – other route's path to redirect to. Passes all route parameters to the redirect target.\n * The target route should also be defined.\n * See also **Redirects** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `bundle` – string containing the path to `.js` or `.mjs` bundle to load before resolving the route,\n * or the object with \"module\" and \"nomodule\" keys referring to different bundles.\n * Each bundle is only loaded once. If \"module\" and \"nomodule\" are set, only one bundle is loaded,\n * depending on whether the browser supports ES modules or not.\n * The property is ignored when either an `action` returns the result or `redirect` property is present.\n * Any error, e.g. 404 while loading bundle will cause route resolution to throw.\n * See also **Code Splitting** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * * `component` – the tag name of the Web Component to resolve the route to.\n * The property is ignored when either an `action` returns the result or `redirect` property is present.\n * If route contains the `component` property (or an action that return a component)\n * and its child route also contains the `component` property, child route's component\n * will be rendered as a light dom child of a parent component.\n *\n * * `name` – the string name of the route to use in the\n * [`router.urlForName(name, params)`](#/classes/Router#method-urlForName)\n * navigation helper method.\n *\n * For any route function (`action`, `children`) defined, the corresponding `route` object is available inside the callback\n * through the `this` reference. If you need to access it, make sure you define the callback as a non-arrow function\n * because arrow functions do not have their own `this` reference.\n *\n * `context` object that is passed to `action` function holds the following properties:\n * * `context.pathname` – string with the pathname being resolved\n *\n * * `context.search` – search query string\n *\n * * `context.hash` – hash string\n *\n * * `context.params` – object with route parameters\n *\n * * `context.route` – object that holds the route that is currently being rendered.\n *\n * * `context.next()` – function for asynchronously getting the next route\n * contents from the resolution chain (if any)\n *\n * `commands` object that is passed to `action` function has\n * the following methods:\n *\n * * `commands.redirect(path)` – function that creates a redirect data\n * for the path specified.\n *\n * * `commands.component(component)` – function that creates a new HTMLElement\n * with current context. Note: the component created by this function is reused if visiting the same path twice in row.\n *\n *\n * @param {!Array|!Route} routes a single route or an array of those\n * @param {?boolean} skipRender configure the router but skip rendering the\n * route corresponding to the current `window.location` values\n *\n * @return {!Promise}\n */\n setRoutes(routes, skipRender = false) {\n this.__previousContext = undefined;\n this.__urlForName = undefined;\n super.setRoutes(routes);\n if (!skipRender) {\n this.__onNavigationEvent();\n }\n return this.ready;\n }\n\n /**\n * Asynchronously resolves the given pathname and renders the resolved route\n * component into the router outlet. If no router outlet is set at the time of\n * calling this method, or at the time when the route resolution is completed,\n * a `TypeError` is thrown.\n *\n * Returns a promise that is fulfilled with the router outlet DOM Node after\n * the route component is created and inserted into the router outlet, or\n * rejected if no route matches the given path.\n *\n * If another render pass is started before the previous one is completed, the\n * result of the previous render pass is ignored.\n *\n * @param {!string|!{pathname: !string, search: ?string, hash: ?string}} pathnameOrContext\n * the pathname to render or a context object with a `pathname` property,\n * optional `search` and `hash` properties, and other properties\n * to pass to the resolver.\n * @param {boolean=} shouldUpdateHistory\n * update browser history with the rendered location\n * @return {!Promise}\n */\n render(pathnameOrContext, shouldUpdateHistory) {\n const renderId = ++this.__lastStartedRenderId;\n const context = Object.assign(\n {\n search: '',\n hash: ''\n },\n isString(pathnameOrContext)\n ? {pathname: pathnameOrContext}\n : pathnameOrContext,\n {\n __renderId: renderId\n }\n );\n\n // Find the first route that resolves to a non-empty result\n this.ready = this.resolve(context)\n\n // Process the result of this.resolve() and handle all special commands:\n // (redirect / prevent / component). If the result is a 'component',\n // then go deeper and build the entire chain of nested components matching\n // the pathname. Also call all 'on before' callbacks along the way.\n .then(context => this.__fullyResolveChain(context))\n\n .then(context => {\n if (this.__isLatestRender(context)) {\n const previousContext = this.__previousContext;\n\n // Check if the render was prevented and make an early return in that case\n if (context === previousContext) {\n // Replace the history with the previous context\n // to make sure the URL stays the same.\n this.__updateBrowserHistory(previousContext, true);\n return this.location;\n }\n\n this.location = createLocation(context);\n\n if (shouldUpdateHistory) {\n // Replace only if first render redirects, so that we don’t leave\n // the redirecting record in the history\n this.__updateBrowserHistory(context, renderId === 1);\n }\n\n fireRouterEvent('location-changed', {router: this, location: this.location});\n\n // Skip detaching/re-attaching there are no render changes\n if (context.__skipAttach) {\n this.__copyUnchangedElements(context, previousContext);\n this.__previousContext = context;\n return this.location;\n }\n\n this.__addAppearingContent(context, previousContext);\n const animationDone = this.__animateIfNeeded(context);\n\n this.__runOnAfterEnterCallbacks(context);\n this.__runOnAfterLeaveCallbacks(context, previousContext);\n\n return animationDone.then(() => {\n if (this.__isLatestRender(context)) {\n // If there is another render pass started after this one,\n // the 'disappearing content' would be removed when the other\n // render pass calls `this.__addAppearingContent()`\n this.__removeDisappearingContent();\n\n this.__previousContext = context;\n return this.location;\n }\n });\n }\n })\n .catch(error => {\n if (renderId === this.__lastStartedRenderId) {\n if (shouldUpdateHistory) {\n this.__updateBrowserHistory(context);\n }\n removeDomNodes(this.__outlet && this.__outlet.children);\n this.location = createLocation(Object.assign(context, {resolver: this}));\n fireRouterEvent('error', Object.assign({router: this, error}, context));\n throw error;\n }\n });\n return this.ready;\n }\n\n // `topOfTheChainContextBeforeRedirects` is a context coming from Resolver.resolve().\n // It would contain a 'redirect' route or the first 'component' route that\n // matched the pathname. There might be more child 'component' routes to be\n // resolved and added into the chain. This method would find and add them.\n // `contextBeforeRedirects` is the context containing such a child component\n // route. It's only necessary when this method is called recursively (otherwise\n // it's the same as the 'top of the chain' context).\n //\n // Apart from building the chain of child components, this method would also\n // handle 'redirect' routes, call 'onBefore' callbacks and handle 'prevent'\n // and 'redirect' callback results.\n __fullyResolveChain(topOfTheChainContextBeforeRedirects,\n contextBeforeRedirects = topOfTheChainContextBeforeRedirects) {\n return this.__findComponentContextAfterAllRedirects(contextBeforeRedirects)\n // `contextAfterRedirects` is always a context with an `HTMLElement` result\n // In other cases the promise gets rejected and .then() is not called\n .then(contextAfterRedirects => {\n const redirectsHappened = contextAfterRedirects !== contextBeforeRedirects;\n const topOfTheChainContextAfterRedirects =\n redirectsHappened ? contextAfterRedirects : topOfTheChainContextBeforeRedirects;\n\n const matchedPath = getPathnameForRouter(\n getMatchedPath(contextAfterRedirects.chain),\n contextAfterRedirects.resolver\n );\n const isFound = (matchedPath === contextAfterRedirects.pathname);\n\n // Recursive method to try matching more child and sibling routes\n const findNextContextIfAny = (context, parent = context.route, prevResult) => {\n return context.next(undefined, parent, prevResult).then(nextContext => {\n if (nextContext === null || nextContext === notFoundResult) {\n // Next context is not found in children, ...\n if (isFound) {\n // ...but original context is already fully matching - use it\n return context;\n } else if (parent.parent !== null) {\n // ...and there is no full match yet - step up to check siblings\n return findNextContextIfAny(context, parent.parent, nextContext);\n } else {\n return nextContext;\n }\n }\n\n return nextContext;\n });\n };\n\n return findNextContextIfAny(contextAfterRedirects).then(nextContext => {\n if (nextContext === null || nextContext === notFoundResult) {\n throw getNotFoundError(topOfTheChainContextAfterRedirects);\n }\n\n return nextContext\n && nextContext !== notFoundResult\n && nextContext !== contextAfterRedirects\n ? this.__fullyResolveChain(topOfTheChainContextAfterRedirects, nextContext)\n : this.__amendWithOnBeforeCallbacks(contextAfterRedirects);\n });\n });\n }\n\n __findComponentContextAfterAllRedirects(context) {\n const result = context.result;\n if (result instanceof HTMLElement) {\n renderElement(context, result);\n return Promise.resolve(context);\n } else if (result.redirect) {\n return this.__redirect(result.redirect, context.__redirectCount, context.__renderId)\n .then(context => this.__findComponentContextAfterAllRedirects(context));\n } else if (result instanceof Error) {\n return Promise.reject(result);\n } else {\n return Promise.reject(\n new Error(\n log(\n `Invalid route resolution result for path \"${context.pathname}\". ` +\n `Expected redirect object or HTML element, but got: \"${logValue(result)}\". ` +\n `Double check the action return value for the route.`\n )\n ));\n }\n }\n\n __amendWithOnBeforeCallbacks(contextWithFullChain) {\n return this.__runOnBeforeCallbacks(contextWithFullChain).then(amendedContext => {\n if (amendedContext === this.__previousContext || amendedContext === contextWithFullChain) {\n return amendedContext;\n }\n return this.__fullyResolveChain(amendedContext);\n });\n }\n\n __runOnBeforeCallbacks(newContext) {\n const previousContext = this.__previousContext || {};\n const previousChain = previousContext.chain || [];\n const newChain = newContext.chain;\n\n let callbacks = Promise.resolve();\n const prevent = () => ({cancel: true});\n const redirect = (pathname) => createRedirect(newContext, pathname);\n\n newContext.__divergedChainIndex = 0;\n newContext.__skipAttach = false;\n if (previousChain.length) {\n for (let i = 0; i < Math.min(previousChain.length, newChain.length); i = ++newContext.__divergedChainIndex) {\n if (previousChain[i].route !== newChain[i].route\n || previousChain[i].path !== newChain[i].path && previousChain[i].element !== newChain[i].element\n || !this.__isReusableElement(previousChain[i].element, newChain[i].element)) {\n break;\n }\n }\n\n // Skip re-attaching and notifications if element and chain do not change\n newContext.__skipAttach =\n // Same route chain\n newChain.length === previousChain.length && newContext.__divergedChainIndex == newChain.length &&\n // Same element\n this.__isReusableElement(newContext.result, previousContext.result);\n\n if (newContext.__skipAttach) {\n // execute onBeforeLeave for changed segment element when skipping attach\n for (let i = newChain.length - 1; i >= 0; i--) {\n callbacks = this.__runOnBeforeLeaveCallbacks(callbacks, newContext, {prevent}, previousChain[i]);\n }\n // execute onBeforeEnter for changed segment element when skipping attach\n for (let i = 0; i < newChain.length; i++) {\n callbacks = this.__runOnBeforeEnterCallbacks(callbacks, newContext, {prevent, redirect}, newChain[i]);\n previousChain[i].element.location = createLocation(newContext, previousChain[i].route);\n }\n\n } else {\n // execute onBeforeLeave when NOT skipping attach\n for (let i = previousChain.length - 1; i >= newContext.__divergedChainIndex; i--) {\n callbacks = this.__runOnBeforeLeaveCallbacks(callbacks, newContext, {prevent}, previousChain[i]);\n }\n }\n }\n // execute onBeforeEnter when NOT skipping attach\n if (!newContext.__skipAttach) {\n for (let i = 0; i < newChain.length; i++) {\n if (i < newContext.__divergedChainIndex) {\n if (i < previousChain.length && previousChain[i].element) {\n previousChain[i].element.location = createLocation(newContext, previousChain[i].route);\n }\n } else {\n callbacks = this.__runOnBeforeEnterCallbacks(callbacks, newContext, {prevent, redirect}, newChain[i]);\n if (newChain[i].element) {\n newChain[i].element.location = createLocation(newContext, newChain[i].route);\n }\n }\n }\n }\n return callbacks.then(amendmentResult => {\n if (amendmentResult) {\n if (amendmentResult.cancel) {\n this.__previousContext.__renderId = newContext.__renderId;\n return this.__previousContext;\n }\n if (amendmentResult.redirect) {\n return this.__redirect(amendmentResult.redirect, newContext.__redirectCount, newContext.__renderId);\n }\n }\n return newContext;\n });\n }\n\n __runOnBeforeLeaveCallbacks(callbacks, newContext, commands, chainElement) {\n const location = createLocation(newContext);\n return callbacks.then(result => {\n if (this.__isLatestRender(newContext)) {\n const afterLeaveFunction = amend('onBeforeLeave', [location, commands, this], chainElement.element);\n return afterLeaveFunction(result);\n }\n }).then(result => {\n if (!(result || {}).redirect) {\n return result;\n }\n });\n }\n\n __runOnBeforeEnterCallbacks(callbacks, newContext, commands, chainElement) {\n const location = createLocation(newContext, chainElement.route);\n return callbacks.then(result => {\n if (this.__isLatestRender(newContext)) {\n const beforeEnterFunction = amend('onBeforeEnter', [location, commands, this], chainElement.element);\n return beforeEnterFunction(result);\n }\n });\n }\n\n __isReusableElement(element, otherElement) {\n if (element && otherElement) {\n return this.__createdByRouter.get(element) && this.__createdByRouter.get(otherElement)\n ? element.localName === otherElement.localName\n : element === otherElement;\n }\n return false;\n }\n\n __isLatestRender(context) {\n return context.__renderId === this.__lastStartedRenderId;\n }\n\n __redirect(redirectData, counter, renderId) {\n if (counter > MAX_REDIRECT_COUNT) {\n throw new Error(log(`Too many redirects when rendering ${redirectData.from}`));\n }\n\n return this.resolve({\n pathname: this.urlForPath(\n redirectData.pathname,\n redirectData.params\n ),\n redirectFrom: redirectData.from,\n __redirectCount: (counter || 0) + 1,\n __renderId: renderId\n });\n }\n\n __ensureOutlet(outlet = this.__outlet) {\n if (!(outlet instanceof Node)) {\n throw new TypeError(log(`Expected router outlet to be a valid DOM Node (but got ${outlet})`));\n }\n }\n\n __updateBrowserHistory({pathname, search = '', hash = ''}, replace) {\n if (window.location.pathname !== pathname\n || window.location.search !== search\n || window.location.hash !== hash\n ) {\n const changeState = replace ? 'replaceState' : 'pushState';\n window.history[changeState](null, document.title, pathname + search + hash);\n window.dispatchEvent(new PopStateEvent('popstate', {state: 'vaadin-router-ignore'}));\n }\n }\n\n __copyUnchangedElements(context, previousContext) {\n // Find the deepest common parent between the last and the new component\n // chains. Update references for the unchanged elements in the new chain\n let deepestCommonParent = this.__outlet;\n for (let i = 0; i < context.__divergedChainIndex; i++) {\n const unchangedElement = previousContext && previousContext.chain[i].element;\n if (unchangedElement) {\n if (unchangedElement.parentNode === deepestCommonParent) {\n context.chain[i].element = unchangedElement;\n deepestCommonParent = unchangedElement;\n } else {\n break;\n }\n }\n }\n return deepestCommonParent;\n }\n\n __addAppearingContent(context, previousContext) {\n this.__ensureOutlet();\n\n // If the previous 'entering' animation has not completed yet,\n // stop it and remove that content from the DOM before adding new one.\n this.__removeAppearingContent();\n\n // Copy reusable elements from the previousContext to current\n const deepestCommonParent = this.__copyUnchangedElements(context, previousContext);\n\n // Keep two lists of DOM elements:\n // - those that should be removed once the transition animation is over\n // - and those that should remain\n this.__appearingContent = [];\n this.__disappearingContent = Array\n .from(deepestCommonParent.children)\n .filter(\n // Only remove layout content that was added by router\n e => this.__addedByRouter.get(e) &&\n // Do not remove the result element to avoid flickering\n e !== context.result);\n\n // Add new elements (starting after the deepest common parent) to the DOM.\n // That way only the components that are actually different between the two\n // locations are added to the DOM (and those that are common remain in the\n // DOM without first removing and then adding them again).\n let parentElement = deepestCommonParent;\n for (let i = context.__divergedChainIndex; i < context.chain.length; i++) {\n const elementToAdd = context.chain[i].element;\n if (elementToAdd) {\n parentElement.appendChild(elementToAdd);\n this.__addedByRouter.set(elementToAdd, true);\n if (parentElement === deepestCommonParent) {\n this.__appearingContent.push(elementToAdd);\n }\n parentElement = elementToAdd;\n }\n }\n }\n\n __removeDisappearingContent() {\n if (this.__disappearingContent) {\n removeDomNodes(this.__disappearingContent);\n }\n this.__disappearingContent = null;\n this.__appearingContent = null;\n }\n\n __removeAppearingContent() {\n if (this.__disappearingContent && this.__appearingContent) {\n removeDomNodes(this.__appearingContent);\n this.__disappearingContent = null;\n this.__appearingContent = null;\n }\n }\n\n __runOnAfterLeaveCallbacks(currentContext, targetContext) {\n if (!targetContext) {\n return;\n }\n\n // REVERSE iteration: from Z to A\n for (let i = targetContext.chain.length - 1; i >= currentContext.__divergedChainIndex; i--) {\n if (!this.__isLatestRender(currentContext)) {\n break;\n }\n const currentComponent = targetContext.chain[i].element;\n if (!currentComponent) {\n continue;\n }\n try {\n const location = createLocation(currentContext);\n runCallbackIfPossible(\n currentComponent.onAfterLeave,\n [location, {}, targetContext.resolver],\n currentComponent);\n } finally {\n if (this.__disappearingContent.indexOf(currentComponent) > -1) {\n removeDomNodes(currentComponent.children);\n }\n }\n }\n }\n\n __runOnAfterEnterCallbacks(currentContext) {\n // forward iteration: from A to Z\n for (let i = currentContext.__divergedChainIndex; i < currentContext.chain.length; i++) {\n if (!this.__isLatestRender(currentContext)) {\n break;\n }\n const currentComponent = currentContext.chain[i].element || {};\n const location = createLocation(currentContext, currentContext.chain[i].route);\n runCallbackIfPossible(\n currentComponent.onAfterEnter,\n [location, {}, currentContext.resolver],\n currentComponent);\n }\n }\n\n __animateIfNeeded(context) {\n const from = (this.__disappearingContent || [])[0];\n const to = (this.__appearingContent || [])[0];\n const promises = [];\n\n const chain = context.chain;\n let config;\n for (let i = chain.length; i > 0; i--) {\n if (chain[i - 1].route.animate) {\n config = chain[i - 1].route.animate;\n break;\n }\n }\n\n if (from && to && config) {\n const leave = isObject(config) && config.leave || 'leaving';\n const enter = isObject(config) && config.enter || 'entering';\n promises.push(animate(from, leave));\n promises.push(animate(to, enter));\n }\n\n return Promise.all(promises).then(() => context);\n }\n\n /**\n * Subscribes this instance to navigation events on the `window`.\n *\n * NOTE: beware of resource leaks. For as long as a router instance is\n * subscribed to navigation events, it won't be garbage collected.\n */\n subscribe() {\n window.addEventListener('vaadin-router-go', this.__navigationEventHandler);\n }\n\n /**\n * Removes the subscription to navigation events created in the `subscribe()`\n * method.\n */\n unsubscribe() {\n window.removeEventListener('vaadin-router-go', this.__navigationEventHandler);\n }\n\n __onNavigationEvent(event) {\n const {pathname, search, hash} = event ? event.detail : window.location;\n if (isString(this.__normalizePathname(pathname))) {\n if (event && event.preventDefault) {\n event.preventDefault();\n }\n this.render({pathname, search, hash}, true);\n }\n }\n\n /**\n * Configures what triggers Router navigation events:\n * - `POPSTATE`: popstate events on the current `window`\n * - `CLICK`: click events on `` links leading to the current page\n *\n * This method is invoked with the pre-configured values when creating a new Router instance.\n * By default, both `POPSTATE` and `CLICK` are enabled. This setup is expected to cover most of the use cases.\n *\n * See the `router-config.js` for the default navigation triggers config. Based on it, you can\n * create the own one and only import the triggers you need, instead of pulling in all the code,\n * e.g. if you want to handle `click` differently.\n *\n * See also **Navigation Triggers** section in [Live Examples](#/classes/Router/demos/demo/index.html).\n *\n * @param {...NavigationTrigger} triggers\n */\n static setTriggers(...triggers) {\n setNavigationTriggers(triggers);\n }\n\n /**\n * Generates a URL for the route with the given name, optionally performing\n * substitution of parameters.\n *\n * The route is searched in all the Router instances subscribed to\n * navigation events.\n *\n * **Note:** For child route names, only array children are considered.\n * It is not possible to generate URLs using a name for routes set with\n * a children function.\n *\n * @function urlForName\n * @param {!string} name the route name or the route’s `component` name.\n * @param {Params=} params Optional object with route path parameters.\n * Named parameters are passed by name (`params[name] = value`), unnamed\n * parameters are passed by index (`params[index] = value`).\n *\n * @return {string}\n */\n urlForName(name, params) {\n if (!this.__urlForName) {\n this.__urlForName = generateUrls(this);\n }\n return getPathnameForRouter(\n this.__urlForName(name, params),\n this\n );\n }\n\n /**\n * Generates a URL for the given route path, optionally performing\n * substitution of parameters.\n *\n * @param {!string} path string route path declared in [express.js syntax](https://expressjs.com/en/guide/routing.html#route-paths\").\n * @param {Params=} params Optional object with route path parameters.\n * Named parameters are passed by name (`params[name] = value`), unnamed\n * parameters are passed by index (`params[index] = value`).\n *\n * @return {string}\n */\n urlForPath(path, params) {\n return getPathnameForRouter(\n Router.pathToRegexp.compile(path)(params),\n this\n );\n }\n\n /**\n * Triggers navigation to a new path. Returns a boolean without waiting until\n * the navigation is complete. Returns `true` if at least one `Router`\n * has handled the navigation (was subscribed and had `baseUrl` matching\n * the `path` argument), otherwise returns `false`.\n *\n * @param {!string|!{pathname: !string, search: (string|undefined), hash: (string|undefined)}} path\n * a new in-app path string, or an URL-like object with `pathname`\n * string property, and optional `search` and `hash` string properties.\n * @return {boolean}\n */\n static go(path) {\n const {pathname, search, hash} = isString(path)\n ? this.__createUrl(path, 'http://a') // some base to omit origin\n : path;\n return fireRouterEvent('go', {pathname, search, hash});\n }\n}\n","const DEV_MODE_CODE_REGEXP =\n /\\/\\*[\\*!]\\s+vaadin-dev-mode:start([\\s\\S]*)vaadin-dev-mode:end\\s+\\*\\*\\//i;\n\nconst FlowClients = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;\n\nfunction isMinified() {\n function test() {\n /** vaadin-dev-mode:start\n return false;\n vaadin-dev-mode:end **/\n return true;\n }\n return uncommentAndRun(test);\n}\n\nfunction isDevelopmentMode() {\n try {\n if (isForcedDevelopmentMode()) {\n return true;\n }\n\n if (!isLocalhost()) {\n return false;\n }\n\n if (FlowClients) {\n return !isFlowProductionMode();\n }\n\n return !isMinified();\n } catch (e) {\n // Some error in this code, assume production so no further actions will be taken\n return false;\n }\n}\n\nfunction isForcedDevelopmentMode() {\n return localStorage.getItem(\"vaadin.developmentmode.force\");\n}\n\nfunction isLocalhost() {\n return ([\"localhost\",\"127.0.0.1\"].indexOf(window.location.hostname) >= 0);\n}\n\nfunction isFlowProductionMode() {\n if (FlowClients) {\n const productionModeApps = Object.keys(FlowClients)\n .map(key => FlowClients[key])\n .filter(client => client.productionMode);\n if (productionModeApps.length > 0) {\n return true;\n }\n }\n return false;\n}\n\nfunction uncommentAndRun(callback, args) {\n if (typeof callback !== 'function') {\n return;\n }\n\n const match = DEV_MODE_CODE_REGEXP.exec(callback.toString());\n if (match) {\n try {\n // requires CSP: script-src 'unsafe-eval'\n callback = new Function(match[1]);\n } catch (e) {\n // eat the exception\n console.log('vaadin-development-mode-detector: uncommentAndRun() failed', e)\n }\n }\n\n return callback(args);\n}\n\n// A guard against polymer-modulizer removing the window.Vaadin\n// initialization above.\nwindow['Vaadin'] = window['Vaadin'] || {};\n\n/**\n * Inspects the source code of the given `callback` function for\n * specially-marked _commented_ code. If such commented code is found in the\n * callback source, uncomments and runs that code instead of the callback\n * itself. Otherwise runs the callback as is.\n *\n * The optional arguments are passed into the callback / uncommented code,\n * the result is returned.\n *\n * See the `isMinified()` function source code in this file for an example.\n *\n */\nexport const runIfDevelopmentMode = function(callback, args) {\n if (window.Vaadin.developmentMode) {\n return uncommentAndRun(callback, args);\n }\n};\n\nif (window.Vaadin.developmentMode === undefined) {\n window.Vaadin.developmentMode = isDevelopmentMode();\n}\n","/* This file is autogenerated from src/vaadin-usage-statistics.tpl.html */\n/*\n\nThis script gathers usage statistics from the application running in development mode.\n\nStatistics gathering is automatically disabled and excluded from production builds.\n\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n\n*/\n/*\n FIXME(polymer-modulizer): the above comments were extracted\n from HTML and may be out of place here. Review them and\n then delete this comment!\n*/\nimport { runIfDevelopmentMode } from '@vaadin/vaadin-development-mode-detector/vaadin-development-mode-detector.js';\n\nfunction maybeGatherAndSendStats() {\n /** vaadin-dev-mode:start\n (function () {\n'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar getPolymerVersion = function getPolymerVersion() {\n return window.Polymer && window.Polymer.version;\n};\n\nvar StatisticsGatherer = function () {\n function StatisticsGatherer(logger) {\n classCallCheck(this, StatisticsGatherer);\n\n this.now = new Date().getTime();\n this.logger = logger;\n }\n\n createClass(StatisticsGatherer, [{\n key: 'frameworkVersionDetectors',\n value: function frameworkVersionDetectors() {\n return {\n 'Flow': function Flow() {\n if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) {\n var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) {\n return window.Vaadin.Flow.clients[key];\n }).filter(function (client) {\n return client.getVersionInfo;\n }).map(function (client) {\n return client.getVersionInfo().flow;\n });\n if (flowVersions.length > 0) {\n return flowVersions[0];\n }\n }\n },\n 'Vaadin Framework': function VaadinFramework() {\n if (window.vaadin && window.vaadin.clients) {\n var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) {\n return client.getVersionInfo;\n }).map(function (client) {\n return client.getVersionInfo().vaadinVersion;\n });\n if (frameworkVersions.length > 0) {\n return frameworkVersions[0];\n }\n }\n },\n 'AngularJs': function AngularJs() {\n if (window.angular && window.angular.version && window.angular.version) {\n return window.angular.version.full;\n }\n },\n 'Angular': function Angular() {\n if (window.ng) {\n var tags = document.querySelectorAll(\"[ng-version]\");\n if (tags.length > 0) {\n return tags[0].getAttribute(\"ng-version\");\n }\n return \"Unknown\";\n }\n },\n 'Backbone.js': function BackboneJs() {\n if (window.Backbone) {\n return window.Backbone.VERSION;\n }\n },\n 'React': function React() {\n var reactSelector = '[data-reactroot], [data-reactid]';\n if (!!document.querySelector(reactSelector)) {\n // React does not publish the version by default\n return \"unknown\";\n }\n },\n 'Ember': function Ember() {\n if (window.Em && window.Em.VERSION) {\n return window.Em.VERSION;\n } else if (window.Ember && window.Ember.VERSION) {\n return window.Ember.VERSION;\n }\n },\n 'jQuery': function (_jQuery) {\n function jQuery() {\n return _jQuery.apply(this, arguments);\n }\n\n jQuery.toString = function () {\n return _jQuery.toString();\n };\n\n return jQuery;\n }(function () {\n if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) {\n return jQuery.prototype.jquery;\n }\n }),\n 'Polymer': function Polymer() {\n var version = getPolymerVersion();\n if (version) {\n return version;\n }\n },\n 'LitElement': function LitElement() {\n var version = window.litElementVersions && window.litElementVersions[0];\n if (version) {\n return version;\n }\n },\n 'LitHtml': function LitHtml() {\n var version = window.litHtmlVersions && window.litHtmlVersions[0];\n if (version) {\n return version;\n }\n },\n 'Vue.js': function VueJs() {\n if (window.Vue) {\n return window.Vue.version;\n }\n }\n };\n }\n }, {\n key: 'getUsedVaadinElements',\n value: function getUsedVaadinElements(elements) {\n var version = getPolymerVersion();\n var elementClasses = void 0;\n // NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow.\n // Check all locations calling the method getEntries() in\n // https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106\n // Currently it is only used by BootstrapHandler.\n if (version && version.indexOf('2') === 0) {\n // Polymer 2: components classes are stored in window.Vaadin\n elementClasses = Object.keys(window.Vaadin).map(function (c) {\n return window.Vaadin[c];\n }).filter(function (c) {\n return c.is;\n });\n } else {\n // Polymer 3: components classes are stored in window.Vaadin.registrations\n elementClasses = window.Vaadin.registrations || [];\n }\n elementClasses.forEach(function (klass) {\n var version = klass.version ? klass.version : \"0.0.0\";\n elements[klass.is] = { version: version };\n });\n }\n }, {\n key: 'getUsedVaadinThemes',\n value: function getUsedVaadinThemes(themes) {\n ['Lumo', 'Material'].forEach(function (themeName) {\n var theme;\n var version = getPolymerVersion();\n if (version && version.indexOf('2') === 0) {\n // Polymer 2: themes are stored in window.Vaadin\n theme = window.Vaadin[themeName];\n } else {\n // Polymer 3: themes are stored in custom element registry\n theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles');\n }\n if (theme && theme.version) {\n themes[themeName] = { version: theme.version };\n }\n });\n }\n }, {\n key: 'getFrameworks',\n value: function getFrameworks(frameworks) {\n var detectors = this.frameworkVersionDetectors();\n Object.keys(detectors).forEach(function (framework) {\n var detector = detectors[framework];\n try {\n var version = detector();\n if (version) {\n frameworks[framework] = { version: version };\n }\n } catch (e) {}\n });\n }\n }, {\n key: 'gather',\n value: function gather(storage) {\n var storedStats = storage.read();\n var gatheredStats = {};\n var types = [\"elements\", \"frameworks\", \"themes\"];\n\n types.forEach(function (type) {\n gatheredStats[type] = {};\n if (!storedStats[type]) {\n storedStats[type] = {};\n }\n });\n\n var previousStats = JSON.stringify(storedStats);\n\n this.getUsedVaadinElements(gatheredStats.elements);\n this.getFrameworks(gatheredStats.frameworks);\n this.getUsedVaadinThemes(gatheredStats.themes);\n\n var now = this.now;\n types.forEach(function (type) {\n var keys = Object.keys(gatheredStats[type]);\n keys.forEach(function (key) {\n if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) {\n storedStats[type][key] = { firstUsed: now };\n }\n // Discards any previously logged version number\n storedStats[type][key].version = gatheredStats[type][key].version;\n storedStats[type][key].lastUsed = now;\n });\n });\n\n var newStats = JSON.stringify(storedStats);\n storage.write(newStats);\n if (newStats != previousStats && Object.keys(storedStats).length > 0) {\n this.logger.debug(\"New stats: \" + newStats);\n }\n }\n }]);\n return StatisticsGatherer;\n}();\n\nvar StatisticsStorage = function () {\n function StatisticsStorage(key) {\n classCallCheck(this, StatisticsStorage);\n\n this.key = key;\n }\n\n createClass(StatisticsStorage, [{\n key: 'read',\n value: function read() {\n var localStorageStatsString = localStorage.getItem(this.key);\n try {\n return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}');\n } catch (e) {\n return {};\n }\n }\n }, {\n key: 'write',\n value: function write(data) {\n localStorage.setItem(this.key, data);\n }\n }, {\n key: 'clear',\n value: function clear() {\n localStorage.removeItem(this.key);\n }\n }, {\n key: 'isEmpty',\n value: function isEmpty() {\n var storedStats = this.read();\n var empty = true;\n Object.keys(storedStats).forEach(function (key) {\n if (Object.keys(storedStats[key]).length > 0) {\n empty = false;\n }\n });\n\n return empty;\n }\n }]);\n return StatisticsStorage;\n}();\n\nvar StatisticsSender = function () {\n function StatisticsSender(url, logger) {\n classCallCheck(this, StatisticsSender);\n\n this.url = url;\n this.logger = logger;\n }\n\n createClass(StatisticsSender, [{\n key: 'send',\n value: function send(data, errorHandler) {\n var logger = this.logger;\n\n if (navigator.onLine === false) {\n logger.debug(\"Offline, can't send\");\n errorHandler();\n return;\n }\n logger.debug(\"Sending data to \" + this.url);\n\n var req = new XMLHttpRequest();\n req.withCredentials = true;\n req.addEventListener(\"load\", function () {\n // Stats sent, nothing more to do\n logger.debug(\"Response: \" + req.responseText);\n });\n req.addEventListener(\"error\", function () {\n logger.debug(\"Send failed\");\n errorHandler();\n });\n req.addEventListener(\"abort\", function () {\n logger.debug(\"Send aborted\");\n errorHandler();\n });\n req.open(\"POST\", this.url);\n req.setRequestHeader(\"Content-Type\", \"application/json\");\n req.send(data);\n }\n }]);\n return StatisticsSender;\n}();\n\nvar StatisticsLogger = function () {\n function StatisticsLogger(id) {\n classCallCheck(this, StatisticsLogger);\n\n this.id = id;\n }\n\n createClass(StatisticsLogger, [{\n key: '_isDebug',\n value: function _isDebug() {\n return localStorage.getItem(\"vaadin.\" + this.id + \".debug\");\n }\n }, {\n key: 'debug',\n value: function debug(msg) {\n if (this._isDebug()) {\n console.info(this.id + \": \" + msg);\n }\n }\n }]);\n return StatisticsLogger;\n}();\n\nvar UsageStatistics = function () {\n function UsageStatistics() {\n classCallCheck(this, UsageStatistics);\n\n this.now = new Date();\n this.timeNow = this.now.getTime();\n this.gatherDelay = 10; // Delay between loading this file and gathering stats\n this.initialDelay = 24 * 60 * 60;\n\n this.logger = new StatisticsLogger(\"statistics\");\n this.storage = new StatisticsStorage(\"vaadin.statistics.basket\");\n this.gatherer = new StatisticsGatherer(this.logger);\n this.sender = new StatisticsSender(\"https://tools.vaadin.com/usage-stats/submit\", this.logger);\n }\n\n createClass(UsageStatistics, [{\n key: 'maybeGatherAndSend',\n value: function maybeGatherAndSend() {\n var _this = this;\n\n if (localStorage.getItem(UsageStatistics.optOutKey)) {\n return;\n }\n this.gatherer.gather(this.storage);\n setTimeout(function () {\n _this.maybeSend();\n }, this.gatherDelay * 1000);\n }\n }, {\n key: 'lottery',\n value: function lottery() {\n return true;\n }\n }, {\n key: 'currentMonth',\n value: function currentMonth() {\n return this.now.getYear() * 12 + this.now.getMonth();\n }\n }, {\n key: 'maybeSend',\n value: function maybeSend() {\n var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey));\n var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey));\n\n if (!firstUse) {\n // Use a grace period to avoid interfering with tests, incognito mode etc\n firstUse = this.timeNow;\n localStorage.setItem(UsageStatistics.firstUseKey, firstUse);\n }\n\n if (this.timeNow < firstUse + this.initialDelay * 1000) {\n this.logger.debug(\"No statistics will be sent until the initial delay of \" + this.initialDelay + \"s has passed\");\n return;\n }\n if (this.currentMonth() <= monthProcessed) {\n this.logger.debug(\"This month has already been processed\");\n return;\n }\n localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth());\n // Use random sampling\n if (this.lottery()) {\n this.logger.debug(\"Congratulations, we have a winner!\");\n } else {\n this.logger.debug(\"Sorry, no stats from you this time\");\n return;\n }\n\n this.send();\n }\n }, {\n key: 'send',\n value: function send() {\n // Ensure we have the latest data\n this.gatherer.gather(this.storage);\n\n // Read, send and clean up\n var data = this.storage.read();\n data[\"firstUse\"] = Number(localStorage.getItem(UsageStatistics.firstUseKey));\n data[\"usageStatisticsVersion\"] = UsageStatistics.version;\n var info = 'This request contains usage statistics gathered from the application running in development mode. \\n\\nStatistics gathering is automatically disabled and excluded from production builds.\\n\\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\\n\\n\\n\\n';\n var self = this;\n this.sender.send(info + JSON.stringify(data), function () {\n // Revert the 'month processed' flag\n localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1);\n });\n }\n }], [{\n key: 'version',\n get: function get$1() {\n return '2.1.2';\n }\n }, {\n key: 'firstUseKey',\n get: function get$1() {\n return 'vaadin.statistics.firstuse';\n }\n }, {\n key: 'monthProcessedKey',\n get: function get$1() {\n return 'vaadin.statistics.monthProcessed';\n }\n }, {\n key: 'optOutKey',\n get: function get$1() {\n return 'vaadin.statistics.optout';\n }\n }]);\n return UsageStatistics;\n}();\n\ntry {\n window.Vaadin = window.Vaadin || {};\n window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics();\n window.Vaadin.usageStatsChecker.maybeGatherAndSend();\n} catch (e) {\n // Intentionally ignored as this is not a problem in the app being developed\n}\n\n}());\n\n vaadin-dev-mode:end **/\n}\n\nexport const usageStatistics = function() {\n if (typeof runIfDevelopmentMode === 'function') {\n return runIfDevelopmentMode(maybeGatherAndSendStats);\n }\n};\n","import {usageStatistics} from '@vaadin/vaadin-usage-statistics/vaadin-usage-statistics.js';\n\nwindow.Vaadin = window.Vaadin || {};\nwindow.Vaadin.registrations = window.Vaadin.registrations || [];\n\nwindow.Vaadin.registrations.push({\n is: '@vaadin/router',\n version: '1.7.4',\n});\n\nusageStatistics();\n","import CLICK from './triggers/click.js';\nimport POPSTATE from './triggers/popstate.js';\nimport {Router} from './router.js';\nimport './router-meta.js';\nRouter.NavigationTrigger = {POPSTATE, CLICK};\nexport {Router};\n","module.exports = new __parcel__URL__(\"prequirúrgico.044d6275.pdf\").toString();","module.exports = new __parcel__URL__(\"logo-sprc.382ec9bd.png\").toString();","/* Variables */\nconst style = document.createElement('style');\nconst whatsappIMG = require(\"url:../assets/icon-whatsapp.png\")\nconst linkedinIMG = require(\"url:../assets/icon-linkedin.png\")\nconst instagramIMG = require(\"url:../assets/icon-instagram.png\")\nconst facebookIMG = require(\"url:../assets/icon-facebook.png\")\n\n/* Class Welcome */\nexport class FooterComponent extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n\n };\n\n /* Render */\n render(){\n this.className = 'footer';\n this.innerHTML = \n `\n \n
\n \n
\n
Sanatorio Privado 2024 ©
\n
\n
\n `\n style.innerHTML = \n `\n /* Footer */\n .footer{\n font-family: 'Poppins', sans-serif;\n width: 100%;\n min-height: 250px;\n background-color: #50af70;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n gap: 15px;\n }\n /* Footer - Box */\n .footer-box{\n width: 1024px;\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n }\n .footer__sucursales,\n .footer__informacion,\n .footer__redes{\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n .footer__sucursales-title,\n .footer__informacion-title,\n .footer__redes-title{\n font-size: 18px;\n color: whitesmoke\n }\n .footer__sucursales a,\n .footer__informacion a{\n font-size: 15px;\n color: rgba(245, 245, 245, 0.72);\n padding: 3px;\n text-decoration: none;\n }\n .footer__redes-icon{\n display: flex;\n gap: 10px;\n }\n .footer__redes-img{\n height: 35px;\n width: 35px;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"footer-components\", FooterComponent)","module.exports = new __parcel__URL__(\"icon-whatsapp.6331bf9a.png\").toString();","module.exports = new __parcel__URL__(\"icon-linkedin.b818e2b3.png\").toString();","module.exports = new __parcel__URL__(\"icon-instagram.2e128d1f.png\").toString();","module.exports = new __parcel__URL__(\"icon-facebook.2bd313d5.png\").toString();","/* Variables */\nconst style = document.createElement('style');\nconst siteIMG = require(\"url:../assets/site-construccion.png\")\n\n/* Class No Page */\nexport class NoPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n };\n\n /* Render */\n render(){\n this.className = 'no-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n
\n
\n

Sitio en construcción.

\n

Proximamente mas información.

\n
\n
\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .no-page-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n /* Body */\n .no-page-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n height: 350px;\n width: 100%;\n display: flex;\n align-items: center;\n flex-direction: row;\n }\n .body__cuerpo-text{\n height: 300px;\n width: 400px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n padding: 50px;\n }\n .body__cuerpo-text-title{\n margin: 0px;\n font-size: 25px;\n text-align: center;\n }\n .body__cuerpo-text-subtitle{\n margin: 0px;\n font-size: 15px;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"no-page\", NoPage)","module.exports = new __parcel__URL__(\"site-construccion.f016c901.png\").toString();","import { state } from \"../state\";\n\n/* Variables */\nconst style = document.createElement('style');\nconst wallpaper = require(\"url:../assets/home.gif\")\n\n/* Class Welcome */\nexport class WelcomePage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n\n state.dataWelcome()\n\n };\n\n /* Render */\n render(){\n this.className = 'welcome-page';\n this.innerHTML = \n `\n \n
\n \n
\n \"sanatorio\n \n
\n
\n \n \n \n \n \n
\n \n
\n \n
\n \n
\n \n
\n
\n

Sede Central

\n
Dirección: Bv. Roca 949 - Rio Cuarto
Lineas Rotativas: +549 358 4675800
Contacto: info@sanatorioprivado.com.ar
\n
\n
\n \n
\n
\n\n
\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .welcome-container{\n max-width: 100%;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .welcome-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n flex-direction: column;\n align-items: center;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__carrusel,\n .wallpaper{\n height: 500px;\n width: 1200px;\n background-color: #1E1E1E75;\n }\n .body__break{\n height: 35px;\n }\n .body__noticias{\n background-color: #1e1e1e10;\n min-height: 300px;\n width: 100%;\n display: grid;\n grid-template-columns: 33% 33% 33%;\n justify-content: center;\n padding: 25px;\n gap: 10px;\n }\n .body__formulario{\n background-color: #1e1e1e10;\n min-height: 100px;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 23px;\n }\n .formulario{\n text-decoration: none;\n }\n .noticias{\n display: flex;\n flex-direction: column;\n min-height: 250px;\n align-items: center;\n gap: 20px;\n }\n .noticias__box{\n min-height: 150px;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n }\n .noticias__title{\n margin: 0 auto;\n font-size: 25px;\n text-align: center;\n }\n .noticias__subtitle{\n font-size: 15px;\n }\n .noticias__photo{\n height: 200px;\n width: 100%;\n background-color: #1E1E1E75;\n }\n .body__ubicacion{\n background-color: #1e1e1e10;\n height: 300px;\n width: 100%;\n display: flex;\n align-items: center;\n flex-direction: row;\n justify-content: space-between;\n gap: 20px;\n }\n .body__cuerpo-text{\n padding: 15px;\n margin: 20px auto;\n }\n .body__cuerpo-text-title{\n margin: 0 auto;\n font-size: 25px;\n text-align: center;\n }\n .body__cuerpo-text-subtitle{\n font-size: 15px;\n }\n .body__cuerpo-map{\n height: 300px;\n width: 60%;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"welcome-page\", WelcomePage)","/* Variables */\n\n/* State */\nconst state = {\n\n /* Inicio */\n init(){},\n\n /* Template - Foto */\n searchImagen(idPhoto, data){\n const i = data.includes.Asset.find((item) => {\n return item.sys.id == idPhoto;\n })\n return i;\n },\n\n /* Template - Welcome (Template) */\n addNotice(params){\n const template: any = document.querySelector(\".noticias__template\");\n const container = document.querySelector(\".body__noticias\");\n template.content.querySelector(\".noticias__title\").textContent = params.titulo;\n template.content.querySelector(\".noticias__subtitle\").textContent = params.informacion;\n template.content.querySelector(\".noticias__photo\").src = params.foto;\n const clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Welcome (Fetch) */\n getNotice(){\n return fetch(\"https://cdn.contentful.com/spaces/vzrchh5059a8/environments/master/entries?access_token=rycvlQrg1NFTKqUz7jfatycdJ9nuFrsxh8LlfViD9so&content_type=home\")\n .then((r) => {\n return r.json();\n })\n .then((data) => {\n const notice = data.items.map((item) => {\n return {\n titulo: item.fields.titulo,\n informacion: item.fields.informacion,\n foto: this.searchImagen(item.fields.foto.sys.id, data).fields.file.url,\n }\n })\n return notice;\n })\n },\n /* Template - Welcome (Publica) */\n dataWelcome(){\n this.getNotice()\n .then((item) => {\n for (const i of item) {\n this.addNotice(i)\n }\n })\n },\n\n /* Template - Trabaja (Template) */\n addJob(params){\n const template: any = document.querySelector(\".job__template\");\n const container = document.querySelector(\".job__container\");\n template.content.querySelector(\".job__titulo\").textContent = params.puesto;\n template.content.querySelector(\".job__descripcion\").textContent = params.descripcion;\n template.content.querySelector(\".job__disponibilidad\").textContent = params.disponibilidad;\n const clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Trabaja (Fetch) */\n getJob(){\n return fetch(\"https://cdn.contentful.com/spaces/vzrchh5059a8/environments/master/entries?access_token=rycvlQrg1NFTKqUz7jfatycdJ9nuFrsxh8LlfViD9so&content_type=busquedas\")\n .then((r) => {\n return r.json();\n })\n .then((data) => {\n const job = data.items.map((item) => {\n return {\n puesto: item.fields.puesto,\n descripcion: item.fields.descripcion,\n disponibilidad: item.fields.disponibilidad,\n }\n })\n return job;\n }) \n },\n /* Template - Trabaja (Publica) */\n dataJob(){\n this.getJob()\n .then((item) => {\n for (const i of item) {\n this.addJob(i)\n }\n })\n },\n\n /* Template - Sedes (Template) */\n addSedes(params){\n const template: any = document.querySelector(\".sedes__template\");\n const container = document.querySelector(\".sedes__container\");\n template.content.querySelector(\".sedes__titulo\").textContent = params.periferico;\n template.content.querySelector(\".sedes__direccion\").textContent = params.direccion;\n template.content.querySelector(\".sedes__phone\").textContent = params.telefono;\n template.content.querySelector(\".sedes__mail\").textContent = params.contacto;\n template.content.querySelector(\".sedes__photo\").src = params.foto;\n const clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Sedes (Fetch) */\n getSedes(){\n return fetch(\"https://cdn.contentful.com/spaces/vzrchh5059a8/environments/master/entries?access_token=rycvlQrg1NFTKqUz7jfatycdJ9nuFrsxh8LlfViD9so&content_type=sucursales\")\n .then((r) => {\n return r.json();\n })\n .then((data) => {\n const sedes = data.items.map((item) => {\n return {\n periferico: item.fields.periferico,\n direccion: item.fields.direccion,\n telefono: item.fields.telefono,\n contacto: item.fields.contacto,\n foto: this.searchImagen(item.fields.foto.sys.id, data).fields.file.url,\n }\n })\n return sedes;\n }) \n },\n /* Template - Sedes (Publica) */\n dataSedes(){\n this.getSedes()\n .then((item) => {\n for (const i of item) {\n this.addSedes(i)\n }\n })\n },\n\n /* Template - Profesionales (Fetch) */\n addProfesionales(params){ \n const template: any = document.querySelector(\".profesional__template\");\n const container = document.querySelector(\".body__profesionales-container\");\n template.content.querySelector(\".profesional__especialidad\").textContent = params.Especialidad;\n template.content.querySelector(\".profesional__info\").textContent = params.Profesional;\n const clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Profesionales (Publica) */\n dataProfesionales(data){\n for (const i of data) {\n this.addProfesionales(i)\n }\n },\n\n /* Template - Mutuales (Fetch) */\n addMutuales(params){ \n const template: any = document.querySelector(\".mutuales__template\");\n const container = document.querySelector(\".body__mutuales-container\");\n template.content.querySelector(\".mutuales__info\").textContent = params.Mutual;\n const clone = document.importNode(template.content, true);\n container.appendChild(clone);\n },\n /* Template - Mutuales (Publica) */\n dataMutuales(data){\n for (const i of data) {\n this.addMutuales(i)\n }\n },\n\n};\n\n/* Export */\nexport { state };","module.exports = new __parcel__URL__(\"home.8601b3f4.gif\").toString();","/* Variables */\nconst style = document.createElement('style');\nconst img1 = require(\"url:../assets/site-construccion.png\")\n\n/* Class Nosotros */\nexport class NosotrosPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n };\n\n /* Render */\n render(){\n this.className = 'nosotros-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n
\n
\n
\n

¡Comprometidos con tu salud!

\n
\n
Desde nuestra fundación en el año 2000, en Sanatorio Privado Río Cuarto nos hemos dedicado apasionadamente a proporcionar servicios médicos de alta calidad para la ciudad y la región. Ubicados estratégicamente en el Boulevard Roca 949 de la ciudad de Río Cuarto, nos enorgullece ser un pilar en el cuidado de la salud de nuestra comunidad.
Servicios Integralmente Diseñados:
Ofrecemos una amplia gama de servicios médicos para abordar todas las necesidades de salud de nuestros pacientes. Desde atención ambulatoria en consultorios hasta servicios especializados, nuestra institución está comprometida con la excelencia médica.
 Infraestructura Moderna y Equipamiento Avanzado:
Contamos con instalaciones modernas y equipamiento de última generación para brindar servicios de calidad. Nuestro sanatorio alberga un laboratorio de análisis bioquímicos y microbiología, servicios de diagnóstico por imágenes y una guardia central para adultos, garantizando respuestas rápidas y precisas a las necesidades de nuestros pacientes.
Internación y Cuidados Especializados:
Para aquellos que requieren internación, nuestro sanatorio ofrece habitaciones confortables con baño privado. Además, contamos con una Unidad de Terapia Intensiva para adultos y un área especializada en cirugía e intervencionismo que incluye quirófanos, salas de endoscopia y servicios de hemodinamia.
Comprometidos con su Bienestar:
En Sanatorio Privado Río Cuarto, la atención centrada en el paciente es nuestra prioridad. Nuestro equipo de profesionales altamente calificados y comprometidos está aquí para brindarle la mejor atención médica posible, asegurando su bienestar y tranquilidad.
Explore nuestras instalaciones, conozca a nuestro equipo y descubra cómo en Sanatorio Privado Río Cuarto, la salud y el cuidado van de la mano. Estamos aquí para usted, comprometidos con su salud y calidad de vida.
\n
\n
\n
\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .nosotros-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .nosotros-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n min-height: 100px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: row;\n }\n .body__cuerpo-text{\n min-height: 200px;\n width: 90%;\n }\n .body__cuerpo-text-title{\n margin: 10px auto;\n font-size: 25px;\n text-align: start;\n }\n .body__cuerpo-text-subtitle{\n margin: 10px auto;\n font-size: 15px;\n }\n .body__cuerpo-img-a{\n height: 400px;\n width: 400px;\n background-color: #1E1E1E75;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"nosotros-page\", NosotrosPage)","import { state } from \"../state\";\n\n/* Variables */\nconst style = document.createElement('style');\n\n/* Class Sedes */\nexport class SedesPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n\n state.dataSedes()\n };\n\n /* Render */\n render(){\n this.className = 'sedes-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n
\n
\n

Sedes y Centro Asociados

\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .sedes-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .sedes-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n min-height: 250px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: row;\n }\n .body__cuerpo-text{\n margin: 20px 0px;\n min-height: 200px;\n width: 90%;\n text-align: center;\n gap: 20px;\n \n }\n .body__cuerpo-text-title{\n margin: 0 auto;\n font-size: 25px;\n text-align: center;\n }\n .body__cuerpo-text-link{\n font-size: 18px;\n border-radius: 5px;\n text-decoration: none;\n color: whitesmoke;\n background-color: #2f6b31;\n padding: 7px 250px;\n }\n .info{\n min-height: auto;\n }\n .sedes__container{\n display: grid;\n grid-template-columns: 45% 45%;\n align-items: start;\n justify-content: center;\n }\n .sedes__box{\n text-align: start;\n }\n .sedes__titulo{\n font-size: 20px;\n margin: 0px auto;\n }\n .sedes__direccion{\n margin: 0px auto;\n }\n .sedes__phone{\n margin: 0px auto;\n }\n .sedes__mail{\n margin: 0px auto;\n }\n .sedes__photo{\n height: 200px;\n width: 100%;\n background-color: #1E1E1E75;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"sedes-page\", SedesPage)","import { state } from \"../state\"\nimport { data } from \"../ooss\"\n\n/* Variables */\nconst style = document.createElement('style');\n\n/* Class Cobertura */\nexport class CoberturaPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n \n state.dataMutuales(data)\n };\n\n /* Render */\n render(){\n this.className = 'cobertura-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n\n
\n
\n

Obras Sociales

\n
El Sanatorio Privado Río Cuarto atiende a las siguientes obras sociales y prepagas. Para conocer las modalidades de atención de la cobertura médica que poseas, deberás consultar a la misma dónde te informarán las condiciones para atenderte en nuestra Institución.
\n
\n
\n\n
\n \n
\n\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .cobertura-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .cobertura-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__mutuales-container{\n background-color: #1e1e1e10;\n min-height: 250px;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 5px;\n padding: 20px;\n }\n .mutuales__container{\n height: 35\n px;\n width: 85%;\n padding: 0px 20px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n .mutuales__info{\n text-align: start;\n margin: 0;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n min-height: 250px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: row;\n }\n .body__cuerpo-text{\n margin: 20px 0px;\n min-height: 200px;\n width: 90%;\n text-align: center;\n gap: 20px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n }\n .body__cuerpo-text-title{\n margin: 0 auto;\n font-size: 25px;\n text-align: center;\n }\n .body__cuerpo-text-link{\n font-size: 18px;\n border-radius: 5px;\n text-decoration: none;\n color: whitesmoke;\n background-color: #2f6b31;\n }\n .body__cuerpo-text-subtitle{\n font-size: 15px;\n margin: 0px auto;\n text-align: start;\n width: 90%;\n }\n .info{\n min-height: 100px;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"cobertura-page\", CoberturaPage)","export const data = [\n {\n Mutual: \"ABOGADOS\"\n },\n {\n Mutual: \"AMPROSA\"\n },\n {\n Mutual: \"AMSTERDAM SALUD\"\n },\n {\n Mutual: \"APROSS\"\n },\n {\n Mutual: \"ASOCIART SA ART\"\n },\n {\n Mutual: \"ASPURC\"\n },\n {\n Mutual: \"ATSA - OSPSA\"\n },\n {\n Mutual: \"AVALIAN\"\n },\n {\n Mutual: \"BERKLEY ART\"\n },\n {\n Mutual: \"CAJA NOTARIAL\"\n },\n {\n Mutual: \"CARMED\"\n },\n {\n Mutual: \"CIENCIAS ECONOMICAS\"\n },\n {\n Mutual: \"ENDOCTER - ENSALUD\"\n },\n {\n Mutual: \"ENSALUD\"\n },\n {\n Mutual: \"EXPERTA ART (EX QBE)\"\n },\n {\n Mutual: \"FEDERADA SALUD\"\n },\n {\n Mutual: \"FUTBOLISTAS AGREMIADOS\"\n },\n {\n Mutual: \"GALENO - AZUL Y BLANCO\"\n },\n {\n Mutual: \"GALENO - ORO Y PLATA\"\n },\n {\n Mutual: \"GENMED MEDICAL ASISTANCE\"\n },\n {\n Mutual: \"GRAFICOS\"\n },\n {\n Mutual: \"IOSFA - DIBA\"\n },\n {\n Mutual: \"ISSPICA\"\n },\n {\n Mutual: \"JERARQUICO SALUD\"\n },\n {\n Mutual: \"LA SEGUNDA ART \"\n },\n {\n Mutual: \"LABOUMED SRL\"\n },\n {\n Mutual: \"LUIS PASTEURS\"\n },\n {\n Mutual: \"LUZ Y FUERZA (AESA) ALUMBRAR\"\n },\n {\n Mutual: \"LUZ Y FUERZA REGIONAL SALUD\"\n },\n {\n Mutual: \"MADEREROS\"\n },\n {\n Mutual: \"MEDICUS - AZUL - BLANCO - CELESTE\"\n },\n {\n Mutual: \"MEDICUS - CORP - FAMILY - MC\"\n },\n {\n Mutual: \"MEDINALS - PREMED\"\n },\n {\n Mutual: \"MUNICIPALES\"\n },\n {\n Mutual: \"MUTUAL MEDICA\"\n },\n {\n Mutual: \"NOBIS\"\n },\n {\n Mutual: \"OMINT SA\"\n },\n {\n Mutual: \"OPDEA \"\n },\n {\n Mutual: \"OSADEF (EMPLEADOS DE FARMACIA)\"\n },\n {\n Mutual: \"OSAM - MINEROS\"\n },\n {\n Mutual: \"OSAPM (PROPAGANDA MEDICA)\"\n },\n {\n Mutual: \"OSDE\"\n },\n {\n Mutual: \"OSDOP - SERVIRED\"\n },\n {\n Mutual: \"OSFATLYF RIO CUARTO\"\n },\n {\n Mutual: \"OSFATLYF VILLA MARIA\"\n },\n {\n Mutual: \"OSFATUN NO DOCENTE\"\n },\n {\n Mutual: \"OSOETSYLRA - TINTOREROS (ENSALUD)\"\n },\n {\n Mutual: \"OSPACA\"\n },\n {\n Mutual: \"OSPCRA (ENSALUD)\"\n },\n {\n Mutual: \"OSPECOR\"\n },\n {\n Mutual: \"OSPEDYC\"\n },\n {\n Mutual: \"OSPEP (PANADEROS)\"\n },\n {\n Mutual: \"OSPERHYRA\"\n },\n {\n Mutual: \"OSPES (ESTACIONES DE SERVICIO)\"\n },\n {\n Mutual: \"OSPIHMP (HIELO) ENSALUD\"\n },\n {\n Mutual: \"OSPIM (ENSALUD)\"\n },\n {\n Mutual: \"OSSACRA\"\n },\n {\n Mutual: \"OSTEL - ACTIVOS - ENSALUD\"\n },\n {\n Mutual: \"OSTEL - JUBILADOS - ENSALUD\"\n },\n {\n Mutual: \"PARQUE SALUD\"\n },\n {\n Mutual: \"PASTELEROS (OPCPHYA)\"\n },\n {\n Mutual: \"PODER JUDICIAL\"\n },\n {\n Mutual: \"POLICIA FEDERAL\"\n },\n {\n Mutual: \"PRENSA\"\n },\n {\n Mutual: \"PREVENCION SALUD\"\n },\n {\n Mutual: \"PRIVEL OBRA SOCIAL\"\n },\n {\n Mutual: \"PRIVEL SERVICIOS SOCIALES\"\n },\n {\n Mutual: \"SADAIC\"\n },\n {\n Mutual: \"SAN PEDRO\"\n },\n {\n Mutual: \"SANCOR SALUD\"\n },\n {\n Mutual: \"SAT (TV SALUD)\"\n },\n {\n Mutual: \"SEGUROS\"\n },\n {\n Mutual: \"SERVIRED (OSBLYCA)\"\n },\n {\n Mutual: \"SWISS MEDICAL\"\n },\n {\n Mutual: \"UNIMED\"\n },\n {\n Mutual: \"UTA\"\n }\n]","/* Variables */\nconst style = document.createElement('style');\n\n/* Class Horarios */\nexport class HorariosPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n };\n\n /* Render */\n render(){\n this.className = 'horarios-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n
\n
\n

Horarios de atención, visita y acompañantes

\n
\n
\n\n
\n
\n

• Guardia y Emergencias

\n

Para la atención por Guardia Médica traer Documento de Identidad y Credencial de la Cobertura Médica.
Ingreso por Sargento Cabral 1064

\n
\n
\n\n
\n
\n

• Horarios de Atención

\n

Recepción / Administración

\n
Lunes a Viernes de 8:00 a 12:00 hs – 16:00 a 20:00 hs.
\n
\n
\n\n
\n
\n

• Diagnóstico por Imágenes

\n

Horarios de atención

\n
Lunes a Viernes de 8:00 a 20:00 hs.
\n
\n
\n\n
\n
\n

• Laboratorio de Análisis Clínicos

\n

Horarios de atención

\n
Lunes a Viernes de 7:30 a 12:00 hs – 16:00 a 20:00 hs.
\n

Horarios de extracción

\n
Lunes a Viernes de 8:00 a 20:00 hs.
\n

Horarios de entrega de resultados

\n
Lunes a Viernes de 10:00 a 12:00 hs - 16:00 a 19:30 hs.
\n
\n
\n\n
\n
\n

• Horario de Visitas

\n
El Sanatorio Privado Río Cuarto implementa normas/políticas que regulan las visitas y el acompañamiento de los pacientes que permanecen internados en la institución, permitiendo la permanencia de acompañantes definiendo horarios de visita en cada sector, siempre sujetos a las necesidades tanto del paciente como del sector en el cual se encuentre internado.
Se transmite a la familia del paciente la información acerca de los horarios de visita correspondientes al sector mediante folletos, carteles informativos o verbalmente por parte del equipo tratante.
El régimen y el horario definido según el área de internación serán los siguientes:
\n

Informe Médico:

\n
Terapia: 12:00 a 13:00 hs
Piso: 8:00 a 12:00 hs - Se le comunica al acompañante
\n

Visitas:

\n
Piso: 17:00 a 19:00 hs
\n
Acompañantes: solo 1 (una) por persona a la vez. En el caso de habitaciones compartidas, el acompañante debe ser del mismo sexo que el paciente.
El cambio de acompañantes se deberá realizar en la sala de espera, no así en zona de tránsito de pacientes (pasillos).
Se solicita el retiro del acompañante ante la realización de un procedimiento o una situación de emergencia en el área.
\n

Alimentación

\n
Desaryuno: 8:00 a 9:00 hs
Almuerzo: 12:00 a 13:00 hs
Merienda: 16:00 a 17:00 hs
Cena: 20:00 a 21:00 hs
\n

Servicio de Limpieza de Habitaciones:

\n
Turno Mañana: 6:30 a 9:30 hs
Turno Tarde: 14:30 a 17:00 hs
\n
Aclaración: Fuera del horario establecido, se podrá solicitar el servicio, informando en sector cocina.
Por favor tenga en cuenta que, por políticas del Sanatorio, no está permitido fumar dentro de la institución y se prohíbe el ingreso de animales, armas de cualquier tipo, flores, equipo de mate, reposeras, etc.
\n\n
\n
\n\n\n\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .horarios-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .horarios-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n min-height: 100px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: row;\n }\n .body__cuerpo-text{\n margin: 0px auto;\n min-height: 80px;\n width: 90%;\n }\n .body__cuerpo-text-title{\n margin: 0px auto;\n font-size: 20px;\n }\n .body__cuerpo-text-subtitle{\n margin: 5px 0px 20px 0px;\n font-size: 15px;\n }\n .title{\n margin: 25px auto;\n text-align: center;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"horarios-page\", HorariosPage)\n\n\n\n","import { state } from \"../state\";\nimport { data } from \"../.Prueba-Profesionales\"\n\n/* Variables */\nconst style = document.createElement('style');\n\n/* Class Profesionales */\nexport class ProfesionalesPage extends HTMLElement {\n\n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n \n state.dataProfesionales(data)\n\n };\n\n /* Render */\n render(){\n this.className = 'profesionales-page';\n this.innerHTML =\n `\n \n
\n \n
\n
\n \n
\n
\n

Profesionales que nos acompañan

\n
\n
\n\n
\n \n
\n\n
\n
\n
\n `\n style.innerHTML =\n `\n /* Page */\n .profesionales-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n /* Body */\n .profesionales-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__profesionales-container{\n background-color: #1e1e1e10;\n min-height: 250px;\n width: 100%;\n display: flex;\n justify-items: center;\n gap: 5px;\n padding: 20px;\n flex-direction: column;\n }\n .profesional__container{\n height: 35px;\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n gap: 10px;\n transition: 0.3s;\n padding: 0px 20px; \n }\n .profesional__container:hover{\n background-color: #4CAF50;\n font-size: 130%;\n transition: 0.3s;\n color: beige;\n }\n .profesional__info,\n .profesional__especialidad{\n text-align: center;\n margin: 0;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n min-height: 100px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: column;\n }\n .body__cuerpo-text{\n height: 100px;\n width: 400px;\n }\n .body__cuerpo-text-title{\n margin: 0 auto;\n font-size: 25px;\n text-align: center;\n }\n .body__cuerpo-text-subtitle{\n font-size: 15px;\n margin: 0 auto;\n }\n .body__cuerpo-img{\n height: 200px;\n width: 400px;\n background-color: #1E1E1E75;\n }\n .no-photo{\n width: 80%;\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n .option__box{\n background-color: #1e1e1e10;\n min-height: 50px;\n width: 100%;\n display: flex;\n gap: 20px;\n align-items: center;\n justify-content: center;\n }\n .option__title{\n font-size: 15px;\n }\n .option__seleccion{\n min-width: 400px;\n height: 30px;\n font-size: 15px;\n background: whitesmoke;\n border: none;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"profesionales-page\", ProfesionalesPage)","export const data = [\n {\n Especialidad: \"Alergia\",\n Profesional: [\"Fernandez, Alicia\", \"Yammal, Garbiela\"],\n },\n {\n Especialidad: \"Anestesiología\",\n Profesional: [\"Marazano, Antonella\", \"Padilla, Natalia\"],\n },\n {\n Especialidad: \"Cardiologia\",\n Profesional: [\n \"Achilli, Federico\",\n \"Ferrero, Daniel Omar\",\n \"Alvez, Antonio Joaquin\",\n \"Espilocin, Maria Gisela\",\n \"Bovio, Monica\",\n \"Fernandez Pinto, Edwin\",\n ],\n },\n {\n Especialidad: \"Cardiologia Infantil\",\n Profesional: [\"ZANOTTO, Isabel\"],\n },\n {\n Especialidad: \"Cirugía Cardíaca\",\n Profesional: [\"CARDINALI, Eduardo Luis\"],\n },\n {\n Especialidad: \"Cirugía General y Gastroenterología\",\n Profesional: [\"PEZZUTTI, Hernan\", \"PEZZUTTI, Leonardo\"],\n },\n {\n Especialidad: \"Cirugía Torax\",\n Profesional: [\"ABDALA, Victor Esteban\"],\n },\n {\n Especialidad: \"Clínica Médica\",\n Profesional: [\n \"BLANCO, Gabriela Silvana\",\n \"PAREDES, Marcos Andres\",\n \"RODRIGUEZ TELLO, Luis\",\n \"SORIA, Pablo\",\n ],\n },\n {\n Especialidad: \"Colposcopía\",\n Profesional: [\"TORRES, Carolina Etel\"],\n },\n {\n Especialidad: \"Dermatología \",\n Profesional: [\"SARDOY, Agustina\"],\n },\n {\n Especialidad: \"Diabetelogía\",\n Profesional: [\"AYALA, Mariela Andrea\"],\n },\n {\n Especialidad: \"Endocrinología\",\n Profesional: [\"ARCE JAURY, Alejandra\"],\n },\n {\n Especialidad: \"Flebologia\",\n Profesional: [\"PEZZUTTI, Hernán \", \"GUGLIELMONE, Daniel\"],\n },\n {\n Especialidad: \"Fonoaudiología\",\n Profesional: [\"PRIMO, Claudina\"],\n },\n {\n Especialidad: \"Gastroenterología\",\n Profesional: [\"FERRARIO, Marcelo\", \"BALDUZZI, Carolina\"],\n },\n {\n Especialidad: \"Gastroenterología Infantil\",\n Profesional: [\"MOYANO, Damaris Magali\", \"COMPAGNUCCI, Horacio Andres\"],\n },\n {\n Especialidad: \"Ginecología y Obstetricia\",\n Profesional: [\n \"BARBERO, Ezequiel\",\n \"BERAUDO, Gustavo Marcelo\",\n \"CARRASCOSA, Carolina\",\n \"DEPAULI, Sofia\",\n ],\n },\n {\n Especialidad: \"Hepatología\",\n Profesional: [\"MENDOZA, Carlos\"],\n },\n {\n Especialidad: \"Infectologia\",\n Profesional: [\"ALANIZ, Valeria Mariana\"],\n },\n {\n Especialidad: \"Kinesiología y Fisioterapia\",\n Profesional: [\"ESPINOSA, Florencia\", \"PAZ, juan\"],\n },\n {\n Especialidad: \"Mastología\",\n Profesional: [\"DI GIORGIO, Roberto\"],\n },\n {\n Especialidad: \"Nefrología Adulto\",\n Profesional: [\"ABASCAL, Juan Manuel\"],\n },\n {\n Especialidad: \"Neumonología infantil\",\n Profesional: [\"FERREYRA, Clarisa del Carmen\"],\n },\n {\n Especialidad: \"Neurocirugía\",\n Profesional: \"ETCHECHOURY, Juan Manuel\",\n },\n {\n Especialidad: \"Neurología\",\n Profesional: [\"RIERA, Juan Manuel\", \"TORRIGIANI, Enzo Alejandro\"],\n },\n {\n Especialidad: \"Neurologia Infantil\",\n Profesional: \"MATHIEU, Maria Lidia\",\n },\n {\n Especialidad: \"Nutrición\",\n Profesional: [\"MAITANA, Maria Lucia\", \"TALANO, Sebastian\"],\n },\n {\n Especialidad: \"Oftalmología\",\n Profesional: [\"FARINA, Maria Fernanda\", \"LAFUENTE, Cecilia\"],\n },\n {\n Especialidad: \"Oncología - Hematología\",\n Profesional: [\"QUINTANA, Sebastián\", \"PAGOLA, Natalia Ruth\"],\n },\n {\n Especialidad: \"Otorrinolaringología\",\n Profesional: [\"COLOMBANO, Pablo\"],\n },\n {\n Especialidad: \"Pediatría\",\n Profesional: [\n \"BARRIONUEVO, Patricia\",\n \"COMPAGNUCCI, Horacio Andres\",\n \"SERRANO, Héctor Tomás\",\n ],\n },\n {\n Especialidad: \"Psicología\",\n Profesional: [\"FENOGLIO, Melanie\", \"RAMACCIOTTI, Sabrina\"],\n },\n {\n Especialidad: \"Psiquiatría\",\n Profesional: [\"RODRIGUEZ, Silvia Susana\"],\n },\n {\n Especialidad: \"Reumatologia\",\n Profesional: [\"PICCO, Luis\"],\n },\n {\n Especialidad: \"Traumatología\",\n Profesional: [\"AGUERO GIODA, Carlos Alfredo\",\n \"AGUERO GIODA, Fernando\",\n \"BALMACEDA, Hermes Ariel\",\n \"CAPELL, Federico Luis\",\n \"VIGLIONE, Guillermo\",\n \"LOVATO, Mauro Atilio\",\n \"MACARRON, Marcelo\",\n \"SCARMAGNANI, Miguel\",\n \"MANFREDINI, Jose\",\n ],\n },\n {\n Especialidad: \"Urología\",\n Profesional: [\"PUELLES, Marcos Agustin\", \"QUIROGA, Sebastian Andres\"],\n },\n {\n Especialidad: \"Vascular Periferica\",\n Profesional: [\"GARELLI, Guillermo\", \"FISCHER, Raul Walter\"],\n },\n {\n Especialidad: \"Videoendoscopía y Gastroenterología\",\n Profesional: [\"MENDOZA, Carlos\", \"BALDUZZI, Carolina\"],\n },\n];\n","import { state } from \"../state\";\n\n/* Variables */\nconst style = document.createElement('style');\n\n/* Class Trabaja */\nexport class TrabajaPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n\n state.dataJob()\n };\n\n /* Render */\n render(){\n this.className = 'trabaja-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n
\n
\n

¡Estas son nuestras búsquedas activas!

\n Carga tu CV\n
\n
\n
\n
\n \n
\n
\n
\n
\n

¿Donde puedo enviar mi CV?

\n
Para enviar CV, hacerlo a seleccion@sanatorioprivado.com.ar e indicar el puesto de interés en el asunto del mail.
\n
\n
\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .trabaja-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .trabaja-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: row;\n }\n .body__cuerpo-text{\n margin: 20px 0px 0px 0px;\n width: 60%;\n text-align: center;\n gap: 20px;\n display: flex;\n \n align-items: center;\n justify-content: flex-start;\n }\n .formulario__cv{\n text-decoration: none;\n width: 30%;\n color: whitesmoke;\n background-color: #50af70;\n border-radius: 5px;\n padding: 7px;\n }\n .body__cuerpo-text-title{\n margin: 0 auto;\n font-size: 21px;\n text-align: center;\n }\n .body__enviar{\n width: 90%;\n margin: 0px;\n margin-left: 80px;\n }\n .enviar{\n margin: 0px auto;\n font-size: 21px;\n }\n .enviar-info{\n margin: 10px auto 25px auto;\n width: 90%;\n }\n .body__cuerpo-text-link{\n font-size: 18px;\n border-radius: 5px;\n text-decoration: none;\n color: whitesmoke;\n background-color: #50af70;\n padding: 7px 250px;\n transition: 0.5s;\n }\n .body__cuerpo-text-link:hover{\n background-color: #4CAF50;\n transition: 0.5s;\n }\n .job__container{\n display: flex;\n gap: 50px;\n margin: 30px auto;\n align-items: flex-start;\n }\n .job__box{\n text-align: start;\n border-left: solid 3px green;\n padding: 10px 10px 10px 20px;\n transition: 0.3s;\n min-height: 100%;\n width: 100%;\n }\n .job__box:hover{\n transition: 0.3s;\n border-left: solid 7px green;\n background: #306c3129;\n }\n .job__titulo{\n font-size: 25px;\n margin: 0px auto;\n }\n .job__descripcion{\n font-style: italic;\n margin: 0px auto;\n }\n .job__disponibilidad,\n .job__auxiliar{\n font-size: 14px;\n background-color: lightgrey;\n padding: 0px 10px;\n width: fit-content;\n border-radius: 50px;\n }\n .job__photo{\n height: 200px;\n width: 100%;\n background-color: #1E1E1E75;\n }\n .job__etiquetas{\n display: flex;\n gap: 10px;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"trabaja-page\", TrabajaPage)","/* Variables */\nconst style = document.createElement('style');\nconst img1 = require(\"url:../assets/diag2.png\")\nconst img2 = require(\"url:../assets/diag1.png\")\nconst btn_email = require(\"url:../assets/btn-email.png\")\nconst btn_whatsapp = require(\"url:../assets/btn-whatsapp.png\")\nconst btn_horarios = require(\"url:../assets/btn-horarios.png\")\n\n/* Class Diagnostico */\nexport class DiagnosticoPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n };\n\n /* Render */\n render(){\n this.className = 'diagnostico-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n
\n
\n
\n

Diagnóstico por Imágenes

\n
\n
En nuestro centro, contamos con una variedad de tecnologías y especialidades para brindarle un diagnóstico preciso y confiable.
Nuestro equipo de expertos en diagnóstico por imágenes trabajará en estrecha colaboración con usted y su médico para comprender sus necesidades y brindarle un cuidado personalizado. En nuestro departamento, encontrará servicios tales como Tomografía Computada, Radiología General, Digestiva, Mastológica e Intervencionista, Mamografía y Ecografía.
La Tomografía Computada es una herramienta avanzada que nos permite obtener imágenes detalladas de su cuerpo, ayudando a identificar y evaluar diversas afecciones médicas. Nuestra radiología general está equipada con tecnología de última generación para obtener imágenes precisas de diferentes partes del cuerpo, ofreciendo un diagnóstico completo.
Además, contamos con especialidades específicas, como la radiología digestiva, que nos permite visualizar y evaluar el sistema gastrointestinal, y la radiología mastológica e intervencionista, que se centra en el diagnóstico y tratamiento de enfermedades de las mamas.
No podemos olvidar la importancia de la mamografía en el diagnóstico temprano del cáncer de mama. Nuestro departamento está equipado con la última tecnología en mamografía, brindando un examen rápido y preciso para la detección temprana de esta enfermedad.
Por último, pero no menos importante, nuestra ecografía es una herramienta segura y eficaz para evaluar diferentes partes del cuerpo. Proporciona imágenes en tiempo real que nos permiten detectar y diagnosticar diversas afecciones con precisión.
En resumen, en nuestro Departamento de Diagnóstico por Imágenes, encontrará un equipo de profesionales altamente capacitados y tecnología de vanguardia para brindarle servicios de radiología de calidad. Ya sea que necesite una tomografía computada, una radiografía general, una mamografía o una ecografía, estamos aquí para brindarle un diagnóstico confiable y un cuidado integral de su salud.

• Jefe de Servicio
Dr. Vettorazzi Román - M.P. 26.009/3

• Profesionales Médicos
Dr. Di Giorgio Roberto - M.P. 16.733
Dra. Dodero María de los Ángeles - M.P. 34.596
Dr. Selak Franco - M.P. 34.027/2
Dr. Balerdi Rodolfo - M.P. 23.443

• Licenciados en Diagnóstico en Bio Imágenes
Lic. Basualdo José
Lic. Escudero Evangelina
Lic. Ferreyra Pablo
Lic. Gallardo Martin
Lic. Perez Marina
Lic. Requelme Noelia

\n
• Conctacto:
\n
\n \n \n \n
\n
\n \n
\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .diagnostico-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .diagnostico-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n min-height: 100px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: column;\n }\n .body__cuerpo-text{\n min-height: 200px;\n width: 90%;\n }\n .body__cuerpo-text-title{\n margin: 10px auto;\n font-size: 25px;\n text-align: start;\n }\n .body__cuerpo-text-subtitle{\n margin: 10px auto;\n font-size: 15px;\n }\n .body__cuerpo-img-a{\n height: 400px;\n width: 400px;\n background-color: #1E1E1E75;\n }\n .link{\n text-decoration: none;\n font-size: 15px;\n color: whitesmoke;\n background: #50af70;\n padding: 10px;\n border-radius: 5px;\n }\n .btn{\n width: 150px;\n }\n .body__cuerpo-box{\n display: grid;\n grid-template-columns: 45% 45%;\n gap: 10px;\n padding: 10px;\n justify-content: center;\n }\n .body__cuerpo-fotos{\n width: 100%;\n }\n .body__cuerpo-contacto{\n display: grid;\n grid-template-columns: 30% 30% 30%;\n justify-content: space-evenly;\n justify-items: center;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"diagnostico-page\", DiagnosticoPage)","module.exports = new __parcel__URL__(\"diag2.ba1ddd2a.png\").toString();","module.exports = new __parcel__URL__(\"diag1.02634958.png\").toString();","module.exports = new __parcel__URL__(\"btn-email.f76c9838.png\").toString();","module.exports = new __parcel__URL__(\"btn-whatsapp.d54af20d.png\").toString();","module.exports = new __parcel__URL__(\"btn-horarios.efd83b50.png\").toString();","/* Variables */\nconst style = document.createElement('style');\nconst img1 = require(\"url:../assets/lab1.png\")\nconst img2 = require(\"url:../assets/lab2.png\")\nconst btn_email = require(\"url:../assets/btn-email.png\")\nconst btn_whatsapp = require(\"url:../assets/btn-whatsapp.png\")\nconst btn_horarios = require(\"url:../assets/btn-horarios.png\")\n\n/* Class Laboratorio */\nexport class LaboratorioPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n };\n\n /* Render */\n render(){\n this.className = 'laboratorio-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n
\n
\n
\n

Laboratorio de Análisis Clínicos y Microbiológicos

\n
\n
La Dirección del Laboratorio tiene como objetivo la calidad, innovación tecnológica y la mejora continua, poniendo énfasis en la satisfacción y seguridad de nuestros pacientes y médicos; mediante la entrega de resultados confiables y reproducibles, con un tiempo de respuesta adecuado a los compromisos establecidos y de acuerdo al uso previsto para diagnóstico, pronóstico y seguimiento clínico.
El plantel del Laboratorio cuenta con destacados profesionales comprometidos con la capacitación continua.
En el mes de enero de 2023, el Laboratorio obtuvo su acreditación del programa de evaluación externa de calidad de la fundación bioquímica argentina.
Cumplir con esta evaluación vigente implica que el Laboratorio tiene implementado un sistema de Gestión de la Calidad en mejora continua, reconociendo su competencia técnica para la realización de los análisis acreditados.

• Dirección Técnica:
Dra. Liliana Bertola - M.P. 3.585

• Bioquimicos:
Dra. Gisel Bersi - M.P. 6.343
Dra. María Julia Armonti - M.P. 4.767
Dra. Flavia Máspero - M.P. 6.656

• Tec. Laboratorio:
Avila Daniela
Emiliozzi Liliana
Ortiz Karina

\n
• Conctacto:
\n
\n \n \n \n
\n
\n \n
\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .laboratorio-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .laboratorio-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n min-height: 100px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: column;\n }\n .body__cuerpo-text{\n min-height: 200px;\n width: 90%;\n }\n .body__cuerpo-text-title{\n margin: 10px auto;\n font-size: 25px;\n text-align: start;\n }\n .body__cuerpo-text-subtitle{\n margin: 10px auto;\n font-size: 15px;\n }\n .body__cuerpo-img-a{\n height: 400px;\n width: 400px;\n background-color: #1E1E1E75;\n }\n .link{\n text-decoration: none;\n font-size: 15px;\n color: whitesmoke;\n background: #50af70;\n padding: 10px;\n border-radius: 5px;\n }\n .btn{\n width: 150px;\n }\n .body__cuerpo-box{\n display: grid;\n grid-template-columns: 45% 45%;\n gap: 10px;\n padding: 10px;\n justify-content: center;\n }\n .body__cuerpo-fotos{\n width: 100%;\n }\n .body__cuerpo-contacto{\n display: grid;\n grid-template-columns: 30% 30% 30%;\n justify-content: space-evenly;\n justify-items: center;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"laboratorio-page\", LaboratorioPage)","module.exports = new __parcel__URL__(\"lab1.b1942eff.png\").toString();","module.exports = new __parcel__URL__(\"lab2.9f58222d.png\").toString();","/* Variables */\nconst style = document.createElement('style');\nconst btn_email = require(\"url:../assets/btn-email.png\")\nconst btn_whatsapp = require(\"url:../assets/btn-whatsapp.png\")\nconst btn_horarios = require(\"url:../assets/btn-horarios.png\")\n\n/* Class Cardiologia */\nexport class CardiologiaPage extends HTMLElement {\n \n /* Connected to CallBack */\n connectedCallback(){\n this.render()\n };\n\n /* Render */\n render(){\n this.className = 'cardiologia-page';\n this.innerHTML = \n `\n \n
\n \n
\n
\n
\n
\n
\n

Servicio de Cardiología

\n
\n
En Sanatorio Privado Río Cuarto, entendemos la importancia de la salud cardíaca y nos enorgullece ofrecer un servicio de Cardiología de primer nivel con los mejores cardiólogos de la provincia a su disposición.
Nuestro equipo de Cardiología está compuesto por destacados profesionales, reconocidos como los mejores en su campo. Su dedicación y experiencia aseguran que cada paciente reciba una atención personalizada y de calidad excepcional.
Nos comprometemos a brindar las herramientas necesarias para evaluar su salud cardíaca de manera completa. Realizamos estudios de vanguardia, incluyendo Ecocardiograma Doppler, Ergometría, Holter de 24 horas y Presurometría o Monitoreo Ambulatorio de Presión Arterial. Estos estudios son fundamentales para un diagnóstico preciso y un plan de tratamiento efectivo.
\n

ECOCARDIOGRAMA DOPPLER

\n
Permite visualizar las cavidades cardíacas, su tamaño, el movimiento de sus paredes, además de la estructura y el funcionamiento de las válvulas.

¿CÓMO FUNCIONA?
Las imágenes se obtienen apoyando un dispositivo llamado “transductor”, en distintos puntos de la pared del tórax. Se trata de un procedimiento no invasivo y no doloroso.

RECOMENDACIONES PARA EL PACIENTE
• No requiere preparación previa ni ayuno.
• Debe tomar su medicación habitual.

No requiere preparación
\n

ERGOMETRÍA (BICICLETA)

\n
Se denomina ergometría a la prueba diagnóstica que consiste en realizar un registro del electrocardiograma durante un esfuerzo controlado, está indicado ante factores de riesgo tales como hipertensión, diabetes y referencia de dolor de pecho.

¿CÓMO FUNCIONA?
Se le colocan unos electrodos adhesivos en el tórax, se le conecta al equipo y siguiendo las instrucciones debe andar en bicicleta estática. Durante el esfuerzo se le registrará el electrocardiograma y se le tomará la presión arterial. El paciente debe indicar al personal médico, si presenta en la prueba, cualquier incidencia como (fatiga, cansancio, dolor en el pecho, palpitaciones, dificultad respiratoria).

RECOMENDACIONES PARA EL PACIENTE
• Ingerir un desayuno liviano previo al estudio.
• No fumar por lo menos 8 horas antes del estudio.
• Evitar la ingesta de bebidas alcohólicas, cafeína y otras excitantes horas antes a la realización de la prueba.
• Vaya equipado con ropa holgada y cómoda, y calzado apropiado (zapatillas de deporte o similar) para andar o correr.

Preparación:
• Traer 10 Electrodos.
• Llegar puntual a su turno.
• Desayunar liviano (sin excepción).
• Tomar la medicación habitual.
• Utilizar ropa cómoda y calzado adecuado para realizar ejercicio físico.
\n

HOLTER DE 24 HORAS

\n
Consiste en la monitorización ambulatoria del electrocardiograma por un periodo de 24 a 48 horas, durante la actividad diaria habitual del paciente. Se usa en pacientes con sospecha de arritmia cardíaca.

¿CÓMO FUNCIONA?
El monitor tiene entre 6 y 10 cables. Las derivaciones van conectados a electrodos, los cuales se colocan en el pecho, estos se conectan a un Holter del tamaño de un teléfono móvil que graba los impulsos eléctricos del corazón durante 24 horas.

¿CUÁNDO ESTA INDICADA?
• Evaluación de síntomas que estén relacionados con ARRITMIAS.
• Detección, cuantificación y mecanismo de las arritmias.
• Valorar el riesgo en pacientes con arritmias sintomáticas y asintomáticas.
• Evaluación de la eficacia de la terapia antiarrítmica.
• Evaluación del funcionamiento de los marcapasos.

RECOMENDACIÓN PARA EL PACIENTE
• No se necesita estar en ayunas, Puede ingerir alimentos.
• El/La paciente debe venir bañado antes de colocarse el equipo porque durante el monitoreo no se puede bañar, hasta ser retirado.
• No debe untarse cremas, talcos, aceites, colonias, ya que se puede dañar el equipo.
• No es necesario suspender los medicamentos si toma algunos.

Preparación:
El paciente recibirá un equipo que deberá devolver luego de siete días hábiles
• Traer 8 Electrodos y 1 Pila “AA”.
\n

PRESUROMETRÍA O MONITOREO AMBULATORIO DE PRESIÓN ARTERIAL

\n
La presurometría es un estudio indicado para el monitoreo de la presión arterial durante 24 hs. Se indica en pacientes con sospecha de hipertensión y en pacientes hipertensos para valoración de la respuesta al tratamiento.

¿CÓMO FUNCIONA?
El presurómetro se compone de un manguito de insuflación que se coloca en el brazo del paciente, una manguera con una válvula y un aparato de mediciones que se lleva colgado es un cinturón, las mediciones son en forma automática cada 30 a 60 minutos de acuerdo a programación.

RECOMENDACIONES PARA EL PACIENTE
• No se requiere preparación previa ni estar en ayunas.
• Durante el estudio el paciente no se puede bañar.
• Cuando el presurómetro esté realizando la medición el paciente debe mantener el brazo relajado y estirado hasta que la misma se complete.

Preparación:
• Traer 2 Pilas “AA”.
\n
\n

Servicio de Hemodinamia

\n
\n
Además de nuestros estudios cardiológicos, contamos con el servicio de Hemodinamia, una herramienta invaluable para evaluar y tratar diversas afecciones cardíacas. Nuestro compromiso es poner la última tecnología médica a disposición y mejorar la calidad de vida de nuestros pacientes, especialmente aquellos que son adultos mayores. Reconocemos la importancia de brindar un cuidado especializado a esta población, ya que a menudo enfrentan problemas de salud relacionados con el sistema cardiovascular.
En nuestras modernas instalaciones, utilizamos tecnología de vanguardia para llevar a cabo procedimientos de hemodinamia. Esto nos permite diagnosticar y tratar de manera efectiva una amplia gama de enfermedades cardiovasculares, como enfermedad coronaria, insuficiencia cardíaca y enfermedad de las arterias periféricas.
Nuestro equipo médico está altamente comprometido con la excelencia y el cuidado integral del paciente. Trabajamos en estrecha colaboración con otros especialistas médicos para ofrecer un enfoque multidisciplinario en la atención de nuestros pacientes.
\n
\n
• Conctacto:
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n `\n style.innerHTML = \n `\n /* Page */\n .cardiologia-container{\n max-width: 100%;\n min-height: 10vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n \n /* Body */\n .cardiologia-body{\n width: 100%;\n display: flex;\n justify-content: center;\n background-color: whitesmoke;\n }\n /* Body - Box */\n .body-box{\n width: 1024px;\n }\n .body__cuerpo{\n background-color: #1e1e1e10;\n min-height: 100px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n flex-direction: row;\n }\n .body__cuerpo-text{\n min-height: 200px;\n width: 90%;\n }\n .body__cuerpo-text-title{\n margin: 10px auto;\n font-size: 25px;\n text-align: start;\n }\n .body__cuerpo-text-subtitle{\n margin: 10px auto;\n font-size: 15px;\n }\n .body__cuerpo-text-estudio{\n font-size: 20px;\n margin: 5px auto;\n }\n .btn{\n width: 150px;\n }\n .body__cuerpo-contacto{\n display: grid;\n grid-template-columns: 30% 30% 30%;\n justify-content: space-evenly;\n justify-items: center;\n }\n `\n this.appendChild(style)\n }\n}\n\n/* Define */\ncustomElements.define(\"cardiologia-page\", CardiologiaPage)","/* Imports */\nimport { Router } from \"@vaadin/router\";\n\n/* Variables */\nconst router = new Router(document.querySelector('.root'));\n\n/* Function */\nrouter.setRoutes([\n {path: '/', component: 'welcome-page'}, //Pagina de Inicio\n {path: '/nosotros', component: 'nosotros-page'}, //Pagina de Nosotros\n {path: '/trabaja', component: 'trabaja-page'}, //Pagina Trabaja con Nosotros\n {path: '/cobertura', component: 'cobertura-page'}, //Pagina de Cobertura Medica\n {path: '/horarios', component: 'horarios-page'}, //Pagina de Horarios\n {path: '/profesionales', component: 'no-page'}, //Pagina de Profesionales\n {path: '/diagnostico', component: 'diagnostico-page'}, //Pagina de Diagnostico\n {path: '/laboratorio', component: 'laboratorio-page'}, //Pagina de Laboratorio\n {path: '/cardiologia', component: 'cardiologia-page'}, //Pagina de Hemodinamia\n {path: '/sedes', component: 'sedes-page'}, //Pagina de Sedes y Centros Asociados\n]);"],"names":["$e7453e1bf0e39a4e$exports","$e7453e1bf0e39a4e$var$_typeof","o","Symbol","iterator","constructor","prototype","$f9d9d110dea7aeee$var$toArray","objectOrArray","Array","isArray","$f9d9d110dea7aeee$var$log","msg","Object","defineProperty","value","HeaderComponent","$f9d9d110dea7aeee$var$MODULE","$f9d9d110dea7aeee$var$NOMODULE","$f9d9d110dea7aeee$var$bundleKeys","$f9d9d110dea7aeee$var$ensureBundle","src","match","Error","$f9d9d110dea7aeee$var$ensureRoute","route","$f9d9d110dea7aeee$var$isString","path","bundle","stringKeys","$f9d9d110dea7aeee$var$isFunction","action","children","$f9d9d110dea7aeee$var$isObject","some","key","join","forEach","redirect","overriddenProp","console","warn","$f9d9d110dea7aeee$var$ensureRoutes","routes","$f9d9d110dea7aeee$var$loadScript","script","document","head","querySelector","createElement","setAttribute","async","Promise","resolve","reject","onreadystatechange","onload","e","__dynamicImportLoaded","onerror","parentNode","removeChild","appendChild","$f9d9d110dea7aeee$var$fireRouterEvent","type","detail","window","dispatchEvent","CustomEvent","cancelable","f","s","$f9d9d110dea7aeee$var$getNotFoundError","context","error","pathname","code","$f9d9d110dea7aeee$var$notFoundResult","$f9d9d110dea7aeee$var$vaadinRouterGlobalClickHandler","event","defaultPrevented","button","shiftKey","ctrlKey","altKey","metaKey","anchor","target","composedPath","i","length","nodeName","toLowerCase","hasAttribute","location","hash","origin","$f9d9d110dea7aeee$var$getAnchorOrigin","port","protocol","host","defaultHttp","hostname","search","preventDefault","scrollTo","$f9d9d110dea7aeee$var$isIE","test","navigator","userAgent","$f9d9d110dea7aeee$var$vaadinRouterGlobalPopstateHandler","state","PopStateEvent","inType","params","createEvent","initEvent","Boolean","bubbles","Event","$f9d9d110dea7aeee$var$pathToRegexp_1","$f9d9d110dea7aeee$var$pathToRegexp$1","keys","options","RegExp","$f9d9d110dea7aeee$var$regexpToRegexp","groups","source","push","name","prefix","delimiter","optional","repeat","partial","pattern","$f9d9d110dea7aeee$var$arrayToRegexp","parts","$f9d9d110dea7aeee$var$flags","$f9d9d110dea7aeee$var$tokensToRegExp","$f9d9d110dea7aeee$var$parse","$f9d9d110dea7aeee$var$PATH_REGEXP","str","res","tokens","index","defaultDelimiter","delimiters","pathEscaped","exec","m","escaped","offset","slice","prev","next","capture","group","modifier","k","indexOf","undefined","replace","$f9d9d110dea7aeee$var$escapeString","substr","$f9d9d110dea7aeee$var$tokensToFunction","matches","data","encode","encodeURIComponent","segment","token","TypeError","j","String","sensitive","strict","start","end","endsWith","concat","map","isEndDelimited","parse","compile","tokensToFunction","tokensToRegExp","hasOwnProperty","$f9d9d110dea7aeee$var$hasOwnProperty","$f9d9d110dea7aeee$var$cache$1","Map","$f9d9d110dea7aeee$var$decodeParam","val","decodeURIComponent","err","$f9d9d110dea7aeee$var$resolveRoute","set","$f9d9d110dea7aeee$export$8b4c839865b08288","baseUrl","errorHandler","resolveRoute","assign","resolver","root","__children","parent","__synthetic","getRoutes","setRoutes","newRoutes","addRoutes","removeRoutes","pathnameOrContext","$f9d9d110dea7aeee$var$matchRoute","ignoreLeadingSlash","parentKeys","parentParams","childMatches","childIndex","routepath","charAt","routeToSkip","done","$f9d9d110dea7aeee$var$matchPath","exact","cacheKey","regexp","get","prop","call","split","childRoute","matchedLength","childMatch","__normalizePathname","nextMatches","currentContext","resume","prevResult","$f9d9d110dea7aeee$var$isChildRoute","parentRoute","$f9d9d110dea7aeee$var$updateChainForRoute","chain","pop","then","resolution","result","catch","errorMessage","$f9d9d110dea7aeee$var$generateErrorMessage","routePath","DOMException","__createUrl","url","base","URL","__effectiveBaseUrl","baseURI","href","normalizedUrl","pathToRegexp","$f9d9d110dea7aeee$var$pathToRegexp","$f9d9d110dea7aeee$var$cache","$f9d9d110dea7aeee$var$getRouteByName","routesByName","routeName","$f9d9d110dea7aeee$var$getRoutePath","$f9d9d110dea7aeee$var$triggers","$f9d9d110dea7aeee$var$willAnimate","elem","getComputedStyle","getPropertyValue","$f9d9d110dea7aeee$var$waitForAnimation","cb","listener","removeEventListener","addEventListener","$f9d9d110dea7aeee$var$animate","className","classList","add","rect","getBoundingClientRect","size","bottom","top","right","left","remove","removeAttribute","$f9d9d110dea7aeee$var$createLocation","redirectFrom","item","getUrl","userParams","$f9d9d110dea7aeee$var$getPathnameForRouter","$f9d9d110dea7aeee$export$55185c17a0fcbe46","$f9d9d110dea7aeee$var$getMatchedPath","$f9d9d110dea7aeee$var$createRedirect","from","$f9d9d110dea7aeee$var$runCallbackIfPossible","callback","args","thisArg","apply","$f9d9d110dea7aeee$var$amend","amendmentFunction","element","amendmentResult","cancel","$f9d9d110dea7aeee$var$removeDomNodes","nodes","router","reduce","a","b","outlet","baseElement","baseHref","getAttribute","__resolveRoute","triggers","NavigationTrigger","setTriggers","ready","__lastStartedRenderId","__navigationEventHandler","__onNavigationEvent","bind","setOutlet","subscribe","__createdByRouter","WeakMap","__addedByRouter","callbacks","$f9d9d110dea7aeee$var$copyContextWithoutNext","copy","$f9d9d110dea7aeee$var$processNewChildren","newChildren","childRoutes","commands","component","__isLatestRender","HTMLElement","$f9d9d110dea7aeee$var$loadBundle","race","filter","__ensureOutlet","__outlet","getOutlet","skipRender","__previousContext","__urlForName","render","shouldUpdateHistory","renderId","__renderId","__fullyResolveChain","previousContext","__updateBrowserHistory","__skipAttach","__copyUnchangedElements","__addAppearingContent","animationDone","__animateIfNeeded","__runOnAfterEnterCallbacks","__runOnAfterLeaveCallbacks","__removeDisappearingContent","topOfTheChainContextBeforeRedirects","contextBeforeRedirects","__findComponentContextAfterAllRedirects","contextAfterRedirects","redirectsHappened","topOfTheChainContextAfterRedirects","matchedPath","isFound","findNextContextIfAny","nextContext","__amendWithOnBeforeCallbacks","$f9d9d110dea7aeee$var$renderElement","__redirect","__redirectCount","$f9d9d110dea7aeee$var$logValue","stringType","toString","JSON","stringify","contextWithFullChain","__runOnBeforeCallbacks","amendedContext","newContext","previousChain","newChain","prevent","__divergedChainIndex","Math","min","__isReusableElement","__runOnBeforeLeaveCallbacks","__runOnBeforeEnterCallbacks","chainElement","afterLeaveFunction","beforeEnterFunction","otherElement","localName","redirectData","counter","urlForPath","Node","history","title","deepestCommonParent","unchangedElement","__removeAppearingContent","__appearingContent","__disappearingContent","parentElement","elementToAdd","targetContext","currentComponent","onAfterLeave","onAfterEnter","config","to","promises","animate","leave","enter","all","unsubscribe","trigger","inactivate","newTriggers","activate","urlForName","$f9d9d110dea7aeee$var$generateUrls","clear","$f9d9d110dea7aeee$var$cacheRoutes","has","fullPath","rt","toPath","create","stringifyQueryParams","queryParams","query","go","$f9d9d110dea7aeee$var$DEV_MODE_CODE_REGEXP","$f9d9d110dea7aeee$var$FlowClients","Vaadin","Flow","clients","$f9d9d110dea7aeee$var$uncommentAndRun","Function","log","$f9d9d110dea7aeee$var$runIfDevelopmentMode","developmentMode","$e7453e1bf0e39a4e$var$_defineProperties","props","descriptor","enumerable","configurable","writable","$e7453e1bf0e39a4e$var$_toPropertyKey","t","$e7453e1bf0e39a4e$var$_toPrimitive","r","toPrimitive","Number","$e7453e1bf0e39a4e$var$_wrapNativeSuper","Class","_cache","$e7453e1bf0e39a4e$var$_isNativeFunction","fn","Wrapper","$e7453e1bf0e39a4e$var$_construct","$e7453e1bf0e39a4e$var$_isNativeReflectConstruct","Reflect","construct","arguments","p","$e7453e1bf0e39a4e$var$_setPrototypeOf","$e7453e1bf0e39a4e$var$_getPrototypeOf","valueOf","setPrototypeOf","__proto__","getPrototypeOf","$f9d9d110dea7aeee$var$isDevelopmentMode","localStorage","getItem","$f9d9d110dea7aeee$var$isFlowProductionMode","productionModeApps","client","productionMode","registrations","is","version","POPSTATE","CLICK","$e7453e1bf0e39a4e$var$style","$f535c099c9126121$exports","$ce17c60c061cde41$exports","$e7453e1bf0e39a4e$var$HeaderComponent","_HTMLElement","protoProps","staticProps","$e7453e1bf0e39a4e$var$_classCallCheck","instance","Constructor","$e7453e1bf0e39a4e$var$_possibleConstructorReturn","self","$e7453e1bf0e39a4e$var$_assertThisInitialized","ReferenceError","$e7453e1bf0e39a4e$var$_inherits","subClass","superClass","inicio","institucional","trabaja","cobertura","horarios","profesionales","diagnostico","laboratorio","cardiologia","sedes","innerHTML","customElements","define","$791dbe1805b7a1bf$exports","$791dbe1805b7a1bf$var$_typeof","$791dbe1805b7a1bf$var$_defineProperties","$791dbe1805b7a1bf$var$_toPropertyKey","$791dbe1805b7a1bf$var$_toPrimitive","$791dbe1805b7a1bf$var$_wrapNativeSuper","$791dbe1805b7a1bf$var$_isNativeFunction","$791dbe1805b7a1bf$var$_construct","$791dbe1805b7a1bf$var$_isNativeReflectConstruct","$791dbe1805b7a1bf$var$_setPrototypeOf","$791dbe1805b7a1bf$var$_getPrototypeOf","FooterComponent","$791dbe1805b7a1bf$var$style","$7b03f4dbb4d7b5f5$exports","$e09e19849f6e3b79$exports","$6462e6b5cab8b45b$exports","$e3fbcf0844ee80af$exports","$791dbe1805b7a1bf$var$FooterComponent","$791dbe1805b7a1bf$var$_classCallCheck","$791dbe1805b7a1bf$var$_possibleConstructorReturn","$791dbe1805b7a1bf$var$_assertThisInitialized","$791dbe1805b7a1bf$var$_inherits","$471d51884eb22c52$exports","$471d51884eb22c52$var$_typeof","$471d51884eb22c52$var$_defineProperties","$471d51884eb22c52$var$_toPropertyKey","$471d51884eb22c52$var$_toPrimitive","$471d51884eb22c52$var$_wrapNativeSuper","$471d51884eb22c52$var$_isNativeFunction","$471d51884eb22c52$var$_construct","$471d51884eb22c52$var$_isNativeReflectConstruct","$471d51884eb22c52$var$_setPrototypeOf","$471d51884eb22c52$var$_getPrototypeOf","NoPage","$471d51884eb22c52$var$style","$471d51884eb22c52$var$NoPage","$471d51884eb22c52$var$_classCallCheck","$471d51884eb22c52$var$_possibleConstructorReturn","$471d51884eb22c52$var$_assertThisInitialized","$471d51884eb22c52$var$_inherits","$4ffce5fddec20c53$exports","$4ffce5fddec20c53$var$_typeof","WelcomePage","$0b89d474933103bc$exports","$0b89d474933103bc$var$_createForOfIteratorHelper","allowArrayLike","it","$0b89d474933103bc$var$_unsupportedIterableToArray","minLen","$0b89d474933103bc$var$_arrayLikeToArray","n","F","_e","normalCompletion","didErr","step","_e2","arr","len","arr2","$4ffce5fddec20c53$var$_defineProperties","$4ffce5fddec20c53$var$_toPropertyKey","$4ffce5fddec20c53$var$_toPrimitive","$4ffce5fddec20c53$var$_wrapNativeSuper","$4ffce5fddec20c53$var$_isNativeFunction","$4ffce5fddec20c53$var$_construct","$4ffce5fddec20c53$var$_isNativeReflectConstruct","$4ffce5fddec20c53$var$_setPrototypeOf","$4ffce5fddec20c53$var$_getPrototypeOf","init","searchImagen","idPhoto","includes","Asset","find","sys","id","addNotice","template","container","content","textContent","titulo","informacion","foto","clone","importNode","getNotice","_this","fetch","json","items","fields","file","dataWelcome","_this2","_step","_iterator","addJob","puesto","descripcion","disponibilidad","getJob","dataJob","_this3","_step2","_iterator2","addSedes","periferico","direccion","telefono","contacto","getSedes","_this4","dataSedes","_this5","_step3","_iterator3","addProfesionales","Especialidad","Profesional","dataProfesionales","_step4","_iterator4","addMutuales","Mutual","dataMutuales","_step5","_iterator5","$4ffce5fddec20c53$var$style","$d42eaa44e1dfce0d$exports","$4ffce5fddec20c53$var$WelcomePage","$4ffce5fddec20c53$var$_classCallCheck","$4ffce5fddec20c53$var$_possibleConstructorReturn","$4ffce5fddec20c53$var$_assertThisInitialized","$4ffce5fddec20c53$var$_inherits","$018a8573d9cd844e$exports","$018a8573d9cd844e$var$_typeof","$018a8573d9cd844e$var$_defineProperties","$018a8573d9cd844e$var$_toPropertyKey","$018a8573d9cd844e$var$_toPrimitive","$018a8573d9cd844e$var$_wrapNativeSuper","$018a8573d9cd844e$var$_isNativeFunction","$018a8573d9cd844e$var$_construct","$018a8573d9cd844e$var$_isNativeReflectConstruct","$018a8573d9cd844e$var$_setPrototypeOf","$018a8573d9cd844e$var$_getPrototypeOf","NosotrosPage","$018a8573d9cd844e$var$style","$018a8573d9cd844e$var$NosotrosPage","$018a8573d9cd844e$var$_classCallCheck","$018a8573d9cd844e$var$_possibleConstructorReturn","$018a8573d9cd844e$var$_assertThisInitialized","$018a8573d9cd844e$var$_inherits","$afed6b31e36da77f$exports","$afed6b31e36da77f$var$_typeof","$afed6b31e36da77f$var$_defineProperties","$afed6b31e36da77f$var$_toPropertyKey","$afed6b31e36da77f$var$_toPrimitive","$afed6b31e36da77f$var$_wrapNativeSuper","$afed6b31e36da77f$var$_isNativeFunction","$afed6b31e36da77f$var$_construct","$afed6b31e36da77f$var$_isNativeReflectConstruct","$afed6b31e36da77f$var$_setPrototypeOf","$afed6b31e36da77f$var$_getPrototypeOf","SedesPage","$afed6b31e36da77f$var$style","$afed6b31e36da77f$var$SedesPage","$afed6b31e36da77f$var$_classCallCheck","$afed6b31e36da77f$var$_possibleConstructorReturn","$afed6b31e36da77f$var$_assertThisInitialized","$afed6b31e36da77f$var$_inherits","$91362b5270957ac7$exports","$91362b5270957ac7$var$_typeof","CoberturaPage","$8ff575a4ccc1ade5$exports","$91362b5270957ac7$var$_defineProperties","$91362b5270957ac7$var$_toPropertyKey","$91362b5270957ac7$var$_toPrimitive","$91362b5270957ac7$var$_wrapNativeSuper","$91362b5270957ac7$var$_isNativeFunction","$91362b5270957ac7$var$_construct","$91362b5270957ac7$var$_isNativeReflectConstruct","$91362b5270957ac7$var$_setPrototypeOf","$91362b5270957ac7$var$_getPrototypeOf","$91362b5270957ac7$var$style","$91362b5270957ac7$var$CoberturaPage","$91362b5270957ac7$var$_classCallCheck","$91362b5270957ac7$var$_possibleConstructorReturn","$91362b5270957ac7$var$_assertThisInitialized","$91362b5270957ac7$var$_inherits","$44d926c2d64e01e6$exports","$44d926c2d64e01e6$var$_typeof","$44d926c2d64e01e6$var$_defineProperties","$44d926c2d64e01e6$var$_toPropertyKey","$44d926c2d64e01e6$var$_toPrimitive","$44d926c2d64e01e6$var$_wrapNativeSuper","$44d926c2d64e01e6$var$_isNativeFunction","$44d926c2d64e01e6$var$_construct","$44d926c2d64e01e6$var$_isNativeReflectConstruct","$44d926c2d64e01e6$var$_setPrototypeOf","$44d926c2d64e01e6$var$_getPrototypeOf","HorariosPage","$44d926c2d64e01e6$var$style","$44d926c2d64e01e6$var$HorariosPage","$44d926c2d64e01e6$var$_classCallCheck","$44d926c2d64e01e6$var$_possibleConstructorReturn","$44d926c2d64e01e6$var$_assertThisInitialized","$44d926c2d64e01e6$var$_inherits","$44b3c5d5af63dbbd$exports","$44b3c5d5af63dbbd$var$_typeof","ProfesionalesPage","$22fafd7121aa3f7b$exports","$44b3c5d5af63dbbd$var$_defineProperties","$44b3c5d5af63dbbd$var$_toPropertyKey","$44b3c5d5af63dbbd$var$_toPrimitive","$44b3c5d5af63dbbd$var$_wrapNativeSuper","$44b3c5d5af63dbbd$var$_isNativeFunction","$44b3c5d5af63dbbd$var$_construct","$44b3c5d5af63dbbd$var$_isNativeReflectConstruct","$44b3c5d5af63dbbd$var$_setPrototypeOf","$44b3c5d5af63dbbd$var$_getPrototypeOf","$44b3c5d5af63dbbd$var$style","$44b3c5d5af63dbbd$var$ProfesionalesPage","$44b3c5d5af63dbbd$var$_classCallCheck","$44b3c5d5af63dbbd$var$_possibleConstructorReturn","$44b3c5d5af63dbbd$var$_assertThisInitialized","$44b3c5d5af63dbbd$var$_inherits","$6bb7f8dcb263d6a9$exports","$6bb7f8dcb263d6a9$var$_typeof","$6bb7f8dcb263d6a9$var$_defineProperties","$6bb7f8dcb263d6a9$var$_toPropertyKey","$6bb7f8dcb263d6a9$var$_toPrimitive","$6bb7f8dcb263d6a9$var$_wrapNativeSuper","$6bb7f8dcb263d6a9$var$_isNativeFunction","$6bb7f8dcb263d6a9$var$_construct","$6bb7f8dcb263d6a9$var$_isNativeReflectConstruct","$6bb7f8dcb263d6a9$var$_setPrototypeOf","$6bb7f8dcb263d6a9$var$_getPrototypeOf","TrabajaPage","$6bb7f8dcb263d6a9$var$style","$6bb7f8dcb263d6a9$var$TrabajaPage","$6bb7f8dcb263d6a9$var$_classCallCheck","$6bb7f8dcb263d6a9$var$_possibleConstructorReturn","$6bb7f8dcb263d6a9$var$_assertThisInitialized","$6bb7f8dcb263d6a9$var$_inherits","$f9b38f7fd0fbf448$exports","$f9b38f7fd0fbf448$var$_typeof","$f9b38f7fd0fbf448$var$_defineProperties","$f9b38f7fd0fbf448$var$_toPropertyKey","$f9b38f7fd0fbf448$var$_toPrimitive","$f9b38f7fd0fbf448$var$_wrapNativeSuper","$f9b38f7fd0fbf448$var$_isNativeFunction","$f9b38f7fd0fbf448$var$_construct","$f9b38f7fd0fbf448$var$_isNativeReflectConstruct","$f9b38f7fd0fbf448$var$_setPrototypeOf","$f9b38f7fd0fbf448$var$_getPrototypeOf","DiagnosticoPage","$f9b38f7fd0fbf448$var$style","$cc8638b9c65abbe4$exports","$a245fe08668640dc$exports","$37c27fc1ca559d02$exports","$490c76e5cc6cb528$exports","$fc7a2a1016b7c401$exports","$f9b38f7fd0fbf448$var$DiagnosticoPage","$f9b38f7fd0fbf448$var$_classCallCheck","$f9b38f7fd0fbf448$var$_possibleConstructorReturn","$f9b38f7fd0fbf448$var$_assertThisInitialized","$f9b38f7fd0fbf448$var$_inherits","$6ebd6b6e3cb2ca9e$exports","$6ebd6b6e3cb2ca9e$var$_typeof","$6ebd6b6e3cb2ca9e$var$_defineProperties","$6ebd6b6e3cb2ca9e$var$_toPropertyKey","$6ebd6b6e3cb2ca9e$var$_toPrimitive","$6ebd6b6e3cb2ca9e$var$_wrapNativeSuper","$6ebd6b6e3cb2ca9e$var$_isNativeFunction","$6ebd6b6e3cb2ca9e$var$_construct","$6ebd6b6e3cb2ca9e$var$_isNativeReflectConstruct","$6ebd6b6e3cb2ca9e$var$_setPrototypeOf","$6ebd6b6e3cb2ca9e$var$_getPrototypeOf","LaboratorioPage","$6ebd6b6e3cb2ca9e$var$style","$0f358af7edcebcc1$exports","$e028da7ed83e2839$exports","$6ebd6b6e3cb2ca9e$var$LaboratorioPage","$6ebd6b6e3cb2ca9e$var$_classCallCheck","$6ebd6b6e3cb2ca9e$var$_possibleConstructorReturn","$6ebd6b6e3cb2ca9e$var$_assertThisInitialized","$6ebd6b6e3cb2ca9e$var$_inherits","$e8ae634224872ffd$exports","$e8ae634224872ffd$var$_typeof","$e8ae634224872ffd$var$_defineProperties","$e8ae634224872ffd$var$_toPropertyKey","$e8ae634224872ffd$var$_toPrimitive","$e8ae634224872ffd$var$_wrapNativeSuper","$e8ae634224872ffd$var$_isNativeFunction","$e8ae634224872ffd$var$_construct","$e8ae634224872ffd$var$_isNativeReflectConstruct","$e8ae634224872ffd$var$_setPrototypeOf","$e8ae634224872ffd$var$_getPrototypeOf","CardiologiaPage","$e8ae634224872ffd$var$style","$e8ae634224872ffd$var$CardiologiaPage","$e8ae634224872ffd$var$_classCallCheck","$e8ae634224872ffd$var$_possibleConstructorReturn","$e8ae634224872ffd$var$_assertThisInitialized","$e8ae634224872ffd$var$_inherits","$e817d3341cf3ea9c$var$router","require","_state","_router","_classCallCheck","_defineProperties","_toPropertyKey","_createClass","_toPrimitive","_typeof","_callSuper","_getPrototypeOf","_possibleConstructorReturn","_isNativeReflectConstruct","_assertThisInitialized","_inherits","_setPrototypeOf","_wrapNativeSuper","_isNativeFunction","_construct","style","prequirurgico","logoSanatorio","exports","connectedCallback","Router","cache","whatsappIMG","linkedinIMG","instagramIMG","facebookIMG","siteIMG","wallpaper","notice","_createForOfIteratorHelper","job","img1","_ooss","_PruebaProfesionales","img2","btn_email","btn_whatsapp","btn_horarios"],"version":3,"file":"index.2ddc0d3b.js.map"}