From ae60b4122a1d54543f6475c6dfc201171a659988 Mon Sep 17 00:00:00 2001 From: Exodus 4D Date: Tue, 1 Sep 2015 23:27:41 +0200 Subject: [PATCH] OGB optimized landing page OGB map fixes --- app/main/controller/api/map.php | 2 +- app/main/controller/mailcontroller.php | 9 +- app/main/model/usermodel.php | 30 +++++- build_js/app/landingpage.js | 20 ++-- build_js/app/landingpage.js.map | 2 +- build_js/app/mappage.js | 36 ++++---- build_js/app/mappage.js.map | 2 +- build_js/build.txt | 4 +- js/app/map/contextmenu.js | 14 ++- js/app/map/map.js | 68 +++++++------- js/app/ui/system_signature.js | 3 +- js/app/util.js | 17 +++- public/css/pathfinder.css | 2 +- public/img/logo_alpha.png | Bin 0 -> 36600 bytes public/templates/view/landingpage.html | 122 +++++++++++++++++++------ sass/layout/_landing.scss | 34 ++++++- 16 files changed, 247 insertions(+), 118 deletions(-) create mode 100644 public/img/logo_alpha.png diff --git a/app/main/controller/api/map.php b/app/main/controller/api/map.php index a25c7b06d..a44ba7c36 100644 --- a/app/main/controller/api/map.php +++ b/app/main/controller/api/map.php @@ -531,7 +531,6 @@ public function updateUserData($f3){ if( !is_null($map) ){ $return->mapUserData[] = $map->getUserData(); - // request signature data for a system if user has map access! if( $map->id === $requestSystemData->mapId ){ $system = $map->getSystem( $requestSystemData->systemId ); @@ -558,6 +557,7 @@ public function updateUserData($f3){ // get current user data -> this should not be cached because each user has different personal data // even if they have multiple characters using the same map! $return->userData = $user->getData(); + }else{ // user logged off $return->error[] = $this->getUserLoggedOffError(); diff --git a/app/main/controller/mailcontroller.php b/app/main/controller/mailcontroller.php index f19bd5ff3..a9ac629c5 100644 --- a/app/main/controller/mailcontroller.php +++ b/app/main/controller/mailcontroller.php @@ -33,9 +33,12 @@ public function __construct(){ */ public function sendRegistrationKey($to, $msg){ - $this->set('To', '"<' . $to . '>'); - $this->set('From', '"PATHFINDER" <' . Controller::getEnvironmentData('SMTP_FROM') . '>'); - $this->set('Subject', 'PATHFINDERR - Registration Key'); + $this->set('To', '<' . $to . '>'); + $this->set('From', 'Pathfinder <' . Controller::getEnvironmentData('SMTP_FROM') . '>'); + $this->set('Subject', 'Registration Key'); + $this->set('Error-To', '<' . Controller::getEnvironmentData('SMTP_ERROR') . '>'); + $this->set('MIME-Version', '1.0'); + $this->set('Content-Type', 'text/html; charset=ISO-8859-1'); $status = $this->send($msg); return $status; diff --git a/app/main/model/usermodel.php b/app/main/model/usermodel.php index d3c75eeab..bf131ad0c 100644 --- a/app/main/model/usermodel.php +++ b/app/main/model/usermodel.php @@ -83,7 +83,7 @@ public function getData(){ // set active character with log data $activeUserCharacter = $this->getActiveUserCharacter(); if($activeUserCharacter){ - $userData->character = $activeUserCharacter->getData(); + $userData->character = $activeUserCharacter->getData(true); } return $userData; @@ -450,11 +450,35 @@ public function updateCharacterLog($ttl = 0){ if( $character->dry() ){ // this can happen if a valid user plays the game with a not registered character // whose API is not registered -> save new character or update character data + $corporationId = array_key_exists('corpid', $apiController->values) ? $apiController->values['corpid'] : null; + $allianceId = array_key_exists('allianceid', $apiController->values) ? $apiController->values['allianceid'] : null; + + // check if corp exists + if( !is_null($corporationId) ){ + $corporation = self::getNew('CorporationModel'); + $corporation->getById( (int)$corporationId ); + if( $corporation->dry() ){ + $corporation->id = $corporationId; + $corporation->name = $apiController->values['corpname']; + $corporation->save(); + } + } + + // check if ally exists + if( !is_null($allianceId) ){ + $alliance = self::getNew('AllianceModel'); + $alliance->getById( (int)$allianceId ); + if( $alliance->dry() ){ + $alliance->id = $allianceId; + $alliance->name = $apiController->values['alliancename']; + $alliance->save(); + } + } $character->id = (int) $apiController->values['charid']; $character->name = $apiController->values['charname']; - $character->corporationId = array_key_exists('corpid', $apiController->values) ? $apiController->values['corpid'] : null; - $character->allianceId = array_key_exists('allianceid', $apiController->values) ? $apiController->values['allianceid'] : null; + $character->corporationId = $corporationId; + $character->allianceId = $allianceId; $character->save(); } diff --git a/build_js/app/landingpage.js b/build_js/app/landingpage.js index 6d87d6a55..aa5188f96 100644 --- a/build_js/app/landingpage.js +++ b/build_js/app/landingpage.js @@ -2,14 +2,14 @@ o.push({value:n,type:s,matches:a}),r=r.slice(n.length));if(!n)break}return i?r.length:r?e.error(t):W(t,l).slice(0)};return k=e.compile=function(t,e){var i,n=[],a=[],o=z[t+" "];if(!o){e||(e=_(t)),i=e.length;for(;i--;)o=y(e[i]),o[j]?n.push(o):a.push(o);o=z(t,b(a,n)),o.selector=t}return o},D=e.select=function(t,e,i,n){var a,o,s,r,l,c="function"==typeof t&&t,d=!n&&_(t=c.selector||t);if(i=i||[],1===d.length){if(o=d[0]=d[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&C.getById&&9===e.nodeType&&N&&x.relative[o[1].type]){if(e=(x.find.ID(s.matches[0].replace(Ct,xt),e)||[])[0],!e)return i;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}a=ft.needsContext.test(t)?0:o.length;for(;a--&&(s=o[a],!x.relative[r=s.type]);)if((l=x.find[r])&&(n=l(s.matches[0].replace(Ct,xt),bt.test(o[0].type)&&u(e.parentNode)||e))){if(o.splice(a,1),t=n.length&&h(o),!t)return Z.apply(i,n),i;break}}return(c||k(t,d))(n,e,!N,i,bt.test(t)&&u(e.parentNode)||e),i},C.sortStable=j.split("").sort(q).join("")===j,C.detectDuplicates=!!P,I(),C.sortDetached=a(function(t){return 1&t.compareDocumentPosition(A.createElement("div"))}),a(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,i){return i?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),C.attributes&&a(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,i){return i||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),a(function(t){return null==t.getAttribute("disabled")})||o(et,function(t,e,i){var n;return i?void 0:t[e]===!0?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);at.find=ct,at.expr=ct.selectors,at.expr[":"]=at.expr.pseudos,at.unique=ct.uniqueSort,at.text=ct.getText,at.isXMLDoc=ct.isXML,at.contains=ct.contains;var ut=at.expr.match.needsContext,dt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ht=/^.[^:#\[\.,]*$/;at.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?at.find.matchesSelector(n,t)?[n]:[]:at.find.matches(t,at.grep(e,function(t){return 1===t.nodeType}))},at.fn.extend({find:function(t){var e,i=[],n=this,a=n.length;if("string"!=typeof t)return this.pushStack(at(t).filter(function(){for(e=0;a>e;e++)if(at.contains(n[e],this))return!0}));for(e=0;a>e;e++)at.find(t,n[e],i);return i=this.pushStack(a>1?at.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,"string"==typeof t&&ut.test(t)?at(t):t||[],!1).length}});var pt,ft=t.document,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=at.fn.init=function(t,e){var i,n;if(!t)return this;if("string"==typeof t){if(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:mt.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||pt).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof at?e[0]:e,at.merge(this,at.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:ft,!0)),dt.test(i[1])&&at.isPlainObject(e))for(i in e)at.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if(n=ft.getElementById(i[2]),n&&n.parentNode){if(n.id!==i[2])return pt.find(t);this.length=1,this[0]=n}return this.context=ft,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):at.isFunction(t)?"undefined"!=typeof pt.ready?pt.ready(t):t(at):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),at.makeArray(t,this))};gt.prototype=at.fn,pt=at(ft);var vt=/^(?:parents|prev(?:Until|All))/,yt={children:!0,contents:!0,next:!0,prev:!0};at.extend({dir:function(t,e,i){for(var n=[],a=t[e];a&&9!==a.nodeType&&(void 0===i||1!==a.nodeType||!at(a).is(i));)1===a.nodeType&&n.push(a),a=a[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),at.fn.extend({has:function(t){var e,i=at(t,this),n=i.length;return this.filter(function(){for(e=0;n>e;e++)if(at.contains(this,i[e]))return!0})},closest:function(t,e){for(var i,n=0,a=this.length,o=[],s=ut.test(t)||"string"!=typeof t?at(t,e||this.context):0;a>n;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(s?s.index(i)>-1:1===i.nodeType&&at.find.matchesSelector(i,t))){o.push(i);break}return this.pushStack(o.length>1?at.unique(o):o)},index:function(t){return t?"string"==typeof t?at.inArray(this[0],at(t)):at.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(at.unique(at.merge(this.get(),at(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}});at.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return at.dir(t,"parentNode")},parentsUntil:function(t,e,i){return at.dir(t,"parentNode",i)},next:function(t){return a(t,"nextSibling")},prev:function(t){return a(t,"previousSibling")},nextAll:function(t){return at.dir(t,"nextSibling")},prevAll:function(t){return at.dir(t,"previousSibling")},nextUntil:function(t,e,i){return at.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return at.dir(t,"previousSibling",i)},siblings:function(t){return at.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return at.sibling(t.firstChild)},contents:function(t){return at.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:at.merge([],t.childNodes)}},function(t,e){at.fn[t]=function(i,n){var a=at.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(a=at.filter(n,a)),this.length>1&&(yt[t]||(a=at.unique(a)),vt.test(t)&&(a=a.reverse())),this.pushStack(a)}});var bt=/\S+/g,wt={};at.Callbacks=function(t){t="string"==typeof t?wt[t]||o(t):at.extend({},t);var e,i,n,a,s,r,l=[],c=!t.once&&[],u=function(o){for(i=t.memory&&o,n=!0,s=r||0,r=0,a=l.length,e=!0;l&&a>s;s++)if(l[s].apply(o[0],o[1])===!1&&t.stopOnFalse){i=!1;break}e=!1,l&&(c?c.length&&u(c.shift()):i?l=[]:d.disable())},d={add:function(){if(l){var n=l.length;!function o(e){at.each(e,function(e,i){var n=at.type(i);"function"===n?t.unique&&d.has(i)||l.push(i):i&&i.length&&"string"!==n&&o(i)})}(arguments),e?a=l.length:i&&(r=n,u(i))}return this},remove:function(){return l&&at.each(arguments,function(t,i){for(var n;(n=at.inArray(i,l,n))>-1;)l.splice(n,1),e&&(a>=n&&a--,s>=n&&s--)}),this},has:function(t){return t?at.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=c=i=void 0,this},disabled:function(){return!l},lock:function(){return c=void 0,i||d.disable(),this},locked:function(){return!c},fireWith:function(t,i){return!l||n&&!c||(i=i||[],i=[t,i.slice?i.slice():i],e?c.push(i):u(i)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d},at.extend({Deferred:function(t){var e=[["resolve","done",at.Callbacks("once memory"),"resolved"],["reject","fail",at.Callbacks("once memory"),"rejected"],["notify","progress",at.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var t=arguments;return at.Deferred(function(i){at.each(e,function(e,o){var s=at.isFunction(t[e])&&t[e];a[o[1]](function(){var t=s&&s.apply(this,arguments);t&&at.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[o[0]+"With"](this===n?i.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?at.extend(t,n):n}},a={};return n.pipe=n.then,at.each(e,function(t,o){var s=o[2],r=o[3];n[o[1]]=s.add,r&&s.add(function(){i=r},e[1^t][2].disable,e[2][2].lock),a[o[0]]=function(){return a[o[0]+"With"](this===a?n:this,arguments),this},a[o[0]+"With"]=s.fireWith}),n.promise(a),t&&t.call(a,a),a},when:function(t){var e,i,n,a=0,o=Q.call(arguments),s=o.length,r=1!==s||t&&at.isFunction(t.promise)?s:0,l=1===r?t:at.Deferred(),c=function(t,i,n){return function(a){i[t]=this,n[t]=arguments.length>1?Q.call(arguments):a,n===e?l.notifyWith(i,n):--r||l.resolveWith(i,n)}};if(s>1)for(e=new Array(s),i=new Array(s),n=new Array(s);s>a;a++)o[a]&&at.isFunction(o[a].promise)?o[a].promise().done(c(a,n,o)).fail(l.reject).progress(c(a,i,e)):--r;return r||l.resolveWith(n,o),l.promise()}});var Ct;at.fn.ready=function(t){return at.ready.promise().done(t),this},at.extend({isReady:!1,readyWait:1,holdReady:function(t){t?at.readyWait++:at.ready(!0)},ready:function(t){if(t===!0?!--at.readyWait:!at.isReady){if(!ft.body)return setTimeout(at.ready);at.isReady=!0,t!==!0&&--at.readyWait>0||(Ct.resolveWith(ft,[at]),at.fn.triggerHandler&&(at(ft).triggerHandler("ready"),at(ft).off("ready")))}}});at.ready.promise=function(e){if(!Ct)if(Ct=at.Deferred(),"complete"===ft.readyState)setTimeout(at.ready);else if(ft.addEventListener)ft.addEventListener("DOMContentLoaded",r,!1),t.addEventListener("load",r,!1);else{ft.attachEvent("onreadystatechange",r),t.attachEvent("onload",r);var i=!1;try{i=null==t.frameElement&&ft.documentElement}catch(n){}i&&i.doScroll&&!function a(){if(!at.isReady){try{i.doScroll("left")}catch(t){return setTimeout(a,50)}s(),at.ready()}}()}return Ct.promise(e)};var xt,St="undefined";for(xt in at(it))break;it.ownLast="0"!==xt,it.inlineBlockNeedsLayout=!1,at(function(){var t,e,i,n;i=ft.getElementsByTagName("body")[0],i&&i.style&&(e=ft.createElement("div"),n=ft.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),typeof e.style.zoom!==St&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",it.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(i.style.zoom=1)),i.removeChild(n))}),function(){var t=ft.createElement("div");if(null==it.deleteExpando){it.deleteExpando=!0;try{delete t.test}catch(e){it.deleteExpando=!1}}t=null}(),at.acceptData=function(t){var e=at.noData[(t.nodeName+" ").toLowerCase()],i=+t.nodeType||1;return 1!==i&&9!==i?!1:!e||e!==!0&&t.getAttribute("classid")===e};var Tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_t=/([A-Z])/g;at.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?at.cache[t[at.expando]]:t[at.expando],!!t&&!c(t)},data:function(t,e,i){return u(t,e,i)},removeData:function(t,e){return d(t,e)},_data:function(t,e,i){return u(t,e,i,!0)},_removeData:function(t,e){return d(t,e,!0)}}),at.fn.extend({data:function(t,e){var i,n,a,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(a=at.data(o),1===o.nodeType&&!at._data(o,"parsedAttrs"))){i=s.length;for(;i--;)s[i]&&(n=s[i].name,0===n.indexOf("data-")&&(n=at.camelCase(n.slice(5)),l(o,n,a[n])));at._data(o,"parsedAttrs",!0)}return a}return"object"==typeof t?this.each(function(){at.data(this,t)}):arguments.length>1?this.each(function(){at.data(this,t,e)}):o?l(o,t,at.data(o,t)):void 0},removeData:function(t){return this.each(function(){at.removeData(this,t)})}}),at.extend({queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=at._data(t,e),i&&(!n||at.isArray(i)?n=at._data(t,e,at.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=at.queue(t,e),n=i.length,a=i.shift(),o=at._queueHooks(t,e),s=function(){at.dequeue(t,e)};"inprogress"===a&&(a=i.shift(),n--),a&&("fx"===e&&i.unshift("inprogress"),delete o.stop,a.call(t,s,o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return at._data(t,i)||at._data(t,i,{empty:at.Callbacks("once memory").add(function(){at._removeData(t,e+"queue"),at._removeData(t,i)})})}}),at.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.lengthr;r++)e(t[r],i,s?n:n.call(t[r],r,e(t[r],i)));return a?t:c?e.call(t):l?e(t[0],i):o},Pt=/^(?:checkbox|radio)$/i;!function(){var t=ft.createElement("input"),e=ft.createElement("div"),i=ft.createDocumentFragment();if(e.innerHTML="
a",it.leadingWhitespace=3===e.firstChild.nodeType,it.tbody=!e.getElementsByTagName("tbody").length,it.htmlSerialize=!!e.getElementsByTagName("link").length,it.html5Clone="<:nav>"!==ft.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,i.appendChild(t),it.appendChecked=t.checked,e.innerHTML="",it.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,i.appendChild(e),e.innerHTML="",it.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,it.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){it.noCloneEvent=!1}),e.cloneNode(!0).click()),null==it.deleteExpando){it.deleteExpando=!0;try{delete e.test}catch(n){it.deleteExpando=!1}}}(),function(){var e,i,n=ft.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})i="on"+e,(it[e+"Bubbles"]=i in t)||(n.setAttribute(i,"t"),it[e+"Bubbles"]=n.attributes[i].expando===!1);n=null}();var It=/^(?:input|select|textarea)$/i,At=/^key/,$t=/^(?:mouse|pointer|contextmenu)|click/,Nt=/^(?:focusinfocus|focusoutblur)$/,Mt=/^([^.]*)(?:\.(.+)|)$/;at.event={global:{},add:function(t,e,i,n,a){var o,s,r,l,c,u,d,h,p,f,m,g=at._data(t);if(g){i.handler&&(l=i,i=l.handler,a=l.selector),i.guid||(i.guid=at.guid++),(s=g.events)||(s=g.events={}),(u=g.handle)||(u=g.handle=function(t){return typeof at===St||t&&at.event.triggered===t.type?void 0:at.event.dispatch.apply(u.elem,arguments)},u.elem=t),e=(e||"").match(bt)||[""],r=e.length;for(;r--;)o=Mt.exec(e[r])||[],p=m=o[1],f=(o[2]||"").split(".").sort(),p&&(c=at.event.special[p]||{},p=(a?c.delegateType:c.bindType)||p,c=at.event.special[p]||{},d=at.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:a,needsContext:a&&at.expr.match.needsContext.test(a),namespace:f.join(".")},l),(h=s[p])||(h=s[p]=[],h.delegateCount=0,c.setup&&c.setup.call(t,n,f,u)!==!1||(t.addEventListener?t.addEventListener(p,u,!1):t.attachEvent&&t.attachEvent("on"+p,u))),c.add&&(c.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),at.event.global[p]=!0);t=null}},remove:function(t,e,i,n,a){var o,s,r,l,c,u,d,h,p,f,m,g=at.hasData(t)&&at._data(t);if(g&&(u=g.events)){e=(e||"").match(bt)||[""],c=e.length;for(;c--;)if(r=Mt.exec(e[c])||[],p=m=r[1],f=(r[2]||"").split(".").sort(),p){d=at.event.special[p]||{},p=(n?d.delegateType:d.bindType)||p,h=u[p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=h.length;for(;o--;)s=h[o],!a&&m!==s.origType||i&&i.guid!==s.guid||r&&!r.test(s.namespace)||n&&n!==s.selector&&("**"!==n||!s.selector)||(h.splice(o,1),s.selector&&h.delegateCount--,d.remove&&d.remove.call(t,s));l&&!h.length&&(d.teardown&&d.teardown.call(t,f,g.handle)!==!1||at.removeEvent(t,p,g.handle),delete u[p])}else for(p in u)at.event.remove(t,p+e[c],i,n,!0);at.isEmptyObject(u)&&(delete g.handle,at._removeData(t,"events"))}},trigger:function(e,i,n,a){var o,s,r,l,c,u,d,h=[n||ft],p=et.call(e,"type")?e.type:e,f=et.call(e,"namespace")?e.namespace.split("."):[];if(r=u=n=n||ft,3!==n.nodeType&&8!==n.nodeType&&!Nt.test(p+at.event.triggered)&&(p.indexOf(".")>=0&&(f=p.split("."),p=f.shift(),f.sort()),s=p.indexOf(":")<0&&"on"+p,e=e[at.expando]?e:new at.Event(p,"object"==typeof e&&e),e.isTrigger=a?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:at.makeArray(i,[e]),c=at.event.special[p]||{},a||!c.trigger||c.trigger.apply(n,i)!==!1)){if(!a&&!c.noBubble&&!at.isWindow(n)){for(l=c.delegateType||p,Nt.test(l+p)||(r=r.parentNode);r;r=r.parentNode)h.push(r),u=r;u===(n.ownerDocument||ft)&&h.push(u.defaultView||u.parentWindow||t)}d=0;for(;(r=h[d++])&&!e.isPropagationStopped();)e.type=d>1?l:c.bindType||p,o=(at._data(r,"events")||{})[e.type]&&at._data(r,"handle"),o&&o.apply(r,i),o=s&&r[s],o&&o.apply&&at.acceptData(r)&&(e.result=o.apply(r,i),e.result===!1&&e.preventDefault());if(e.type=p,!a&&!e.isDefaultPrevented()&&(!c._default||c._default.apply(h.pop(),i)===!1)&&at.acceptData(n)&&s&&n[p]&&!at.isWindow(n)){u=n[s],u&&(n[s]=null),at.event.triggered=p;try{n[p]()}catch(m){}at.event.triggered=void 0,u&&(n[s]=u)}return e.result}},dispatch:function(t){t=at.event.fix(t);var e,i,n,a,o,s=[],r=Q.call(arguments),l=(at._data(this,"events")||{})[t.type]||[],c=at.event.special[t.type]||{};if(r[0]=t,t.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,t)!==!1){s=at.event.handlers.call(this,t,l),e=0;for(;(a=s[e++])&&!t.isPropagationStopped();){t.currentTarget=a.elem,o=0;for(;(n=a.handlers[o++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(n.namespace))&&(t.handleObj=n,t.data=n.data,i=((at.event.special[n.origType]||{}).handle||n.handler).apply(a.elem,r),void 0!==i&&(t.result=i)===!1&&(t.preventDefault(),t.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,a,o,s=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(a=[],o=0;r>o;o++)n=e[o],i=n.selector+" ",void 0===a[i]&&(a[i]=n.needsContext?at(i,this).index(l)>=0:at.find(i,this,null,[l]).length),a[i]&&a.push(n);a.length&&s.push({elem:l,handlers:a})}return r]","i"),jt=/^\s+/,Bt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ht=/<([\w:]+)/,Ut=/\s*$/g,Qt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:it.htmlSerialize?[0,"",""]:[1,"X
","
"]},Kt=m(ft),Gt=Kt.appendChild(ft.createElement("div"));Qt.optgroup=Qt.option,Qt.tbody=Qt.tfoot=Qt.colgroup=Qt.caption=Qt.thead,Qt.th=Qt.td;at.extend({clone:function(t,e,i){var n,a,o,s,r,l=at.contains(t.ownerDocument,t);if(it.html5Clone||at.isXMLDoc(t)||!Ft.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Gt.innerHTML=t.outerHTML,Gt.removeChild(o=Gt.firstChild)),!(it.noCloneEvent&&it.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||at.isXMLDoc(t)))for(n=g(o),r=g(t),s=0;null!=(a=r[s]);++s)n[s]&&S(a,n[s]);if(e)if(i)for(r=r||g(t),n=n||g(o),s=0;null!=(a=r[s]);s++)x(a,n[s]);else x(t,o);return n=g(o,"script"),n.length>0&&C(n,!l&&g(t,"script")),n=r=a=null,o},buildFragment:function(t,e,i,n){for(var a,o,s,r,l,c,u,d=t.length,h=m(e),p=[],f=0;d>f;f++)if(o=t[f],o||0===o)if("object"===at.type(o))at.merge(p,o.nodeType?[o]:o);else if(Vt.test(o)){r=r||h.appendChild(e.createElement("div")),l=(Ht.exec(o)||["",""])[1].toLowerCase(),u=Qt[l]||Qt._default,r.innerHTML=u[1]+o.replace(Bt,"<$1>")+u[2],a=u[0];for(;a--;)r=r.lastChild;if(!it.leadingWhitespace&&jt.test(o)&&p.push(e.createTextNode(jt.exec(o)[0])),!it.tbody){o="table"!==l||Ut.test(o)?""!==u[1]||Ut.test(o)?0:r:r.firstChild,a=o&&o.childNodes.length;for(;a--;)at.nodeName(c=o.childNodes[a],"tbody")&&!c.childNodes.length&&o.removeChild(c)}at.merge(p,r.childNodes),r.textContent="";for(;r.firstChild;)r.removeChild(r.firstChild);r=h.lastChild}else p.push(e.createTextNode(o));r&&h.removeChild(r),it.appendChecked||at.grep(g(p,"input"),v),f=0;for(;o=p[f++];)if((!n||-1===at.inArray(o,n))&&(s=at.contains(o.ownerDocument,o),r=g(h.appendChild(o),"script"),s&&C(r),i)){a=0;for(;o=r[a++];)qt.test(o.type||"")&&i.push(o)}return r=null,h},cleanData:function(t,e){for(var i,n,a,o,s=0,r=at.expando,l=at.cache,c=it.deleteExpando,u=at.event.special;null!=(i=t[s]);s++)if((e||at.acceptData(i))&&(a=i[r],o=a&&l[a])){if(o.events)for(n in o.events)u[n]?at.event.remove(i,n):at.removeEvent(i,n,o.handle);l[a]&&(delete l[a],c?delete i[r]:typeof i.removeAttribute!==St?i.removeAttribute(r):i[r]=null,X.push(a))}}}),at.fn.extend({text:function(t){return Ot(this,function(t){return void 0===t?at.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ft).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?at.filter(t,this):this,a=0;null!=(i=n[a]);a++)e||1!==i.nodeType||at.cleanData(g(i)),i.parentNode&&(e&&at.contains(i.ownerDocument,i)&&C(g(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){1===t.nodeType&&at.cleanData(g(t,!1));for(;t.firstChild;)t.removeChild(t.firstChild);t.options&&at.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return at.clone(this,t,e)})},html:function(t){return Ot(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Lt,""):void 0;if(!("string"!=typeof t||Wt.test(t)||!it.htmlSerialize&&Ft.test(t)||!it.leadingWhitespace&&jt.test(t)||Qt[(Ht.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Bt,"<$1>");try{for(;n>i;i++)e=this[i]||{},1===e.nodeType&&(at.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(a){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,at.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=K.apply([],t);var i,n,a,o,s,r,l=0,c=this.length,u=this,d=c-1,h=t[0],p=at.isFunction(h);if(p||c>1&&"string"==typeof h&&!it.checkClone&&zt.test(h))return this.each(function(i){var n=u.eq(i);p&&(t[0]=h.call(this,i,n.html())),n.domManip(t,e)});if(c&&(r=at.buildFragment(t,this[0].ownerDocument,!1,this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=at.map(g(r,"script"),b),a=o.length;c>l;l++)n=r,l!==d&&(n=at.clone(n,!0,!0),a&&at.merge(o,g(n,"script"))),e.call(this[l],n,l);if(a)for(s=o[o.length-1].ownerDocument,at.map(o,w),l=0;a>l;l++)n=o[l],qt.test(n.type||"")&&!at._data(n,"globalEval")&&at.contains(s,n)&&(n.src?at._evalUrl&&at._evalUrl(n.src):at.globalEval((n.text||n.textContent||n.innerHTML||"").replace(Xt,"")));r=i=null}return this}}),at.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){at.fn[t]=function(t){for(var i,n=0,a=[],o=at(t),s=o.length-1;s>=n;n++)i=n===s?this:this.clone(!0),at(o[n])[e](i),G.apply(a,i.get());return this.pushStack(a)}});var Zt,Jt={};!function(){var t;it.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,i,n;return i=ft.getElementsByTagName("body")[0],i&&i.style?(e=ft.createElement("div"),n=ft.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),typeof e.style.zoom!==St&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(ft.createElement("div")).style.width="5px",t=3!==e.offsetWidth),i.removeChild(n),t):void 0}}();var te,ee,ie=/^margin/,ne=new RegExp("^("+kt+")(?!px)[a-z%]+$","i"),ae=/^(top|right|bottom|left)$/;t.getComputedStyle?(te=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},ee=function(t,e,i){var n,a,o,s,r=t.style;return i=i||te(t),s=i?i.getPropertyValue(e)||i[e]:void 0,i&&(""!==s||at.contains(t.ownerDocument,t)||(s=at.style(t,e)),ne.test(s)&&ie.test(e)&&(n=r.width, a=r.minWidth,o=r.maxWidth,r.minWidth=r.maxWidth=r.width=s,s=i.width,r.width=n,r.minWidth=a,r.maxWidth=o)),void 0===s?s:s+""}):ft.documentElement.currentStyle&&(te=function(t){return t.currentStyle},ee=function(t,e,i){var n,a,o,s,r=t.style;return i=i||te(t),s=i?i[e]:void 0,null==s&&r&&r[e]&&(s=r[e]),ne.test(s)&&!ae.test(e)&&(n=r.left,a=t.runtimeStyle,o=a&&a.left,o&&(a.left=t.currentStyle.left),r.left="fontSize"===e?"1em":s,s=r.pixelLeft+"px",r.left=n,o&&(a.left=o)),void 0===s?s:s+""||"auto"});!function(){function e(){var e,i,n,a;i=ft.getElementsByTagName("body")[0],i&&i.style&&(e=ft.createElement("div"),n=ft.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",o=s=!1,l=!0,t.getComputedStyle&&(o="1%"!==(t.getComputedStyle(e,null)||{}).top,s="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,a=e.appendChild(ft.createElement("div")),a.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",a.style.marginRight=a.style.width="0",e.style.width="1px",l=!parseFloat((t.getComputedStyle(a,null)||{}).marginRight),e.removeChild(a)),e.innerHTML="
t
",a=e.getElementsByTagName("td"),a[0].style.cssText="margin:0;border:0;padding:0;display:none",r=0===a[0].offsetHeight,r&&(a[0].style.display="",a[1].style.display="none",r=0===a[0].offsetHeight),i.removeChild(n))}var i,n,a,o,s,r,l;(i=ft.createElement("div"),i.innerHTML="
a",a=i.getElementsByTagName("a")[0],n=a&&a.style)&&(n.cssText="float:left;opacity:.5",it.opacity="0.5"===n.opacity,it.cssFloat=!!n.cssFloat,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",it.clearCloneStyle="content-box"===i.style.backgroundClip,it.boxSizing=""===n.boxSizing||""===n.MozBoxSizing||""===n.WebkitBoxSizing,at.extend(it,{reliableHiddenOffsets:function(){return null==r&&e(),r},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:function(){return null==o&&e(),o},reliableMarginRight:function(){return null==l&&e(),l}}))}(),at.swap=function(t,e,i,n){var a,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];a=i.apply(t,n||[]);for(o in e)t.style[o]=s[o];return a};var oe=/alpha\([^)]*\)/i,se=/opacity\s*=\s*([^)]*)/,re=/^(none|table(?!-c[ea]).+)/,le=new RegExp("^("+kt+")(.*)$","i"),ce=new RegExp("^([+-])=("+kt+")","i"),ue={position:"absolute",visibility:"hidden",display:"block"},de={letterSpacing:"0",fontWeight:"400"},he=["Webkit","O","Moz","ms"];at.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ee(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":it.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var a,o,s,r=at.camelCase(e),l=t.style;if(e=at.cssProps[r]||(at.cssProps[r]=D(l,r)),s=at.cssHooks[e]||at.cssHooks[r],void 0===i)return s&&"get"in s&&void 0!==(a=s.get(t,!1,n))?a:l[e];if(o=typeof i,"string"===o&&(a=ce.exec(i))&&(i=(a[1]+1)*a[2]+parseFloat(at.css(t,e)),o="number"),null!=i&&i===i&&("number"!==o||at.cssNumber[r]||(i+="px"),it.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),!(s&&"set"in s&&void 0===(i=s.set(t,i,n)))))try{l[e]=i}catch(c){}}},css:function(t,e,i,n){var a,o,s,r=at.camelCase(e);return e=at.cssProps[r]||(at.cssProps[r]=D(t.style,r)),s=at.cssHooks[e]||at.cssHooks[r],s&&"get"in s&&(o=s.get(t,!0,i)),void 0===o&&(o=ee(t,e,n)),"normal"===o&&e in de&&(o=de[e]),""===i||i?(a=parseFloat(o),i===!0||at.isNumeric(a)?a||0:o):o}}),at.each(["height","width"],function(t,e){at.cssHooks[e]={get:function(t,i,n){return i?re.test(at.css(t,"display"))&&0===t.offsetWidth?at.swap(t,ue,function(){return I(t,e,n)}):I(t,e,n):void 0},set:function(t,i,n){var a=n&&te(t);return O(t,i,n?P(t,e,n,it.boxSizing&&"border-box"===at.css(t,"boxSizing",!1,a),a):0)}}}),it.opacity||(at.cssHooks.opacity={get:function(t,e){return se.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,a=at.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===at.trim(o.replace(oe,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=oe.test(o)?o.replace(oe,a):o+" "+a)}}),at.cssHooks.marginRight=k(it.reliableMarginRight,function(t,e){return e?at.swap(t,{display:"inline-block"},ee,[t,"marginRight"]):void 0}),at.each({margin:"",padding:"",border:"Width"},function(t,e){at.cssHooks[t+e]={expand:function(i){for(var n=0,a={},o="string"==typeof i?i.split(" "):[i];4>n;n++)a[t+Dt[n]+e]=o[n]||o[n-2]||o[0];return a}},ie.test(t)||(at.cssHooks[t+e].set=O)}),at.fn.extend({css:function(t,e){return Ot(this,function(t,e,i){var n,a,o={},s=0;if(at.isArray(e)){for(n=te(t),a=e.length;a>s;s++)o[e[s]]=at.css(t,e[s],!1,n);return o}return void 0!==i?at.style(t,e,i):at.css(t,e)},t,e,arguments.length>1)},show:function(){return E(this,!0)},hide:function(){return E(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Et(this)?at(this).show():at(this).hide()})}});at.Tween=A,A.prototype={constructor:A,init:function(t,e,i,n,a,o){this.elem=t,this.prop=i,this.easing=a||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(at.cssNumber[i]?"":"px")},cur:function(){var t=A.propHooks[this.prop];return t&&t.get?t.get(this):A.propHooks._default.get(this)},run:function(t){var e,i=A.propHooks[this.prop];return this.options.duration?this.pos=e=at.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=at.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){at.fx.step[t.prop]?at.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[at.cssProps[t.prop]]||at.cssHooks[t.prop])?at.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},at.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},at.fx=A.prototype.init,at.fx.step={};var pe,fe,me=/^(?:toggle|show|hide)$/,ge=new RegExp("^(?:([+-])=|)("+kt+")([a-z%]*)$","i"),ve=/queueHooks$/,ye=[R],be={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),a=ge.exec(e),o=a&&a[3]||(at.cssNumber[t]?"":"px"),s=(at.cssNumber[t]||"px"!==o&&+n)&&ge.exec(at.css(i.elem,t)),r=1,l=20;if(s&&s[3]!==o){o=o||s[3],a=a||[],s=+n||1;do r=r||".5",s/=r,at.style(i.elem,t,s+o);while(r!==(r=i.cur()/n)&&1!==r&&--l)}return a&&(s=i.start=+s||+n||0,i.unit=o,i.end=a[1]?s+(a[1]+1)*a[2]:+a[2]),i}]};at.Animation=at.extend(F,{tweener:function(t,e){at.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,a=t.length;a>n;n++)i=t[n],be[i]=be[i]||[],be[i].unshift(e)},prefilter:function(t,e){e?ye.unshift(t):ye.push(t)}}),at.speed=function(t,e,i){var n=t&&"object"==typeof t?at.extend({},t):{complete:i||!i&&e||at.isFunction(t)&&t,duration:t,easing:i&&e||e&&!at.isFunction(e)&&e};return n.duration=at.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in at.fx.speeds?at.fx.speeds[n.duration]:at.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){at.isFunction(n.old)&&n.old.call(this),n.queue&&at.dequeue(this,n.queue)},n},at.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Et).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var a=at.isEmptyObject(t),o=at.speed(e,i,n),s=function(){var e=F(this,at.extend({},t),o);(a||at._data(this,"finish"))&&e.stop(!0)};return s.finish=s,a||o.queue===!1?this.each(s):this.queue(o.queue,s)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,a=null!=t&&t+"queueHooks",o=at.timers,s=at._data(this);if(a)s[a]&&s[a].stop&&n(s[a]);else for(a in s)s[a]&&s[a].stop&&ve.test(a)&&n(s[a]);for(a=o.length;a--;)o[a].elem!==this||null!=t&&o[a].queue!==t||(o[a].anim.stop(i),e=!1,o.splice(a,1));(e||!i)&&at.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=at._data(this),n=i[t+"queue"],a=i[t+"queueHooks"],o=at.timers,s=n?n.length:0;for(i.finish=!0,at.queue(this,t,[]),a&&a.stop&&a.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;s>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),at.each(["toggle","show","hide"],function(t,e){var i=at.fn[e];at.fn[e]=function(t,n,a){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(N(e,!0),t,n,a)}}),at.each({slideDown:N("show"),slideUp:N("hide"),slideToggle:N("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){at.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),at.timers=[],at.fx.tick=function(){var t,e=at.timers,i=0;for(pe=at.now();i
a",n=e.getElementsByTagName("a")[0],i=ft.createElement("select"),a=i.appendChild(ft.createElement("option")),t=e.getElementsByTagName("input")[0],n.style.cssText="top:1px",it.getSetAttribute="t"!==e.className,it.style=/top/.test(n.getAttribute("style")),it.hrefNormalized="/a"===n.getAttribute("href"),it.checkOn=!!t.value,it.optSelected=a.selected,it.enctype=!!ft.createElement("form").enctype,i.disabled=!0,it.optDisabled=!a.disabled,t=ft.createElement("input"),t.setAttribute("value",""),it.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),it.radioValue="t"===t.value}();var we=/\r/g;at.fn.extend({val:function(t){var e,i,n,a=this[0];return arguments.length?(n=at.isFunction(t),this.each(function(i){var a;1===this.nodeType&&(a=n?t.call(this,i,at(this).val()):t,null==a?a="":"number"==typeof a?a+="":at.isArray(a)&&(a=at.map(a,function(t){return null==t?"":t+""})),e=at.valHooks[this.type]||at.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,a,"value")||(this.value=a))})):a?(e=at.valHooks[a.type]||at.valHooks[a.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(i=e.get(a,"value"))?i:(i=a.value,"string"==typeof i?i.replace(we,""):null==i?"":i)):void 0}}),at.extend({valHooks:{option:{get:function(t){var e=at.find.attr(t,"value");return null!=e?e:at.trim(at.text(t))}},select:{get:function(t){for(var e,i,n=t.options,a=t.selectedIndex,o="select-one"===t.type||0>a,s=o?null:[],r=o?a+1:n.length,l=0>a?r:o?a:0;r>l;l++)if(i=n[l],!(!i.selected&&l!==a||(it.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&at.nodeName(i.parentNode,"optgroup"))){if(e=at(i).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var i,n,a=t.options,o=at.makeArray(e),s=a.length;s--;)if(n=a[s],at.inArray(at.valHooks.option.get(n),o)>=0)try{n.selected=i=!0}catch(r){n.scrollHeight}else n.selected=!1;return i||(t.selectedIndex=-1),a}}}}),at.each(["radio","checkbox"],function(){at.valHooks[this]={set:function(t,e){return at.isArray(e)?t.checked=at.inArray(at(t).val(),e)>=0:void 0}},it.checkOn||(at.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ce,xe,Se=at.expr.attrHandle,Te=/^(?:checked|selected)$/i,_e=it.getSetAttribute,ke=it.input;at.fn.extend({attr:function(t,e){return Ot(this,at.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){at.removeAttr(this,t)})}}),at.extend({attr:function(t,e,i){var n,a,o=t.nodeType;return t&&3!==o&&8!==o&&2!==o?typeof t.getAttribute===St?at.prop(t,e,i):(1===o&&at.isXMLDoc(t)||(e=e.toLowerCase(),n=at.attrHooks[e]||(at.expr.match.bool.test(e)?xe:Ce)),void 0===i?n&&"get"in n&&null!==(a=n.get(t,e))?a:(a=at.find.attr(t,e),null==a?void 0:a):null!==i?n&&"set"in n&&void 0!==(a=n.set(t,i,e))?a:(t.setAttribute(e,i+""),i):void at.removeAttr(t,e)):void 0},removeAttr:function(t,e){var i,n,a=0,o=e&&e.match(bt);if(o&&1===t.nodeType)for(;i=o[a++];)n=at.propFix[i]||i,at.expr.match.bool.test(i)?ke&&_e||!Te.test(i)?t[n]=!1:t[at.camelCase("default-"+i)]=t[n]=!1:at.attr(t,i,""),t.removeAttribute(_e?i:n)},attrHooks:{type:{set:function(t,e){if(!it.radioValue&&"radio"===e&&at.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}}}),xe={set:function(t,e,i){return e===!1?at.removeAttr(t,i):ke&&_e||!Te.test(i)?t.setAttribute(!_e&&at.propFix[i]||i,i):t[at.camelCase("default-"+i)]=t[i]=!0,i}},at.each(at.expr.match.bool.source.match(/\w+/g),function(t,e){var i=Se[e]||at.find.attr;Se[e]=ke&&_e||!Te.test(e)?function(t,e,n){var a,o;return n||(o=Se[e],Se[e]=a,a=null!=i(t,e,n)?e.toLowerCase():null,Se[e]=o),a}:function(t,e,i){return i?void 0:t[at.camelCase("default-"+e)]?e.toLowerCase():null}}),ke&&_e||(at.attrHooks.value={set:function(t,e,i){return at.nodeName(t,"input")?void(t.defaultValue=e):Ce&&Ce.set(t,e,i)}}),_e||(Ce={set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:void 0}},Se.id=Se.name=Se.coords=function(t,e,i){var n;return i?void 0:(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},at.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:void 0},set:Ce.set},at.attrHooks.contenteditable={set:function(t,e,i){Ce.set(t,""===e?!1:e,i)}},at.each(["width","height"],function(t,e){at.attrHooks[e]={set:function(t,i){return""===i?(t.setAttribute(e,"auto"),i):void 0}}})),it.style||(at.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var De=/^(?:input|select|textarea|button|object)$/i,Ee=/^(?:a|area)$/i;at.fn.extend({prop:function(t,e){return Ot(this,at.prop,t,e,arguments.length>1)},removeProp:function(t){return t=at.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),at.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,i){var n,a,o,s=t.nodeType;return t&&3!==s&&8!==s&&2!==s?(o=1!==s||!at.isXMLDoc(t),o&&(e=at.propFix[e]||e,a=at.propHooks[e]),void 0!==i?a&&"set"in a&&void 0!==(n=a.set(t,i,e))?n:t[e]=i:a&&"get"in a&&null!==(n=a.get(t,e))?n:t[e]):void 0},propHooks:{tabIndex:{get:function(t){var e=at.find.attr(t,"tabindex");return e?parseInt(e,10):De.test(t.nodeName)||Ee.test(t.nodeName)&&t.href?0:-1}}}}),it.hrefNormalized||at.each(["href","src"],function(t,e){at.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),it.optSelected||(at.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),at.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){at.propFix[this.toLowerCase()]=this}),it.enctype||(at.propFix.enctype="encoding");var Oe=/[\t\r\n\f]/g;at.fn.extend({addClass:function(t){var e,i,n,a,o,s,r=0,l=this.length,c="string"==typeof t&&t;if(at.isFunction(t))return this.each(function(e){at(this).addClass(t.call(this,e,this.className))});if(c)for(e=(t||"").match(bt)||[];l>r;r++)if(i=this[r],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Oe," "):" ")){o=0;for(;a=e[o++];)n.indexOf(" "+a+" ")<0&&(n+=a+" ");s=at.trim(n),i.className!==s&&(i.className=s)}return this},removeClass:function(t){var e,i,n,a,o,s,r=0,l=this.length,c=0===arguments.length||"string"==typeof t&&t;if(at.isFunction(t))return this.each(function(e){at(this).removeClass(t.call(this,e,this.className))});if(c)for(e=(t||"").match(bt)||[];l>r;r++)if(i=this[r],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Oe," "):"")){o=0;for(;a=e[o++];)for(;n.indexOf(" "+a+" ")>=0;)n=n.replace(" "+a+" "," ");s=t?at.trim(n):"",i.className!==s&&(i.className=s)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):this.each(at.isFunction(t)?function(i){at(this).toggleClass(t.call(this,i,this.className,e),e)}:function(){if("string"===i)for(var e,n=0,a=at(this),o=t.match(bt)||[];e=o[n++];)a.hasClass(e)?a.removeClass(e):a.addClass(e);else(i===St||"boolean"===i)&&(this.className&&at._data(this,"__className__",this.className),this.className=this.className||t===!1?"":at._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(Oe," ").indexOf(e)>=0)return!0;return!1}}),at.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){at.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),at.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var Pe=at.now(),Ie=/\?/,Ae=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;at.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var i,n=null,a=at.trim(e+"");return a&&!at.trim(a.replace(Ae,function(t,e,a,o){return i&&e&&(n=0),0===n?t:(i=a||e,n+=!o-!a,"")}))?Function("return "+a)():at.error("Invalid JSON: "+e)},at.parseXML=function(e){var i,n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(n=new DOMParser,i=n.parseFromString(e,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(e))}catch(a){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||at.error("Invalid XML: "+e),i};var $e,Ne,Me=/#.*$/,Re=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Fe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,je=/^(?:GET|HEAD)$/,Be=/^\/\//,He=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ue={},Ve={},We="*/".concat("*");try{Ne=location.href}catch(ze){Ne=ft.createElement("a"),Ne.href="",Ne=Ne.href}$e=He.exec(Ne.toLowerCase())||[];at.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ne,type:"GET",isLocal:Fe.test($e[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":at.parseJSON,"text xml":at.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?H(H(t,at.ajaxSettings),e):H(at.ajaxSettings,t)},ajaxPrefilter:j(Ue),ajaxTransport:j(Ve),ajax:function(t,e){function i(t,e,i,n){var a,u,v,y,w,x=e;2!==b&&(b=2,r&&clearTimeout(r),c=void 0,s=n||"",C.readyState=t>0?4:0,a=t>=200&&300>t||304===t,i&&(y=U(d,C,i)),y=V(d,y,C,a),a?(d.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(at.lastModified[o]=w),w=C.getResponseHeader("etag"),w&&(at.etag[o]=w)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=y.state,u=y.data,v=y.error,a=!v)):(v=x,(t||!x)&&(x="error",0>t&&(t=0))),C.status=t,C.statusText=(e||x)+"",a?f.resolveWith(h,[u,x,C]):f.rejectWith(h,[C,x,v]),C.statusCode(g),g=void 0,l&&p.trigger(a?"ajaxSuccess":"ajaxError",[C,d,a?u:v]),m.fireWith(h,[C,x]),l&&(p.trigger("ajaxComplete",[C,d]),--at.active||at.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,a,o,s,r,l,c,u,d=at.ajaxSetup({},e),h=d.context||d,p=d.context&&(h.nodeType||h.jquery)?at(h):at.event,f=at.Deferred(),m=at.Callbacks("once memory"),g=d.statusCode||{},v={},y={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!u){u={};for(;e=Le.exec(s);)u[e[1].toLowerCase()]=e[2]}e=u[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return b||(t=y[i]=y[i]||t,v[t]=e),this},overrideMimeType:function(t){return b||(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];else C.always(t[C.status]);return this},abort:function(t){var e=t||w;return c&&c.abort(e),i(0,e),this}};if(f.promise(C).complete=m.add,C.success=C.done,C.error=C.fail,d.url=((t||d.url||Ne)+"").replace(Me,"").replace(Be,$e[1]+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=at.trim(d.dataType||"*").toLowerCase().match(bt)||[""],null==d.crossDomain&&(n=He.exec(d.url.toLowerCase()),d.crossDomain=!(!n||n[1]===$e[1]&&n[2]===$e[2]&&(n[3]||("http:"===n[1]?"80":"443"))===($e[3]||("http:"===$e[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=at.param(d.data,d.traditional)),B(Ue,d,e,C),2===b)return C;l=at.event&&d.global,l&&0===at.active++&&at.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!je.test(d.type),o=d.url,d.hasContent||(d.data&&(o=d.url+=(Ie.test(o)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Re.test(o)?o.replace(Re,"$1_="+Pe++):o+(Ie.test(o)?"&":"?")+"_="+Pe++)),d.ifModified&&(at.lastModified[o]&&C.setRequestHeader("If-Modified-Since",at.lastModified[o]),at.etag[o]&&C.setRequestHeader("If-None-Match",at.etag[o])),(d.data&&d.hasContent&&d.contentType!==!1||e.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+We+"; q=0.01":""):d.accepts["*"]);for(a in d.headers)C.setRequestHeader(a,d.headers[a]);if(d.beforeSend&&(d.beforeSend.call(h,C,d)===!1||2===b))return C.abort();w="abort";for(a in{success:1,error:1,complete:1})C[a](d[a]);if(c=B(Ve,d,e,C)){C.readyState=1,l&&p.trigger("ajaxSend",[C,d]),d.async&&d.timeout>0&&(r=setTimeout(function(){C.abort("timeout")},d.timeout));try{b=1,c.send(v,i)}catch(x){if(!(2>b))throw x;i(-1,x)}}else i(-1,"No Transport");return C},getJSON:function(t,e,i){return at.get(t,e,i,"json")},getScript:function(t,e){return at.get(t,void 0,e,"script")}}),at.each(["get","post"],function(t,e){at[e]=function(t,i,n,a){return at.isFunction(i)&&(a=a||n,n=i,i=void 0),at.ajax({url:t,type:e,dataType:a,data:i,success:n})}}),at._evalUrl=function(t){return at.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},at.fn.extend({wrapAll:function(t){if(at.isFunction(t))return this.each(function(e){at(this).wrapAll(t.call(this,e))});if(this[0]){var e=at(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return this.each(at.isFunction(t)?function(e){at(this).wrapInner(t.call(this,e))}:function(){var e=at(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=at.isFunction(t);return this.each(function(i){at(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){at.nodeName(this,"body")||at(this).replaceWith(this.childNodes)}).end()}}),at.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!it.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||at.css(t,"display"))},at.expr.filters.visible=function(t){return!at.expr.filters.hidden(t)};var qe=/%20/g,Ye=/\[\]$/,Xe=/\r?\n/g,Qe=/^(?:submit|button|image|reset|file)$/i,Ke=/^(?:input|select|textarea|keygen)/i;at.param=function(t,e){var i,n=[],a=function(t,e){e=at.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=at.ajaxSettings&&at.ajaxSettings.traditional),at.isArray(t)||t.jquery&&!at.isPlainObject(t))at.each(t,function(){a(this.name,this.value)});else for(i in t)W(i,t[i],e,a);return n.join("&").replace(qe,"+")},at.fn.extend({serialize:function(){return at.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=at.prop(this,"elements");return t?at.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!at(this).is(":disabled")&&Ke.test(this.nodeName)&&!Qe.test(t)&&(this.checked||!Pt.test(t))}).map(function(t,e){var i=at(this).val();return null==i?null:at.isArray(i)?at.map(i,function(t){return{name:e.name,value:t.replace(Xe,"\r\n")}}):{name:e.name,value:i.replace(Xe,"\r\n")}}).get()}}),at.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&z()||q()}:z;var Ge=0,Ze={},Je=at.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Ze)Ze[t](void 0,!0)}),it.cors=!!Je&&"withCredentials"in Je,Je=it.ajax=!!Je,Je&&at.ajaxTransport(function(t){if(!t.crossDomain||it.cors){var e;return{send:function(i,n){var a,o=t.xhr(),s=++Ge;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)o[a]=t.xhrFields[a];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)void 0!==i[a]&&o.setRequestHeader(a,i[a]+"");o.send(t.hasContent&&t.data||null),e=function(i,a){var r,l,c;if(e&&(a||4===o.readyState))if(delete Ze[s],e=void 0,o.onreadystatechange=at.noop,a)4!==o.readyState&&o.abort();else{c={},r=o.status,"string"==typeof o.responseText&&(c.text=o.responseText);try{l=o.statusText}catch(u){l=""}r||!t.isLocal||t.crossDomain?1223===r&&(r=204):r=c.text?200:404}c&&n(r,l,c,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout(e):o.onreadystatechange=Ze[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}});at.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return at.globalEval(t),t}}}),at.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),at.ajaxTransport("script",function(t){if(t.crossDomain){var e,i=ft.head||at("head")[0]||ft.documentElement;return{send:function(n,a){e=ft.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||a(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var ti=[],ei=/(=)\?(?=&|$)|\?\?/;at.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ti.pop()||at.expando+"_"+Pe++;return this[t]=!0,t}}),at.ajaxPrefilter("json jsonp",function(e,i,n){var a,o,s,r=e.jsonp!==!1&&(ei.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ei.test(e.data)&&"data");return r||"jsonp"===e.dataTypes[0]?(a=e.jsonpCallback=at.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(ei,"$1"+a):e.jsonp!==!1&&(e.url+=(Ie.test(e.url)?"&":"?")+e.jsonp+"="+a),e.converters["script json"]=function(){return s||at.error(a+" was not called"),s[0]},e.dataTypes[0]="json",o=t[a],t[a]=function(){s=arguments},n.always(function(){t[a]=o,e[a]&&(e.jsonpCallback=i.jsonpCallback,ti.push(a)),s&&at.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),at.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||ft;var n=dt.exec(t),a=!i&&[];return n?[e.createElement(n[1])]:(n=at.buildFragment([t],e,a),a&&a.length&&at(a).remove(),at.merge([],n.childNodes))};var ii=at.fn.load;at.fn.load=function(t,e,i){if("string"!=typeof t&&ii)return ii.apply(this,arguments);var n,a,o,s=this,r=t.indexOf(" ");return r>=0&&(n=at.trim(t.slice(r,t.length)),t=t.slice(0,r)),at.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&at.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){a=arguments,s.html(n?at("
").append(at.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){s.each(i,a||[t.responseText,e,t])}),this},at.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){at.fn[e]=function(t){return this.on(e,t)}}),at.expr.filters.animated=function(t){return at.grep(at.timers,function(e){return t===e.elem}).length};var ni=t.document.documentElement;at.offset={setOffset:function(t,e,i){var n,a,o,s,r,l,c,u=at.css(t,"position"),d=at(t),h={};"static"===u&&(t.style.position="relative"),r=d.offset(),o=at.css(t,"top"),l=at.css(t,"left"),c=("absolute"===u||"fixed"===u)&&at.inArray("auto",[o,l])>-1,c?(n=d.position(),s=n.top,a=n.left):(s=parseFloat(o)||0,a=parseFloat(l)||0),at.isFunction(e)&&(e=e.call(t,i,r)),null!=e.top&&(h.top=e.top-r.top+s),null!=e.left&&(h.left=e.left-r.left+a),"using"in e?e.using.call(t,h):d.css(h)}},at.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){at.offset.setOffset(this,t,e)});var e,i,n={top:0,left:0},a=this[0],o=a&&a.ownerDocument;return o?(e=o.documentElement,at.contains(e,a)?(typeof a.getBoundingClientRect!==St&&(n=a.getBoundingClientRect()),i=Y(o),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0},position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===at.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),at.nodeName(t[0],"html")||(i=t.offset()),i.top+=at.css(t[0],"borderTopWidth",!0),i.left+=at.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-at.css(n,"marginTop",!0),left:e.left-i.left-at.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||ni;t&&!at.nodeName(t,"html")&&"static"===at.css(t,"position");)t=t.offsetParent;return t||ni})}}),at.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i=/Y/.test(e);at.fn[t]=function(n){return Ot(this,function(t,n,a){var o=Y(t);return void 0===a?o?e in o?o[e]:o.document.documentElement[n]:t[n]:void(o?o.scrollTo(i?at(o).scrollLeft():a,i?a:at(o).scrollTop()):t[n]=a)},t,n,arguments.length,null)}}),at.each(["top","left"],function(t,e){at.cssHooks[e]=k(it.pixelPosition,function(t,i){return i?(i=ee(t,e),ne.test(i)?at(t).position()[e]+"px":i):void 0})}),at.each({Height:"height",Width:"width"},function(t,e){at.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){at.fn[n]=function(n,a){var o=arguments.length&&(i||"boolean"!=typeof n),s=i||(n===!0||a===!0?"margin":"border"); return Ot(this,function(e,i,n){var a;return at.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(a=e.documentElement,Math.max(e.body["scroll"+t],a["scroll"+t],e.body["offset"+t],a["offset"+t],a["client"+t])):void 0===n?at.css(e,i,s):at.style(e,i,n,s)},e,o?n:void 0,o,null)}})}),at.fn.size=function(){return this.length},at.fn.andSelf=at.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return at});var ai=t.jQuery,oi=t.$;return at.noConflict=function(e){return t.$===at&&(t.$=oi),e&&t.jQuery===at&&(t.jQuery=ai),at},typeof e===St&&(t.jQuery=t.$=at),at});define("app/init",["jquery"],function(t){"use strict";var e={path:{img:"public/img/",getCaptcha:"api/user/getCaptcha",sendRegistrationKey:"api/user/sendRegistration",logIn:"api/user/logIn",logOut:"api/user/logOut",deleteLog:"api/user/deleteLog",saveUserConfig:"api/user/saveConfig",saveSharingConfig:"api/user/saveSharingConfig",searchAccess:"api/access/search",initMap:"api/map/init",updateMapData:"api/map/updateData",updateUserData:"api/map/updateUserData",saveMap:"api/map/save",deleteMap:"api/map/delete",searchSystem:"api/system/search",saveSystem:"api/system/save",deleteSystem:"api/system/delete",getSystemGraphData:"api/system/graphData",getConstellationData:"api/system/constellationData",saveConnection:"api/connection/save",deleteConnection:"api/connection/delete",getSignatures:"api/signature/getAll",saveSignatureData:"api/signature/save",deleteSignatureData:"api/signature/delete",searchRoute:"api/route/search"},url:{ccpImageServer:"https://image.eveonline.com/",zKillboard:"https://zkillboard.com/api/"},animationSpeed:{splashOverlay:300,headerLink:100,mapOverlay:200,mapMoveSystem:300,mapDeleteSystem:200,mapModule:200,dialogEvents:180},mapIcons:[{"class":"fa-desktop",label:"desktop",unicode:""},{"class":"fa-bookmark",label:"bookmark",unicode:""},{"class":"fa-cube",label:"cube",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:""}],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 gaint"},pulsar:{"class":"pf-system-effect-pulsar",name:"pulsar"},wolfRayet:{"class":"pf-system-effect-wolfrayet",name:"wolf rayet"},cataclysmic:{"class":"pf-system-effect-cataclysmic",name:"cytaclysmic"},blackHole:{"class":"pf-system-effect-blackhole",name:"black hole"}},systemSecurity:{security:{"class":"pf-system-sec"},H:{"class":"pf-system-sec-highSec"},L:{"class":"pf-system-sec-lowSec"},"0.0":{"class":"pf-system-sec-nullSec"},C6:{"class":"pf-system-sec-high"},C5:{"class":"pf-system-sec-high"},C4:{"class":"pf-system-sec-mid"},C3:{"class":"pf-system-sec-mid"},C2:{"class":"pf-system-sec-low"},C1:{"class":"pf-system-sec-low"}},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"}},pieChart:{"class":"pf-pie-chart",pieChartMapCounterClass:"pf-pie-chart-map-timer"}},defaultMapScope:"wh",connectionTypes:{jumpbridge:{cssClass:"pf-map-connection-jumpbridge",paintStyle:{dashstyle:"4 2 1 2"}},stargate:{cssClass:"pf-map-connection-stargate",paintStyle:{dashstyle:"0"}},wh_eol:{cssClass:"pf-map-connection-wh-eol",paintStyle:{dashstyle:"0"}},wh_fresh:{cssClass:"pf-map-connection-wh-fresh",paintStyle:{dashstyle:"0"}},wh_reduced:{cssClass:"pf-map-connection-wh-reduced",paintStyle:{dashstyle:"0"}},wh_critical:{cssClass:"pf-map-connection-wh-critical",paintStyle:{dashstyle:"0"}},frigate:{cssClass:"pf-map-connection-frig",paintStyle:{dashstyle:"0.99"},overlays:[["Label",{label:"frig",cssClass:["pf-map-connection-overlay","frig"].join(" ")}]]},preserve_mass:{cssClass:"pf-map-connection-preserve-mass",overlays:[["Label",{label:' save mass',cssClass:["pf-map-connection-overlay","mass"].join(" "),width:50,length:30,location:.5}]]}},signatureGroups:{1:{name:"combat site",label:"Combat"},2:{name:"relic site",label:"Relic"},3:{name:"data site",label:"Data"},4:{name:"gas site",label:"Gas"},5:{name:"wormhole",label:"Wormhole"},6:{name:"ore site",label:"Ore"},7:{name:"ghost",label:"Ghost"}},frigateWormholes:{1:{},2:{1:"L005 - C2",2:"C008 - C5",3:"Q003 - 0.0"},3:{1:"E004 - C1",2:"L005 - C2",3:"M001 - C4"},4:{1:"L005 - C2",2:"G008 - C6",3:"Q003 - 0.0"},5:{1:"E004 - C1",2:"L005 - C2",3:"Z006 - C3",4:"C008 - C5",5:"Q003 - 0.0"},6:{1:"E004 - C1",2:"Z006 - C3",5:"Q003 - 0.0"}},incomingWormholes:{1:"K162 - C1/2/3 (unknown)",2:"K162 - C4/5 (dangerous)",3:"K162 - C6 (deadly)"}};return e});define("config/system_effect",[],function(){"use strict";var t={wh:{magnetar:{1:[{effect:"Damage",value:"+30%"},{effect:"Missile explosion 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 explosion 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 explosion 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 explosion 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 explosion 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 explosion radius",value:"+50%"},{effect:"Drone Tracking",value:"-50%"},{effect:"Targeting Range",value:"-50%"},{effect:"Tracking Speed",value:"-50%"},{effect:"Target Painter Strength",value:"-50%"}]},redGiant:{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%"}]},pulsar:{1:[{effect:"Shield HP",value:"+30%"},{effect:"Armor Resists",value:"-15%"},{effect:"Capacitor recharge",value:"-15%"},{effect:"Signature",value:"+30%"},{effect:"NOS / Neut Drain Amount",value:"+30%"}],2:[{effect:"Shield HP",value:"+44%"},{effect:"Armor Resists",value:"-22%"},{effect:"Capacitor recharge",value:"-22%"},{effect:"Signature",value:"+44%"},{effect:"NOS / Neut Drain Amount",value:"+44%"}],3:[{effect:"Shield HP",value:"+58%"},{effect:"Armor Resists",value:"-29%"},{effect:"Capacitor recharge",value:"-29%"},{effect:"Signature",value:"+58%"},{effect:"NOS / Neut Drain Amount",value:"+58%"}],4:[{effect:"Shield HP",value:"+72%"},{effect:"Armor Resists",value:"-36%"},{effect:"Capacitor recharge",value:"-36%"},{effect:"Signature",value:"+72%"},{effect:"NOS / Neut Drain Amount",value:"+72%"}],5:[{effect:"Shield HP",value:"+86%"},{effect:"Armor Resists",value:"-43%"},{effect:"Capacitor recharge",value:"-43%"},{effect:"Signature",value:"+86%"},{effect:"NOS / Neut Drain Amount",value:"+86%"}],6:[{effect:"Shield HP",value:"+100%"},{effect:"Armor Resists",value:"-50%"},{effect:"Capacitor recharge",value:"-50%"},{effect:"Signature",value:"+100%"},{effect:"NOS / Neut Drain Amount",value:"+100%"}]},wolfRayet:{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%"}]},cataclysmic:{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%"}]},blackHole:{1:[{effect:"Missile velocity",value:"+15%"},{effect:"Missile Explosion 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 Explosion 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 Explosion 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 Explosion 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 Explosion 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 Explosion Velocity",value:"+100%"},{effect:"Ship velocity",value:"+100%"},{effect:"Stasis Webifier Strength",value:"-50%"},{effect:"Inertia",value:"+50%"},{effect:"Targeting range",value:"+100%"}]}}};return t});define("config/signature_type",[],function(){"use strict";var t={1:{1:{1:{1:"Perimeter Ambush Point",2:"Perimeter Camp",3:"Phase Catalyst Node",4:"The Line"},2:{1:"Forgotten Perimeter Coronation Platform",2:"Forgotten Perimeter Power Array"},3:{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"},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:{}},2:{1:{1:"Perimeter Checkpoint",2:"Perimeter Hangar",3:"The Ruins of Enclave Cohort 27",4:"Sleeper Data Sanctuary"},2:{1:"Forgotten Perimeter Gateway",2:"Forgotten Perimeter Habitation Coils"},3:{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:{},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:{}},3:{1:{1:"Fortification Frontier Stronghold",2:"Outpost Frontier Stronghold",3:"Solar Cell",4:"The Oruze Construct"},2:{1:"Forgotten Frontier Quarantine Outpost",2:"Forgotten Frontier Recursive Depot"},3:{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"},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:{}},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"},5:{},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Unusual Core Deposit"},7:{}},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:"Token Perimeter Reservoir",3:"Sizeable Perimeter Reservoir",4:"Ordinary Perimeter Reservoir",5:"Bountiful Frontier Reservoir",6:"Instrumental Core Reservoir",7:"Vital Core Reservoir"},5:{1:"D792 - HS",2:"C140 - LS",3:"Z142 - 0.0"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Rarified Core Deposit"},7:{}},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:"Token Perimeter Reservoir",2:"Minor Perimeter Reservoir",3:"Sizeable Perimeter Reservoir",4:"Ordinary Perimeter Reservoir",5:"Bountiful Frontier Reservoir",6:"Vast Frontier Reservoir",7:"Instrumental Core Reservoir",8:"Vital Core Reservoir"},5:{1:"D792 - HS",2:"C391 - LS",3:"Z142 - 0.0"},6:{1:"Ordinary Perimeter Deposit",2:"Common Perimeter Deposit",3:"Unexceptional Frontier Deposit",4:"Average Frontier Deposit",5:"Rarified Core Deposit"},7:{1:"Superior Blood Raider Covert Research Facility"}}},2:{10:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"M555 - C5",5:"B041 - C6",6:"A641 - HS",7:"R051 - LS",8:"V283 - NS"}},11:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"N432 - C5",5:"U319 - C6",6:"B449 - HS",7:"N944 - LS",8:"S199 - NS"}},12:{5:{1:"Z971 - C1",2:"R943 - C2",3:"X702 - C3",4:"N432 - C5",5:"U319 - C6",6:"B449 - HS",7:"N944 - LS",8:"S199 - NS"}}}};return t});if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){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";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});var a=function(){i||t(n).trigger(t.support.transition.end)};return setTimeout(a,e),this},t(function(){t.support.transition=e(),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";function e(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)})}var i='[data-dismiss="alert"]',n=function(e){t(e).on("click",i,this.close)};n.VERSION="3.3.0",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=a.attr("href"),o=o&&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 a=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=a,this},t(document).on("click.bs.alert.data-api",i,n.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),a=n.data("bs.button"),o="object"==typeof e&&e;a||n.data("bs.button",a=new i(this,o)),"toggle"==e?a.toggle():e&&a.setState(e)})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.isLoading=!1};i.VERSION="3.3.0",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",n=this.$element,a=n.is("input")?"val":"html",o=n.data();e+="Text",null==o.resetText&&n.data("resetText",n[a]()),setTimeout(t.proxy(function(){n[a](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var n=t(i.target);n.hasClass("btn")||(n=n.closest(".btn")),e.call(n,"toggle"),i.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"==e.type)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),a=n.data("bs.carousel"),o=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e),s="string"==typeof e?e:o.slide;a||n.data("bs.carousel",a=new i(this,o)),"number"==typeof e?a.to(e):s?a[s]():o.interval&&a.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=this.sliding=this.interval=this.$active=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))};i.VERSION="3.3.0",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()},i.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},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i="prev"==t?-1:1,n=this.getItemIndex(e),a=(n+i)%this.$items.length;return this.$items.eq(a)},i.prototype.to=function(t){var e=this,i=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)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.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},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,n){var a=this.$element.find(".item.active"),o=n||this.getItemForDirection(e,a),s=this.interval,r="next"==e?"left":"right",l="next"==e?"first":"last",c=this;if(!o.length){if(!this.options.wrap)return;o=this.$element.find(".item")[l]()}if(o.hasClass("active"))return this.sliding=!1;var u=o[0],d=t.Event("slide.bs.carousel",{relatedTarget:u,direction:r});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=t(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:u,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(" ")),c.sliding=!1,setTimeout(function(){c.$element.trigger(p)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(a.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(p)),s&&this.cycle(),this}};var n=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this};var a=function(i){var n,a=t(this),o=t(a.attr("data-target")||(n=a.attr("href"))&&n.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),i.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 i=t(this);e.call(i,i.data())})})}(jQuery),+function(t){"use strict";function e(e){var i,n=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(n)}function i(e){return this.each(function(){var i=t(this),a=i.data("bs.collapse"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);!a&&o.toggle&&"show"==e&&(o.toggle=!1),a||i.data("bs.collapse",a=new n(this,o)),"string"==typeof e&&a[e]()})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.$trigger=t(this.options.trigger).filter('[href="#'+e.id+'"], [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()};n.VERSION="3.3.0",n.TRANSITION_DURATION=350,n.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},n.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},n.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,a=this.$parent&&this.$parent.find("> .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&&(i.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(n.TRANSITION_DURATION)[s](this.$element[0][l])}}}},n.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 i=this.dimension();this.$element[i](this.$element[i]())[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[i](0).one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(n.TRANSITION_DURATION):a.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},n.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,n){var a=t(n);this.addAriaAndCollapsedClass(e(a),a)},this)).end()},n.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var a=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=n,t.fn.collapse.noConflict=function(){return t.fn.collapse=a,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){var a=t(this);a.attr("data-target")||n.preventDefault();var o=e(a),s=o.data("bs.collapse"),r=s?"toggle":t.extend({},a.data(),{trigger:this});i.call(o,r)})}(jQuery),+function(t){"use strict";function e(e){e&&3===e.which||(t(a).remove(),t(o).each(function(){var n=t(this),a=i(n),o={relatedTarget:this};a.hasClass("open")&&(a.trigger(e=t.Event("hide.bs.dropdown",o)),e.isDefaultPrevented()||(n.attr("aria-expanded","false"),a.removeClass("open").trigger("hidden.bs.dropdown",o)))}))}function i(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}function n(e){return this.each(function(){var i=t(this),n=i.data("bs.dropdown");n||i.data("bs.dropdown",n=new s(this)),"string"==typeof e&&n[e].call(i)})}var a=".dropdown-backdrop",o='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.0",s.prototype.toggle=function(n){var a=t(this);if(!a.is(".disabled, :disabled")){var o=i(a),s=o.hasClass("open");if(e(),!s){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t('