{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/js/libs/spinner/spin.min.js","webpack:///./src/js/page_js/header_section_js_all_pages_main_pages/header_section_every_page/genericToolTip.js","webpack:///./src/js/page_js/header_section_js_all_pages_main_pages/header_section_every_page/handleServicesAJAXErrors.js","webpack:///./src/js/page_js/header_section_js_all_pages_main_pages/header_section_every_page/header_section_every_page_root.js","webpack:///./src/js/page_js/header_section_js_all_pages_main_pages/header_section_every_page/reportWebErrorToServer.js","webpack:///./src/js/page_js/header_section_js_all_pages_main_pages/header_section_every_page/showHideErrorMessage.js","webpack:///./src/js/page_js/header_section_js_all_pages_main_pages/header_section_every_page/spinner.js","webpack:///./src/js/page_js/header_section_js_all_pages_main_pages/header_section_every_page/toggleVisibility.js"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;AClFA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACa;;AAEb;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,OAAO;AACpD;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,QAAQ,kBAAkB,WAAW,kBAAkB,mBAAmB,UAAU,uBAAuB,kBAAkB,UAAU,kBAAkB,MAAM;AACvN;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,cAAc;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,aAAa;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,kBAAkB,aAAa;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,iBAAi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AACA,EAAE;AACF;AACA,E;AACA;;AAEA;;AAEA;AACA,0BAA0B,QAAQ;AAClC;AACA,qBAAqB,QAAQ;;AAE7B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;AAG4E;;;;;;;;;;;;;;;;AClG5E;;;AAGA;;AAEA;;AAEA;;AAEa;;AAEb;;AAEA;;AAEA;;AAEA;;AAEA,EAAE;;AAEF;AACA;;;AAGA;;;AAGA;;;AAGA;;AAEA;;AAEA,EAAE;;AAEF;AACA;;AAEA,cAAc;AACd,C;;;AAGA;;;AAGA;;AAEA;;AAEA;AACA,gB;AACA,EAAE,O;AACF,gB;AACA;;AAEA,cAAc;;AAEd,C;;;;AAIA;;AAEA;;AAEA;;;AAGA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;;AAGA;;AAEA,uB;;AAEA;AACA;AACA,EAAE,O;AACF;;AAEA;AACA;;AAEA;;AAEA,cAAc;;AAEd,C;;;AAGA;;;;AAIA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;;AAGA;;AAEA,wB;;AAEA;AACA;AACA,GAAG,O;AACH;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,EAAE;AACF;;;;AAIA;;;;AAIA;;AAEA;;AAEA;AACA,C;;AAEA;;AAE+B","file":"js_generated_bundles/header_section_every_page/header_section_every_page-bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/js/page_js/header_section_js_all_pages_main_pages/header_section_every_page/header_section_every_page_root.js\");\n","/**\n * Spinner Library\n *\n *\n * /front_end/src/js/libs/spinner/spin.min.js\n * \n * Spinner library code\n * \n */\n\n//////////////////////////////////\n// JavaScript directive: all variables have to be declared with \"var\", maybe other things\n\"use strict\";\n\nconst createSpinnerConstructor = function() {\n \"use strict\";\n var t = [\"webkit\", \"Moz\", \"ms\", \"O\"], e = {}, i;\n function o(t, e) {\n var i = document.createElement(t || \"div\"), o;\n for (o in e)\n i[o] = e[o];\n return i\n }\n function n(t) {\n for (var e = 1, i = arguments.length; e < i; e++)\n t.appendChild(arguments[e]);\n return t\n }\n var r = function() {\n var t = o(\"style\", {\n type: \"text/css\"\n });\n n(document.getElementsByTagName(\"head\")[0], t);\n return t.sheet || t.styleSheet\n }();\n function s(t, o, n, s) {\n var a = [\"opacity\", o, ~~(t * 100), n, s].join(\"-\")\n , f = .01 + n / s * 100\n , l = Math.max(1 - (1 - t) / o * (100 - f), t)\n , u = i.substring(0, i.indexOf(\"Animation\")).toLowerCase()\n , d = u && \"-\" + u + \"-\" || \"\";\n if (!e[a]) {\n r.insertRule(\"@\" + d + \"keyframes \" + a + \"{\" + \"0%{opacity:\" + l + \"}\" + f + \"%{opacity:\" + t + \"}\" + (f + .01) + \"%{opacity:1}\" + (f + o) % 100 + \"%{opacity:\" + t + \"}\" + \"100%{opacity:\" + l + \"}\" + \"}\", r.cssRules.length);\n e[a] = 1\n }\n return a\n }\n function a(e, i) {\n var o = e.style, n, r;\n i = i.charAt(0).toUpperCase() + i.slice(1);\n for (r = 0; r < t.length; r++) {\n n = t[r] + i;\n if (o[n] !== undefined)\n return n\n }\n if (o[i] !== undefined)\n return i\n }\n function f(t, e) {\n for (var i in e)\n t.style[a(t, i) || i] = e[i];\n return t\n }\n function l(t) {\n for (var e = 1; e < arguments.length; e++) {\n var i = arguments[e];\n for (var o in i)\n if (t[o] === undefined)\n t[o] = i[o]\n }\n return t\n }\n function u(t) {\n var e = {\n x: t.offsetLeft,\n y: t.offsetTop\n };\n while (t = t.offsetParent)\n e.x += t.offsetLeft,\n e.y += t.offsetTop;\n return e\n }\n function d(t, e) {\n return typeof t == \"string\" ? t : t[e % t.length]\n }\n var p = {\n lines: 12,\n length: 7,\n width: 5,\n radius: 10,\n rotate: 0,\n corners: 1,\n color: \"#000\",\n direction: 1,\n speed: 1,\n trail: 100,\n opacity: 1 / 4,\n fps: 20,\n zIndex: 2e9,\n className: \"spinner\",\n top: \"auto\",\n left: \"auto\",\n position: \"relative\"\n };\n function c(t) {\n if (typeof this == \"undefined\")\n return new c(t);\n this.opts = l(t || {}, c.defaults, p)\n }\n c.defaults = {};\n l(c.prototype, {\n spin: function(t) {\n this.stop();\n var e = this, n = e.opts, r = e.el = f(o(0, {\n className: n.className\n }), {\n position: n.position,\n width: 0,\n zIndex: n.zIndex\n }), s = n.radius + n.length + n.width, a, l;\n if (t) {\n t.insertBefore(r, t.firstChild || null);\n l = u(t);\n a = u(r);\n f(r, {\n left: (n.left == \"auto\" ? l.x - a.x + (t.offsetWidth >> 1) : parseInt(n.left, 10) + s) + \"px\",\n top: (n.top == \"auto\" ? l.y - a.y + (t.offsetHeight >> 1) : parseInt(n.top, 10) + s) + \"px\"\n })\n }\n r.setAttribute(\"role\", \"progressbar\");\n e.lines(r, e.opts);\n if (!i) {\n var d = 0, p = (n.lines - 1) * (1 - n.direction) / 2, c, h = n.fps, m = h / n.speed, y = (1 - n.opacity) / (m * n.trail / 100), g = m / n.lines;\n (function v() {\n d++;\n for (var t = 0; t < n.lines; t++) {\n c = Math.max(1 - (d + (n.lines - t) * g) % m * y, n.opacity);\n e.opacity(r, t * n.direction + p, c, n)\n }\n e.timeout = e.el && setTimeout(v, ~~(1e3 / h))\n }\n )()\n }\n return e\n },\n stop: function() {\n var t = this.el;\n if (t) {\n clearTimeout(this.timeout);\n if (t.parentNode)\n t.parentNode.removeChild(t);\n this.el = undefined\n }\n return this\n },\n lines: function(t, e) {\n var r = 0, a = (e.lines - 1) * (1 - e.direction) / 2, l;\n function u(t, i) {\n return f(o(), {\n position: \"absolute\",\n width: e.length + e.width + \"px\",\n height: e.width + \"px\",\n background: t,\n boxShadow: i,\n transformOrigin: \"left\",\n transform: \"rotate(\" + ~~(360 / e.lines * r + e.rotate) + \"deg) translate(\" + e.radius + \"px\" + \",0)\",\n borderRadius: (e.corners * e.width >> 1) + \"px\"\n })\n }\n for (; r < e.lines; r++) {\n l = f(o(), {\n position: \"absolute\",\n top: 1 + ~(e.width / 2) + \"px\",\n transform: e.hwaccel ? \"translate3d(0,0,0)\" : \"\",\n opacity: e.opacity,\n animation: i && s(e.opacity, e.trail, a + r * e.direction, e.lines) + \" \" + 1 / e.speed + \"s linear infinite\"\n });\n if (e.shadow)\n n(l, f(u(\"#000\", \"0 0 4px \" + \"#000\"), {\n top: 2 + \"px\"\n }));\n n(t, n(l, u(d(e.color, r), \"0 0 1px rgba(0,0,0,.1)\")))\n }\n return t\n },\n opacity: function(t, e, i) {\n if (e < t.childNodes.length)\n t.childNodes[e].style.opacity = i\n }\n });\n function h() {\n function t(t, e) {\n return o(\"<\" + t + ' xmlns=\"urn:schemas-microsoft.com:vml\" class=\"spin-vml\">', e)\n }\n r.addRule(\".spin-vml\", \"behavior:url(#default#VML)\");\n c.prototype.lines = function(e, i) {\n var o = i.length + i.width\n , r = 2 * o;\n function s() {\n return f(t(\"group\", {\n coordsize: r + \" \" + r,\n coordorigin: -o + \" \" + -o\n }), {\n width: r,\n height: r\n })\n }\n var a = -(i.width + i.length) * 2 + \"px\", l = f(s(), {\n position: \"absolute\",\n top: a,\n left: a\n }), u;\n function p(e, r, a) {\n n(l, n(f(s(), {\n rotation: 360 / i.lines * e + \"deg\",\n left: ~~r\n }), n(f(t(\"roundrect\", {\n arcsize: i.corners\n }), {\n width: o,\n height: i.width,\n left: i.radius,\n top: -i.width >> 1,\n filter: a\n }), t(\"fill\", {\n color: d(i.color, e),\n opacity: i.opacity\n }), t(\"stroke\", {\n opacity: 0\n }))))\n }\n if (i.shadow)\n for (u = 1; u <= i.lines; u++)\n p(u, -2, \"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)\");\n for (u = 1; u <= i.lines; u++)\n p(u);\n return n(e, l)\n }\n ;\n c.prototype.opacity = function(t, e, i, o) {\n var n = t.firstChild;\n o = o.shadow && o.lines || 0;\n if (n && e + o < n.childNodes.length) {\n n = n.childNodes[e + o];\n n = n && n.firstChild;\n n = n && n.firstChild;\n if (n)\n n.opacity = i\n }\n }\n }\n var m = f(o(\"group\"), {\n behavior: \"url(#default#VML)\"\n });\n if (!a(m, \"transform\") && m.adj)\n h();\n else\n i = a(m, \"animation\");\n return c\n};\n\n\n// Declare constructor\nconst Spinner = createSpinnerConstructor();\n\nexport { Spinner };\n\n","/**\n * genericToolTip.js\n * \n * Javascript for Generic tool tip \n * \n * \n */\t\n\n\nimport { reportWebErrorToServer } from 'page_js/header_section_js_all_pages_main_pages/header_section_every_page/reportWebErrorToServer';\n\nif ( ! window.genericToolTip_js_Initialized ) {\n\n\t$(document).ready(function() {\n\t\t\n\t\ttry {\n\n\t\t\taddToolTips();\n\t\t\t\n\t\t} catch( e ) {\n\t\t\treportWebErrorToServer.reportErrorObjectToServer( { errorException : e } );\n\t\t\tthrow e;\n\t\t}\n\n\t});\n\t\n\twindow.genericToolTip_js_Initialized = true;\n\t\n}\n\n// Just define these functions again and attach to window\n\n\t\nvar addToolTips = function ( $element ) {\n\n\t\tvar $elements;\n\t\t\n\t\tif( $element != undefined ) {\n\t\t\t$elements = $element.find( \".tool_tip_attached_jq\" );\n\t\t\t//console.log($element);\n\t\t\t//console.log($elements);\n\t\t} else {\n\t\t\t$elements = $(\".tool_tip_attached_jq\" );\n\t\t}\n\t\t\n\t\t$elements.each( function( ) {\n\t\t\t\n\t\t\tvar $this = $( this );\n\t\n\t\t\t//console.log( \"Adding handler to:\" );\n\t\t\t//console.log( $this );\n\t\t\n\t\t\taddSingleGenericProxlToolTip( $this );\n\n\t\t});\n\t};\n\t\n\nvar addSingleGenericProxlToolTip = function ( $element ) {\n\t\t\n\t\tvar tooltipText = $element.attr(\"data-tooltip\");\t\t\t\n\t\t\n\t\t$element.qtip( {\n\t content: {\n\t text: tooltipText\n\t },\n\t\t\tposition: {\n\t\t\t\ttarget: 'mouse',\n\t\t\t\tadjust: { x: 5, y: 5 }, // Offset it slightly from under the mouse\n\t viewport: $(window)\n\t }\n\t });\t\t\n\t\t\n\t};\n\t\nwindow.addToolTips = addToolTips;\nwindow.addSingleGenericProxlToolTip = addSingleGenericProxlToolTip;\n\nexport { addToolTips, addSingleGenericProxlToolTip }\n","\n\n// handleServicesAJAXErrors.js\n\n\n\n\n\nvar AJAX_RESPONSE_NO_SESSION_TEXT = \"no_session\";\nvar AJAX_RESPONSE_NO_SESSION_STATUS_CODE = 401;\n\nvar AJAX_RESPONSE_NOT_AUTHORIZED_TEXT = \"not_authorized\";\nvar AJAX_RESPONSE_NOT_AUTHORIZED_STATUS_CODE = 403;\n\nvar AJAX_RESPONSE_INVALID_SEARCH_LIST_ACROSS_PROJECTS_TEXT = \"invalid_search_list_across_projects_text\";\nvar AJAX_RESPONSE_INVALID_SEARCH_LIST_ACROSS_PROJECTS_STATUS_CODE = 403;\n\nvar INVALID_SEARCH_LIST_NOT_IN_DB_TEXT = \"invalid_search_list_not_in_db_text\";\nvar INVALID_SEARCH_LIST_NOT_IN_DB_STATUS_CODE = 400;\n\nvar AJAX_RESPONSE_INVALID_PARAMETER_TEXT = \"invalid_parameter\";\nvar AJAX_RESPONSE_INVALID_PARAMETER_STATUS_CODE = 400;\n\n\n\n/////////////////////\n\n//Handle when AJAX call gets failure\n\nvar handleAJAXFailure = function( errMsg ) {\n\n\tshowAjaxErrorMsgFromMsg( { errorMsg : \"Connecting to server failed: \" + errorMsg } );\n}\n\nwindow.handleAJAXFailure = handleAJAXFailure;\n\n\n/////////////////////\n\n// Handle when AJAX call gets error, non-jQuery Direct use of var xhr = new XMLHttpRequest();\n\nwindow.handleRawAJAXError = function( xhr ) {\n\n\tvar status = xhr.status;\n\tvar response = xhr.response;\n\t\n\n\t\n\tif ( status === AJAX_RESPONSE_NO_SESSION_STATUS_CODE &&\n\t\t\tresponse === AJAX_RESPONSE_NO_SESSION_TEXT ) { \n\t\t\n\n\t\t// reload current URL\n\t\t\n\t\twindow.location.reload(true);\n\t\t\n\t\treturn true;\n\n\n\t} else if ( status === AJAX_RESPONSE_NOT_AUTHORIZED_STATUS_CODE &&\n\t\t\tresponse === AJAX_RESPONSE_NOT_AUTHORIZED_TEXT ) { \n\n\n\t\t// reload current URL\n\n\t\twindow.location.reload(true);\n\n\t\treturn true;\n\t}\n\n\treturn false;\n}\n\n\n/////////////////////\n\n// Handle when AJAX call gets error\n\nwindow.handleAJAXError = function( jqXHR, textStatus, errorThrown ) {\n\n\t\n\tvar jqXHR_statusCode = jqXHR.status;\n\tvar jqXHR_responseText = jqXHR.responseText;\n\t\n\n\t\n\tif ( jqXHR_statusCode === AJAX_RESPONSE_NO_SESSION_STATUS_CODE &&\n\t\t\tjqXHR_responseText === AJAX_RESPONSE_NO_SESSION_TEXT ) { \n\t\t\n\n\t\t// reload current URL\n\t\t\n\t\twindow.location.reload(true);\n\t\t\n\t\treturn;\n\t\t\n\t\t\n\t} else if ( jqXHR_statusCode === AJAX_RESPONSE_NOT_AUTHORIZED_STATUS_CODE &&\n\t\t\t\tjqXHR_responseText === AJAX_RESPONSE_NOT_AUTHORIZED_TEXT ) { \n\n\n\t\t// reload current URL\n\t\t\n\t\twindow.location.reload(true);\n\t\t\n\t\treturn;\n\t\t\n\t\t\n\t} else if ( jqXHR_statusCode === AJAX_RESPONSE_INVALID_SEARCH_LIST_ACROSS_PROJECTS_STATUS_CODE &&\n\t\t\t\tjqXHR_responseText === AJAX_RESPONSE_INVALID_SEARCH_LIST_ACROSS_PROJECTS_TEXT ) { \n\t\t \n\t\tshowAjaxErrorMsg( { \n\t\t\t errorPageElementId : \"ajax_error_invalid_search_list_across_projects_text_msg\",\n\t\t\t errorMsg : \"Invalid Search list, it crosses projects\" } );\n\t\t \n\n\t} else if ( jqXHR_statusCode === INVALID_SEARCH_LIST_NOT_IN_DB_STATUS_CODE &&\n\t\t\t\tjqXHR_responseText === INVALID_SEARCH_LIST_NOT_IN_DB_TEXT ) { \n\t\t\n\t\t showAjaxErrorMsg( { \n\t\t\t errorPageElementId : \"ajax_error_invalid_search_list_not_in_db_text_msg\",\n\t\t\t errorMsg : \"Invalid Search list, at least one search not found in database. Please start over at the project or the project list.\" } );\n\t\t \n\t} else if ( jqXHR_statusCode === AJAX_RESPONSE_INVALID_PARAMETER_STATUS_CODE &&\n\t\t\tjqXHR_responseText === AJAX_RESPONSE_INVALID_PARAMETER_TEXT ) { \n\n\t\tshowAjaxErrorMsg( { errorMsg : \"Invalid parameter passed to server\" } );\n\n\t\t\n\t\t// jqXHR_responseText is '' or '' to provide a cause\n\n\t} else if ( jqXHR_statusCode === 401 ) {\n\t\t\n\t\tshowAjaxErrorMsg( { errorMsg : \"401 received, responseText: \" + jqXHR_responseText } );\n\t\t\t\t\t\t\t\n\t} else if ( jqXHR_statusCode === 403 ) {\n\t\t\n\t\tshowAjaxErrorMsg( { errorMsg : \"403 received, responseText: \" + jqXHR_responseText } );\n\t\t\t\n\t} else if ( jqXHR_statusCode === 404 ) {\n\t\t\n\t\tshowAjaxErrorMsg( { errorMsg : \"404 received, service not found on server, textStatus: \" + textStatus } );\n\t\t\t\n\n\t} else if ( jqXHR_statusCode === 500 ) {\n\t\t\n\t\tshowAjaxErrorMsg( { errorMsg : \"Internal Server error, status code 500, textStatus: \" + textStatus } );\n\t\t\n\t} else {\n\t\t\n\t\tshowAjaxErrorMsg( { errorMsg : \"exception: \" + errorThrown + \", jqXHR: \" + jqXHR + \", textStatus: \" + textStatus } );\n\t}\n\t\n\t\n\t\n};\n\n\nwindow.showAjaxErrorMsg = function( params ) {\n\t\n\tvar errorPageElementId = params.errorPageElementId;\n\tvar errorMsg = params.errorMsg;\n\t\n\tif ( errorPageElementId ) {\n\n\t\tvar $msg = $(\"#\" + errorPageElementId );\n\t\t\n\t\tif ( $msg.length === 0 ) {\n\t\t\t\n\t\t\tshowAjaxErrorMsgFromMsg( { errorMsg : errorMsg } );\n\t\t\t\n\t\t} else {\n\t\t\t\n\t\t\t$(\".overlay_show_hide_parts_jq\").hide();\n\t\t\t\n\t\t\t$msg.show();\n\t\t\t\n\t\t\twindow.scroll(0, 0); // scroll to top left, assuming message is in that corner\n\t\t}\n\t\t\n\t} else {\n\t\t\n\t\tshowAjaxErrorMsgFromMsg( { errorMsg : errorMsg } );\n\t\t\n\t\t\n\t}\n\t\n\t\n}\n\t\n\nwindow.showAjaxErrorMsgFromMsg = function( params ) {\n\t\n\ttry {\n\n\t\tvar errorMsg = params.errorMsg;\n\n\t\tif ( ! errorMsg || errorMsg === \"\" ) {\n\n\t\t\tthrow Error( \"No value passed in params.errorMsg to function showAjaxErrorMsgFromMsg( params )\" );\n\t\t}\n\n//\t\talert( errorMsg );\n\n\t\tvar html = '
'\n\n\t\t\t+ '

Error accessing server

'\n\n\t\t\t+ '

Please reload the page and try again.

'\n\t\t\t+ '

If this error continues to occur, please contact the person at the bottom of the page.

'\n\n\t\t\t+ '

'\n\n\t\t\t+ 'Error Message:
'\n\n\t\t\t+ errorMsg\n\n\t\t\t+ '

'\n\n\t\t\t+ '
';\n\n\n\t\t$(\"body\").append( html );\n\n\t\twindow.scroll(0, 0); // scroll to top left, assuming message is in that corner\n\t\t\n\t} catch( e ) {\n\t\treportWebErrorToServer.reportErrorObjectToServer( { errorException : e } );\n\t\tthrow e;\n\t}\n}\n\t\nexport { handleAJAXFailure } // export something for import\n\t\t\t","/**\n * header_section_every_page_root.js\n * \n * Javascript for JSP include /WEB-INF/jsp-includes/head_section_include_every_page.jsp \n * \n * Root JS file for Header \n * \n * Included in page_js/header_section_js_all_pages_main_pages/header_section_main_pages/header_main.js\n */\n\nvar z = 0;\n\nimport { reportWebErrorToServer } from \"./reportWebErrorToServer.js\";\n\nimport { addToolTips, addSingleGenericProxlToolTip } from \"./genericToolTip.js\";\n\n// import { CROSSLINKS_CONSTANTS_EVERY_PAGE } from \"./crosslinks_constants_every_page.js\";\n\nimport { showErrorMsg, hideAllErrorMessages, clearErrorMsg, initShowHideErrorMessage, initShowHideErrorMessageSpecificElements } from \"./showHideErrorMessage.js\";\n\nimport { handleAJAXFailure } from \"./handleServicesAJAXErrors.js\";\n\nimport { createSpinner } from \"./spinner.js\";\n\nimport { initToggleVisibility } from \"./toggleVisibility.js\";\n\nconst header_section_every_page_rootVariable = false;\n\nvar z = 1;\n\n// Dummy export\nexport { header_section_every_page_rootVariable }\n","\n// reportWebErrorToServer.js\n\n\n/// Send errors detected in JS to server\n\n\n// JavaScript directive: all variables have to be declared with \"var\", maybe other things\n\n\"use strict\";\n\n\n\n// Constructor\n\nconst ReportWebErrorToServer = function() {\n\t\n\t\n\t\n\tthis.reportErrorObjectToServer = function( params ) {\n\n//\t\tvar objectThis = this;\n\t\t\n\t\tvar errorException = params.errorException;\n\t\t\n\t\ttry {\n\n\t\t\tvar userAgent = \"unknown\";\n\t\t\t\n\t\t\tif ( window.navigator ) {\n\t\t\t\t\n\t\t\t\tif ( window.navigator.userAgent ) {\n\t\t\t\t\t\n\t\t\t\t\tuserAgent = window.navigator.userAgent\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tvar browserURL = window.location.href;\n\n\t\t\tvar requestObj = { fdajklweRWOIUOPOP : true,\n\t\t\t\t\terrorMsg : errorException.message,\n\t\t\t\t\tstackString : errorException.stack,\n\t\t\t\t\tuserAgent : userAgent,\n\t\t\t\t\tbrowserURL : browserURL };\n\t\t\t\n\t\t\tvar requestData = JSON.stringify( requestObj );\n\n\t\t\tvar _URL = \"services/log_error/logBrowserJavascriptError\";\n\n//\t\t\tvar request =\n\t\t\t$.ajax({\n\t\t\t\ttype : \"POST\",\n\t\t\t\turl : _URL,\n\t\t\t\tdata : requestData,\n\t\t\t contentType: \"application/json; charset=utf-8\",\n\t\t\t\tdataType : \"json\",\n\t\t\t\tsuccess : function(data) {\n\n\t\t\t\t\tvar z = 0;\n\t\t\t\t},\n\t\t\t\tfailure: function(errMsg) {\n\t\t\t\t\t\n\t\t\t\t\tconsole.log(\"AJAX failure in reportWebErrorToServer.reportErrorObjectToServer(), errMsg: \" + errMsg );\n\t\t\t\t},\n\t\t\t\terror : function(jqXHR, textStatus, errorThrown) {\n\n\t\t\t\t\tconsole.log(\"AJAX error in reportWebErrorToServer.reportErrorObjectToServer(), textStatus: \" + textStatus );\n\t\t\t\t}\n\t\t\t});\n\t\t\t\n\t\t\t\n\n\t\t} catch( e ) {\n\t\t\t\n\t\t\tconsole.log(\"Exception in reportWebErrorToServer.reportErrorObjectToServer()\");\n\t\t}\n\t\t\n\t\t\n\t};\n\t\n\t\n};\n\nwindow.ReportWebErrorToServer = ReportWebErrorToServer;\n\n// Instance of class\n\nvar reportWebErrorToServer = new ReportWebErrorToServer();\n\nwindow.reportWebErrorToServer = reportWebErrorToServer;\n\nexport { reportWebErrorToServer }\n\n","\n// showHideErrorMessage.js\n\n\n// /js/showHideErrorMessage.js\n\n\n// Javascript for showing an error message and hiding all error messages\n\n//////////////////////////////////\n\n// JavaScript directive: all variables have to be declared with \"var\", maybe other things\n\n\"use strict\";\n\n\n////////////////////////////\n\n\nvar SHOW_ERROR_MSG_CLEAR_MSG_TRUE = true;\nvar SHOW_ERROR_MSG_CLEAR_MSG_FALSE = false;\n\n\nvar ERROR_MESSAGE_CONSTANTS = {\n\t\t\n//\t\tERROR_MESSAGE_VERTICAL_MOVEMENT : -50 // number of pixels for moving error message when showing it.\n\t\t\n\t\tERROR_MESSAGE_VERTICAL_START_POSITION : 20,\n\t\t\n\t\tERROR_MESSAGE_HIDE_DELAY : 8000, // in Milliseconds\n\t\t\n\t\tERROR_MESSAGE_FADEOUT_OPTIONS : { duration : 1000 }, // duration in Milliseconds \n\t\t\n\t\tERROR_MESSAGE_SET_TIMEOUT_DATA_KEY : \"ERROR_MESSAGE_SET_TIMEOUT_DATA_KEY\"\n\t\t\n};\n\n///////////////\n\nif ( ! window.showHideErrorMessage_js_Initialized ) {\n\t\n\t$(document).ready(function() {\n\t\n\t\twindow.initShowHideErrorMessage();\n\t\n\t});\n\t\n\twindow.showHideErrorMessage_js_Initialized = true;\n}\n\n////////////\n\nvar showErrorMsg = function( $element, clearMsg ) {\n\t\n\tif ( clearMsg === undefined ) { // If no value passed, default to true;\n\t\t\n\t\tclearMsg = SHOW_ERROR_MSG_CLEAR_MSG_TRUE;\n\t}\n\t\n\tclearErrorMsg( $element );\n\t\n\t$element.css( { top: ERROR_MESSAGE_CONSTANTS.ERROR_MESSAGE_VERTICAL_START_POSITION } );\n\t\n\t$element.show();\n\t\n\tvar height = $element.outerHeight( true /* includeMargin */ );\n\t\n\tvar animateMovement = -height;\n\t\n\t$element.animate( { top: animateMovement }, { duration: 500 } );\n\n//\t$element.animate( { top: ERROR_MESSAGE_CONSTANTS.ERROR_MESSAGE_VERTICAL_MOVEMENT }, { duration: 500 } );\n\n\tif ( clearMsg ) {\n\n\t\tvar timerId = setTimeout( function() {\n\n\t\t\tclearErrorMsg( $element, true /* fade */ );\n\n\t\t}, ERROR_MESSAGE_CONSTANTS.ERROR_MESSAGE_HIDE_DELAY );\n\n\t\t$element.data( ERROR_MESSAGE_CONSTANTS.ERROR_MESSAGE_SET_TIMEOUT_DATA_KEY, timerId );\n\t}\n};\n\nwindow.showErrorMsg = showErrorMsg;\n\n\n\n/////////////\n\nvar hideAllErrorMessages = function() {\n\t\n\t// Hides all error messages\n\n\tvar $error_message_container_jq = $(\".error_message_container_jq\");\n\n\t$error_message_container_jq.each( function( index, element ) {\n\t\t\n\t\tvar $this = $( this );\n\t\t\n\t\tclearErrorMsg( $this );\n\t});\n}\n\nwindow.hideAllErrorMessages = hideAllErrorMessages;\n\n\n\n////////////\n\nvar clearErrorMsg = function( $element, fadeErrorMsg ) {\n\n\t$element.stop( true /* [clearQueue ] */ /* [, jumpToEnd ] */ );\n\t\n\tvar setTimeoutId = $element.data( ERROR_MESSAGE_CONSTANTS.ERROR_MESSAGE_SET_TIMEOUT_DATA_KEY );\n\t\n\tif ( setTimeoutId ) {\n\t\n\t\tclearTimeout( setTimeoutId );\n\t}\n\t\n\t$element.data( ERROR_MESSAGE_CONSTANTS.ERROR_MESSAGE_SET_TIMEOUT_DATA_KEY, null );\n\t\n\t\n\t\n\tif ( fadeErrorMsg ) {\n\t\t\n\t\t$element.fadeOut( 400 /* [duration ] */ /* [, complete ] */ ); // OR ( options_object ) duration (default: 400)\n\t\t\n\t} else {\n\t\t\n\t\t$element.hide();\n\t}\n\t\n};\n\nwindow.clearErrorMsg = clearErrorMsg;\n\n\n\n\n////////////\n\nvar initShowHideErrorMessage = function( ) {\n\n\n\tvar $error_message_close_x_jq = $(\".error_message_close_x_jq\");\n\n\tinitShowHideErrorMessageSpecificElements( $error_message_close_x_jq );\n};\n\nwindow.initShowHideErrorMessage = initShowHideErrorMessage;\n\n\n////////////\n\nvar initShowHideErrorMessageSpecificElements = function( $elements ) {\n\n\t$elements.click( function(eventObject) {\n\t\t\n\t\t// Add click hander to the \"X\" in the error message to close the error message\n\n\t\tvar clickThis = this;\n\t\t\n\t\tvar $clickThis = $( clickThis );\n\t\t\n\t\tvar $error_message_container_jq = $clickThis.closest(\".error_message_container_jq\");\n\t\t\n\t\tclearErrorMsg( $error_message_container_jq );\n\n\t\treturn false; // stop click bubble up.\n\t});\n\t\n}\n\nwindow.initShowHideErrorMessageSpecificElements = initShowHideErrorMessageSpecificElements;\n\n\nexport { showErrorMsg, hideAllErrorMessages, clearErrorMsg, initShowHideErrorMessage, initShowHideErrorMessageSpecificElements }\n","/**\n * spinner.js\n * \n * Code that uses Spinner Library code\n * \n */\n\n//////////////////////////////////\n// JavaScript directive: all variables have to be declared with \"var\", maybe other things\n\"use strict\";\n\nimport { Spinner } from 'libs/spinner/spin.min.js';\n\n\n\nvar SPINNER_OPTIONS = {\n\t\t lines: 13, // The number of lines to draw\n\t\t length: 20, // The length of each line\n\t\t width: 10, // The line thickness\n\t\t radius: 30, // The radius of the inner circle\n\t\t corners: 1, // Corner roundness (0..1)\n\t\t rotate: 0, // The rotation offset\n\t\t direction: 1, // 1: clockwise, -1: counterclockwise\n\t\t color: '#000', // #rgb or #rrggbb or array of colors\n\t\t speed: 1, // Rounds per second\n\t\t trail: 60, // Afterglow percentage\n\t\t shadow: false, // Whether to render a shadow\n\t\t hwaccel: false, // Whether to use hardware acceleration\n\t\t className: 'spinner', // The CSS class to assign to the spinner\n\t\t zIndex: 2e9, // The z-index (defaults to 2000000000)\n\t\t top: 'auto', // Top position relative to parent in px\n\t\t left: 'auto' // Left position relative to parent in px\n\t\t};\n\n\nvar loadingSpinner;\n\nconst createSpinner = function () {\n\n\tvar $spinnerContainer = $( \"div#coverage-map-loading-spinner-block\" );\n\n\t$spinnerContainer.show();\n\n\tvar $spinnerDiv = $(\"div#coverage-map-loading-spinner\");\n\tvar spinnerDiv = $spinnerDiv.get( 0 );\n\n\tloadingSpinner = new Spinner( SPINNER_OPTIONS ).spin( spinnerDiv );\n\n\treturn loadingSpinner;\n};\n\nwindow.createSpinner = createSpinner;\n\n\n const destroySpinner = function() {\n\t\n\tif ( loadingSpinner ) {\n\t\tloadingSpinner.stop();\n\t}\n\t\n\tloadingSpinner = undefined;\n\n\tvar $spinnerContainer = $(\"div#coverage-map-loading-spinner-block\");\n\n\t$spinnerContainer.hide();\n\n};\n\nwindow.destroySpinner = destroySpinner;\n\nconst incrementSpinner = function() {\n\tif( !loadingSpinner || !loadingSpinner.numSpinners ) {\n\t\tcreateSpinner();\n\t\tloadingSpinner.numSpinners = 1;\n\t} else {\n\t\tloadingSpinner.numSpinners += 1;\n\t}\t\n};\n\nwindow.incrementSpinner = incrementSpinner;\n\nconst decrementSpinner = function() {\n\tif ( ! loadingSpinner ) { return; }\n\tvar numSpinners = loadingSpinner.numSpinners;\n\tif( !numSpinners ) { return; }\n\t\n\tnumSpinners--;\n\t\n\tif( !numSpinners ) {\n\t\tdestroySpinner();\n\t}\n\tif( numSpinners ) {\n\t\tloadingSpinner.numSpinners = numSpinners;\n\t}\n};\n\nwindow.decrementSpinner = decrementSpinner;\n\n\nexport { createSpinner, destroySpinner, incrementSpinner, decrementSpinner } // export something for import to get onto page\n","\n// toggleVisibility.js\n\n\n// toggleVisibility.js\n\n//////////////////////////////////\n\n// JavaScript directive: all variables have to be declared with \"var\", maybe other things\n\n\"use strict\";\n\n///////////////\n\nif ( ! window.toggleVisibility_js_Initialized ) {\n\t\n\t$(document).ready(function() {\n\t\n\twindow.initToggleVisibility();\n\t\n\t});\n\n\twindow.toggleVisibility_js_Initialized = true;\n}\n\n\n// /////////////////////////////////////////\n\n\nwindow.toggleVisibility = function( elementParam ) {\n\n\n\tif (typeof elementParam == 'string' || elementParam instanceof String) {\n\n\t\ttoggleVisibilityElementIdPassed( elementParam );\n\t\n\t} else {\n\t\t\n\t\ttoggleVisibilityHTMLElement( elementParam );\n\t}\n\n\treturn false; // does not stop bubbling of click event\n} \n\n\n///////////////////////////////////////////\n\n\nwindow.toggleVisibilityElementIdPassed = function( elementId ) {\n\n\tvar $jitem = $( '#' + elementId ).next();\n\t\n\tif( $jitem.is(\":visible\" ) ) {\n\t\t$jitem.hide(); \n\t} else { \n\t\t$jitem.show(); \n\t}\n\t\n\treturn false; // does not stop bubbling of click event\n\n} \n\n\n\n///////////////////////////////////////////\n\n//\tCalled by putting this in the HTML: onclick=\"toggleVisibilityHTMLElement(this)\"\n\n//\tIt does NOT work to have href=\"javascript:toggleVisibilityHTMLElement(this)\"\n\n\n// using onclick=\"toggleVisibility(this)\"\n// toggleVisibility(...) will call toggleVisibilityHTMLElement(...)\n\nwindow.toggleVisibilityHTMLElement = function( htmlElement ) {\n\n\tvar $htmlElement = $(htmlElement);\n\n\tvar $itemToToggle;\n\tvar toggle_visibility_associated_element_id = $htmlElement.attr(\"toggle_visibility_associated_element_id\");\n\tif( toggle_visibility_associated_element_id ) {\n\t\t$itemToToggle = $('#' + toggle_visibility_associated_element_id).next();\n\t} else {\n\t\t$itemToToggle = $htmlElement.next();\n\t}\n\t\n\t\n\tif( $itemToToggle.is(\":visible\" ) ) {\n\n\t\t$itemToToggle.hide(); \n\t\t\n\t\t$htmlElement.find(\".toggle_visibility_expansion_span_jq\").show();\n\t\t$htmlElement.find(\".toggle_visibility_contraction_span_jq\").hide();\n\t} else { \n\t\t$itemToToggle.show();\n\t\t\n\t\t$htmlElement.find(\".toggle_visibility_expansion_span_jq\").hide();\n\t\t$htmlElement.find(\".toggle_visibility_contraction_span_jq\").show();\n\n\t}\n\t\n\treturn false; // does not stop bubbling of click event\n\n} \n\n\n////////////////////////////\n\n\n\nwindow.addToggleVisibilityClickHandler = function( $parentElement ) {\n\n\tvar $toggle_visibility_link_jq = $parentElement.find(\".toggle_visibility_link_jq\");\n\t\n\t$toggle_visibility_link_jq.click(function(eventObject) {\n\n\t\tvar $this = $(this);\n\n\t\tvar toggle_visibility_associated_element_id = $this.attr(\"toggle_visibility_associated_element_id\");\n\t\t\n\t\tvar $itemToToggle = $('#' + toggle_visibility_associated_element_id).next();\n\t\t\n\t\t\n\t\tif( $itemToToggle.is(\":visible\" ) ) {\n\n\t\t\t$itemToToggle.hide(); \n\t\t\t\n\t\t\t$this.find(\".toggle_visibility_expansion_span_jq\").show();\n\t\t\t$this.find(\".toggle_visibility_contraction_span_jq\").hide();\n\t\t} else { \n\t\t\t$itemToToggle.show();\n\t\t\t\n\t\t\t$this.find(\".toggle_visibility_expansion_span_jq\").hide();\n\t\t\t$this.find(\".toggle_visibility_contraction_span_jq\").show();\n\n\t\t}\n//\t\t[+]\n//\t\t[-]\n\n\t\treturn false;\n\t\t\n\t});\n}\n\n\n\n////////////////////////////\n\n\n\nvar initToggleVisibility = function( ) {\n\n\tvar $parentElement = $(document);\n\t\n\taddToggleVisibilityClickHandler( $parentElement );\n}\t\n\nwindow.initToggleVisibility = initToggleVisibility;\n\nexport { initToggleVisibility } // Export something to get this on the page\n"],"sourceRoot":""}