From a92fd7ccaf118a06dddaf885420879ce9600c36f Mon Sep 17 00:00:00 2001 From: MonoliYoda <48124492+MonoliYoda@users.noreply.github.com> Date: Mon, 13 Nov 2023 22:39:01 +0100 Subject: [PATCH 1/2] Fixes goryn-clade/pathfinder#190 --- export/sql/zarzakh.sql | 51 ++++++++++++++++++++++++++++++++++++ js/app/map/util.js | 1 + js/app/ui/dialog/map_info.js | 5 +++- js/app/util.js | 1 + 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 export/sql/zarzakh.sql diff --git a/export/sql/zarzakh.sql b/export/sql/zarzakh.sql new file mode 100644 index 00000000..4359f389 --- /dev/null +++ b/export/sql/zarzakh.sql @@ -0,0 +1,51 @@ +-- TYPES +-- Add types of stargates leading to Zarzakh +INSERT INTO type VALUES (77918, '2023-11-11 16:37:40', '2023-11-11 16:37:40', "Stargate (Jovian Turnur)", "This ancient Jovian stargate was recently rediscovered after aeons hidden in an obscure corner of the Turnur star system. \r\n\r\nThis stargate is evidently under the control of the Deathless Circle organization of pirates and smugglers.", 0, 34000, 10000000, 0, 100000000000, 10, 0, 10000000, 1, 26212); +INSERT INTO type VALUES (78264, '2023-11-11 16:37:40', '2023-11-11 16:37:40', "Stargate (Jovian Alsavoinon)", "This ancient Jovian stargate was recently rediscovered after aeons hidden in an obscure corner of the Alsavoinon star system. \r\n\r\nThis stargate is evidently under the control of the Deathless Circle organization of pirates and smugglers.", 0, 34000, 10000000, 0, 100000000000, 10, 0, 10000000, 1, 26213); +INSERT INTO type VALUES (78265, '2023-11-11 16:37:40', '2023-11-11 16:37:40', "Stargate (Jovian H-PA29)", "This ancient Jovian stargate was recently rediscovered after aeons hidden in an obscure corner of the H-PA29 star system. \r\n\r\nThis stargate is evidently under the control of the Deathless Circle organization of pirates and smugglers.", 0, 34000, 10000000, 0, 100000000000, 10, 0, 10000000, 1, 26214); +INSERT INTO type VALUES (78266, '2023-11-11 16:37:40', '2023-11-11 16:37:40', "Stargate (Jovian G-0Q86)", "This ancient Jovian stargate was recently rediscovered after aeons hidden in an obscure corner of the G-0Q86 star system. \r\n\r\nThis stargate is evidently under the control of the Deathless Circle organization of pirates and smugglers.", 0, 34000, 10000000, 0, 100000000000, 10, 0, 10000000, 1, 26215); + +-- Add type of outbound stargates in Zarzakh +INSERT INTO type VALUES (77921, '2023-11-11 16:37:40', '2023-11-11 16:37:40', "Stargate (Jovian Zarzakh)", "This ancient Jovian stargate is one of several that are found in the strange and hazardous Zarzakh system. \r\n\r\nThe stargates in Zarzakh connect it to systems far across New Eden and indicate this was a key outpost in an ancient Jovian transport network.", 0, 34000, 10000000, 0, 100000000000, 10, 0, 10000000, 1, 26197); + +-- Add Zarzakh sun type +INSERT INTO type VALUES (78350, '2023-11-11 16:37:40', '2023-11-11 16:37:40', "Sun A0 (Captured Blue Small)", "This small blue star of the unusual A0 classification has been gravitationally captured by a black hole, and is slowly orbiting closer and closer to its eventual merger with the mass singularity. This event will take place many years in the future but the effects of orbiting in the vicinity of a black hole are already being felt in the form of intense and volatile gravitational tidal forces exerted by the singularity. As the star is within the outer edges of the matter accretion disc of the black hole, the instability is further contributed to by the fluctuations in mass density within the clouds of dust, gas, and other matter. The local system environment here is harsh and unforgiving to say the least.", 0, 10000, 1, 0, 1000000000000000000, 6, 0, 1, 1, 26261); + +-- Add Zarzakh star itself +INSERT INTO star VALUES (40488503, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Zarzakh - Star', 78350, 4534565487, 325800000, 6347, 0.9409999847412109, "F7 V"); + + +-- MAP +-- Add Region +INSERT INTO region VALUES (10001000, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Yasna Zakh', `Centuries ago a major void between the stars of the New Eden cluster was discovered by Amarr explorers pursuing the cause of their Empire's expansion through the cluster. This void was named \"Yasna Zakh\", meaning \"Edge of Devotion\", to express the idea that this was created by God as a limit on the reach of the Amarr's own drive to \"reclaim\" the stars. Over time, the meaning shifted and this gap is usually known as \"Divinity's Edge\" in common parlance.

For many years the Yasna Zakh void was thought to mark the edge of the cluster but was eventually recognised as a major feature of the internal structure of New Eden, effectively bisecting the cluster almost in half. The major passage through the Providence and Catch regions to the eastern cluster is conventionally credited to later Amarr explorers but a number of the routes, and in particular the narrow bridge between Molden Heath and the Great Wildlands are thought to be the discoveries of Thukker Tribe nomads and other Minmatar.

Latterly, the rediscovery of the star system Zarzakh orbiting close by the small black hole known as \"Point of No Return\" has renewed interest in this desolate region of space. The Amarr name for the black hole is \"Duzna Kah\", meaning \"Fallen Beyond Hope\", and this terminology appears to be used by the controlling Deathless Circle. Given the notable antipathy of the Deathless to the Amarr and their religion, this may be a mockingly ironic choice on the part of the enigmatic leader of the Circle.`); + +-- Add Constellation +INSERT INTO constellation VALUES (20010000, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Duzna Kah', 10001000, 5732782451210000, 3722598544370000, -508346782640000); + +-- Add Zarzakh system +INSERT INTO system VALUES (30100000, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Zarzakh', 20010000, 40488503, 'T', -1.0, -1.0, 'C', null, 4732782451200000, 2722598544370000, -1508346782640000); + + +-- NEIGHBOURS +-- Update Zarzakh's neighbours jumpNodes +UPDATE system_neighbour SET jumpNodes='30002083:30002084:30002087:30100000' WHERE id=3058; +UPDATE system_neighbour SET jumpNodes='30003836:30004046:30100000' WHERE id=3647; +UPDATE system_neighbour SET jumpNodes='30001268:30001270:30001273:30100000' WHERE id=1166; +UPDATE system_neighbour SET jumpNodes='30001020:30001036:30001038:30001039:30100000' WHERE id=938; + +-- Add Zarzakh neighbour +INSERT INTO system_neighbour VALUES (default, 10001000, 20010000, 30100000, 'Zarzakh', '30002086:30003841:30001269:30001041', -1.0); + + +-- STARGATES +-- Four gates leading TO Zarzakh +INSERT INTO stargate VALUES (50016562, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Stargate (Zarzakh)', 30002086, 77918, 30100000, -179377314531, 560763152392, 634445033895); +INSERT INTO stargate VALUES (50016563, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Stargate (Zarzakh)', 30003841, 78264, 30100000, 1047151351280, -790735827641, 615636680325); +INSERT INTO stargate VALUES (50016564, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Stargate (Zarzakh)', 30001269, 78265, 30100000, -655667795216, 529365986709, -916401049223); +INSERT INTO stargate VALUES (50016565, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Stargate (Zarzakh)', 30001041, 78266, 30100000, -808530790691, -652546109720, -334838044473); + +-- Four gates leading OUT of Zarzakh +INSERT INTO stargate VALUES (50016566, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Stargate (Turnur)', 30100000, 77921, 30002086, 731080892183, 1000000000000, 266091580259); +INSERT INTO stargate VALUES (50016567, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Stargate (Alsavoinon)', 30100000, 77921, 30003841, -595982139822, 1000000000000, 500089281042); +INSERT INTO stargate VALUES (50016568, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Stargate (H-PA29)', 30100000, 77921, 30001269, -500088946303, 1000000000000, -595982420702); +INSERT INTO stargate VALUES (50016569, '2023-11-11 16:37:40', '2023-11-11 16:37:40', 'Stargate (G-0Q86)', 30100000, 77921, 30001041, 500088276823, 1000000000000, -595982982462); diff --git a/js/app/map/util.js b/js/app/map/util.js index 5c5d1b52..0ef13dc4 100644 --- a/js/app/map/util.js +++ b/js/app/map/util.js @@ -1872,6 +1872,7 @@ define([ options = $.extend({}, defaultOptions, options); return this.each(function(){ + if(!planets) return if(planets.length){ // Abyss systems don´t have planets -> no tooltip let element = $(this); diff --git a/js/app/ui/dialog/map_info.js b/js/app/ui/dialog/map_info.js index 2c55f0b4..cd1afb12 100644 --- a/js/app/ui/dialog/map_info.js +++ b/js/app/ui/dialog/map_info.js @@ -330,7 +330,10 @@ define([ data: 'planets', render: { _: (cellData, type, rowData, meta) => { - return cellData.length; + if(cellData) { + return cellData.length; + } + return 0; } } },{ diff --git a/js/app/util.js b/js/app/util.js index 2edaf8f9..fd223452 100644 --- a/js/app/util.js +++ b/js/app/util.js @@ -2525,6 +2525,7 @@ define([ * @returns {string} */ let getSystemPlanetsTable = planets => { + if(!planets) return '
' let table = ''; if(planets.length > 0){ let regex = /\(([^)]+)\)/; From 4bbd5b7b43d911dacaa5b614b907f21891dc0864 Mon Sep 17 00:00:00 2001 From: MonoliYoda <48124492+MonoliYoda@users.noreply.github.com> Date: Wed, 15 Nov 2023 19:51:32 +0100 Subject: [PATCH 2/2] Updated build files --- js/app/map/util.js | 2 +- public/js/v2.2.2/app/mappage.js | 2 +- public/js/v2.2.2/app/mappage.js.br | Bin 327911 -> 328018 bytes public/js/v2.2.2/app/mappage.js.map | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/app/map/util.js b/js/app/map/util.js index 0ef13dc4..1b09d56b 100644 --- a/js/app/map/util.js +++ b/js/app/map/util.js @@ -1872,7 +1872,7 @@ define([ options = $.extend({}, defaultOptions, options); return this.each(function(){ - if(!planets) return + if(!planets) return '
' if(planets.length){ // Abyss systems don´t have planets -> no tooltip let element = $(this); diff --git a/public/js/v2.2.2/app/mappage.js b/public/js/v2.2.2/app/mappage.js index d85acb11..16866c09 100644 --- a/public/js/v2.2.2/app/mappage.js +++ b/public/js/v2.2.2/app/mappage.js @@ -1,2 +1,2 @@ -if(function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var n=[],i=t.document,a=Object.getPrototypeOf,o=n.slice,s=n.concat,r=n.push,l=n.indexOf,c={},u=c.toString,d=c.hasOwnProperty,h=d.toString,p=h.call(Object),f={},m=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},g=function(t){return null!=t&&t===t.window},y={type:!0,src:!0,nonce:!0,noModule:!0};function v(t,e,n){var a,o,s=(n=n||i).createElement("script");if(s.text=t,e)for(a in y)(o=e[a]||e.getAttribute&&e.getAttribute(a))&&s.setAttribute(a,o);n.head.appendChild(s).parentNode.removeChild(s)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?c[u.call(t)]||"object":typeof t}var C="3.4.1",w=function(t,e){return new w.fn.init(t,e)},x=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function S(t){var e=!!t&&"length"in t&&t.length,n=b(t);return!m(t)&&!g(t)&&("array"===n||0===e||"number"==typeof e&&0+~]|"+R+")"+R+"*"),q=new RegExp(R+"|>"),W=new RegExp(B),Y=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,at=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){h()},st=Ct(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{O.apply(P=j.call(w.childNodes),w.childNodes),P[w.childNodes.length].nodeType}catch(e){O={apply:P.length?function(t,e){A.apply(t,j.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function rt(t,e,i,a){var o,r,c,u,d,f,y,v=e&&e.ownerDocument,x=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==x&&9!==x&&11!==x)return i;if(!a&&((e?e.ownerDocument||e:w)!==p&&h(e),e=e||p,m)){if(11!==x&&(d=J.exec(t)))if(o=d[1]){if(9===x){if(!(c=e.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(v&&(c=v.getElementById(o))&&b(e,c)&&c.id===o)return i.push(c),i}else{if(d[2])return O.apply(i,e.getElementsByTagName(t)),i;if((o=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return O.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!I[t+" "]&&(!g||!g.test(t))&&(1!==x||"object"!==e.nodeName.toLowerCase())){if(y=t,v=e,1===x&&q.test(t)){for((u=e.getAttribute("id"))?u=u.replace(it,at):e.setAttribute("id",u=C),r=(f=s(t)).length;r--;)f[r]="#"+u+" "+bt(f[r]);y=f.join(","),v=tt.test(t)&&yt(e.parentNode)||e}try{return O.apply(i,v.querySelectorAll(y)),i}catch(e){I(t,!0)}finally{u===C&&e.removeAttribute("id")}}}return l(t.replace(H,"$1"),e,i,a)}function lt(){var t=[];return function e(n,a){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=a}}function ct(t){return t[C]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),a=n.length;a--;)i.attrHandle[n[a]]=e}function ht(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ft(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function mt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ct(function(e){return e=+e,ct(function(n,i){for(var a,o=t([],n.length,e),s=o.length;s--;)n[a=o[s]]&&(n[a]=!(i[a]=n[a]))})})}function yt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=rt.support={},o=rt.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!X.test(e||n&&n.nodeName||"HTML")},h=rt.setDocument=function(t){var e,a,s=t?t.ownerDocument||t:w;return s!==p&&9===s.nodeType&&s.documentElement&&(f=(p=s).documentElement,m=!o(p),w!==p&&(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",ot,!1):a.attachEvent&&a.attachEvent("onunload",ot)),n.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ut(function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=ut(function(t){return f.appendChild(t).id=C,!p.getElementsByName||!p.getElementsByName(C).length}),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n,i,a,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(a=e.getElementsByName(t),i=0;o=a[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],a=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[a++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&m)return e.getElementsByClassName(t)},y=[],g=[],(n.qsa=Z.test(p.querySelectorAll))&&(ut(function(t){f.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+N+")"),t.querySelectorAll("[id~="+C+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+C+"+*").length||g.push(".#.+[+~]")}),ut(function(t){t.innerHTML="";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),f.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Z.test(v=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ut(function(t){n.disconnectedMatch=v.call(t,"*"),v.call(t,"[s!='']:x"),y.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),e=Z.test(f.compareDocumentPosition),b=e||Z.test(f.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},k=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t===p||t.ownerDocument===w&&b(w,t)?-1:e===p||e.ownerDocument===w&&b(w,e)?1:u?L(u,t)-L(u,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,a=t.parentNode,o=e.parentNode,s=[t],r=[e];if(!a||!o)return t===p?-1:e===p?1:a?-1:o?1:u?L(u,t)-L(u,e):0;if(a===o)return ht(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)r.unshift(n);for(;s[i]===r[i];)i++;return i?ht(s[i],r[i]):s[i]===w?-1:r[i]===w?1:0}),p},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&h(t),n.matchesSelector&&m&&!I[e+" "]&&(!y||!y.test(e))&&(!g||!g.test(e)))try{var i=v.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){I(e,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||rt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&rt.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&W.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=_[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&_(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var a=rt.attr(i,t);return null==a?"!="===e:!e||(a+="","="===e?a===n:"!="===e?a!==n:"^="===e?n&&0===a.indexOf(n):"*="===e?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(t,e,n){return m(e)?w.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?w.grep(t,function(t){return t===e!==n}):"string"!=typeof e?w.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/;(w.fn.init=function(t,e,n){var a,o;if(!t)return this;if(n=n||M,"string"==typeof t){if(!(a="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:A.exec(t))||!a[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(a[1]){if(e=e instanceof w?e[0]:e,w.merge(this,w.parseHTML(a[1],e&&e.nodeType?e.ownerDocument||e:i,!0)),E.test(a[1])&&w.isPlainObject(e))for(a in e)m(this[a])?this[a](e[a]):this.attr(a,e[a]);return this}return(o=i.getElementById(a[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(w):w.makeArray(t,this)}).prototype=w.fn,M=w(i);var O=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function L(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}w.fn.extend({has:function(t){var e=w(t,this),n=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,ft=/^$|^module$|\/(?:java|ecma)script/i,mt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function gt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&k(t,e)?w.merge([t],n):n}function yt(t,e){for(var n=0,i=t.length;nx",f.noCloneChecked=!!vt.cloneNode(!0).lastChild.defaultValue;var xt=/^key/,St=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_t=/^([^.]*)(?:\.(.+)|)/;function Tt(){return!0}function Dt(){return!1}function It(t,e){return t===function(){try{return i.activeElement}catch(t){}}()==("focus"===e)}function kt(t,e,n,i,a,o){var s,r;if("object"==typeof e){for(r in"string"!=typeof n&&(i=i||n,n=void 0),e)kt(t,r,n,i,e[r],o);return t}if(null==i&&null==a?(a=n,i=n=void 0):null==a&&("string"==typeof n?(a=i,i=void 0):(a=i,i=n,n=void 0)),!1===a)a=Dt;else if(!a)return t;return 1===o&&(s=a,(a=function(t){return w().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=w.guid++)),t.each(function(){w.event.add(this,e,a,i,n)})}function Et(t,e,n){n?(K.set(t,e,!1),w.event.add(t,e,{namespace:!1,handler:function(t){var i,a,s=K.get(this,e);if(1&t.isTrigger&&this[e]){if(s.length)(w.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=o.call(arguments),K.set(this,e,s),i=n(this,e),this[e](),s!==(a=K.get(this,e))||i?K.set(this,e,!1):a={},s!==a)return t.stopImmediatePropagation(),t.preventDefault(),a.value}else s.length&&(K.set(this,e,{value:w.event.trigger(w.extend(s[0],w.Event.prototype),s.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===K.get(t,e)&&w.event.add(t,e,Tt)}w.event={global:{},add:function(t,e,n,i,a){var o,s,r,l,c,u,d,h,p,f,m,g=K.get(t);if(g)for(n.handler&&(n=(o=n).handler,a=o.selector),a&&w.find.matchesSelector(at,a),n.guid||(n.guid=w.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(e){return void 0!==w&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(N)||[""]).length;c--;)p=m=(r=_t.exec(e[c])||[])[1],f=(r[2]||"").split(".").sort(),p&&(d=w.event.special[p]||{},p=(a?d.delegateType:d.bindType)||p,d=w.event.special[p]||{},u=w.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&w.expr.match.needsContext.test(a),namespace:f.join(".")},o),(h=l[p])||((h=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,f,s)||t.addEventListener&&t.addEventListener(p,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),a?h.splice(h.delegateCount++,0,u):h.push(u),w.event.global[p]=!0)},remove:function(t,e,n,i,a){var o,s,r,l,c,u,d,h,p,f,m,g=K.hasData(t)&&K.get(t);if(g&&(l=g.events)){for(c=(e=(e||"").match(N)||[""]).length;c--;)if(p=m=(r=_t.exec(e[c])||[])[1],f=(r[2]||"").split(".").sort(),p){for(d=w.event.special[p]||{},h=l[p=(i?d.delegateType:d.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!a&&m!==u.origType||n&&n.guid!==u.guid||r&&!r.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(t,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,f,g.handle)||w.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)w.event.remove(t,p+e[c],n,i,!0);w.isEmptyObject(l)&&K.remove(t,"handle events")}},dispatch:function(t){var e,n,i,a,o,s,r=w.event.fix(t),l=new Array(arguments.length),c=(K.get(this,"events")||{})[r.type]||[],u=w.event.special[r.type]||{};for(l[0]=r,e=1;e\x20\t\r\n\f]*)[^>]*)\/>/gi,Mt=/\s*$/g;function jt(t,e){return k(t,"table")&&k(11!==e.nodeType?e:e.firstChild,"tr")&&w(t).children("tbody")[0]||t}function Lt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Nt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Rt(t,e){var n,i,a,o,s,r,l,c;if(1===e.nodeType){if(K.hasData(t)&&(o=K.access(t),s=K.set(e,o),c=o.events))for(a in delete s.handle,s.events={},c)for(n=0,i=c[a].length;n")},clone:function(t,e,n){var i,a,o,s,r,l,c,u=t.cloneNode(!0),d=ot(t);if(!(f.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||w.isXMLDoc(t)))for(s=gt(u),i=0,a=(o=gt(t)).length;i").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),i.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ye,Ge=[],Xe=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ge.pop()||w.expando+"_"+Te++;return this[t]=!0,t}}),w.ajaxPrefilter("json jsonp",function(e,n,i){var a,o,s,r=!1!==e.jsonp&&(Xe.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(e.data)&&"data");if(r||"jsonp"===e.dataTypes[0])return a=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(Xe,"$1"+a):!1!==e.jsonp&&(e.url+=(De.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return s||w.error(a+" was not called"),s[0]},e.dataTypes[0]="json",o=t[a],t[a]=function(){s=arguments},i.always(function(){void 0===o?w(t).removeProp(a):t[a]=o,e[a]&&(e.jsonpCallback=n.jsonpCallback,Ge.push(a)),s&&m(o)&&o(s[0]),s=o=void 0}),"script"}),f.createHTMLDocument=((Ye=i.implementation.createHTMLDocument("").body).innerHTML="
",2===Ye.childNodes.length),w.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(f.createHTMLDocument?((a=(e=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,e.head.appendChild(a)):e=i),s=!n&&[],(o=E.exec(t))?[e.createElement(o[1])]:(o=wt([t],e,s),s&&s.length&&w(s).remove(),w.merge([],o.childNodes)));var a,o,s},w.fn.load=function(t,e,n){var i,a,o,s=this,r=t.indexOf(" ");return-1").append(w.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){w.fn[e]=function(t){return this.on(e,t)}}),w.expr.pseudos.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},w.offset={setOffset:function(t,e,n){var i,a,o,s,r,l,c=w.css(t,"position"),u=w(t),d={};"static"===c&&(t.style.position="relative"),r=u.offset(),o=w.css(t,"top"),l=w.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(s=(i=u.position()).top,a=i.left):(s=parseFloat(o)||0,a=parseFloat(l)||0),m(e)&&(e=e.call(t,n,w.extend({},r))),null!=e.top&&(d.top=e.top-r.top+s),null!=e.left&&(d.left=e.left-r.left+a),"using"in e?e.using.call(t,d):u.css(d)}},w.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],a={top:0,left:0};if("fixed"===w.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===w.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((a=w(t).offset()).top+=w.css(t,"borderTopWidth",!0),a.left+=w.css(t,"borderLeftWidth",!0))}return{top:e.top-a.top-w.css(i,"marginTop",!0),left:e.left-a.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===w.css(t,"position");)t=t.offsetParent;return t||at})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;w.fn[t]=function(i){return z(this,function(t,i,a){var o;if(g(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===a)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:a,n?a:o.pageYOffset):t[i]=a},t,i,arguments.length)}}),w.each(["top","left"],function(t,e){w.cssHooks[e]=Vt(f.pixelPosition,function(t,n){if(n)return n=zt(t,e),Bt.test(n)?w(t).position()[e]+"px":n})}),w.each({Height:"height",Width:"width"},function(t,e){w.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){w.fn[i]=function(a,o){var s=arguments.length&&(n||"boolean"!=typeof a),r=n||(!0===a||!0===o?"margin":"border");return z(this,function(e,n,a){var o;return g(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===a?w.css(e,n,r):w.style(e,n,a,r)},e,s?a:void 0,s)}})}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){w.fn[e]=function(t,n){return 0{"use strict";let t={1:"E004 - C1",2:"L005 - C2",3:"Z006 - C3",4:"M001 - C4",5:"C008 - C5",6:"G008 - C6",7:"Q003 - 0.0",8:"A009 - C13"};return{path:{api:"/api/rest",getCaptcha:"/api/User/getCaptcha",getServerStatus:"/api/User/getEveServerStatus",getCookieCharacterData:"/api/User/getCookieCharacter",logIn:"/api/User/logIn",logout:"/api/User/logout",openIngameWindow:"/api/User/openIngameWindow",saveUserConfig:"/api/User/saveAccount",deleteAccount:"/api/User/deleteAccount",searchAccess:"/api/Access/search",initData:"/api/Map/initData",getAccessData:"/api/Map/getAccessData",updateMapData:"/api/Map/updateData",updateUserData:"/api/Map/updateUserData",updateUnloadData:"/api/Map/updateUnloadData",importMap:"/api/Map/import",getMapConnectionData:"/api/Map/getConnectionData",getMapLogData:"/api/Map/getLogData",setDestination:"/api/System/setDestination",pokeRally:"/api/System/pokeRally",getStatisticsData:"/api/Statistic/getData",searchUniverseData:"/api/Universe/search",getConstellationData:"/api/Universe/constellationData",gitHubReleases:"/api/GitHub/releases"},breakpoints:[{name:"screen-xl",width:1/0},{name:"screen-l",width:1600},{name:"screen-m",width:1200},{name:"screen-d",width:1e3},{name:"screen-s",width:780},{name:"screen-xs",width:480}],animationSpeed:{splashOverlay:300,headerLink:100,mapOverlay:200,mapOverlayLocal:180,mapMoveSystem:180,mapDeleteSystem:200,mapModule:200,dialogEvents:180},syncStatus:{type:"ajax",webSocket:{status:"closed",class:"txt-color-danger",timestamp:void 0},sharedWorker:{status:"offline",class:"txt-color-danger",timestamp:void 0},ajax:{status:"enabled",class:"txt-color-success",timestamp:void 0}},performanceLogging:{keyServerMapData:"UPDATE_SERVER_MAP",keyClientMapData:"UPDATE_CLIENT_MAP",keyServerUserData:"UPDATE_SERVER_USER_DATA",keyClientUserData:"UPDATE_CLIENT_USER_DATA"},mapIcons:[{class:"fa-desktop",label:"desktop",unicode:""},{class:"fa-space-shuttle",label:"space shuttle",unicode:""},{class:"fa-anchor",label:"anchor",unicode:""},{class:"fa-satellite",label:"satellite",unicode:""},{class:"fa-skull-crossbones",label:"skull crossbones",unicode:""},{class:"fa-fire",label:"fire",unicode:""},{class:"fa-bookmark",label:"bookmark",unicode:""},{class:"fa-cube",label:"cube",unicode:""},{class:"fa-star",label:"star",unicode:""},{class:"fa-hat-wizard",label:"hat wizard",unicode:""},{class:"fa-cross",label:"cross",unicode:""},{class:"fa-cannabis",label:"cannabis",unicode:""},{class:"fa-spider",label:"spider",unicode:""},{class:"fa-plane",label:"plane",unicode:""},{class:"fa-globe",label:"globe",unicode:""},{class:"fa-rocket",label:"rocket",unicode:""},{class:"fa-life-ring",label:"life ring",unicode:""},{class:"fa-heart",label:"heart",unicode:""},{class:"fa-poop",label:"poop",unicode:""}],classes:{logTypes:{info:{class:"pf-log-info",label:"info"},warning:{class:"pf-log-warning",label:"warning"},error:{class:"pf-log-error",label:"error"}},systemEffects:{effect:{class:"pf-system-effect",name:"no effect"},magnetar:{class:"pf-system-effect-magnetar",name:"magnetar"},redGiant:{class:"pf-system-effect-redgiant",name:"red giant"},pulsar:{class:"pf-system-effect-pulsar",name:"pulsar"},wolfRayet:{class:"pf-system-effect-wolfrayet",name:"wolf rayet"},cataclysmic:{class:"pf-system-effect-cataclysmic",name:"cataclysmic"},blackHole:{class:"pf-system-effect-blackhole",name:"black hole"}},systemSecurity:{security:{class:"pf-system-sec"},A:{class:"pf-system-sec-abyssal"},SH:{class:"pf-system-sec-unknown"},H:{class:"pf-system-sec-highSec"},L:{class:"pf-system-sec-lowSec"},T:{class:"pf-system-sec-triglav"},"0.0":{class:"pf-system-sec-nullSec"},C1:{class:"pf-system-sec-low"},C2:{class:"pf-system-sec-low"},C3:{class:"pf-system-sec-mid"},C4:{class:"pf-system-sec-mid"},C5:{class:"pf-system-sec-high"},C6:{class:"pf-system-sec-high"},C12:{class:"pf-system-sec-special"},C14:{class:"pf-system-sec-drifter"},C15:{class:"pf-system-sec-drifter"},C16:{class:"pf-system-sec-drifter"},C17:{class:"pf-system-sec-drifter"},C18:{class:"pf-system-sec-drifter"}},trueSec:{"0.0":{class:"pf-system-security-0-0"},.1:{class:"pf-system-security-0-1"},.2:{class:"pf-system-security-0-2"},.3:{class:"pf-system-security-0-3"},.4:{class:"pf-system-security-0-4"},.5:{class:"pf-system-security-0-5"},.6:{class:"pf-system-security-0-6"},.7:{class:"pf-system-security-0-7"},.8:{class:"pf-system-security-0-8"},.9:{class:"pf-system-security-0-9"},"1.0":{class:"pf-system-security-1-0"}},systemInfo:{rally:{class:"pf-system-info-rally",label:"rally point"}},planets:{barren:{class:"pf-planet-barren"},gas:{class:"pf-planet-gas"},ice:{class:"pf-planet-ice"},lava:{class:"pf-planet-lava"},oceanic:{class:"pf-planet-oceanic"},plasma:{class:"pf-planet-plasma"},shattered:{class:"pf-planet-shattered"},storm:{class:"pf-planet-storm"},temperate:{class:"pf-planet-temperate"}},pieChart:{class:"pf-pie-chart",pieChartMapCounterClass:"pf-pie-chart-map-timer"}},defaultMapScope:"wh",endpointTypes:{bubble:{cssClass:"pf-map-endpoint-bubble"}},connectionTypes:{abyssal:{cssClass:"pf-map-connection-abyssal"},jumpbridge:{cssClass:"pf-map-connection-jumpbridge"},stargate:{cssClass:"pf-map-connection-stargate"},wh_eol:{cssClass:"pf-map-connection-wh-eol"},wh_fresh:{cssClass:"pf-map-connection-wh-fresh"},wh_reduced:{cssClass:"pf-map-connection-wh-reduced"},wh_critical:{cssClass:"pf-map-connection-wh-critical"},wh_jump_mass_s:{cssClass:"pf-map-connection-wh-size-s",overlays:[["Label",{label:'',cssClass:["pf-map-component-overlay","small","text-center"].join(" "),location:.65,id:"pf-map-connection-jump-mass-overlay"}]]},wh_jump_mass_m:{cssClass:"pf-map-connection-wh-size-m",overlays:[["Label",{label:'',cssClass:["pf-map-component-overlay","small","text-center"].join(" "),location:.65,id:"pf-map-connection-jump-mass-overlay"}]]},wh_jump_mass_l:{cssClass:"pf-map-connection-wh-size-l",overlays:[["Label",{label:'',cssClass:["pf-map-component-overlay","small","text-center"].join(" "),location:.65,id:"pf-map-connection-jump-mass-overlay"}]]},wh_jump_mass_xl:{cssClass:"pf-map-connection-wh-size-xl",overlays:[["Label",{label:'',cssClass:["pf-map-component-overlay","small","text-center"].join(" "),location:.65,id:"pf-map-connection-jump-mass-overlay"}]]},preserve_mass:{cssClass:"pf-map-connection-preserve-mass",overlays:[["Label",{label:' save mass',cssClass:["pf-map-component-overlay","mass"].join(" "),location:.35}]]},info_signature:{overlays:[["Arrow",{id:"pf-map-connection-arrow-overlay",cssClass:"pf-map-connection-arrow-overlay",location:.5,length:"${arrowlength}",width:12,direction:"${arrowdirection}",foldback:"${arrowfoldback}"}]]},state_active:{cssClass:"pf-map-connection-active"},state_process:{cssClass:"pf-map-connection-process",overlays:[["Label",{label:'',cssClass:["pf-map-connection-state-overlay"].join(" "),location:.5}]]}},wormholeSizes:{wh_jump_mass_xl:{jumpMassMin:1e9,type:"wh_jump_mass_xl",class:"pf-jump-mass-xl",label:"XL",text:"capital ships"},wh_jump_mass_l:{jumpMassMin:375e6,type:"wh_jump_mass_l",class:"pf-jump-mass-l",label:"L",text:"larger ships"},wh_jump_mass_m:{jumpMassMin:62e6,type:"wh_jump_mass_m",class:"pf-jump-mass-m",label:"M",text:"medium ships"},wh_jump_mass_s:{jumpMassMin:5e3,type:"wh_jump_mass_s",class:"pf-jump-mass-s",label:"S",text:"smallest ships"}},signatureGroups:{1:{name:"(combat site|kampfgebiet|site de combat|Боевой район|战斗地点)",label:"Combat"},2:{name:"(relic site|reliktgebiet|site de reliques|Археологический район|遗迹地点)",label:"Relic"},3:{name:"(data site|datengebiet|site de données|Информационный район|数据地点)",label:"Data"},4:{name:"(gas site|gasgebiet|site de collecte de gaz|Газовый район|气云地点)",label:"Gas"},5:{name:"(wormhole|wurmloch|trou de ver|Червоточина|虫洞)",label:"Wormhole"},6:{name:"(ore site|mineraliengebiet|site de minerai|Астероидный район|矿石地点)",label:"Ore"},7:{name:"(ghost|Призрачный)",label:"Ghost"}},frigateWormholes:{1:t,2:t,3:t,4:t,5:t,6:t,13:t,30:t,31:t,32:t},drifterWormholes:{1:"S877 - C14 Sentinel",2:"B735 - C15 Barbican",3:"V928 - C16 Vidette",4:"C414 - C17 Conflux",5:"R259 - C18 Redoubt"},incomingWormholes:{1:"K162 - C1/2/3 (unknown)",2:"K162 - C4/5 (dangerous)",3:"K162 - C6 (deadly)",4:"K162 - H",5:"K162 - L",6:"K162 - 0.0",7:"K162 - C12 Thera"}}}),define("app/lib/dataStore",[],()=>{"use strict";return class DataStore{constructor(){this._store=new WeakMap}set(t,e,n){return this._store.has(t)||this._store.set(t,new Map),this._store.get(t).set(e,n),t}get(t,e){return this._store.has(t)&&(e?this._store.get(t).get(e):this._store.get(t))}has(t,e){return this._store.has(t)&&this._store.get(t).has(e)}remove(t,e){let n=!1;return this._store.has(t)&&(n=this._store.get(t).delete(e),this._store.get(t).size||this._store.delete(t)),n}}}),define("app/lib/prototypes",["app/lib/dataStore"],t=>{"use strict";return window.dataStore=new t,HTMLElement.prototype.setData=function(t,e){return window.dataStore.set(this,t,e)},HTMLElement.prototype.getData=function(t){return window.dataStore.get(this,t)},HTMLElement.prototype.hasData=function(t){return window.dataStore.has(this,t)},HTMLElement.prototype.removeData=function(t){return window.dataStore.remove(this,t)},Array.prototype.diff=function(t){return this.filter(e=>!t.includes(e))},Array.prototype.intersect=function(t){return this.filter(e=>t.includes(e))},Array.prototype.not=function(t){return this.filter((...e)=>!t(...e))},Array.prototype.equalValues=function(t){return 0===this.diff(t).concat(t.diff(this)).length},Array.prototype.concatFilter=function(t){return[...new Set([...this,...t])]},Array.prototype.sortBy=function(t){return this.slice(0).sort((e,n)=>e[t]>n[t]?1:e[t](t<<5)-t+e.charCodeAt(0)|0,0)+2147483647+1},String.prototype.trimLeftChars=function(t){return void 0===t&&(t="\\s"),this.replace(new RegExp("^["+t+"]+"),"")},String.prototype.trimRightChars=function(t){return void 0===t&&(t="\\s"),this.replace(new RegExp("["+t+"]+$"),"")},String.prototype.trimChars=function(t){return this.trimLeftChars(t).trimRightChars(t)},{}}),define("app/lib/console",[],()=>{"use strict";window.console=(t=>{let e=t.log,n=t.info,i=t.warn,a=t.error,o={indentDefault:{"padding-left":"3px"},global:{"font-weight":500,"font-size":"11px","line-height":"19px","font-family":'"Fira Code", "Lucida Console"'},debug:{color:"#d747d6"},ok:{color:"#5cb85c"},log:{color:"#adadad"},info:{color:"#428bca"},warn:{color:"#ffdd9e"},error:{color:"#ff8080"},pf:{color:"#568a89"},brand:{color:"#375959","line-height":"35px","font-size":"25px"}},s={"%s":{style:["color: #e93f3b; font-style: italic","color: inherit"]},"%i":{style:["color: #9980ff","color: inherit"]},"%d":{style:["color: #9980ff","color: inherit"]},"%f":{style:["color: #9980ff","color: inherit"]},"%o":{style:["",""]},"%O":{style:["",""]}},r=(t,e=!1)=>{let n="";return s.hasOwnProperty(t)&&(n=s[t].style[e?1:0]),n},l=(t,e=[])=>{let n="";return o.hasOwnProperty(t)&&(n=Object.keys(o[t]).filter(t=>!e.length||e.includes(t)).reduce((e,n,i,a)=>e+=n+":"+o[t][n]+";","")),n},c=(t,e)=>{if(e.length){let n=l("global")+l(t);n+=["debug","ok","log","info","pf"].includes(t)?l("indentDefault"):"";let i=["debug","ok","log","info","pf"].includes(t)?"●":"";"string"==typeof e[0]?e[0]="%c"+i+" "+e[0]:e.splice(0,0,"%c"+i+" "+t+":"),e.splice(1,0,n)}},u=(t,e)=>{if("string"==typeof e[0]){let n=(t=>{let e=new RegExp(Object.keys(s).join("|"),"g"),n=t.match(e);return n||[]})(e[0]),i=n.length;e[0]=(t=>{let e=new RegExp(Object.keys(s).join("|"),"g");return t.replace(e,function(t){return"%c"+t+"%c"})})(e[0]);let a=0,o=1,c=o+i,u=0;for(let i=o;i{u("debug",e),c("debug",e),n.apply(t,e)}),t.ok=((...e)=>{u("ok",e),c("ok",e),n.apply(t,e)}),t.info=((...e)=>{u("info",e),c("info",e),n.apply(t,e)}),t.log=((...n)=>{u("log",n),c("log",n),e.apply(t,n)}),t.warn=((...e)=>{u("warn",e),c("warn",e),i.apply(t,e)}),t.error=((...e)=>{u("error",e),c("error",e),a.apply(t,e)}),t.pf=((...e)=>{u("pf",e),c("pf",e),n.apply(t,e)}),t.brand=((...e)=>{u("brand",e),c("brand",e),n.apply(t,e)}),t})(window.console);return{showVersionInfo:t=>{console.ok("%c PATHFINDER","color: #477372; font-size: 25px; margin-left: 10px; line-height: 50px; text-shadow: 1px 1px 0 #212C30; background: url(https://i.imgur.com/bhSr6LI.png) no-repeat;"),console.pf("Release: %s",t)}}}),define("app/lib/cache",[],()=>{"use strict";class AbstractStrategy{constructor(){if(new.target===AbstractStrategy)throw new TypeError("Cannot construct AbstractStrategy instances directly")}static create(){return new this}}class StrategyFIFO extends AbstractStrategy{valueToCompare(t){return t.age()}compare(t,e){return e-t}}class StrategyLFU extends AbstractStrategy{valueToCompare(t){return t.hitCount}compare(t,e){return t-e}}class StrategyLRU extends AbstractStrategy{valueToCompare(t){return t.hits[t.hits.length-1]||t.set}compare(t,e){return t-e}}class CacheEntryMeta{constructor(t,e){this._ttl=t,this._tSet=e||this.constructor.now(),this._tHits=[]}get set(){return this._tSet}get hits(){return this._tHits}get hitCount(){return this.hits.length}newHit(t){this._tHits.push(t||this.constructor.now())}age(t){return(t||this.constructor.now())-this._tSet}expired(t){return!(this._ttl<0)&&this._ttl{this._config.debug&&((e=e||[]).unshift(this._config.name),console.debug("debug: CACHE %o | "+t,...e))}),this.debug("New Cache instance")}get size(){return this._store.size}isFull(){return this.size>=this._config.maxSize}set(t,e,n){this._store.has(t)?(this.debug("SET key %o, UPDATE value %o",t,e),this._store.set(t,e)):(this.debug("SET key %o, NEW value %o",t,e),this.isFull()&&(this.debug(" ↪ FULL trim cache…"),this.trim(this.trimCount(1))),this._store.set(t,e)),this._metaStore.set(e,CacheEntryMeta.create(n||this._config.ttl))}get(t){if(this._store.has(t)){let e=this._store.get(t);if(e){let n=this._metaStore.get(e);if(!n.expired())return this.debug("HIT key %o",t),n.newHit(),e;this.debug("EXPIRED key %o delete",t),this.delete(t)}}this.debug("MISS key %o",t)}getOrDefault(t,e){return this.get(t)||e}keysForTrim(t){let e=[],n=[];for(let[i,a]of this._store){let o=this._metaStore.get(a);if(o.expired()){if(e.push(i),t===e.length)break}else n.push({key:i,value:this._strategy.valueToCompare(o)})}let i=t-e.length;return i>0&&(n=n.sort((t,e)=>this._strategy.compare(t.value,e.value)),e=e.concat(n.splice(0,i).map(t=>t.key))),e}keys(){return this._store.keys()}delete(t){return this._store.delete(t)}clear(){this._store.clear()}trimCount(t){let e=Math.max(Math.round(this._config.maxSize/100*this._config.bufferSize),t);return Math.min(Math.max(this.size-this._config.maxSize+e,0),this.size)}trim(t){if(t>0){let e=this.keysForTrim(t);t>e.length&&console.warn(" ↪ Failed to trim(%i) entries. Only %i in store",t,this.size),this.debug(" ↪ DELETE min %i keys: %o",t,e),e.forEach(t=>this.delete(t))}}status(){return{config:this._config,store:this._store,metaStore:this._metaStore}}static setStrategy(t){switch(t){case"FIFO":return StrategyFIFO.create();case"LFU":return StrategyLFU.create();case"LRU":return StrategyLRU.create();default:throw new ReferenceError("Unknown cache strategy name: "+t)}}}return Cache.defaultConfig={name:"Default",ttl:3600,maxSize:600,bufferSize:10,strategy:"FIFO",debug:!1},Cache}),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define("localForage",[],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).localforage=t()}}(function(){return function t(e,n,i){function a(s,r){if(!n[s]){if(!e[s]){var l="function"==typeof require&&require;if(!r&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};e[s][0].call(u.exports,function(t){return a(e[s][1][t]||t)},u,u.exports,t,e,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;s=43)}}).catch(function(){return!1})}(t).then(function(t){return A=t})}function c(t){var e=O[t.name],n={};n.promise=new P(function(t,e){n.resolve=t,n.reject=e}),e.deferredOperations.push(n),e.dbReady?e.dbReady=e.dbReady.then(function(){return n.promise}):e.dbReady=n.promise}function u(t){var e=O[t.name].deferredOperations.pop();if(e)return e.resolve(),e.promise}function d(t,e){var n=O[t.name].deferredOperations.pop();if(n)return n.reject(e),n.promise}function h(t,e){return new P(function(n,i){if(O[t.name]=O[t.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},t.db){if(!e)return n(t.db);c(t),t.db.close()}var a=[t.name];e&&a.push(t.version);var o=E.open.apply(E,a);e&&(o.onupgradeneeded=function(e){var n=o.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(M)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),o.onerror=function(t){t.preventDefault(),i(o.error)},o.onsuccess=function(){n(o.result),u(t)}})}function p(t){return h(t,!1)}function f(t){return h(t,!0)}function m(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),i=t.versiont.db.version;if(i&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),a||n){if(n){var o=t.db.version+1;o>t.version&&(t.version=o)}return!0}return!1}function g(t){return i([function(t){for(var e=t.length,n=new ArrayBuffer(e),i=new Uint8Array(n),a=0;a0&&(!t.db||"InvalidStateError"===a.name||"NotFoundError"===a.name))return P.resolve().then(function(){if(!t.db||"NotFoundError"===a.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),f(t)}).then(function(){return function(t){c(t);for(var e=O[t.name],n=e.forages,i=0;i>4,u[l++]=(15&i)<<4|a>>2,u[l++]=(3&a)<<6|63&o;return c}function w(t){var e,n=new Uint8Array(t),i="";for(e=0;e>2],i+=F[(3&n[e])<<4|n[e+1]>>4],i+=F[(15&n[e+1])<<2|n[e+2]>>6],i+=F[63&n[e+2]];return n.length%3==2?i=i.substring(0,i.length-1)+"=":n.length%3==1&&(i=i.substring(0,i.length-2)+"=="),i}function x(t,e,n,i){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,i)}function S(t,e,n,i,a,o){t.executeSql(n,i,a,function(t,s){s.code===s.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],function(t,r){r.rows.length?o(t,s):x(t,e,function(){t.executeSql(n,i,a,o)},o)},o):o(t,s)},o)}function _(t,e){var n=t.name+"/";return t.storeName!==e.storeName&&(n+=t.storeName+"/"),n}function T(){return!function(){var t="_localforage_support_test";try{return localStorage.setItem(t,!0),localStorage.removeItem(t),!1}catch(t){return!0}}()||localStorage.length>0}function D(t,e){t[e]=function(){var n=arguments;return t.ready().then(function(){return t[e].apply(t,n)})}}function I(){for(var t=1;t0)return void a(t.apply(r,[e,l,i,o-1]));s(n)}})})}).catch(s)});return a(l,i),l}.apply(this,[t,e,n,1])},removeItem:function(t,e){var n=this;t=s(t);var i=new P(function(e,i){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){S(n,a,"DELETE FROM "+a.storeName+" WHERE key = ?",[t],function(){e()},function(t,e){i(e)})})}).catch(i)});return a(i,e),i},clear:function(t){var e=this,n=new P(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){S(e,i,"DELETE FROM "+i.storeName,[],function(){t()},function(t,e){n(e)})})}).catch(n)});return a(n,t),n},length:function(t){var e=this,n=new P(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){S(e,i,"SELECT COUNT(key) as c FROM "+i.storeName,[],function(e,n){var i=n.rows.item(0).c;t(i)},function(t,e){n(e)})})}).catch(n)});return a(n,t),n},key:function(t,e){var n=this,i=new P(function(e,i){n.ready().then(function(){var a=n._dbInfo;a.db.transaction(function(n){S(n,a,"SELECT key FROM "+a.storeName+" WHERE id = ? LIMIT 1",[t+1],function(t,n){var i=n.rows.length?n.rows.item(0).key:null;e(i)},function(t,e){i(e)})})}).catch(i)});return a(i,e),i},keys:function(t){var e=this,n=new P(function(t,n){e.ready().then(function(){var i=e._dbInfo;i.db.transaction(function(e){S(e,i,"SELECT key FROM "+i.storeName,[],function(e,n){for(var i=[],a=0;a '__WebKitDatabaseInfoTable__'",[],function(n,i){for(var a=[],o=0;o=0;n--){var i=localStorage.key(n);0===i.indexOf(t)&&localStorage.removeItem(i)}});return a(n,t),n},length:function(t){var e=this.keys().then(function(t){return t.length});return a(e,t),e},key:function(t,e){var n=this,i=n.ready().then(function(){var e,i=n._dbInfo;try{e=localStorage.key(t)}catch(t){e=null}return e&&(e=e.substring(i.keyPrefix.length)),e});return a(i,e),i},keys:function(t){var e=this,n=e.ready().then(function(){for(var t=e._dbInfo,n=localStorage.length,i=[],a=0;a=0;e--){var n=localStorage.key(e);0===n.indexOf(t)&&localStorage.removeItem(n)}}):P.reject("Invalid arguments"),e),i}},ot=function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)},st=function(t,e){for(var n=t.length,i=0;i{"use strict";return class Queue{constructor(){this._queue=[],this._pendingPromise=!1,this._stop=!1}enqueue(t,e="end",n=null){return new Promise((i,a)=>{this._queue["end"===e?"push":"unshift"]({promise:t,resolve:i,reject:a,data:n}),this.dequeue()})}dequeue(){if(this._pendingPromise)return!1;if(this._stop)return this._queue=[],this._stop=!1,!1;let t=this._queue.shift();if(!t)return!1;try{this._pendingPromise=!0,t.promise().then(e=>{this._pendingPromise=!1,t.resolve(e),this.dequeue()}).catch(e=>{this._pendingPromise=!1,t.reject(e),this.dequeue()})}catch(e){this._pendingPromise=!1,t.reject(e),this.dequeue()}return!0}filterQueue(t){return this._queue.filter(t)}}}),define("app/promises/promise.deferred",[],()=>{"use strict";return class DeferredPromise{constructor(){this._promise=new Promise((t,e)=>{this.resolve=t,this.reject=e}),this.then=this._promise.then.bind(this._promise),this.catch=this._promise.catch.bind(this._promise)}set data(t){return t&&(this._data=t),this._data}get data(){return this._data}get[Symbol.toStringTag](){return"Promise"}}}),define("app/lib/localStore",["localForage","app/promises/promise.queue","app/promises/promise.deferred"],(t,e,n)=>{"use strict";class LocalStore{constructor(i,a){this._config=Object.assign({},this.constructor.defaultConfig,i);let o=new n;this._processQueue=new e,this._processQueue.enqueue(()=>o),this._localforage=t.createInstance(Object.assign({},LocalStore.LocalForageConfig,a)),this._localforage.ready().then(()=>o.resolve()),this._manager=null,this.debug=((t,...e)=>{this._config.debug&&((e=e||[]).unshift(this.constructor.name,this._config.name),console.debug("debug: %s %o | "+t,...e))})}set scope(t){if(!LocalStore.isString(t))throw new TypeError('Scope must be instance of "String", Type of "'+typeof t+'" given');this._config.scope=t}get scope(){return this._config.scope}getItem(t,e){t=this.fixKey(t);let n=LocalStore.keyToArray(t),i=n.shift(),a=()=>this._localforage.getItem(t,e);return n.length&&(a=(()=>this._localforage.getItem(i).then(t=>LocalStore.isObject(t)?LocalStore.findObjProp(t,n):Promise.resolve(null)))),this._processQueue.enqueue(()=>a())}setItem(t,e,n){t=this.fixKey(t);let i=LocalStore.keyToArray(t),a=i.shift(),o=()=>Promise.resolve(e);return i.length&&(o=(()=>this._localforage.getItem(a).then(t=>(t=null===t?{}:t,LocalStore.updateObjProp(t,e,i),t)))),this._processQueue.enqueue(()=>o().then(t=>this._localforage.setItem(a,t,n)).then(()=>Promise.resolve(e)))}removeItem(t,e){t=this.fixKey(t);let n=LocalStore.keyToArray(t),i=n.shift(),a=()=>this._localforage.removeItem(i,e);return n.length&&(a=(()=>this._localforage.getItem(i).then(t=>LocalStore.isObject(t)?(LocalStore.deleteObjProp(t,n),t):Promise.reject(new RangeError("No data found for key: "+i))).then(t=>this._localforage.setItem(i,t,e)).catch(t=>this.debug("removeItem() error",t)))),this._processQueue.enqueue(()=>a())}clear(t){return this._processQueue.enqueue(()=>this._localforage.clear(t))}length(t){return this._processQueue.enqueue(()=>this._localforage.length(t))}key(t,e){return this._processQueue.enqueue(()=>this._localforage.key(t,e))}keys(t){return this._processQueue.enqueue(()=>this._localforage.keys(t))}dropInstance(){return this._processQueue.enqueue(()=>this._localforage.dropInstance().then(()=>this._manager.deleteStore(this._config.name)))}connect(t){if(!(t instanceof LocalStoreManager))throw new TypeError('Parameter must be instance of LocalStoreManager. Type of "'+typeof t+'" given');this._manager=t}fixKey(t){return LocalStore.isString(this.scope)&&this.scope.length&&(t=[this.scope,t].join(".")),(Number.isInteger(t)||LocalStore.isString(t)&&parseInt(t.charAt(0),10))&&(t=[this._config.name,t].join("_")),t}static findObjProp(t,e){let[n,...i]=e;return i.length?LocalStore.isObject(t[n])?LocalStore.findObjProp(t[n],i):null:t[n]}static updateObjProp(t,e,n){let[i,...a]=n;a.length?(LocalStore.isObject(t[i])||(t[i]={}),LocalStore.updateObjProp(t[i],e,a)):t[i]=e}static deleteObjProp(t,e){let[n,...i]=e;i.length?LocalStore.isObject(t[n])&&LocalStore.deleteObjProp(t[n],i):delete t[n]}static keyToArray(t){return t.split(".")}static buildDbName(t){return[LocalStore.dbNamePrefix,t].join(" ")}static isObject(t){return!!t&&t.constructor===Object}static isArray(t){return!!t&&t.constructor===Array}static isString(t){return"string"==typeof t}}LocalStore.defaultConfig={name:"default",debug:!1},LocalStore.dbNamePrefix="PathfinderDB",LocalStore.LocalForageConfig={driver:[t.INDEXEDDB,t.WEBSQL,t.LOCALSTORAGE],name:LocalStore.dbNamePrefix};class LocalStoreManager{constructor(){return this.constructor.instance||(this._store=new Map,this.constructor.instance=this),this.constructor.instance}getStore(t){return this.newStore(t)}newStore(t){if(!this._store.has(t)){let e=new LocalStore({name:t},{name:LocalStore.buildDbName(t)});e.connect(this),this._store.set(t,e)}return this._store.get(t)}deleteStore(t){return this._store.delete(t)}}return new LocalStoreManager}),define("app/lib/resize",[],()=>{"use strict";class ResizeManager{constructor(t={}){this._config=Object.assign({},ResizeManager.defaultConfig,t),this._observables=new WeakMap,this._observer=new ResizeObserver((t,e)=>{for(let e of t)this._observables.has(e.target)?this._observables.get(e.target).callback(e.target,e.contentRect):this._observer.unobserve(e.target)})}debounce(t,e=this._config.msDebounce,n=!1){let i;return(...a)=>{let o=n&&!i;clearTimeout(i),i=setTimeout(()=>{i=null,n||t(...a)},e),o&&t(...a)}}throttle(t,e=this._config.msThrottle){let n,i;return function(...a){i?(clearTimeout(n),n=setTimeout(()=>{Date.now()-i>=e&&(t(...a),i=Date.now())},e-(Date.now()-i))):(t(...a),i=Date.now())}}observe(t,e,n={},i=ResizeManager.observeOptions){if(!this._observables.has(t)){if(n.hasOwnProperty("debounce")){let{ms:t,immediate:i}=n;e=this.debounce(e,t,i)}if(n.hasOwnProperty("throttle")){let{ms:t}=n;e=this.throttle(e,t)}this._observables.set(t,{callback:e}),this._observer.observe(t,i)}}unobserve(t){this._observer.unobserve(t),this._observables.delete(t)}disconnect(){this._observer.disconnect(),this._observables=new WeakMap}}return ResizeManager.observeOptions={box:"border-box"},ResizeManager.defaultConfig={msDebounce:250,msThrottle:100},new ResizeManager}),define("conf/system_effect",[],()=>{"use strict";let t=t=>{let e=0;switch(t){case 1:case 2:case 3:case 4:case 5:case 6:e=t;break;case 13:e=6;break;case 14:case 15:case 16:case 17:case 18:e=2}return e},e={1:[{effect:"Damage",value:"+30%"},{effect:"Missile exp. radius",value:"+15%"},{effect:"Drone tracking",value:"-15%"},{effect:"Targeting range",value:"-15%"},{effect:"Tracking speed",value:"-15%"},{effect:"Target Painter strength",value:"-15%"}],2:[{effect:"Damage",value:"+44%"},{effect:"Missile exp. radius",value:"+22%"},{effect:"Drone tracking",value:"-22%"},{effect:"Targeting range",value:"-22%"},{effect:"Tracking speed",value:"-22%"},{effect:"Target Painter strength",value:"-22%"}],3:[{effect:"Damage",value:"+58%"},{effect:"Missile exp. radius",value:"+29%"},{effect:"Drone tracking",value:"-29%"},{effect:"Targeting range",value:"-29%"},{effect:"Tracking speed",value:"-29%"},{effect:"Target Painter strength",value:"-29%"}],4:[{effect:"Damage",value:"+72%"},{effect:"Missile exp. radius",value:"+36%"},{effect:"Drone tracking",value:"-36%"},{effect:"Targeting range",value:"-36%"},{effect:"Tracking speed",value:"-36%"},{effect:"Target Painter strength",value:"-36%"}],5:[{effect:"Damage",value:"+86%"},{effect:"Missile exp. radius",value:"+43%"},{effect:"Drone tracking",value:"-43%"},{effect:"Targeting range",value:"-43%"},{effect:"Tracking speed",value:"-43%"},{effect:"Target Painter strength",value:"-43%"}],6:[{effect:"Damage",value:"+100%"},{effect:"Missile exp. radius",value:"+50%"},{effect:"Drone tracking",value:"-50%"},{effect:"Targeting range",value:"-50%"},{effect:"Tracking speed",value:"-50%"},{effect:"Target Painter strength",value:"-50%"}]},n={1:[{effect:"Heat damage",value:"+15%"},{effect:"Overload bonus",value:"+30%"},{effect:"Smart Bomb range",value:"+30%"},{effect:"Smart Bomb damage",value:"+30%"},{effect:"Bomb damage",value:"+30%"}],2:[{effect:"Heat damage",value:"+22%"},{effect:"Overload bonus",value:"+44%"},{effect:"Smart Bomb range",value:"+44%"},{effect:"Smart Bomb damage",value:"+44%"},{effect:"Bomb damage",value:"+44%"}],3:[{effect:"Heat damage",value:"+29%"},{effect:"Overload bonus",value:"+58%"},{effect:"Smart Bomb range",value:"+58%"},{effect:"Smart Bomb damage",value:"+58%"},{effect:"Bomb damage",value:"+58%"}],4:[{effect:"Heat damage",value:"+36%"},{effect:"Overload bonus",value:"+72%"},{effect:"Smart Bomb range",value:"+72%"},{effect:"Smart Bomb damage",value:"+72%"},{effect:"Bomb damage",value:"+72%"}],5:[{effect:"Heat damage",value:"+43%"},{effect:"Overload bonus",value:"+86%"},{effect:"Smart Bomb range",value:"+86%"},{effect:"Smart Bomb damage",value:"+86%"},{effect:"Bomb damage",value:"+86%"}],6:[{effect:"Heat damage",value:"+50%"},{effect:"Overload bonus",value:"+100%"},{effect:"Smart Bomb range",value:"+100%"},{effect:"Smart Bomb damage",value:"+100%"},{effect:"Bomb damage",value:"+100%"}]},i={1:[{effect:"Shield HP",value:"+30%"},{effect:"Armor resist",value:"-15%"},{effect:"Capacitor recharge",value:"-15%"},{effect:"Signature",value:"+30%"},{effect:"NOS/Neut drain",value:"+30%"}],2:[{effect:"Shield HP",value:"+44%"},{effect:"Armor resist",value:"-22%"},{effect:"Capacitor recharge",value:"-22%"},{effect:"Signature",value:"+44%"},{effect:"NOS/Neut drain",value:"+44%"}],3:[{effect:"Shield HP",value:"+58%"},{effect:"Armor resist",value:"-29%"},{effect:"Capacitor recharge",value:"-29%"},{effect:"Signature",value:"+58%"},{effect:"NOS/Neut drain",value:"+58%"}],4:[{effect:"Shield HP",value:"+72%"},{effect:"Armor resist",value:"-36%"},{effect:"Capacitor recharge",value:"-36%"},{effect:"Signature",value:"+72%"},{effect:"NOS/Neut drain",value:"+72%"}],5:[{effect:"Shield HP",value:"+86%"},{effect:"Armor resist",value:"-43%"},{effect:"Capacitor recharge",value:"-43%"},{effect:"Signature",value:"+86%"},{effect:"NOS/Neut drain",value:"+86%"}],6:[{effect:"Shield HP",value:"+100%"},{effect:"Armor resist",value:"-50%"},{effect:"Capacitor recharge",value:"-50%"},{effect:"Signature",value:"+100%"},{effect:"NOS/Neut drain",value:"+100%"}]},a={1:[{effect:"Armor HP",value:"+30%"},{effect:"Shield resist",value:"-15%"},{effect:"Small Weapon damage",value:"+60%"},{effect:"Signature size",value:"-15%"}],2:[{effect:"Armor HP",value:"+44%"},{effect:"Shield resist",value:"-22%"},{effect:"Small Weapon damage",value:"+88%"},{effect:"Signature size",value:"-22%"}],3:[{effect:"Armor HP",value:"+58%"},{effect:"Shield resist",value:"-29%"},{effect:"Small Weapon damage",value:"+116%"},{effect:"Signature size",value:"-29%"}],4:[{effect:"Armor HP",value:"+72%"},{effect:"Shield resist",value:"-36%"},{effect:"Small Weapon damage",value:"+144%"},{effect:"Signature size",value:"-36%"}],5:[{effect:"Armor HP",value:"+86%"},{effect:"Shield resist",value:"-43%"},{effect:"Small Weapon damage",value:"+172%"},{effect:"Signature size",value:"-43%"}],6:[{effect:"Armor HP",value:"+100%"},{effect:"Shield resist",value:"-50%"},{effect:"Small Weapon damage",value:"+200%"},{effect:"Signature size",value:"-50%"}]},o={1:[{effect:"Local armor repair amount",value:"-15%"},{effect:"Local shield boost amount",value:"-15%"},{effect:"Shield transfer amount",value:"+30%"},{effect:"Remote repair amount",value:"+30%"},{effect:"Capacitor capacity",value:"+30%"},{effect:"Capacitor recharge time",value:"+15%"},{effect:"Remote Capacitor Transmitter amount",value:"-15%"}],2:[{effect:"Local armor repair amount",value:"-22%"},{effect:"Local shield boost amount",value:"-22%"},{effect:"Shield transfer amount",value:"+44%"},{effect:"Remote repair amount",value:"+44%"},{effect:"Capacitor capacity",value:"+44%"},{effect:"Capacitor recharge time",value:"+22%"},{effect:"Remote Capacitor Transmitter amount",value:"-22%"}],3:[{effect:"Local armor repair amount",value:"-29%"},{effect:"Local shield boost amount",value:"-29%"},{effect:"Shield transfer amount",value:"+58%"},{effect:"Remote repair amount",value:"+58%"},{effect:"Capacitor capacity",value:"+58%"},{effect:"Capacitor recharge time",value:"+29%"},{effect:"Remote Capacitor Transmitter amount",value:"-29%"}],4:[{effect:"Local armor repair amount",value:"-36%"},{effect:"Local shield boost amount",value:"-36%"},{effect:"Shield transfer amount",value:"+72%"},{effect:"Remote repair amount",value:"+72%"},{effect:"Capacitor capacity",value:"+72%"},{effect:"Capacitor recharge time",value:"+36%"},{effect:"Remote Capacitor Transmitter amount",value:"-36%"}],5:[{effect:"Local armor repair amount",value:"-43%"},{effect:"Local shield boost amount",value:"-43%"},{effect:"Shield transfer amount",value:"+86%"},{effect:"Remote repair amount",value:"+86%"},{effect:"Capacitor capacity",value:"+86%"},{effect:"Capacitor recharge time",value:"+43%"},{effect:"Remote Capacitor Transmitter amount",value:"-43%"}],6:[{effect:"Local armor repair amount",value:"-50%"},{effect:"Local shield boost amount",value:"-50%"},{effect:"Shield transfer amount",value:"+100%"},{effect:"Remote repair amount",value:"+100%"},{effect:"Capacitor capacity",value:"+100%"},{effect:"Capacitor recharge time",value:"+50%"},{effect:"Remote Capacitor Transmitter amount",value:"-50%"}]},s={1:[{effect:"Missile velocity",value:"+15%"},{effect:"Missile exp. velocity",value:"+30%"},{effect:"Ship velocity",value:"+30%"},{effect:"Stasis Webifier strength",value:"-15%"},{effect:"Inertia",value:"+15%"},{effect:"Targeting range",value:"+30%"}],2:[{effect:"Missile velocity",value:"+22%"},{effect:"Missile exp. velocity",value:"+44%"},{effect:"Ship velocity",value:"+44%"},{effect:"Stasis Webifier strength",value:"-22%"},{effect:"Inertia",value:"+22%"},{effect:"Targeting range",value:"+44%"}],3:[{effect:"Missile velocity",value:"+29%"},{effect:"Missile exp. velocity",value:"+58%"},{effect:"Ship velocity",value:"+58%"},{effect:"Stasis Webifier strength",value:"-29%"},{effect:"Inertia",value:"+29%"},{effect:"Targeting range",value:"+58%"}],4:[{effect:"Missile velocity",value:"+36%"},{effect:"Missile exp. velocity",value:"+72%"},{effect:"Ship velocity",value:"+72%"},{effect:"Stasis Webifier strength",value:"-36%"},{effect:"Inertia",value:"+36%"},{effect:"Targeting range",value:"+72%"}],5:[{effect:"Missile velocity",value:"+43%"},{effect:"Missile exp. velocity",value:"+86%"},{effect:"Ship velocity",value:"+86%"},{effect:"Stasis Webifier strength",value:"-43%"},{effect:"Inertia",value:"+43%"},{effect:"Targeting range",value:"+86%"}],6:[{effect:"Missile velocity",value:"+50%"},{effect:"Missile exp. velocity",value:"+100%"},{effect:"Ship velocity",value:"+100%"},{effect:"Stasis Webifier strength",value:"-50%"},{effect:"Inertia",value:"+50%"},{effect:"Targeting range",value:"+100%"}]};return{getMultiplierByAreaId:t,wh:{magnetar:{1:e[t(1)],2:e[t(2)],3:e[t(3)],4:e[t(4)],5:e[t(5)],6:e[t(6)],16:e[t(16)]},redGiant:{1:n[t(1)],2:n[t(2)],3:n[t(3)],4:n[t(4)],5:n[t(5)],6:n[t(6)],14:n[t(14)]},pulsar:{1:i[t(1)],2:i[t(2)],3:i[t(3)],4:i[t(4)],5:i[t(5)],6:i[t(6)],17:i[t(17)]},wolfRayet:{1:a[t(1)],2:a[t(2)],3:a[t(3)],4:a[t(4)],5:a[t(5)],6:a[t(6)],13:a[t(13)],18:a[t(18)]},cataclysmic:{1:o[t(1)],2:o[t(2)],3:o[t(3)],4:o[t(4)],5:o[t(5)],6:o[t(6)],15:o[t(15)]},blackHole:{1:s[t(1)],2:s[t(2)],3:s[t(3)],4:s[t(4)],5:s[t(5)],6:s[t(6)]}}}}),define("conf/signature_type",[],()=>{"use strict";let t={10:"Ruined Angel Crystal Quarry",11:"Ruined Angel Monument Site",12:"Ruined Angel Science Outpost",13:"Ruined Angel Temple Site",14:"Ruined Blood Raider Crystal Quarry",15:"Ruined Blood Raider Monument Site",16:"Ruined Blood Raider Science Outpost",17:"Ruined Blood Raider Temple Site",18:"Ruined Guristas Crystal Quarry",19:"Ruined Guristas Monument Site",20:"Ruined Guristas Science Outpost",21:"Ruined Guristas Temple Site",22:"Ruined Sansha Crystal Quarry",23:"Ruined Sansha Monument Site",24:"Ruined Sansha Science Outpost",25:"Ruined Sansha Temple Site",26:"Ruined Serpentis Crystal Quarry",27:"Ruined Serpentis Monument Site",28:"Ruined Serpentis Science Outpost",29:"Ruined Serpentis Temple Site"},e=Object.assign({},t,{1:"Forgotten Perimeter Coronation Platform",2:"Forgotten Perimeter Power Array"}),n=Object.assign({},t,{1:"Forgotten Perimeter Gateway",2:"Forgotten Perimeter Habitation Coils"}),i=Object.assign({},t,{1:"Forgotten Frontier Quarantine Outpost",2:"Forgotten Frontier Recursive Depot"}),a={10:"Abandoned Research Complex DA005",11:"Abandoned Research Complex DA015",12:"Abandoned Research Complex DC007",13:"Abandoned Research Complex DC021",14:"Abandoned Research Complex DC035",15:"Abandoned Research Complex DG003",16:"Central Angel Command Center",17:"Central Angel Data Mining Site",18:"Central Angel Sparking Transmitter",19:"Central Angel Survey Site",20:"Central Blood Raider Command Center",21:"Central Blood Raider Data Mining Site",22:"Central Blood Raider Sparking Transmitter",23:"Central Blood Raider Survey Site",24:"Central Guristas Command Center",25:"Central Guristas Data Mining Site",26:"Central Guristas Sparking Transmitter",27:"Central Guristas Survey Site",28:"Central Sansha Command Center",29:"Central Sansha Data Mining Site",30:"Central Sansha Sparking Transmitter",31:"Central Sansha Survey Site",32:"Central Serpentis Command Center",33:"Central Serpentis Data Mining Site",34:"Central Serpentis Sparking Transmitter",35:"Central Serpentis Survey Site"},o={1:"Superior Serpentis Covert Research Facility",2:"Superior Sansha Covert Research Facility",3:"Superior Guristas Covert Research Facility",4:"Superior Blood Raiders Covert Research Facility"};return{1:{1:{1:{1:"Perimeter Ambush Point",2:"Perimeter Camp",3:"Phase Catalyst Node",4:"The Line"},2:e,3:Object.assign({},a,{1:"Unsecured Perimeter Amplifier",2:"Unsecured Perimeter Information Center"}),4:{1:"Barren Perimeter Reservoir",2:"Token Perimeter Reservoir",3:"Minor Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Ordinary Perimeter Reservoir"},5:{1:"H121 - C1",2:"C125 - C2",3:"O883 - C3",4:"M609 - C4",5:"L614 - C5",6:"S804 - C6",7:"N110 - H",8:"J244 - L",9:"Z060 - 0.0",10:"F353 - C12 Thera"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Isolated Core Deposit",6:"Uncommon Core Deposit"},7:o},2:{1:{1:"Perimeter Checkpoint",2:"Perimeter Hangar",3:"The Ruins of Enclave Cohort 27",4:"Sleeper Data Sanctuary"},2:n,3:Object.assign({},a,{1:"Unsecured Perimeter Comms Relay",2:"Unsecured Perimeter Transponder Farm"}),4:{1:"Barren Perimeter Reservoir",2:"Token Perimeter Reservoir",3:"Minor Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Ordinary Perimeter Reservoir"},5:{1:"Z647 - C1",2:"D382 - C2",3:"O477 - C3",4:"Y683 - C4",5:"N062 - C5",6:"R474 - C6",7:"B274 - H",8:"A239 - L",9:"E545 - 0.0",10:"F135 - C12 Thera",11:"F216 - T Pochven"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Isolated Core Deposit",6:"Uncommon Core Deposit"},7:o},3:{1:{1:"Fortification Frontier Stronghold",2:"Outpost Frontier Stronghold",3:"Solar Cell",4:"The Oruze Construct"},2:i,3:Object.assign({},a,{1:"Unsecured Frontier Database",2:"Unsecured Frontier Receiver"}),4:{1:"Barren Perimeter Reservoir",2:"Token Perimeter Reservoir",3:"Minor Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Ordinary Perimeter Reservoir",6:"Bountiful Frontier Reservoir",7:"Vast Frontier Reservoir"},5:{1:"V301 - C1",2:"I182 - C2",3:"N968 - C3",4:"T405 - C4",5:"N770 - C5",6:"A982 - C6",7:"D845 - H",8:"U210 - L",9:"K346 - 0.0",10:"F135 - C12 Thera",11:"F216 - T Pochven"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Infrequent Core Deposit",6:"Unusual Core Deposit"},7:o},4:{1:{1:"Frontier Barracks",2:"Frontier Command Post",3:"Integrated Terminus",4:"Sleeper Information Sanctum"},2:{1:"Forgotten Frontier Conversion Module",2:"Forgotten Frontier Evacuation Center"},3:{1:"Unsecured Frontier Digital Nexus",2:"Unsecured Frontier Trinary Hub"},4:{1:"Barren Perimeter Reservoir",2:"Token Perimeter Reservoir",3:"Minor Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Ordinary Perimeter Reservoir",6:"Vast Frontier Reservoir",7:"Bountiful Frontier Reservoir"},5:{1:"P060 - C1",2:"N766 - C2",3:"C247 - C3",4:"X877 - C4",5:"H900 - C5",6:"U574 - C6",7:"S047 - H",8:"N290 - L",9:"K329 - 0.0",10:"F216 - T Pochven"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Unusual Core Deposit",6:"Infrequent Core Deposit"},7:o},5:{1:{1:"Core Garrison",2:"Core Stronghold",3:"Oruze Osobnyk",4:"Quarantine Area"},2:{1:"Forgotten Core Data Field",2:"Forgotten Core Information Pen"},3:{1:"Unsecured Frontier Enclave Relay",2:"Unsecured Frontier Server Bank"},4:{1:"Barren Perimeter Reservoir",2:"Minor Perimeter Reservoir",3:"Ordinary Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Token Perimeter Reservoir",6:"Bountiful Frontier Reservoir",7:"Vast Frontier Reservoir",8:"Instrumental Core Reservoir",9:"Vital Core Reservoir"},5:{1:"Y790 - C1",2:"D364 - C2",3:"M267 - C3",4:"E175 - C4",5:"H296 - C5",6:"V753 - C6",7:"D792 - H",8:"C140 - L",9:"Z142 - 0.0",10:"F216 - T Pochven"},6:{1:"Average Frontier Deposit",2:"Unexceptional Frontier Deposit",3:"Uncommon Core Deposit",4:"Ordinary Perimeter Deposit",5:"Common Perimeter Deposit",6:"Exceptional Core Deposit",7:"Infrequent Core Deposit",8:"Unusual Core Deposit",9:"Rarified Core Deposit",10:"Isolated Core Deposit"},7:o},6:{1:{1:"Core Citadel",2:"Core Bastion",3:"Strange Energy Readings",4:"The Mirror"},2:{1:"Forgotten Core Assembly Hall",2:"Forgotten Core Circuitry Disassembler"},3:{1:"Unsecured Core Backup Array",2:"Unsecured Core Emergence"},4:{1:"Barren Perimeter Reservoir",2:"Minor Perimeter Reservoir",3:"Ordinary Perimeter Reservoir",4:"Sizeable Perimeter Reservoir",5:"Token Perimeter Reservoir",6:"Bountiful Frontier Reservoir",7:"Vast Frontier Reservoir",8:"Instrumental Core Reservoir",9:"Vital Core Reservoir"},5:{1:"Q317 - C1",2:"G024 - C2",3:"L477 - C3",4:"Z457 - C4",5:"V911 - C5",6:"W237 - C6",7:"B520 - H",8:"D792 - H",9:"C140 - L",10:"C391 - L",11:"C248 - 0.0",12:"Z142 - 0.0",13:"F216 - T Pochven"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Rarified Core Deposit"},7:o},12:{1:{1:"Epicenter",2:"Expedition Command Outpost Wreck",3:"Planetary Colonization Office Wreck",4:"Testing Facilities"}},13:{5:{1:"P060 - C1",2:"Z647 - C1",3:"D382 - C2",4:"L005 - C2",5:"N766 - C2",6:"C247 - C3",7:"M267 - C3",8:"O477 - C3",9:"X877 - C4",10:"Y683 - C4",11:"H296 - C5",12:"H900 - C5",13:"H296 - C5",14:"N062 - C5",15:"V911 - C5",16:"U574 - C6",17:"V753 - C6",18:"W237 - C6",19:"B274 - H",20:"D792 - H",21:"D845 - H",22:"N110 - H",23:"A239 - L",24:"C391 - L",25:"J244 - L",26:"U201 - L",27:"U210 - L",28:"C248 - 0.0",29:"E545 - 0.0",30:"K346 - 0.0",31:"Z060 - 0.0"},6:{1:"Shattered Debris Field",2:"Shattered Ice Field"},7:o},14:{1:{1:"Monolith",2:"Wormhole in Rock Circle",3:"Opposing Spatial Rifts",4:"Sleeper Enclave Debris",5:"Crystal Resource"}},15:{1:{1:"Wrecked Ships",2:"Unstable Wormhole",3:"Spatial Rift",4:"Heavily Guarded Spatial Rift",5:"Crystals"}},16:{1:{1:"Ship Graveyard",2:"Sleeper Engineering Station",3:"Spatial Rift",4:"Sleeper Enclave in Coral Rock",5:"Crystals and Stone Circle"}},17:{1:{1:"Monolith",2:"Caged Wormhole",3:"Rock Formation and Wormhole",4:"Particle Acceleration Array",5:"Guarded Asteroid Station"}},18:{1:{1:"Ship Graveyard",2:"Caged Wormhole",3:"Spatial Rift Generator",4:"Sleeper Enclave",5:"Hollow Asteroid"}}},2:{30:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"O128 - C4",5:"M555 - C5",6:"B041 - C6",7:"A641 - H",8:"R051 - L",9:"V283 - 0.0",10:"T458 - C12 Thera",11:"C729 - T Pochven"},7:{1:"Lesser Serpentis Covert Research Facility",2:"Lesser Sansha Covert Research Facility",3:"Lesser Guristas Covert Research Facility",4:"Lesser Blood Raiders Covert Research Facility"}},31:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"O128 - C4",5:"N432 - C5",6:"U319 - C6",7:"B449 - H",8:"N944 - L",9:"S199 - 0.0",10:"M164 - C12 Thera",11:"C729 - T Pochven"},7:{1:"Standard Serpentis Covert Research Facility",2:"Standard Sansha Covert Research Facility",3:"Standard Guristas Covert Research Facility",4:"Standard Blood Raiders Covert Research Facility"}},32:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"O128 - C4",5:"N432 - C5",6:"U319 - C6",7:"B449 - H",8:"N944 - L",9:"S199 - 0.0",10:"L031 - C12 Thera",11:"C729 - T Pochven",12:"U372 - T Pochven"},7:{1:"Improved Serpentis Covert Research Facility",2:"Improved Sansha Covert Research Facility",3:"Improved Guristas Covert Research Facility",4:"Improved Blood Raiders Covert Research Facility"}},33:{5:{1:"R081 - C4",2:"X450 - 0.0"}}}}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("lazyload",e):(t=t||self).LazyLoad=e()}(this,function(){"use strict";function t(){return(t=Object.assign||function(t){for(var e=1;e-1})(t)&&(function(t,e,n){var i=function i(o){!function(t,e,n){var i=o.target;u(i,"loaded"),v(i,e.class_loading),y(i,e.class_loaded),b(e.callback_loaded,i,n),C(e,n)}(0,e,n),_(t,i,a)},a=function a(o){!function(t,e,n){var i=o.target;u(i,"error"),v(i,e.class_loading),y(i,e.class_error),b(e.callback_error,i,n),C(e,n)}(0,e,n),_(t,i,a)};!function(t,e,n){x(t,"load",e),x(t,"loadeddata",e),x(t,"error",n)}(t,i,a)}(t,e,n),y(t,e.class_loading)),function(t,e,n){var i=t.tagName,a=g[i];a?(a(t,e),n&&(n.loadingCount+=1)):function(t,e){var n=l(t,e.data_src),i=l(t,e.data_bg);n&&(t.style.backgroundImage='url("'.concat(n,'")')),i&&(t.style.backgroundImage=i)}(t,e)}(t,e,n),function(t,e){e&&(e.toLoadCount-=1,w(t,e))}(e,n)},I=function(t,e,n){D(t,e,n),u(t,"loading"),b(e.callback_loading,t,n),b(e.callback_reveal,t,n),function(t,e){if(e){var n=e._observer;n&&e._settings.auto_unobserve&&n.unobserve(t)}}(t,n)},k=function(t){var e=h(t);e&&(clearTimeout(e),d(t,null))},E=["IMG","IFRAME"],P=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},M=function(t){var e;i&&!P(t._settings)&&(t._observer=new IntersectionObserver(function(e){e.forEach(function(e){return function(t){return t.isIntersecting||t.intersectionRatio>0}(e)?function(t,e,n){var i=n._settings;b(i.callback_enter,t,e,n),i.load_delay?function(t,e,n){var i=e.load_delay,a=h(t);a||(a=setTimeout(function(){I(t,e,n),k(t)},i),d(t,a))}(t,i,n):I(t,i,n)}(e.target,e,t):function(t,e,n){var i=n._settings;b(i.callback_exit,t,e,n),i.load_delay&&k(t)}(e.target,e,t)})},{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+"px"}))},A=function(t){return Array.prototype.slice.call(t)},O=function(t){return t.container.querySelectorAll(t.elements_selector)},j=function(t){return!function(t){return null!==l(t,"ll-status")}(t)||function(t){return"observed"===l(t,"ll-status")}(t)},L=function(t){return function(t){return"error"===l(t,"ll-status")}(t)},N=function(t,e){return function(t){return A(t).filter(j)}(t||O(e))},R=function(t,n){var i;this._settings=s(t),this.loadingCount=0,M(this),i=this,e&&window.addEventListener("online",function(t){!function(t){var e,n=t._settings;(e=O(n),A(e).filter(L)).forEach(function(t){v(t,n.class_error),function(t){c(t,"ll-status",null)}(t)}),t.update()}(i)}),this.update(n)};return R.prototype={update:function(t){var e=this._settings,a=N(t,e);this.toLoadCount=a.length,!n&&i?P(e)?function(t,e,n){t.forEach(function(t){-1!==E.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),function(t,e,n){D(t,e,n),u(t,"native")}(t,e,n))}),n.toLoadCount=0}(a,e,this):function(t,e){!function(t){t.disconnect()}(t),function(t,e){e.forEach(function(e){t.observe(e),u(e,"observed")})}(t,e)}(this._observer,a):this.loadAll(a)},destroy:function(){this._observer&&this._observer.disconnect(),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var e=this,n=this._settings;N(t,n).forEach(function(t){I(t,n,e)})},load:function(t){I(t,this._settings,this)}},R.load=function(t,e){var n=s(e);I(t,n)},e&&function(t,e){if(e)if(e.length)for(var n,i=0;n=e[i];i+=1)r(t,n);else r(t,e)}(R,window.lazyLoadOptions),R}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;t(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||t(i).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.close=function(e){function i(){s.detach().trigger("closed.bs.alert").remove()}var a=t(this),o=a.attr("data-target");o||(o=(o=a.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var s=t(o);e&&e.preventDefault(),s.length||(s=a.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),a=i.data("bs.alert");a||i.data("bs.alert",a=new n(this)),"string"==typeof e&&a[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.button"),o="object"==typeof e&&e;a||i.data("bs.button",a=new n(this,o)),"toggle"==e?a.toggle():e&&a.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.5",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,a=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[a]()),setTimeout(t.proxy(function(){i[a](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),t(n.target).is('input[type="radio"]')||t(n.target).is('input[type="checkbox"]')||n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.carousel"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:o.slide;a||i.data("bs.carousel",a=new n(this,o)),"number"==typeof e?a.to(e):s?a[s]():o.interval&&a.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){return this.sliding?void 0:this.slide("next")},n.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},n.prototype.slide=function(e,i){var a=this.$element.find(".item.active"),o=i||this.getItemForDirection(e,a),s=this.interval,r="next"==e?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],u=t.Event("slide.bs.carousel",{relatedTarget:c,direction:r});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:c,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,a.addClass(r),o.addClass(r),a.one("bsTransitionEnd",function(){o.removeClass([e,r].join(" ")).addClass("active"),a.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(a.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var a=function(n){var i,a=t(this),o=t(a.attr("data-target")||(i=a.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=t.extend({},o.data(),a.data()),r=a.attr("data-slide-to");r&&(s.interval=!1),e.call(o,s),r&&o.data("bs.carousel").to(r),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",a).on("click.bs.carousel.data-api","[data-slide-to]",a),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),a=n.data("bs.collapse"),o=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!a&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),a||n.data("bs.collapse",a=new i(this,o)),"string"==typeof e&&a[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.5",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,a=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(a&&a.length&&(e=a.data("bs.collapse"),e&&e.transitioning))){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){a&&a.length&&(n.call(a,"hide"),e||a.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[s](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var a=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(i.TRANSITION_DURATION):a.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var a=t(i);this.addAriaAndCollapsedClass(e(a),a)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var a=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=a,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var a=t(this);a.attr("data-target")||i.preventDefault();var o=e(a),s=o.data("bs.collapse")?"toggle":a.data();n.call(o,s)})}(jQuery),function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(i).remove(),t(a).each(function(){var i=t(this),a=e(i),o={relatedTarget:this};a.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(a[0],n.target)||(a.trigger(n=t.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(i.attr("aria-expanded","false"),a.removeClass("open").trigger("hidden.bs.dropdown",o))))}))}var i=".dropdown-backdrop",a='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.5",o.prototype.toggle=function(i){var a=t(this);if(!a.is(".disabled, :disabled")){var o=e(a),s=o.hasClass("open");if(n(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var r={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",r)),i.isDefaultPrevented())return;a.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},o.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=e(i),s=o.hasClass("open");if(!s&&27!=n.which||s&&27==n.which)return 27==n.which&&o.find(a).trigger("focus"),i.trigger("click");var r=o.find(".dropdown-menu li:not(.disabled):visible a");if(r.length){var l=r.index(n.target);38==n.which&&l>0&&l--,40==n.which&&ldocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var a=this.options.trigger.split(" "),o=a.length;o--;){var s=a[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var r="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},e.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},e.prototype.show=function(){var n=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!i)return;var a=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(r);c&&(r=r.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,h=o[0].offsetHeight;if(c){var p=r,f=this.getPosition(this.$viewport);r="bottom"==r&&u.bottom+h>f.bottom?"top":"top"==r&&u.top-hf.width?"left":"left"==r&&u.left-ds.top+s.height&&(a.top=s.top+s.height-l)}else{var c=e.left-o,u=e.left+o+n;cs.right&&(a.left=s.left+s.width-u)}return a},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var i=t(this),a=i.data("bs.tooltip"),o="object"==typeof n&&n;(a||!/destroy|hide/.test(n))&&(a||i.data("bs.tooltip",a=new e(this,o)),"string"==typeof n&&a[n]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.5",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),a=i.data("bs.popover"),o="object"==typeof n&&n;(a||!/destroy|hide/.test(n))&&(a||i.data("bs.popover",a=new e(this,o)),"string"==typeof n&&a[n]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),a=i.data("bs.scrollspy"),o="object"==typeof n&&n;a||i.data("bs.scrollspy",a=new e(this,o)),"string"==typeof n&&a[n]()})}e.VERSION="3.3.5",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),a=e.data("target")||e.attr("href"),o=/^#./.test(a)&&t(a);return o&&o.length&&o.is(":visible")&&[[o[n]().top+i,a]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),a=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return s!=(t=o[o.length-1])&&this.activate(t);if(s&&e=a[t]&&(void 0===a[t+1]||e .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),a&&a()}var s=i.find("> .active"),r=a&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&r?s.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var a=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',a).on("click.bs.tab.data-api",'[data-toggle="pill"]',a)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),a=i.data("bs.affix"),o="object"==typeof e&&e;a||i.data("bs.affix",a=new n(this,o)),"string"==typeof e&&a[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.5",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var a=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return n>a&&"top";if("bottom"==this.affixed)return null!=n?!(a+this.unpin<=o.top)&&"bottom":!(t-i>=a+s)&&"bottom";var r=null==this.affixed,l=r?a:o.top;return null!=n&&n>=a?"top":null!=i&&l+(r?s:e)>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,a=i.top,o=i.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(o=a=i),"function"==typeof a&&(a=i.top(this.$element)),"function"==typeof o&&(o=i.bottom(this.$element));var r=this.getState(s,e,a,o);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),c=t.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:s-e-o})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),define("bootstrap",["jquery"],function(){}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("bootbox",["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):t.bootbox=e(t.jQuery)}(this,function t(e,n){"use strict";var i,a,o,s;Object.keys||(Object.keys=(i=Object.prototype.hasOwnProperty,a=!{toString:null}.propertyIsEnumerable("toString"),s=(o=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(t){if("function"!=typeof t&&("object"!=typeof t||null===t))throw new TypeError("Object.keys called on non-object");var e,n,r=[];for(e in t)i.call(t,e)&&r.push(e);if(a)for(n=0;n