text: "undefined"!=typeof define&&(define.amd="whatwg-fetch"),function(){"use strict";function e(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function t(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){this.map={},e instanceof n?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function r(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function o(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function i(e){var t=new FileReader;return t.readAsArrayBuffer(e),o(t)}function a(e){var t=new FileReader;return t.readAsText(e),o(t)}function s(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(p.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(p.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(e){if(!p.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText=""},p.blob?(this.blob=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(i)},this.text=function(){var e=r(this);if(e)return e;if(this._bodyBlob)return a(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=r(this);return e?e:Promise.resolve(this._bodyText)},p.formData&&(this.formData=function(){return this.text().then(l)}),this.json=function(){return this.text().then(JSON.parse)},this}function u(e){var t=e.toUpperCase();return h.indexOf(t)>-1?t:e}function c(e,t){t=t||{};var r=t.body;if(c.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new n(e.headers)),this.method=e.method,this.mode=e.mode,r||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",(t.headers||!this.headers)&&(this.headers=new n(t.headers)),this.method=u(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function l(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function f(e){var t=new n,r=e.getAllResponseHeaders().trim().split("\n");return r.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),o=n.join(":").trim();t.append(r,o)}),t}function d(e,t){t||(t={}),this._initBody(e),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof n?t.headers:new n(t.headers),this.url=t.url||""}if(!self.fetch){n.prototype.append=function(n,r){n=e(n),r=t(r);var o=this.map[n];o||(o=[],this.map[n]=o),o.push(r)},n.prototype["delete"]=function(t){delete this.map[e(t)]},n.prototype.get=function(t){var n=this.map[e(t)];return n?n[0]:null},n.prototype.getAll=function(t){return this.map[e(t)]||[]},n.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},n.prototype.set=function(n,r){this.map[e(n)]=[t(r)]},n.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)};var p={blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self},h=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];c.prototype.clone=function(){return new c(this)},s.call(c.prototype),s.call(d.prototype),d.prototype.clone=function(){return new d(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new n(this.headers),url:this.url})},d.error=function(){var e=new d(null,{status:0,statusText:""});return e.type="error",e};var m=[301,302,303,307,308];d.redirect=function(e,t){if(-1===m.indexOf(t))throw new RangeError("Invalid status code");return new d(null,{status:t,headers:{location:e}})},self.Headers=n,self.Request=c,self.Response=d,self.fetch=function(e,t){return new Promise(function(n,r){function o(){return"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0}var i;i=c.prototype.isPrototypeOf(e)&&!t?e:new c(e,t);var a=new XMLHttpRequest;a.onload=function(){var e=1223===a.status?204:a.status;if(100>e||e>599)return void r(new TypeError("Network request failed"));var t={status:e,statusText:a.statusText,headers:f(a),url:o()},i="response"in a?a.response:a.responseText;n(new d(i,t))},a.onerror=function(){r(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials&&(a.withCredentials=!0),"responseType"in a&&p.blob&&(a.responseType="blob"),i.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send("undefined"==typeof i._bodyInit?null:i._bodyInit)})},self.fetch.polyfill=!0}}(),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="webcomponents.js/CustomElements"),"undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMap=n}(),function(e){function t(e){b.push(e),w||(w=!0,m(r))}function n(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}function r(){w=!1;var e=b;b=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var n=e.takeRecords();o(e),n.length&&(e.callback_(n,e),t=!0)}),t&&r()}function o(e){e.nodes_.forEach(function(t){var n=v.get(t);n&&n.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}function i(e,t){for(var n=e;n;n=n.parentNode){var r=v.get(n);if(r)for(var o=0;o<r.length;o++){var i=r[o],a=i.options;if(n===e||a.subtree){var s=t(a);s&&i.enqueue(s)}}}}function a(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++x}function s(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function u(e){var t=new s(e.type,e.target);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.oldValue,t}function c(e,t){return _=new s(e,t)}function l(e){return E?E:(E=u(_),E.oldValue=e,E)}function f(){_=E=void 0}function d(e){return e===E||e===_}function p(e,t){return e===t?e:E&&d(e)?E:null}function h(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}if(!e.JsMutationObserver){var m,v=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))m=setTimeout;else if(window.setImmediate)m=window.setImmediate;else{var g=[],y=String(Math.random());window.addEventListener("message",function(e){if(e.data===y){var t=g;g=[],t.forEach(function(e){e()})}}),m=function(e){g.push(e),window.postMessage(y,"*")}}var w=!1,b=[],x=0;a.prototype={observe:function(e,t){if(e=n(e),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var r=v.get(e);r||v.set(e,r=[]);for(var o,i=0;i<r.length;i++)if(r[i].observer===this){o=r[i],o.removeListeners(),o.options=t;break}o||(o=new h(this,e,t),r.push(o),this.nodes_.push(e)),o.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){for(var t=v.get(e),n=0;n<t.length;n++){var r=t[n];if(r.observer===this){r.removeListeners(),t.splice(n,1);break}}},this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}};var _,E;h.prototype={enqueue:function(e){var n=this.observer.records_,r=n.length;if(n.length>0){var o=n[r-1],i=p(o,e);if(i)return void(n[r-1]=i)}else t(this.observer);n[r]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=v.get(e);t||v.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=v.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,r=e.target,o=new c("attributes",r);o.attributeName=t,o.attributeNamespace=n;var a=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;i(r,function(e){return!e.attributes||e.attributeFilter&&e.attributeFilter.length&&-1===e.attributeFilter.indexOf(t)&&-1===e.attributeFilter.indexOf(n)?void 0:e.attributeOldValue?l(a):o});break;case"DOMCharacterDataModified":var r=e.target,o=c("characterData",r),a=e.prevValue;i(r,function(e){return e.characterData?e.characterDataOldValue?l(a):o:void 0});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var s,u,d=e.target;"DOMNodeInserted"===e.type?(s=[d],u=[]):(s=[],u=[d]);var p=d.previousSibling,h=d.nextSibling,o=c("childList",e.target.parentNode);o.addedNodes=s,o.removedNodes=u,o.previousSibling=p,o.nextSibling=h,i(e.relatedNode,function(e){return e.childList?o:void 0})}f()}},e.JsMutationObserver=a,e.MutationObserver||(e.MutationObserver=a,a._isPolyfilled=!0)}}(self),function(e){"use strict";if(!window.performance){var t=Date.now();window.performance={now:function(){return Date.now()-t}}}window.requestAnimationFrame||(window.requestAnimationFrame=function(){var e=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;return e?function(t){return e(function(){t(performance.now())})}:function(e){return window.setTimeout(e,1e3/60)}}()),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(){return window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}}());var n=function(){var e=document.createEvent("Event");return e.initEvent("foo",!0,!0),e.preventDefault(),e.defaultPrevented}();if(!n){var r=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(r.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var o=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||o&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||o&&"function"!=typeof window.Event){var i=window.Event;window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},window.Event.prototype=i.prototype}}(window.WebComponents),window.CustomElements=window.CustomElements||{flags:{}},function(e){var t=e.flags,n=[],r=function(e){n.push(e)},o=function(){n.forEach(function(t){t(e)})};e.addModule=r,e.initializeModules=o,e.hasNative=Boolean(document.registerElement),e.isIE=/Trident/.test(navigator.userAgent),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),window.CustomElements.addModule(function(e){function t(e,t){n(e,function(e){return t(e)?!0:void r(e,t)}),r(e,t)}function n(e,t,r){var o=e.firstElementChild;if(!o)for(o=e.firstChild;o&&o.nodeType!==Node.ELEMENT_NODE;)o=o.nextSibling;for(;o;)t(o,r)!==!0&&n(o,t,r),o=o.nextElementSibling;return null}function r(e,n){for(var r=e.shadowRoot;r;)t(r,n),r=r.olderShadowRoot}function o(e,t){i(e,t,[])}function i(e,t,n){if(e=window.wrap(e),!(n.indexOf(e)>=0)){n.push(e);for(var r,o=e.querySelectorAll("link[rel="+a+"]"),s=0,u=o.length;u>s&&(r=o[s]);s++)r["import"]&&i(r["import"],t,n);t(e)}}var a=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"none";e.forDocumentTree=o,e.forSubtree=t}),window.CustomElements.addModule(function(e){function t(e,t){return n(e,t)||r(e,t)}function n(t,n){return e.upgrade(t,n)?!0:void(n&&a(t))}function r(e,t){w(e,function(e){return n(e,t)?!0:void 0})}function o(e){E.push(e),_||(_=!0,setTimeout(i))}function i(){_=!1;for(var e,t=E,n=0,r=t.length;r>n&&(e=t[n]);n++)e();E=[]}function a(e){x?o(function(){s(e)}):s(e)}function s(e){e.__upgraded__&&!e.__attached&&(e.__attached=!0,e.attachedCallback&&e.attachedCallback())}function u(e){c(e),w(e,function(e){c(e)})}function c(e){x?o(function(){l(e)}):l(e)}function l(e){e.__upgraded__&&e.__attached&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function f(e){for(var t=e,n=window.wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}function d(e){if(e.shadowRoot&&!e.shadowRoot.__watched){y.dom&&console.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)m(t),t=t.olderShadowRoot}}function p(e,n){if(y.dom){var r=n[0];if(r&&"childList"===r.type&&r.addedNodes&&r.addedNodes){for(var o=r.addedNodes[0];o&&o!==document&&!o.host;)o=o.parentNode;var i=o&&(o.URL||o._URL||o.host&&o.host.localName)||"";i=i.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",n.length,i||"")}var a=f(e);n.forEach(function(e){"childList"===e.type&&(T(e.addedNodes,function(e){e.localName&&t(e,a)}),T(e.removedNodes,function(e){e.localName&&u(e)}))}),y.dom&&console.groupEnd()}function h(e){for(e=window.wrap(e),e||(e=window.wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(p(e,t.takeRecords()),i())}function m(e){if(!e.__observer){var t=new MutationObserver(p.bind(this,e));t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function v(e){e=window.wrap(e),y.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop());var n=e===window.wrap(document);t(e,n),m(e),y.dom&&console.groupEnd()}function g(e){b(e,v)}var y=e.flags,w=e.forSubtree,b=e.forDocumentTree,x=window.MutationObserver._isPolyfilled&&y["throttle-attached"];e.hasPolyfillMutations=x,e.hasThrottledAttached=x;var _=!1,E=[],T=Array.prototype.forEach.call.bind(Array.prototype.forEach),S=Element.prototype.createShadowRoot;S&&(Element.prototype.createShadowRoot=function(){var e=S.call(this);return window.CustomElements.watchShadow(this),e}),e.watchShadow=d,e.upgradeDocumentTree=g,e.upgradeDocument=v,e.upgradeSubtree=r,e.upgradeAll=t,e.attached=a,e.takeRecords=h}),window.CustomElements.addModule(function(e){function t(t,r){if("template"===t.localName&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t),!t.__upgraded__&&t.nodeType===Node.ELEMENT_NODE){var o=t.getAttribute("is"),i=e.getRegisteredDefinition(t.localName)||e.getRegisteredDefinition(o);if(i&&(o&&i.tag==t.localName||!o&&!i["extends"]))return n(t,i,r)}}function n(t,n,o){return a.upgrade&&console.group("upgrade:",t.localName),n.is&&t.setAttribute("is",n.is),r(t,n),t.__upgraded__=!0,i(t),o&&e.attached(t),e.upgradeSubtree(t,o),a.upgrade&&console.groupEnd(),t}function r(e,t){Object.__proto__?e.__proto__=t.prototype:(o(e,t.prototype,t["native"]),e.__proto__=t.prototype)}function o(e,t,n){for(var r={},o=t;o!==n&&o!==HTMLElement.prototype;){for(var i,a=Object.getOwnPropertyNames(o),s=0;i=a[s];s++)r[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i)),r[i]=1);o=Object.getPrototypeOf(o)}}function i(e){e.createdCallback&&e.createdCallback()}var a=e.flags;e.upgrade=t,e.upgradeWithDefinition=n,e.implementPrototype=r}),window.CustomElements.addModule(function(e){function t(t,r){var u=r||{};if(!t)throw new Error("document.registerElement: first argument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(t)+"'.");if(o(t))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(t)+"'. The type name is invalid.");if(c(t))throw new Error("DuplicateDefinitionError: a type with name '"+String(t)+"' is already registered");return u.prototype||(u.prototype=Object.create(HTMLElement.prototype)),u.__name=t.toLowerCase(),u.lifecycle=u.lifecycle||{},u.ancestry=i(u["extends"]),a(u),s(u),n(u.prototype),l(u.__name,u),u.ctor=f(u),u.ctor.prototype=u.prototype,u.prototype.constructor=u.ctor,e.ready&&g(document),u.ctor}function n(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=function(e,n){r.call(this,e,n,t)};var n=e.removeAttribute;e.removeAttribute=function(e){r.call(this,e,null,n)},e.setAttribute._polyfilled=!0}}function r(e,t,n){e=e.toLowerCase();var r=this.getAttribute(e);n.apply(this,arguments);var o=this.getAttribute(e);this.attributeChangedCallback&&o!==r&&this.attributeChangedCallback(e,r,o)}function o(e){for(var t=0;t<_.length;t++)if(e===_[t])return!0}function i(e){var t=c(e);return t?i(t["extends"]).concat([t]):[]}function a(e){for(var t,n=e["extends"],r=0;t=e.ancestry[r];r++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.is=e.__name)}function s(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e.is){var n=document.createElement(e.tag);t=Object.getPrototypeOf(n)}for(var r,o=e.prototype,i=!1;o;)o==t&&(i=!0),r=Object.getPrototypeOf(o),r&&(o.__proto__=r),o=r;i||console.warn(e.tag+" prototype not found in prototype chain for "+e.is),e["native"]=t}}function u(e){return w(S(e.tag),e)}function c(e){return e?E[e.toLowerCase()]:void 0}function l(e,t){E[e]=t}function f(e){return function(){return u(e)}}function d(e,t,n){return e===T?p(t,n):C(e,t)}function p(e,t){e&&(e=e.toLowerCase()),t&&(t=t.toLowerCase());var n=c(t||e);if(n){if(e==n.tag&&t==n.is)return new n.ctor;if(!t&&!n.is)return new n.ctor}var r;return t?(r=p(e),r.setAttribute("is",t),r):(r=S(e),e.indexOf("-")>=0&&b(r,HTMLElement),r)}function h(e,t){var n=e[t];e[t]=function(){var e=n.apply(this,arguments);return y(e),e}}var m,v=e.isIE,g=e.upgradeDocumentTree,y=e.upgradeAll,w=e.upgradeWithDefinition,b=e.implementPrototype,x=e.useNative,_=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],E={},T="http://www.w3.org/1999/xhtml",S=document.createElement.bind(document),C=document.createElementNS.bind(document);m=Object.__proto__||x?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},h(Node.prototype,"cloneNode"),h(document,"importNode"),v&&!function(){var e=document.importNode;document.importNode=function(){var t=e.apply(document,arguments);if(t.nodeType==t.DOCUMENT_FRAGMENT_NODE){var n=document.createDocumentFragment();return n.appendChild(t),n}return t}}(),document.registerElement=t,document.createElement=p,document.createElementNS=d,e.registry=E,e["instanceof"]=m,e.reservedTagList=_,e.getRegisteredDefinition=c,document.register=document.registerElement}),function(e){function t(){i(window.wrap(document)),window.CustomElements.ready=!0;var e=window.requestAnimationFrame||function(e){setTimeout(e,16)};e(function(){setTimeout(function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}var n=e.useNative,r=e.initializeModules;e.isIE;if(n){var o=function(){};e.watchShadow=o,e.upgrade=o,e.upgradeAll=o,e.upgradeDocumentTree=o,e.upgradeSubtree=o,e.takeRecords=o,e["instanceof"]=function(e,t){return e instanceof t}}else r();var i=e.upgradeDocumentTree,a=e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e["import"]&&a(wrap(e["import"]))}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var s=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(s,t)}else t()}(window.CustomElements),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="url-polyfill"),function(e){"use strict";function t(e){return void 0!==d[e]}function n(){s.call(this),this._isInvalid=!0}function r(e){return""==e&&n.call(this),e.toLowerCase()}function o(e){var t=e.charCodeAt(0);return t>32&&127>t&&-1==[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function i(e){var t=e.charCodeAt(0);return t>32&&127>t&&-1==[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function a(e,a,s){function u(e){w.push(e)}var c=a||"scheme start",l=0,f="",g=!1,y=!1,w=[];e:for(;(e[l-1]!=h||0==l)&&!this._isInvalid;){var b=e[l];switch(c){case"scheme start":if(!b||!m.test(b)){if(a){u("Invalid scheme.");break e}f="",c="no scheme";continue}f+=b.toLowerCase(),c="scheme";break;case"scheme":if(b&&v.test(b))f+=b.toLowerCase();else{if(":"!=b){if(a){if(h==b)break e;u("Code point not allowed in scheme: "+b);break e}f="",l=0,c="no scheme";continue}if(this._scheme=f,f="",a)break e;t(this._scheme)&&(this._isRelative=!0),c="file"==this._scheme?"relative":this._isRelative&&s&&s._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==b?(query="?",c="query"):"#"==b?(this._fragment="#",c="fragment"):h!=b&&"	"!=b&&"\n"!=b&&"\r"!=b&&(this._schemeData+=o(b));break;case"no scheme":if(s&&t(s._scheme)){c="relative";continue}u("Missing scheme."),n.call(this);break;case"relative or authority":if("/"!=b||"/"!=e[l+1]){u("Expected /, got: "+b),c="relative";continue}c="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=s._scheme),h==b){this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._username=s._username,this._password=s._password;break e}if("/"==b||"\\"==b)"\\"==b&&u("\\ is an invalid code point."),c="relative slash";else if("?"==b)this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query="?",this._username=s._username,this._password=s._password,c="query";else{if("#"!=b){var x=e[l+1],_=e[l+2];("file"!=this._scheme||!m.test(b)||":"!=x&&"|"!=x||h!=_&&"/"!=_&&"\\"!=_&&"?"!=_&&"#"!=_)&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password,this._path=s._path.slice(),this._path.pop()),c="relative path";continue}this._host=s._host,this._port=s._port,this._path=s._path.slice(),this._query=s._query,this._fragment="#",this._username=s._username,this._password=s._password,c="fragment"}break;case"relative slash":if("/"!=b&&"\\"!=b){"file"!=this._scheme&&(this._host=s._host,this._port=s._port,this._username=s._username,this._password=s._password),c="relative path";continue}"\\"==b&&u("\\ is an invalid code point."),c="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=b){u("Expected '/', got: "+b),c="authority ignore slashes";continue}c="authority second slash";break;case"authority second slash":if(c="authority ignore slashes","/"!=b){u("Expected '/', got: "+b);continue}break;case"authority ignore slashes":if("/"!=b&&"\\"!=b){c="authority";continue}u("Expected authority, got: "+b);break;case"authority":if("@"==b){g&&(u("@ already seen."),f+="%40"),g=!0;for(var E=0;E<f.length;E++){var T=f[E];if("	"!=T&&"\n"!=T&&"\r"!=T)if(":"!=T||null!==this._password){var S=o(T);null!==this._password?this._password+=S:this._username+=S}else this._password="";else u("Invalid whitespace in authority.")}f=""}else{if(h==b||"/"==b||"\\"==b||"?"==b||"#"==b){l-=f.length,f="",c="host";continue}f+=b}break;case"file host":if(h==b||"/"==b||"\\"==b||"?"==b||"#"==b){2!=f.length||!m.test(f[0])||":"!=f[1]&&"|"!=f[1]?0==f.length?c="relative path start":(this._host=r.call(this,f),f="",c="relative path start"):c="relative path";continue}"	"==b||"\n"==b||"\r"==b?u("Invalid whitespace in file host."):f+=b;break;case"host":case"hostname":if(":"!=b||y){if(h==b||"/"==b||"\\"==b||"?"==b||"#"==b){if(this._host=r.call(this,f),f="",c="relative path start",a)break e;continue}"	"!=b&&"\n"!=b&&"\r"!=b?("["==b?y=!0:"]"==b&&(y=!1),f+=b):u("Invalid code point in host/hostname: "+b)}else if(this._host=r.call(this,f),f="",c="port","hostname"==a)break e;break;case"port":if(/[0-9]/.test(b))f+=b;else{if(h==b||"/"==b||"\\"==b||"?"==b||"#"==b||a){if(""!=f){var C=parseInt(f,10);C!=d[this._scheme]&&(this._port=C+""),f=""}if(a)break e;c="relative path start";continue}"	"==b||"\n"==b||"\r"==b?u("Invalid code point in port: "+b):n.call(this)}break;case"relative path start":if("\\"==b&&u("'\\' not allowed in path."),c="relative path","/"!=b&&"\\"!=b)continue;break;case"relative path":if(h!=b&&"/"!=b&&"\\"!=b&&(a||"?"!=b&&"#"!=b))"	"!=b&&"\n"!=b&&"\r"!=b&&(f+=o(b));else{"\\"==b&&u("\\ not allowed in relative path.");var k;(k=p[f.toLowerCase()])&&(f=k),".."==f?(this._path.pop(),"/"!=b&&"\\"!=b&&this._path.push("")):"."==f&&"/"!=b&&"\\"!=b?this._path.push(""):"."!=f&&("file"==this._scheme&&0==this._path.length&&2==f.length&&m.test(f[0])&&"|"==f[1]&&(f=f[0]+":"),this._path.push(f)),f="","?"==b?(this._query="?",c="query"):"#"==b&&(this._fragment="#",c="fragment")}break;case"query":a||"#"!=b?h!=b&&"	"!=b&&"\n"!=b&&"\r"!=b&&(this._query+=i(b)):(this._fragment="#",c="fragment");break;case"fragment":h!=b&&"	"!=b&&"\n"!=b&&"\r"!=b&&(this._fragment+=b)}l++}}function s(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function u(e,t){void 0===t||t instanceof u||(t=new u(String(t))),this._url=e,s.call(this);var n=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");a.call(this,n,null,t)}var c=!1;if(!e.forceJURL)try{var l=new URL("b","http://a");l.pathname="c%20d",c="http://a/c%20d"===l.href}catch(f){}if(!c){var d=Object.create(null);d.ftp=21,d.file=0,d.gopher=70,d.http=80,d.https=443,d.ws=80,d.wss=443;var p=Object.create(null);p["%2e"]=".",p[".%2e"]="..",p["%2e."]="..",p["%2e%2e"]="..";var h=void 0,m=/[a-zA-Z]/,v=/[a-zA-Z0-9\+\-\.]/;u.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return(""!=this._username||null!=this._password)&&(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){s.call(this),a.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||a.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&a.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],a.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._query="?","?"==e[0]&&(e=e.slice(1)),a.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(this._fragment="#","#"==e[0]&&(e=e.slice(1)),a.call(this,e,"fragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return e=this.host,e?this._scheme+"://"+e:""}};var g=e.URL;g&&(u.createObjectURL=function(e){return g.createObjectURL.apply(g,arguments)},u.revokeObjectURL=function(e){g.revokeObjectURL(e)}),e.URL=u}}(this),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="url-search-params/build/url-search-params.max");var URLSearchParams=URLSearchParams||function(){"use strict";function e(e){return encodeURIComponent(e).replace(i,u)}function t(e){return decodeURIComponent(e.replace(a," "))}function n(e){if(this[l]=Object.create(null),e)for(var n,r,o=(e||"").split("&"),i=0,a=o.length;a>i;i++)r=o[i],n=r.indexOf("="),n>-1&&this.append(t(r.slice(0,n)),t(r.slice(n+1)))}function r(){try{return!!Symbol.iterator}catch(e){return!1}}var o=n.prototype,i=/[!'\(\)~]|%20|%00/g,a=/\+/g,s={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"},u=function(e){return s[e]},c=r(),l="__URLSearchParams__:"+Math.random();o.append=function(e,t){var n=this[l];e in n?n[e].push(""+t):n[e]=[""+t]},o["delete"]=function(e){delete this[l][e]},o.get=function(e){var t=this[l];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[l];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[l]},o.set=function(e,t){this[l][e]=[""+t]},o.forEach=function(e,t){var n=this[l];Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)},o.keys=function(){var e=[];this.forEach(function(t,n){e.push(n)});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return c&&(t[Symbol.iterator]=function(){return t}),t},o.values=function(){var e=[];this.forEach(function(t){e.push(t)});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return c&&(t[Symbol.iterator]=function(){return t}),t},o.entries=function(){var e=[];this.forEach(function(t,n){e.push([n,t])});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return c&&(t[Symbol.iterator]=function(){return t}),t},c&&(o[Symbol.iterator]=o.entries),o.toJSON=function(){return{}},o.toString=function(){var t,n,r,o,i=this[l],a=[];for(n in i)for(r=e(n),t=0,o=i[n];t<o.length;t++)a.push(r+"="+e(o[t]));return a.join("&")};var f=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p=function(e){function t(t,n){o.append.call(this,t,n),t=this.toString(),e.set.call(this._usp,t?"?"+t:"")}function n(t){o["delete"].call(this,t),t=this.toString(),e.set.call(this._usp,t?"?"+t:"")}function r(t,n){
  o.set.call(this,t,n),t=this.toString(),e.set.call(this._usp,t?"?"+t:"")}return function(e,o){return e.append=t,e["delete"]=n,e.set=r,f(e,"_usp",{configurable:!0,writable:!0,value:o})}},h=function(e){return function(t,n){return f(t,"_searchParams",{configurable:!0,writable:!0,value:e(n,t)}),n}},m=function(e){var t=e.append;e.append=o.append,n.call(e,e._usp.search.slice(1)),e.append=t},v=function(e,t){if(!(e instanceof t))throw new TypeError("'searchParams' accessed on an object that does not implement interface "+t.name)},g=function(e){var t,r=e.prototype,o=d(r,"searchParams"),i=d(r,"href"),a=d(r,"search");!o&&a&&a.set&&(t=h(p(a)),Object.defineProperties(r,{href:{get:function(){return i.get.call(this)},set:function(e){var t=this._searchParams;i.set.call(this,e),t&&m(t)}},search:{get:function(){return a.get.call(this)},set:function(e){var t=this._searchParams;a.set.call(this,e),t&&m(t)}},searchParams:{get:function(){return v(this,e),this._searchParams||t(this,new n(this.search.slice(1)))},set:function(n){v(this,e),t(this,n)}}}))};return g(HTMLAnchorElement),/^function|object$/.test(typeof URL)&&g(URL),n}();"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="closest"),"function"!=typeof Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)++r;return Boolean(n[r])}),"function"!=typeof Element.prototype.closest&&(Element.prototype.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null}),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="closest/mutation"),function(e){function t(e){return"string"==typeof e?document.createTextNode(e):e}function n(e){if(e.length){if(1===e.length)return t(e[0]);for(var n=document.createDocumentFragment(),r=0;r<e.length;r++)n.appendChild(t(e[r]));return n}throw new Error("DOM Exception 8")}"prepend"in e||(e.prepend=function(){this.insertBefore(n(arguments),this.firstChild)}),"append"in e||(e.append=function(){this.appendChild(n(arguments))}),"before"in e||(e.before=function(){this.parentNode&&this.parentNode.insertBefore(n(arguments),this)}),"after"in e||(e.after=function(){this.parentNode&&this.parentNode.insertBefore(n(arguments),this.nextSibling)}),"replaceWith"in e||(e.replaceWith=function(){this.parentNode&&this.parentNode.replaceChild(n(arguments),this)}),"remove"in e||(e.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})}(Element.prototype),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="string.prototype.codepointat"),String.prototype.codePointAt||!function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(r){}return n}(),t=function(e){if(null==this)throw TypeError();var t=String(this),n=t.length,r=e?Number(e):0;if(r!=r&&(r=0),0>r||r>=n)return void 0;var o,i=t.charCodeAt(r);return i>=55296&&56319>=i&&n>r+1&&(o=t.charCodeAt(r+1),o>=56320&&57343>=o)?1024*(i-55296)+o-56320+65536:i};e?e(String.prototype,"codePointAt",{value:t,configurable:!0,writable:!0}):String.prototype.codePointAt=t}(),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="string.prototype.endswith"),String.prototype.endsWith||!function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(r){}return n}(),t={}.toString,n=function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,o=String(e),i=o.length,a=r;if(arguments.length>1){var s=arguments[1];void 0!==s&&(a=s?Number(s):0,a!=a&&(a=0))}var u=Math.min(Math.max(a,0),r),c=u-i;if(0>c)return!1;for(var l=-1;++l<i;)if(n.charCodeAt(c+l)!=o.charCodeAt(l))return!1;return!0};e?e(String.prototype,"endsWith",{value:n,configurable:!0,writable:!0}):String.prototype.endsWith=n}(),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="string.prototype.startswith"),String.prototype.startsWith||!function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(r){}return n}(),t={}.toString,n=function(e){if(null==this)throw TypeError();var n=String(this);if(e&&"[object RegExp]"==t.call(e))throw TypeError();var r=n.length,o=String(e),i=o.length,a=arguments.length>1?arguments[1]:void 0,s=a?Number(a):0;s!=s&&(s=0);var u=Math.min(Math.max(s,0),r);if(i+u>r)return!1;for(var c=-1;++c<i;)if(n.charCodeAt(u+c)!=o.charCodeAt(c))return!1;return!0};e?e(String.prototype,"startsWith",{value:n,configurable:!0,writable:!0}):String.prototype.startsWith=n}(),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="array.from"),Array.from||!function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(r){}return n||function(e,t,n){e[t]=n.value}}(),t=Object.prototype.toString,n=function(e){return"function"==typeof e||"[object Function]"==t.call(e)},r=function(e){var t=Number(e);return isNaN(t)?0:0!=t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t},o=Math.pow(2,53)-1,i=function(e){var t=r(e);return Math.min(Math.max(t,0),o)},a=function(t){var r=this;if(null==t)throw new TypeError("`Array.from` requires an array-like object, not `null` or `undefined`");var o,a,s=Object(t);arguments.length>1;if(arguments.length>1){if(o=arguments[1],!n(o))throw new TypeError("When provided, the second argument to `Array.from` must be a function");arguments.length>2&&(a=arguments[2])}for(var u,c,l=i(s.length),f=n(r)?Object(new r(l)):new Array(l),d=0;l>d;)u=s[d],c=o?"undefined"==typeof a?o(u,d):o.call(a,u,d):u,e(f,d,{value:c,configurable:!0,enumerable:!0}),++d;return f.length=l,f};e(Array,"from",{value:a,configurable:!0,writable:!0})}(),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="usertiming"),function(e){"use strict";"undefined"==typeof e&&(e={}),"undefined"==typeof e.performance&&(e.performance={}),e._perfRefForUserTimingPolyfill=e.performance,e.performance.userTimingJsNow=!1,e.performance.userTimingJsNowPrefixed=!1,e.performance.userTimingJsUserTiming=!1,e.performance.userTimingJsUserTimingPrefixed=!1,e.performance.userTimingJsPerformanceTimeline=!1,e.performance.userTimingJsPerformanceTimelinePrefixed=!1;var t,n,r=[],o=[],i=null;if("function"!=typeof e.performance.now){for(e.performance.userTimingJsNow=!0,o=["webkitNow","msNow","mozNow"],t=0;t<o.length;t++)if("function"==typeof e.performance[o[t]]){e.performance.now=e.performance[o[t]],e.performance.userTimingJsNowPrefixed=!0;break}var a=+new Date;e.performance.timing&&e.performance.timing.navigationStart&&(a=e.performance.timing.navigationStart),"function"!=typeof e.performance.now&&(Date.now?e.performance.now=function(){return Date.now()-a}:e.performance.now=function(){return+new Date-a})}var s=function(){},u=function(){},c=[],l=!1,f=!1;if("function"!=typeof e.performance.getEntries||"function"!=typeof e.performance.mark){for("function"==typeof e.performance.getEntries&&"function"!=typeof e.performance.mark&&(f=!0),e.performance.userTimingJsPerformanceTimeline=!0,r=["webkit","moz"],o=["getEntries","getEntriesByName","getEntriesByType"],t=0;t<o.length;t++)for(n=0;n<r.length;n++)i=r[n]+o[t].substr(0,1).toUpperCase()+o[t].substr(1),"function"==typeof e.performance[i]&&(e.performance[o[t]]=e.performance[i],e.performance.userTimingJsPerformanceTimelinePrefixed=!0);s=function(e){c.push(e),"measure"===e.entryType&&(l=!0)};var d=function(){l&&(c.sort(function(e,t){return e.startTime-t.startTime}),l=!1)};if(u=function(e,n){for(t=0;t<c.length;)c[t].entryType===e&&("undefined"==typeof n||c[t].name===n)?c.splice(t,1):t++},"function"!=typeof e.performance.getEntries||f){var p=e.performance.getEntries;e.performance.getEntries=function(){d();var t=c.slice(0);return f&&p&&(Array.prototype.push.apply(t,p.call(e.performance)),t.sort(function(e,t){return e.startTime-t.startTime})),t}}if("function"!=typeof e.performance.getEntriesByType||f){var h=e.performance.getEntriesByType;e.performance.getEntriesByType=function(n){if("undefined"==typeof n||"mark"!==n&&"measure"!==n)return f&&h?h.call(e.performance,n):[];"measure"===n&&d();var r=[];for(t=0;t<c.length;t++)c[t].entryType===n&&r.push(c[t]);return r}}if("function"!=typeof e.performance.getEntriesByName||f){var m=e.performance.getEntriesByName;e.performance.getEntriesByName=function(n,r){if(r&&"mark"!==r&&"measure"!==r)return f&&m?m.call(e.performance,n,r):[];"undefined"!=typeof r&&"measure"===r&&d();var o=[];for(t=0;t<c.length;t++)("undefined"==typeof r||c[t].entryType===r)&&c[t].name===n&&o.push(c[t]);return f&&m&&(Array.prototype.push.apply(o,m.call(e.performance,n,r)),o.sort(function(e,t){return e.startTime-t.startTime})),o}}}if("function"!=typeof e.performance.mark){for(e.performance.userTimingJsUserTiming=!0,r=["webkit","moz","ms"],o=["mark","measure","clearMarks","clearMeasures"],t=0;t<o.length;t++)for(n=0;n<r.length;n++)i=r[n]+o[t].substr(0,1).toUpperCase()+o[t].substr(1),"function"==typeof e.performance[i]&&(e.performance[o[t]]=e.performance[i],e.performance.userTimingJsUserTimingPrefixed=!0);var v={};"function"!=typeof e.performance.mark&&(e.performance.mark=function(t){var n=e.performance.now();if("undefined"==typeof t)throw new SyntaxError("Mark name must be specified");if(e.performance.timing&&t in e.performance.timing)throw new SyntaxError("Mark name is not allowed");v[t]||(v[t]=[]),v[t].push(n),s({entryType:"mark",name:t,startTime:n,duration:0})}),"function"!=typeof e.performance.clearMarks&&(e.performance.clearMarks=function(e){e?v[e]=[]:v={},u("mark",e)}),"function"!=typeof e.performance.measure&&(e.performance.measure=function(t,n,r){var o=e.performance.now();if("undefined"==typeof t)throw new SyntaxError("Measure must be specified");if(!n)return void s({entryType:"measure",name:t,startTime:0,duration:o});var i=0;if(e.performance.timing&&n in e.performance.timing){if("navigationStart"!==n&&0===e.performance.timing[n])throw new Error(n+" has a timing of 0");i=e.performance.timing[n]-e.performance.timing.navigationStart}else{if(!(n in v))throw new Error(n+" mark not found");i=v[n][v[n].length-1]}var a=o;if(r)if(a=0,e.performance.timing&&r in e.performance.timing){if("navigationStart"!==r&&0===e.performance.timing[r])throw new Error(r+" has a timing of 0");a=e.performance.timing[r]-e.performance.timing.navigationStart}else{if(!(r in v))throw new Error(r+" mark not found");a=v[r][v[r].length-1]}var u=a-i;s({entryType:"measure",name:t,startTime:i,duration:u})}),"function"!=typeof e.performance.clearMeasures&&(e.performance.clearMeasures=function(e){u("measure",e)})}"undefined"!=typeof define&&define.amd?define([],function(){return e.performance}):"undefined"!=typeof module&&"undefined"!=typeof module.exports&&(module.exports=e.performance)}("undefined"!=typeof window?window:void 0),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="regenerator/runtime"),!function(e){"use strict";function t(e,t,n,o){var i=Object.create((t||r).prototype),a=new d(o||[]);return i._invoke=c(e,n,a),i}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function r(){}function o(){}function i(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){this.arg=e}function u(e){function t(r,o,i,a){var u=n(e[r],e,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l instanceof s?Promise.resolve(l.arg).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(l).then(function(e){c.value=e,i(c)},a)}a(u.arg)}function r(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}"object"==typeof process&&process.domain&&(t=process.domain.bind(t));var o;this._invoke=r}function c(e,t,r){var o=_;return function(i,a){if(o===T)throw new Error("Generator is already running");if(o===S){if("throw"===i)throw a;return h()}for(;;){var s=r.delegate;if(s){if("return"===i||"throw"===i&&s.iterator[i]===m){r.delegate=null;var u=s.iterator["return"];if(u){var c=n(u,s.iterator,a);if("throw"===c.type){i="throw",a=c.arg;continue}}if("return"===i)continue}var c=n(s.iterator[i],s.iterator,a);if("throw"===c.type){r.delegate=null,i="throw",a=c.arg;continue}i="next",a=m;var l=c.arg;if(!l.done)return o=E,l;r[s.resultName]=l.value,r.next=s.nextLoc,r.delegate=null}if("next"===i)o===E?r.sent=a:r.sent=m;else if("throw"===i){if(o===_)throw o=S,a;r.dispatchException(a)&&(i="next",a=m)}else"return"===i&&r.abrupt("return",a);o=T;var c=n(e,t,r);if("normal"===c.type){o=r.done?S:E;var l={value:c.arg,done:r.done};if(c.arg!==C)return l;r.delegate&&"next"===i&&(a=m)}else"throw"===c.type&&(o=S,i="throw",a=c.arg)}}}function l(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(l,this),this.reset(!0)}function p(e){if(e){var t=e[y];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function o(){for(;++n<e.length;)if(v.call(e,n))return o.value=e[n],o.done=!1,o;return o.value=m,o.done=!0,o};return r.next=r}}return{next:h}}function h(){return{value:m,done:!0}}var m,v=Object.prototype.hasOwnProperty,g="function"==typeof Symbol?Symbol:{},y=g.iterator||"@@iterator",w=g.toStringTag||"@@toStringTag",b="object"==typeof module,x=e.regeneratorRuntime;if(x)return void(b&&(module.exports=x));x=e.regeneratorRuntime=b?module.exports:{},x.wrap=t;var _="suspendedStart",E="suspendedYield",T="executing",S="completed",C={},k=i.prototype=r.prototype;o.prototype=k.constructor=i,i.constructor=o,i[w]=o.displayName="GeneratorFunction",x.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return t?t===o||"GeneratorFunction"===(t.displayName||t.name):!1},x.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(k),e},x.awrap=function(e){return new s(e)},a(u.prototype),x.async=function(e,n,r,o){var i=new u(t(e,n,r,o));return x.isGeneratorFunction(n)?i:i.next().then(function(e){return e.done?e.value:i.next()})},a(k),k[y]=function(){return this},k[w]="Generator",k.toString=function(){return"[object Generator]"},x.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},x.values=p,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=m,this.done=!1,this.delegate=null,this.tryEntries.forEach(f),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=m)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=v.call(o,"catchLoc"),s=v.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?this.next=o.finallyLoc:this.complete(i),C},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),C}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},C}}}("object"==typeof global?global:"object"==typeof window?window:"object"==typeof self?self:this),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="requestidlecallback"),window.requestIdleCallback=window.requestIdleCallback||function(e){return setTimeout(function(){var t=Date.now();e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)},"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="setimmediate"),function(e,t){"use strict";function n(e){return h[p]=r.apply(t,e),p++}function r(e){var n=[].slice.call(arguments,1);return function(){"function"==typeof e?e.apply(t,n):new Function(""+e)()}}function o(e){if(m)setTimeout(r(o,e),0);else{var t=h[e];if(t){m=!0;try{t()}finally{i(e),m=!1}}}}function i(e){delete h[e]}function a(){d=function(){var e=n(arguments);return process.nextTick(r(o,e)),e}}function s(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}function u(){var t="setImmediate$"+Math.random()+"$",r=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&o(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",r,!1):e.attachEvent("onmessage",r),d=function(){var r=n(arguments);return e.postMessage(t+r,"*"),r}}function c(){var e=new MessageChannel;e.port1.onmessage=function(e){var t=e.data;o(t)},d=function(){var t=n(arguments);return e.port2.postMessage(t),t}}function l(){var e=v.documentElement;d=function(){var t=n(arguments),r=v.createElement("script");return r.onreadystatechange=function(){o(t),r.onreadystatechange=null,e.removeChild(r),r=null},e.appendChild(r),t}}function f(){d=function(){var e=n(arguments);return setTimeout(r(o,e),0),e}}if(!e.setImmediate){var d,p=1,h={},m=!1,v=e.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(e);g=g&&g.setTimeout?g:e,"[object process]"==={}.toString.call(e.process)?a():s()?u():e.MessageChannel?c():v&&"onreadystatechange"in v.createElement("script")?l():f(),g.setImmediate=d,g.clearImmediate=i}}("undefined"==typeof self?"undefined"==typeof global?this:global:self),"undefined"!=typeof define&&delete define.amd;var _slicedToArray=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{!r&&s["return"]&&s["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();!function(e){function t(){var e=void 0,n=void 0,r=void 0;if(1===arguments.length?(e=t.amd,n=[],r=arguments[0]):2===arguments.length?(e=t.amd,n=arguments[0],r=arguments[1]):3===arguments.length&&(e=arguments[0],n=arguments[1],r=arguments[2]),"object"==typeof r&&!function(){var e=r;r=function(){return e}}(),"string"!=typeof e)throw new TypeError("name was not a string");if("object"!=typeof n)throw new TypeError("deps was not an array");if("function"!=typeof r)throw new TypeError("definition was not a function");s[e]&&console.warn("Module redefined",e),s[e]={deps:n,callback:r},c[e]&&o(e)()}function n(e,t){if(!t&&e)return e;if(e.match("!"))throw new Error("can't resolve name with loader: "+e);if("."!==e.charAt(0))return e;for(var n=e.split("/"),r=t.split("/").slice(0,-1),o=0,i=n.length;i>o;o++){var a=n[o];if(".."===a)r.pop();else{if("."===a)continue;r.push(a)}}return r.join("/")}function r(){var e=void 0,t=void 0,n=new Promise(function(n,r){e=n,t=r});return{promise:n,resolve:e,reject:t}}function o(e){return function(t){return t?i(e):Promise.resolve().then(function(){return s[e]?i(e):(c[e]||!function(){c[e]=r();var t=c[e].reject;setTimeout(function(){t(new Error("timeout loading module: "+e))},5e3)}(),c[e].promise)})}}function i(e,t){var r=e.split("!",2),a=2===r.length?r:[null,e],l=_slicedToArray(a,2),f=l[0],d=l[1],p=n(d,t);if("async"===f)return o(p);if(f)throw new Error("unknown require plugin: "+f);if(u[p])return u[p];if(!s[p])throw new Error("Could not find module "+p);u[p]={};var h=c[p];delete c[p];for(var m=s[p],v=m.deps,g=m.callback,y=[],w=void 0,b=0,x=v.length;x>b;b++)"exports"===v[b]?y.push(w={}):y.push(i(v[b],p));var _=g.apply(this,y),E=u[p]=w||_;return h&&h.resolve(E),E}function a(e,t){var n=Promise.all(e.map(function(e){return o(e)()})).then(function(){return i});return t&&n.then(t),n}if(e.define)throw new Error("Module registry already exists");var s={},u={},c={};e.define=t,e.require=i,e.require.ensure=a}(this),"undefined"!=typeof define&&(define.amd="jquery"),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t){t=t||Z;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function r(e){var t=!!e&&"length"in e&&e.length,n=de.type(e);return"function"===n||de.isWindow(e)?!1:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function o(e,t,n){if(de.isFunction(t))return de.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return de.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(_e.test(t))return de.filter(t,e,n);t=de.filter(t,e)}return de.grep(e,function(e){return oe.call(t,e)>-1!==n&&1===e.nodeType})}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={};return de.each(e.match(je)||[],function(e,n){t[n]=!0}),t}function s(e){return e}function u(e){throw e}function c(e,t,n){var r;try{e&&de.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&de.isFunction(r=e.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function l(){Z.removeEventListener("DOMContentLoaded",l),e.removeEventListener("load",l),de.ready()}function f(){this.expando=de.expando+f.uid++}function d(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Re,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:De.test(n)?JSON.parse(n):n}catch(o){}Ae.set(e,t,n)}else n=void 0;return n}function p(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return de.css(e,t,"")},u=s(),c=n&&n[3]||(de.cssNumber[t]?"":"px"),l=(de.cssNumber[t]||"px"!==c&&+u)&&qe.exec(de.css(e,t));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do i=i||".5",l/=i,de.style(e,t,l+c);while(i!==(i=s()/u)&&1!==i&&--a)}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}function h(e){var t,n=e.ownerDocument,r=e.nodeName,o=We[r];return o?o:(t=n.body.appendChild(n.createElement(r)),o=de.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),We[r]=o,o)}function m(e,t){for(var n,r,o=[],i=0,a=e.length;a>i;i++)r=e[i],r.style&&(n=r.style.display,t?("none"===n&&(o[i]=Pe.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&He(r)&&(o[i]=h(r))):"none"!==n&&(o[i]="none",Pe.set(r,"display",n)));for(i=0;a>i;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}function v(e,t){var n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&de.nodeName(e,t)?de.merge([e],n):n}function g(e,t){for(var n=0,r=e.length;r>n;n++)Pe.set(e[n],"globalEval",!t||Pe.get(t[n],"globalEval"))}function y(e,t,n,r,o){for(var i,a,s,u,c,l,f=t.createDocumentFragment(),d=[],p=0,h=e.length;h>p;p++)if(i=e[p],i||0===i)if("object"===de.type(i))de.merge(d,i.nodeType?[i]:i);else if(Ve.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(ze.exec(i)||["",""])[1].toLowerCase(),u=Ge[s]||Ge._default,a.innerHTML=u[1]+de.htmlPrefilter(i)+u[2],l=u[0];l--;)a=a.lastChild;de.merge(d,a.childNodes),a=f.firstChild,a.textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",p=0;i=d[p++];)if(r&&de.inArray(i,r)>-1)o&&o.push(i);else if(c=de.contains(i.ownerDocument,i),a=v(f.appendChild(i),"script"),c&&g(a),n)for(l=0;i=a[l++];)$e.test(i.type||"")&&n.push(i);return f}function w(){return!0}function b(){return!1}function x(){try{return Z.activeElement}catch(e){}}function _(e,t,n,r,o,i){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)_(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=b;else if(!o)return e;return 1===i&&(a=o,o=function(e){return de().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=de.guid++)),e.each(function(){de.event.add(this,t,o,r,n)})}function E(e,t){return de.nodeName(e,"table")&&de.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e:e}function T(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function S(e){var t=tt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function C(e,t){var n,r,o,i,a,s,u,c;if(1===t.nodeType){if(Pe.hasData(e)&&(i=Pe.access(e),a=Pe.set(t,i),c=i.events)){delete a.handle,a.events={};for(o in c)for(n=0,r=c[o].length;r>n;n++)de.event.add(t,o,c[o][n])}Ae.hasData(e)&&(s=Ae.access(e),u=de.extend({},s),Ae.set(t,u))}}function k(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Be.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function j(e,t,r,o){t=ne.apply([],t);var i,a,s,u,c,l,f=0,d=e.length,p=d-1,h=t[0],m=de.isFunction(h);if(m||d>1&&"string"==typeof h&&!le.checkClone&&et.test(h))return e.each(function(n){var i=e.eq(n);m&&(t[0]=h.call(this,n,i.html())),j(i,t,r,o)});if(d&&(i=y(t,e[0].ownerDocument,!1,e,o),a=i.firstChild,1===i.childNodes.length&&(i=a),a||o)){for(s=de.map(v(i,"script"),T),u=s.length;d>f;f++)c=i,f!==p&&(c=de.clone(c,!0,!0),u&&de.merge(s,v(c,"script"))),r.call(e[f],c,f);if(u)for(l=s[s.length-1].ownerDocument,de.map(s,S),f=0;u>f;f++)c=s[f],$e.test(c.type||"")&&!Pe.access(c,"globalEval")&&de.contains(l,c)&&(c.src?de._evalUrl&&de._evalUrl(c.src):n(c.textContent.replace(nt,""),l))}return e}function O(e,t,n){for(var r,o=t?de.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||de.cleanData(v(r)),r.parentNode&&(n&&de.contains(r.ownerDocument,r)&&g(v(r,"script")),r.parentNode.removeChild(r));return e}function M(e,t,n){var r,o,i,a,s=e.style;return n=n||it(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||de.contains(e.ownerDocument,e)||(a=de.style(e,t)),!le.pixelMarginRight()&&ot.test(a)&&rt.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function N(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function L(e){if(e in lt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=ct.length;n--;)if(e=ct[n]+t,e in lt)return e}function P(e,t,n){var r=qe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function A(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>i;i+=2)"margin"===n&&(a+=de.css(e,n+Fe[i],!0,o)),r?("content"===n&&(a-=de.css(e,"padding"+Fe[i],!0,o)),"margin"!==n&&(a-=de.css(e,"border"+Fe[i]+"Width",!0,o))):(a+=de.css(e,"padding"+Fe[i],!0,o),"padding"!==n&&(a+=de.css(e,"border"+Fe[i]+"Width",!0,o)));return a}function D(e,t,n){var r,o=!0,i=it(e),a="border-box"===de.css(e,"boxSizing",!1,i);if(e.getClientRects().length&&(r=e.getBoundingClientRect()[t]),0>=r||null==r){if(r=M(e,t,i),(0>r||null==r)&&(r=e.style[t]),ot.test(r))return r;o=a&&(le.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+A(e,t,n||(a?"border":"content"),o,i)+"px"}function R(e,t,n,r,o){return new R.prototype.init(e,t,n,r,o)}function I(){dt&&(e.requestAnimationFrame(I),de.fx.tick())}function q(){return e.setTimeout(function(){ft=void 0}),ft=de.now()}function F(e,t){var n,r=0,o={height:e};for(t=t?1:0;4>r;r+=2-t)n=Fe[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function H(e,t,n){for(var r,o=(B.tweeners[t]||[]).concat(B.tweeners["*"]),i=0,a=o.length;a>i;i++)if(r=o[i].call(n,t,e))return r}function U(e,t,n){var r,o,i,a,s,u,c,l,f="width"in t||"height"in t,d=this,p={},h=e.style,v=e.nodeType&&He(e),g=Pe.get(e,"fxshow");n.queue||(a=de._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,de.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(o=t[r],pt.test(o)){if(delete t[r],i=i||"toggle"===o,o===(v?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;v=!0}p[r]=g&&g[r]||de.style(e,r)}if(u=!de.isEmptyObject(t),u||!de.isEmptyObject(p)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],c=g&&g.display,null==c&&(c=Pe.get(e,"display")),l=de.css(e,"display"),"none"===l&&(c?l=c:(m([e],!0),c=e.style.display||c,l=de.css(e,"display"),m([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===de.css(e,"float")&&(u||(d.done(function(){h.display=c}),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in p)u||(g?"hidden"in g&&(v=g.hidden):g=Pe.access(e,"fxshow",{display:c}),i&&(g.hidden=!v),v&&m([e],!0),d.done(function(){v||m([e]),Pe.remove(e,"fxshow");for(r in p)de.style(e,r,p[r])})),u=H(v?g[r]:0,r,d),r in g||(g[r]=u.start,v&&(u.end=u.start,u.start=0))}}function W(e,t){var n,r,o,i,a;for(n in e)if(r=de.camelCase(n),o=t[r],i=e[n],de.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),a=de.cssHooks[r],a&&"expand"in a){i=a.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function B(e,t,n){var r,o,i=0,a=B.prefilters.length,s=de.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=ft||q(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,i=1-r,a=0,u=c.tweens.length;u>a;a++)c.tweens[a].run(i);return s.notifyWith(e,[c,i,n]),1>i&&u?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:de.extend({},t),opts:de.extend(!0,{specialEasing:{},easing:de.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||q(),duration:n.duration,tweens:[],createTween:function(t,n){var r=de.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;r>n;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(W(l,c.opts.specialEasing);a>i;i++)if(r=B.prefilters[i].call(c,e,l,c.opts))return de.isFunction(r.stop)&&(de._queueHooks(c.elem,c.opts.queue).stop=de.proxy(r.stop,r)),r;return de.map(l,H,c),de.isFunction(c.opts.start)&&c.opts.start.call(e,c),de.fx.timer(de.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function z(e){return e.getAttribute&&e.getAttribute("class")||""}function $(e,t,n,r){var o;if(de.isArray(t))de.each(t,function(t,o){n||Ct.test(e)?r(e,o):$(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r);
  });else if(n||"object"!==de.type(t))r(e,t);else for(o in t)$(e+"["+o+"]",t[o],n,r)}function G(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(je)||[];if(de.isFunction(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function V(e,t,n,r){function o(s){var u;return i[s]=!0,de.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),o(c),!1)}),u}var i={},a=e===qt;return o(t.dataTypes[0])||!i["*"]&&o("*")}function J(e,t){var n,r,o=de.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&de.extend(!0,e,r),e}function X(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}return i?(i!==u[0]&&u.unshift(i),n[i]):void 0}function K(e,t,n,r){var o,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(a=c[u+" "+i]||c["* "+i],!a)for(o in c)if(s=o.split(" "),s[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[o]:c[o]!==!0&&(i=s[0],l.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}function Y(e){return de.isWindow(e)?e:9===e.nodeType&&e.defaultView}var Q=[],Z=e.document,ee=Object.getPrototypeOf,te=Q.slice,ne=Q.concat,re=Q.push,oe=Q.indexOf,ie={},ae=ie.toString,se=ie.hasOwnProperty,ue=se.toString,ce=ue.call(Object),le={},fe="3.0.0",de=function(e,t){return new de.fn.init(e,t)},pe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,he=/^-ms-/,me=/-([a-z])/g,ve=function(e,t){return t.toUpperCase()};de.fn=de.prototype={jquery:fe,constructor:de,length:0,toArray:function(){return te.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:te.call(this)},pushStack:function(e){var t=de.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return de.each(this,e)},map:function(e){return this.pushStack(de.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(te.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:re,sort:Q.sort,splice:Q.splice},de.extend=de.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||de.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(c&&r&&(de.isPlainObject(r)||(o=de.isArray(r)))?(o?(o=!1,i=n&&de.isArray(n)?n:[]):i=n&&de.isPlainObject(n)?n:{},a[t]=de.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},de.extend({expando:"jQuery"+(fe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===de.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=de.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return e&&"[object Object]"===ae.call(e)?(t=ee(e))?(n=se.call(t,"constructor")&&t.constructor,"function"==typeof n&&ue.call(n)===ce):!0:!1},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ie[ae.call(e)]||"object":typeof e},globalEval:function(e){n(e)},camelCase:function(e){return e.replace(he,"ms-").replace(me,ve)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,o=0;if(r(e))for(n=e.length;n>o&&t.call(e[o],o,e[o])!==!1;o++);else for(o in e)if(t.call(e[o],o,e[o])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(pe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?de.merge(n,"string"==typeof e?[e]:e):re.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:oe.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;n>r;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],i=0,a=e.length,s=!n;a>i;i++)r=!t(e[i],i),r!==s&&o.push(e[i]);return o},map:function(e,t,n){var o,i,a=0,s=[];if(r(e))for(o=e.length;o>a;a++)i=t(e[a],a,n),null!=i&&s.push(i);else for(a in e)i=t(e[a],a,n),null!=i&&s.push(i);return ne.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;return"string"==typeof t&&(n=e[t],t=e,e=n),de.isFunction(e)?(r=te.call(arguments,2),o=function(){return e.apply(t||this,r.concat(te.call(arguments)))},o.guid=e.guid=e.guid||de.guid++,o):void 0},now:Date.now,support:le}),"function"==typeof Symbol&&(de.fn[Symbol.iterator]=Q[Symbol.iterator]),de.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ie["[object "+t+"]"]=t.toLowerCase()});var ge=function(e){function t(e,t,n,r){var o,i,a,s,u,c,l,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:U)!==P&&L(t),t=t||P,D)){if(11!==h&&(u=ge.exec(e)))if(o=u[1]){if(9===h){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(d&&(a=d.getElementById(o))&&F(t,a)&&a.id===o)return n.push(a),n}else{if(u[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((o=u[3])&&_.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(o)),n}if(_.qsa&&!G[e+" "]&&(!R||!R.test(e))){if(1!==h)d=t,l=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,_e):t.setAttribute("id",s=H),c=C(e),i=c.length;i--;)c[i]="#"+s+" "+p(c[i]);l=c.join(","),d=ye.test(e)&&f(t.parentNode)||t}if(l)try{return Q.apply(n,d.querySelectorAll(l)),n}catch(m){}finally{s===H&&t.removeAttribute("id")}}}return j(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>E.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[H]=!0,e}function o(e){var t=P.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)E.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return function(t){return"label"in t&&t.disabled===e||"form"in t&&t.disabled===e||"form"in t&&t.disabled===!1&&(t.isDisabled===e||t.isDisabled!==!e&&("label"in t||!Te(t))!==e)}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function f(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function p(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=B++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o)}:function(t,n,u){var c,l,f,d=[W,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(f=t[H]||(t[H]={}),l=f[t.uniqueID]||(f[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[i])&&c[0]===W&&c[1]===s)return d[2]=c[2];if(l[i]=d,d[2]=e(t,n,u))return!0}}}function m(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function v(e,n,r){for(var o=0,i=n.length;i>o;o++)t(e,n[o],r);return r}function g(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,c=null!=t;u>s;s++)(i=e[s])&&(!n||n(i,r,o))&&(a.push(i),c&&t.push(s));return a}function y(e,t,n,o,i,a){return o&&!o[H]&&(o=y(o)),i&&!i[H]&&(i=y(i,a)),r(function(r,a,s,u){var c,l,f,d=[],p=[],h=a.length,m=r||v(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?m:g(m,d,e,s,u),w=n?i||(r?e:h||o)?[]:a:y;if(n&&n(y,w,s,u),o)for(c=g(w,p),o(c,[],s,u),l=c.length;l--;)(f=c[l])&&(w[p[l]]=!(y[p[l]]=f));if(r){if(i||e){if(i){for(c=[],l=w.length;l--;)(f=w[l])&&c.push(y[l]=f);i(null,w=[],c,u)}for(l=w.length;l--;)(f=w[l])&&(c=i?ee(r,f):d[l])>-1&&(r[c]=!(a[c]=f))}}else w=g(w===a?w.splice(h,w.length):w),i?i(null,a,w,u):Q.apply(a,w)})}function w(e){for(var t,n,r,o=e.length,i=E.relative[e[0].type],a=i||E.relative[" "],s=i?1:0,u=h(function(e){return e===t},a,!0),c=h(function(e){return ee(t,e)>-1},a,!0),l=[function(e,n,r){var o=!i&&(r||n!==O)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,o}];o>s;s++)if(n=E.relative[e[s].type])l=[h(m(l),n)];else{if(n=E.filter[e[s].type].apply(null,e[s].matches),n[H]){for(r=++s;o>r&&!E.relative[e[r].type];r++);return y(s>1&&m(l),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,r>s&&w(e.slice(s,r)),o>r&&w(e=e.slice(r)),o>r&&p(e))}l.push(n)}return m(l)}function b(e,n){var o=n.length>0,i=e.length>0,a=function(r,a,s,u,c){var l,f,d,p=0,h="0",m=r&&[],v=[],y=O,w=r||i&&E.find.TAG("*",c),b=W+=null==y?1:Math.random()||.1,x=w.length;for(c&&(O=a===P||a||c);h!==x&&null!=(l=w[h]);h++){if(i&&l){for(f=0,a||l.ownerDocument===P||(L(l),s=!D);d=e[f++];)if(d(l,a||P,s)){u.push(l);break}c&&(W=b)}o&&((l=!d&&l)&&p--,r&&m.push(l))}if(p+=h,o&&h!==p){for(f=0;d=n[f++];)d(m,v,a,s);if(r){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=K.call(u));v=g(v)}Q.apply(u,v),c&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(u)}return c&&(W=b,O=y),m};return o?r(a):a}var x,_,E,T,S,C,k,j,O,M,N,L,P,A,D,R,I,q,F,H="sizzle"+1*new Date,U=e.document,W=0,B=0,z=n(),$=n(),G=n(),V=function(e,t){return e===t&&(N=!0),0},J={}.hasOwnProperty,X=[],K=X.pop,Y=X.push,Q=X.push,Z=X.slice,ee=function(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\x00-\\xa0])+",oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ie=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),ce=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),le=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(ie),de=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,we=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),be=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,_e=function(e,t){return t?"\x00"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ee=function(){L()},Te=h(function(e){return e.disabled===!0},{dir:"parentNode",next:"legend"});try{Q.apply(X=Z.call(U.childNodes),U.childNodes),X[U.childNodes.length].nodeType}catch(Se){Q={apply:X.length?function(e,t){Y.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}_=t.support={},S=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:U;return r!==P&&9===r.nodeType&&r.documentElement?(P=r,A=P.documentElement,D=!S(P),U!==P&&(n=P.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ee,!1):n.attachEvent&&n.attachEvent("onunload",Ee)),_.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),_.getElementsByTagName=o(function(e){return e.appendChild(P.createComment("")),!e.getElementsByTagName("*").length}),_.getElementsByClassName=ve.test(P.getElementsByClassName),_.getById=o(function(e){return A.appendChild(e).id=H,!P.getElementsByName||!P.getElementsByName(H).length}),_.getById?(E.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&D){var n=t.getElementById(e);return n?[n]:[]}},E.filter.ID=function(e){var t=e.replace(we,be);return function(e){return e.getAttribute("id")===t}}):(delete E.find.ID,E.filter.ID=function(e){var t=e.replace(we,be);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),E.find.TAG=_.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):_.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},E.find.CLASS=_.getElementsByClassName&&function(e,t){return"undefined"!=typeof t.getElementsByClassName&&D?t.getElementsByClassName(e):void 0},I=[],R=[],(_.qsa=ve.test(P.querySelectorAll))&&(o(function(e){A.appendChild(e).innerHTML="<a id='"+H+"'></a><select id='"+H+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+H+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+H+"+*").length||R.push(".#.+[+~]")}),o(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=P.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&R.push(":enabled",":disabled"),A.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(_.matchesSelector=ve.test(q=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&o(function(e){_.disconnectedMatch=q.call(e,"*"),q.call(e,"[s!='']:x"),I.push("!=",ie)}),R=R.length&&new RegExp(R.join("|")),I=I.length&&new RegExp(I.join("|")),t=ve.test(A.compareDocumentPosition),F=t||ve.test(A.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},V=t?function(e,t){if(e===t)return N=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!_.sortDetached&&t.compareDocumentPosition(e)===n?e===P||e.ownerDocument===U&&F(U,e)?-1:t===P||t.ownerDocument===U&&F(U,t)?1:M?ee(M,e)-ee(M,t):0:4&n?-1:1)}:function(e,t){if(e===t)return N=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],u=[t];if(!o||!i)return e===P?-1:t===P?1:o?-1:i?1:M?ee(M,e)-ee(M,t):0;if(o===i)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===U?-1:u[r]===U?1:0},P):P},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==P&&L(e),n=n.replace(le,"='$1']"),_.matchesSelector&&D&&!G[n+" "]&&(!I||!I.test(n))&&(!R||!R.test(n)))try{var r=q.call(e,n);if(r||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(o){}return t(n,P,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==P&&L(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==P&&L(e);var n=E.attrHandle[t.toLowerCase()],r=n&&J.call(E.attrHandle,t.toLowerCase())?n(e,t,!D):void 0;return void 0!==r?r:_.attributes||!D?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(xe,_e)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(N=!_.detectDuplicates,M=!_.sortStable&&e.slice(0),e.sort(V),N){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return M=null,e},T=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},E=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(we,be),e[3]=(e[3]||e[4]||e[5]||"").replace(we,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(we,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:n?(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(ae," ")+" ").indexOf(r)>-1:"|="===n?i===r||i.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,d,p,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,w=!1;if(v){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(d=v,f=d[H]||(d[H]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[e]||[],p=c[0]===W&&c[1],w=p&&c[2],d=p&&v.childNodes[p];d=++p&&d&&d[m]||(w=p=0)||h.pop();)if(1===d.nodeType&&++w&&d===t){l[e]=[W,p,w];break}}else if(y&&(d=t,f=d[H]||(d[H]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),c=l[e]||[],p=c[0]===W&&c[1],w=p),w===!1)for(;(d=++p&&d&&d[m]||(w=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++w||(y&&(f=d[H]||(d[H]={}),l=f[d.uniqueID]||(f[d.uniqueID]={}),l[e]=[W,w]),d!==t)););return w-=o,w===r||w%r===0&&w/r>=0}}},PSEUDO:function(e,n){var o,i=E.pseudos[e]||E.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[H]?i(n):i.length>1?(o=[e,e,"",n],E.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),a=o.length;a--;)r=ee(e,o[a]),e[r]=!(t[r]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=k(e.replace(se,"$1"));return o[H]?r(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(we,be),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(we,be).toLowerCase(),function(t){var n;do if(n=D?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===A},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!E.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},E.pseudos.nth=E.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})E.pseudos[x]=s(x);for(x in{submit:!0,reset:!0})E.pseudos[x]=u(x);return d.prototype=E.filters=E.pseudos,E.setFilters=new d,C=t.tokenize=function(e,n){var r,o,i,a,s,u,c,l=$[e+" "];if(l)return n?0:l.slice(0);for(s=e,u=[],c=E.preFilter;s;){(!r||(o=ue.exec(s)))&&(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=ce.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(se," ")}),s=s.slice(r.length));for(a in E.filter)!(o=pe[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):$(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],o=[],i=G[e+" "];if(!i){for(t||(t=C(e)),n=t.length;n--;)i=w(t[n]),i[H]?r.push(i):o.push(i);i=G(e,b(o,r)),i.selector=e}return i},j=t.select=function(e,t,n,r){var o,i,a,s,u,c="function"==typeof e&&e,l=!r&&C(e=c.selector||e);if(n=n||[],1===l.length){if(i=l[0]=l[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&_.getById&&9===t.nodeType&&D&&E.relative[i[1].type]){if(t=(E.find.ID(a.matches[0].replace(we,be),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=pe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!E.relative[s=a.type]);)if((u=E.find[s])&&(r=u(a.matches[0].replace(we,be),ye.test(i[0].type)&&f(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&p(i),!e)return Q.apply(n,r),n;break}}return(c||k(e,l))(r,t,!D,n,!t||ye.test(e)&&f(t.parentNode)||t),n},_.sortStable=H.split("").sort(V).join("")===H,_.detectDuplicates=!!N,L(),_.sortDetached=o(function(e){return 1&e.compareDocumentPosition(P.createElement("fieldset"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),_.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);de.find=ge,de.expr=ge.selectors,de.expr[":"]=de.expr.pseudos,de.uniqueSort=de.unique=ge.uniqueSort,de.text=ge.getText,de.isXMLDoc=ge.isXML,de.contains=ge.contains,de.escapeSelector=ge.escape;var ye=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&de(e).is(n))break;r.push(e)}return r},we=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},be=de.expr.match.needsContext,xe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,_e=/^.[^:#\[\.,]*$/;de.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?de.find.matchesSelector(r,e)?[r]:[]:de.find.matches(e,de.grep(t,function(e){return 1===e.nodeType}))},de.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(de(e).filter(function(){for(t=0;r>t;t++)if(de.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;r>t;t++)de.find(e,o[t],n);return r>1?de.uniqueSort(n):n},filter:function(e){return this.pushStack(o(this,e||[],!1))},not:function(e){return this.pushStack(o(this,e||[],!0))},is:function(e){return!!o(this,"string"==typeof e&&be.test(e)?de(e):e||[],!1).length}});var Ee,Te=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Se=de.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Ee,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Te.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof de?t[0]:t,de.merge(this,de.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:Z,!0)),xe.test(r[1])&&de.isPlainObject(t))for(r in t)de.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=Z.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):de.isFunction(e)?void 0!==n.ready?n.ready(e):e(de):de.makeArray(e,this)};Se.prototype=de.fn,Ee=de(Z);var Ce=/^(?:parents|prev(?:Until|All))/,ke={children:!0,contents:!0,next:!0,prev:!0};de.fn.extend({has:function(e){var t=de(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(de.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&de(e);if(!be.test(e))for(;o>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&de.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?de.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?oe.call(de(e),this[0]):oe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(de.uniqueSort(de.merge(this.get(),de(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),de.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ye(e,"parentNode")},parentsUntil:function(e,t,n){return ye(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return ye(e,"nextSibling")},prevAll:function(e){return ye(e,"previousSibling")},nextUntil:function(e,t,n){return ye(e,"nextSibling",n)},prevUntil:function(e,t,n){return ye(e,"previousSibling",n)},siblings:function(e){return we((e.parentNode||{}).firstChild,e)},children:function(e){return we(e.firstChild)},contents:function(e){return e.contentDocument||de.merge([],e.childNodes)}},function(e,t){de.fn[e]=function(n,r){var o=de.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=de.filter(r,o)),this.length>1&&(ke[e]||de.uniqueSort(o),Ce.test(e)&&o.reverse()),this.pushStack(o)}});var je=/\S+/g;de.Callbacks=function(e){e="string"==typeof e?a(e):de.extend({},e);var t,n,r,o,i=[],s=[],u=-1,c=function(){for(o=e.once,r=t=!0;s.length;u=-1)for(n=s.shift();++u<i.length;)i[u].apply(n[0],n[1])===!1&&e.stopOnFalse&&(u=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(u=i.length-1,s.push(n)),function r(t){de.each(t,function(t,n){de.isFunction(n)?e.unique&&l.has(n)||i.push(n):n&&n.length&&"string"!==de.type(n)&&r(n)})}(arguments),n&&!t&&c()),this},remove:function(){return de.each(arguments,function(e,t){for(var n;(n=de.inArray(t,i,n))>-1;)i.splice(n,1),u>=n&&u--}),this},has:function(e){return e?de.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=s=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},de.extend({Deferred:function(t){var n=[["notify","progress",de.Callbacks("memory"),de.Callbacks("memory"),2],["resolve","done",de.Callbacks("once memory"),de.Callbacks("once memory"),0,"resolved"],["reject","fail",de.Callbacks("once memory"),de.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},"catch":function(e){return o.then(null,e)},pipe:function(){var e=arguments;return de.Deferred(function(t){de.each(n,function(n,r){var o=de.isFunction(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&de.isFunction(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,r,o){function i(t,n,r,o){return function(){var c=this,l=arguments,f=function(){var e,f;if(!(a>t)){if(e=r.apply(c,l),e===n.promise())throw new TypeError("Thenable self-resolution");f=e&&("object"==typeof e||"function"==typeof e)&&e.then,de.isFunction(f)?o?f.call(e,i(a,n,s,o),i(a,n,u,o)):(a++,f.call(e,i(a,n,s,o),i(a,n,u,o),i(a,n,s,n.notifyWith))):(r!==s&&(c=void 0,l=[e]),(o||n.resolveWith)(c,l))}},d=o?f:function(){try{f()}catch(e){de.Deferred.exceptionHook&&de.Deferred.exceptionHook(e,d.stackTrace),t+1>=a&&(r!==u&&(c=void 0,l=[e]),n.rejectWith(c,l))}};t?d():(de.Deferred.getStackHook&&(d.stackTrace=de.Deferred.getStackHook()),e.setTimeout(d))}}var a=0;return de.Deferred(function(e){n[0][3].add(i(0,e,de.isFunction(o)?o:s,e.notifyWith)),n[1][3].add(i(0,e,de.isFunction(t)?t:s)),n[2][3].add(i(0,e,de.isFunction(r)?r:u))}).promise()},promise:function(e){return null!=e?de.extend(e,o):o}},i={};return de.each(n,function(e,t){var a=t[2],s=t[5];o[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[0][2].lock),a.add(t[3].fire),i[t[0]]=function(){return i[t[0]+"With"](this===i?void 0:this,arguments),this},i[t[0]+"With"]=a.fireWith}),o.promise(i),t&&t.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=te.call(arguments),i=de.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?te.call(arguments):n,--t||i.resolveWith(r,o)}};if(1>=t&&(c(e,i.done(a(n)).resolve,i.reject),"pending"===i.state()||de.isFunction(o[n]&&o[n].then)))return i.then();for(;n--;)c(o[n],a(n),i.reject);return i.promise()}});var Oe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;de.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Oe.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)};var Me=de.Deferred();de.fn.ready=function(e){return Me.then(e),this},de.extend({isReady:!1,readyWait:1,holdReady:function(e){
  e?de.readyWait++:de.ready(!0)},ready:function(e){(e===!0?--de.readyWait:de.isReady)||(de.isReady=!0,e!==!0&&--de.readyWait>0||Me.resolveWith(Z,[de]))}}),de.ready.then=Me.then,"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?e.setTimeout(de.ready):(Z.addEventListener("DOMContentLoaded",l),e.addEventListener("load",l));var Ne=function(e,t,n,r,o,i,a){var s=0,u=e.length,c=null==n;if("object"===de.type(n)){o=!0;for(s in n)Ne(e,t,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,de.isFunction(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(de(e),n)})),t))for(;u>s;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):u?t(e[0],n):i},Le=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};f.uid=1,f.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Le(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[de.camelCase(t)]=n;else for(r in t)o[de.camelCase(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][de.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){de.isArray(t)?t=t.map(de.camelCase):(t=de.camelCase(t),t=t in r?[t]:t.match(je)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||de.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!de.isEmptyObject(t)}};var Pe=new f,Ae=new f,De=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Re=/[A-Z]/g;de.extend({hasData:function(e){return Ae.hasData(e)||Pe.hasData(e)},data:function(e,t,n){return Ae.access(e,t,n)},removeData:function(e,t){Ae.remove(e,t)},_data:function(e,t,n){return Pe.access(e,t,n)},_removeData:function(e,t){Pe.remove(e,t)}}),de.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Ae.get(i),1===i.nodeType&&!Pe.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=de.camelCase(r.slice(5)),d(i,r,o[r])));Pe.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Ae.set(this,e)}):Ne(this,function(t){var n;if(i&&void 0===t){if(n=Ae.get(i,e),void 0!==n)return n;if(n=d(i,e),void 0!==n)return n}else this.each(function(){Ae.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ae.remove(this,e)})}}),de.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=Pe.get(e,t),n&&(!r||de.isArray(n)?r=Pe.access(e,t,de.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=de.queue(e,t),r=n.length,o=n.shift(),i=de._queueHooks(e,t),a=function(){de.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Pe.get(e,n)||Pe.access(e,n,{empty:de.Callbacks("once memory").add(function(){Pe.remove(e,[t+"queue",n])})})}}),de.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?de.queue(this[0],e):void 0===t?this:this.each(function(){var n=de.queue(this,e,t);de._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&de.dequeue(this,e)})},dequeue:function(e){return this.each(function(){de.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=de.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=Pe.get(i[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var Ie=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,qe=new RegExp("^(?:([+-])=|)("+Ie+")([a-z%]*)$","i"),Fe=["Top","Right","Bottom","Left"],He=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&de.contains(e.ownerDocument,e)&&"none"===de.css(e,"display")},Ue=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=a[i];return o},We={};de.fn.extend({show:function(){return m(this,!0)},hide:function(){return m(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){He(this)?de(this).show():de(this).hide()})}});var Be=/^(?:checkbox|radio)$/i,ze=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,$e=/^$|\/(?:java|ecma)script/i,Ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td;var Ve=/<|&#?\w+;/;!function(){var e=Z.createDocumentFragment(),t=e.appendChild(Z.createElement("div")),n=Z.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),le.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Je=Z.documentElement,Xe=/^key/,Ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ye=/^([^.]*)(?:\.(.+)|)/;de.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,c,l,f,d,p,h,m,v=Pe.get(e);if(v)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&de.find.matchesSelector(Je,o),n.guid||(n.guid=de.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return"undefined"!=typeof de&&de.event.triggered!==t.type?de.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(je)||[""],c=t.length;c--;)s=Ye.exec(t[c])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p&&(f=de.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=de.event.special[p]||{},l=de.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&de.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=u[p])||(d=u[p]=[],d.delegateCount=0,f.setup&&f.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),de.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,c,l,f,d,p,h,m,v=Pe.hasData(e)&&Pe.get(e);if(v&&(u=v.events)){for(t=(t||"").match(je)||[""],c=t.length;c--;)if(s=Ye.exec(t[c])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(f=de.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=u[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)l=d[i],!o&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(i,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&f.teardown.call(e,h,v.handle)!==!1||de.removeEvent(e,p,v.handle),delete u[p])}else for(p in u)de.event.remove(e,p+t[c],n,r,!0);de.isEmptyObject(u)&&Pe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=de.event.fix(e),u=new Array(arguments.length),c=(Pe.get(this,"events")||{})[s.type]||[],l=de.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,s)!==!1){for(a=de.event.handlers.call(this,s,c),t=0;(o=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!s.isImmediatePropagationStopped();)(!s.rnamespace||s.rnamespace.test(i.namespace))&&(s.handleObj=i,s.data=i.data,r=((de.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),void 0!==r&&(s.result=r)===!1&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,o,i,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;s>n;n++)i=t[n],o=i.selector+" ",void 0===r[o]&&(r[o]=i.needsContext?de(o,this).index(u)>-1:de.find(o,this,null,[u]).length),r[o]&&r.push(i);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},addProp:function(e,t){Object.defineProperty(de.Event.prototype,e,{enumerable:!0,configurable:!0,get:de.isFunction(t)?function(){return this.originalEvent?t(this.originalEvent):void 0}:function(){return this.originalEvent?this.originalEvent[e]:void 0},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[de.expando]?e:new de.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==x()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===x()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&de.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return de.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},de.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},de.Event=function(e,t){return this instanceof de.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?w:b,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&de.extend(this,t),this.timeStamp=e&&e.timeStamp||de.now(),void(this[de.expando]=!0)):new de.Event(e,t)},de.Event.prototype={constructor:de.Event,isDefaultPrevented:b,isPropagationStopped:b,isImmediatePropagationStopped:b,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=w,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=w,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=w,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},de.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ke.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},de.event.addProp),de.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){de.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return(!o||o!==r&&!de.contains(r,o))&&(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),de.fn.extend({on:function(e,t,n,r){return _(this,e,t,n,r)},one:function(e,t,n,r){return _(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,de(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=b),this.each(function(){de.event.remove(this,e,n,t)})}});var Qe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ze=/<script|<style|<link/i,et=/checked\s*(?:[^=]|=\s*.checked.)/i,tt=/^true\/(.*)/,nt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;de.extend({htmlPrefilter:function(e){return e.replace(Qe,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=de.contains(e.ownerDocument,e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||de.isXMLDoc(e)))for(a=v(s),i=v(e),r=0,o=i.length;o>r;r++)k(i[r],a[r]);if(t)if(n)for(i=i||v(e),a=a||v(s),r=0,o=i.length;o>r;r++)C(i[r],a[r]);else C(e,s);return a=v(s,"script"),a.length>0&&g(a,!u&&v(e,"script")),s},cleanData:function(e){for(var t,n,r,o=de.event.special,i=0;void 0!==(n=e[i]);i++)if(Le(n)){if(t=n[Pe.expando]){if(t.events)for(r in t.events)o[r]?de.event.remove(n,r):de.removeEvent(n,r,t.handle);n[Pe.expando]=void 0}n[Ae.expando]&&(n[Ae.expando]=void 0)}}}),de.fn.extend({detach:function(e){return O(this,e,!0)},remove:function(e){return O(this,e)},text:function(e){return Ne(this,function(e){return void 0===e?de.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return j(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=E(this,e);t.appendChild(e)}})},prepend:function(){return j(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=E(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return j(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(de.cleanData(v(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return de.clone(this,e,t)})},html:function(e){return Ne(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ze.test(e)&&!Ge[(ze.exec(e)||["",""])[1].toLowerCase()]){e=de.htmlPrefilter(e);try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(de.cleanData(v(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return j(this,arguments,function(t){var n=this.parentNode;de.inArray(this,e)<0&&(de.cleanData(v(this)),n&&n.replaceChild(t,this))},e)}}),de.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){de.fn[e]=function(e){for(var n,r=[],o=de(e),i=o.length-1,a=0;i>=a;a++)n=a===i?this:this.clone(!0),de(o[a])[t](n),re.apply(r,n.get());return this.pushStack(r)}});var rt=/^margin/,ot=new RegExp("^("+Ie+")(?!px)[a-z%]+$","i"),it=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)};!function(){function t(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Je.appendChild(a);var t=e.getComputedStyle(s);n="1%"!==t.top,i="2px"===t.marginLeft,r="4px"===t.width,s.style.marginRight="50%",o="4px"===t.marginRight,Je.removeChild(a),s=null}}var n,r,o,i,a=Z.createElement("div"),s=Z.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),de.extend(le,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),o},reliableMarginLeft:function(){return t(),i}}))}();var at=/^(none|table(?!-c[ea]).+)/,st={position:"absolute",visibility:"hidden",display:"block"},ut={letterSpacing:"0",fontWeight:"400"},ct=["Webkit","Moz","ms"],lt=Z.createElement("div").style;de.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=M(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,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":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=de.camelCase(t),u=e.style;return t=de.cssProps[s]||(de.cssProps[s]=L(s)||s),a=de.cssHooks[t]||de.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t]:(i=typeof n,"string"===i&&(o=qe.exec(n))&&o[1]&&(n=p(e,t,o),i="number"),null!=n&&n===n&&("number"===i&&(n+=o&&o[3]||(de.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var o,i,a,s=de.camelCase(t);return t=de.cssProps[s]||(de.cssProps[s]=L(s)||s),a=de.cssHooks[t]||de.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=M(e,t,r)),"normal"===o&&t in ut&&(o=ut[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),de.each(["height","width"],function(e,t){de.cssHooks[t]={get:function(e,n,r){return n?!at.test(de.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?D(e,t,r):Ue(e,st,function(){return D(e,t,r)}):void 0},set:function(e,n,r){var o,i=r&&it(e),a=r&&A(e,t,r,"border-box"===de.css(e,"boxSizing",!1,i),i);return a&&(o=qe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=de.css(e,t)),P(e,n,a)}}}),de.cssHooks.marginLeft=N(le.reliableMarginLeft,function(e,t){return t?(parseFloat(M(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),de.each({margin:"",padding:"",border:"Width"},function(e,t){de.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];4>r;r++)o[e+Fe[r]+t]=i[r]||i[r-2]||i[0];return o}},rt.test(e)||(de.cssHooks[e+t].set=P)}),de.fn.extend({css:function(e,t){return Ne(this,function(e,t,n){var r,o,i={},a=0;if(de.isArray(t)){for(r=it(e),o=t.length;o>a;a++)i[t[a]]=de.css(e,t[a],!1,r);return i}return void 0!==n?de.style(e,t,n):de.css(e,t)},e,t,arguments.length>1)}}),de.Tween=R,R.prototype={constructor:R,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||de.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(de.cssNumber[n]?"":"px")},cur:function(){var e=R.propHooks[this.prop];return e&&e.get?e.get(this):R.propHooks._default.get(this)},run:function(e){var t,n=R.propHooks[this.prop];return this.options.duration?this.pos=t=de.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):R.propHooks._default.set(this),this}},R.prototype.init.prototype=R.prototype,R.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=de.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){de.fx.step[e.prop]?de.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[de.cssProps[e.prop]]&&!de.cssHooks[e.prop]?e.elem[e.prop]=e.now:de.style(e.elem,e.prop,e.now+e.unit)}}},R.propHooks.scrollTop=R.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},de.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},de.fx=R.prototype.init,de.fx.step={};var ft,dt,pt=/^(?:toggle|show|hide)$/,ht=/queueHooks$/;de.Animation=de.extend(B,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return p(n.elem,e,qe.exec(t),n),n}]},tweener:function(e,t){de.isFunction(e)?(t=e,e=["*"]):e=e.match(je);for(var n,r=0,o=e.length;o>r;r++)n=e[r],B.tweeners[n]=B.tweeners[n]||[],B.tweeners[n].unshift(t)},prefilters:[U],prefilter:function(e,t){t?B.prefilters.unshift(e):B.prefilters.push(e)}}),de.speed=function(e,t,n){var r=e&&"object"==typeof e?de.extend({},e):{complete:n||!n&&t||de.isFunction(e)&&e,duration:e,easing:n&&t||t&&!de.isFunction(t)&&t};return de.fx.off||Z.hidden?r.duration=0:r.duration="number"==typeof r.duration?r.duration:r.duration in de.fx.speeds?de.fx.speeds[r.duration]:de.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){de.isFunction(r.old)&&r.old.call(this),r.queue&&de.dequeue(this,r.queue)},r},de.fn.extend({fadeTo:function(e,t,n,r){return this.filter(He).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=de.isEmptyObject(e),i=de.speed(t,n,r),a=function(){var t=B(this,de.extend({},e),i);(o||Pe.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||i.queue===!1?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=de.timers,a=Pe.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ht.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));(t||!n)&&de.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Pe.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=de.timers,a=r?r.length:0;for(n.finish=!0,de.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),de.each(["toggle","show","hide"],function(e,t){var n=de.fn[t];de.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(F(t,!0),e,r,o)}}),de.each({slideDown:F("show"),slideUp:F("hide"),slideToggle:F("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){de.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),de.timers=[],de.fx.tick=function(){var e,t=0,n=de.timers;for(ft=de.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||de.fx.stop(),ft=void 0},de.fx.timer=function(e){de.timers.push(e),e()?de.fx.start():de.timers.pop()},de.fx.interval=13,de.fx.start=function(){dt||(dt=e.requestAnimationFrame?e.requestAnimationFrame(I):e.setInterval(de.fx.tick,de.fx.interval))},de.fx.stop=function(){e.cancelAnimationFrame?e.cancelAnimationFrame(dt):e.clearInterval(dt),dt=null},de.fx.speeds={slow:600,fast:200,_default:400},de.fn.delay=function(t,n){return t=de.fx?de.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}})},function(){var e=Z.createElement("input"),t=Z.createElement("select"),n=t.appendChild(Z.createElement("option"));e.type="checkbox",le.checkOn=""!==e.value,le.optSelected=n.selected,e=Z.createElement("input"),e.value="t",e.type="radio",le.radioValue="t"===e.value}();var mt,vt=de.expr.attrHandle;de.fn.extend({attr:function(e,t){return Ne(this,de.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){de.removeAttr(this,e)})}}),de.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?de.prop(e,t,n):(1===i&&de.isXMLDoc(e)||(o=de.attrHooks[t.toLowerCase()]||(de.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void de.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=de.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&de.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(je);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),mt={set:function(e,t,n){return t===!1?de.removeAttr(e,n):e.setAttribute(n,n),n}},de.each(de.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vt[t]||de.find.attr;vt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=vt[a],vt[a]=o,o=null!=n(e,t,r)?a:null,vt[a]=i),o}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;de.fn.extend({prop:function(e,t){return Ne(this,de.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[de.propFix[e]||e]})}}),de.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&de.isXMLDoc(e)||(t=de.propFix[t]||t,o=de.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=de.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(de.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),de.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){de.propFix[this.toLowerCase()]=this});var wt=/[\t\r\n\f]/g;de.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(de.isFunction(e))return this.each(function(t){de(this).addClass(e.call(this,t,z(this)))});if("string"==typeof e&&e)for(t=e.match(je)||[];n=this[u++];)if(o=z(n),r=1===n.nodeType&&(" "+o+" ").replace(wt," ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=de.trim(r),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(de.isFunction(e))return this.each(function(t){de(this).removeClass(e.call(this,t,z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(je)||[];n=this[u++];)if(o=z(n),r=1===n.nodeType&&(" "+o+" ").replace(wt," ")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");s=de.trim(r),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):de.isFunction(e)?this.each(function(n){de(this).toggleClass(e.call(this,n,z(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=de(this),i=e.match(je)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else(void 0===e||"boolean"===n)&&(t=z(this),t&&Pe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Pe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+z(n)+" ").replace(wt," ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g,xt=/[\x20\t\r\n\f]+/g;de.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=de.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,de(this).val()):e,null==o?o="":"number"==typeof o?o+="":de.isArray(o)&&(o=de.map(o,function(e){return null==e?"":e+""})),t=de.valHooks[this.type]||de.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=de.valHooks[o.type]||de.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(bt,""):null==n?"":n)}}}),de.extend({valHooks:{option:{get:function(e){var t=de.find.attr(e,"value");return null!=t?t:de.trim(de.text(e)).replace(xt," ")}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type,a=i?null:[],s=i?o+1:r.length,u=0>o?s:i?o:0;s>u;u++)if(n=r[u],(n.selected||u===o)&&!n.disabled&&(!n.parentNode.disabled||!de.nodeName(n.parentNode,"optgroup"))){if(t=de(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=de.makeArray(t),a=o.length;a--;)r=o[a],(r.selected=de.inArray(de.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),de.each(["radio","checkbox"],function(){de.valHooks[this]={set:function(e,t){return de.isArray(t)?e.checked=de.inArray(de(e).val(),t)>-1:void 0}},le.checkOn||(de.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var _t=/^(?:focusinfocus|focusoutblur)$/;de.extend(de.event,{trigger:function(t,n,r,o){var i,a,s,u,c,l,f,d=[r||Z],p=se.call(t,"type")?t.type:t,h=se.call(t,"namespace")?t.namespace.split("."):[];if(a=s=r=r||Z,3!==r.nodeType&&8!==r.nodeType&&!_t.test(p+de.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),c=p.indexOf(":")<0&&"on"+p,t=t[de.expando]?t:new de.Event(p,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:de.makeArray(n,[t]),f=de.event.special[p]||{},o||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!o&&!f.noBubble&&!de.isWindow(r)){for(u=f.delegateType||p,_t.test(u+p)||(a=a.parentNode);a;a=a.parentNode)d.push(a),s=a;s===(r.ownerDocument||Z)&&d.push(s.defaultView||s.parentWindow||e)}for(i=0;(a=d[i++])&&!t.isPropagationStopped();)t.type=i>1?u:f.bindType||p,l=(Pe.get(a,"events")||{})[t.type]&&Pe.get(a,"handle"),l&&l.apply(a,n),l=c&&a[c],l&&l.apply&&Le(a)&&(t.result=l.apply(a,n),t.result===!1&&t.preventDefault());return t.type=p,o||t.isDefaultPrevented()||f._default&&f._default.apply(d.pop(),n)!==!1||!Le(r)||c&&de.isFunction(r[p])&&!de.isWindow(r)&&(s=r[c],s&&(r[c]=null),de.event.triggered=p,r[p](),de.event.triggered=void 0,s&&(r[c]=s)),t.result}},simulate:function(e,t,n){var r=de.extend(new de.Event,n,{type:e,isSimulated:!0});de.event.trigger(r,null,t)}}),de.fn.extend({trigger:function(e,t){return this.each(function(){de.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?de.event.trigger(e,t,n,!0):void 0}}),de.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(e,t){de.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),de.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),le.focusin="onfocusin"in e,le.focusin||de.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){de.event.simulate(t,e.target,de.event.fix(e))};de.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Pe.access(r,t);o||r.addEventListener(e,n,!0),Pe.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Pe.access(r,t)-1;o?Pe.access(r,t,o):(r.removeEventListener(e,n,!0),Pe.remove(r,t))}}});var Et=e.location,Tt=de.now(),St=/\?/;de.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(r){n=void 0}return(!n||n.getElementsByTagName("parsererror").length)&&de.error("Invalid XML: "+t),n};var Ct=/\[\]$/,kt=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;de.param=function(e,t){var n,r=[],o=function(e,t){var n=de.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(de.isArray(e)||e.jquery&&!de.isPlainObject(e))de.each(e,function(){o(this.name,this.value)});else for(n in e)$(n,e[n],t,o);return r.join("&")},de.fn.extend({serialize:function(){return de.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=de.prop(this,"elements");return e?de.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!de(this).is(":disabled")&&Ot.test(this.nodeName)&&!jt.test(e)&&(this.checked||!Be.test(e))}).map(function(e,t){var n=de(this).val();return null==n?null:de.isArray(n)?de.map(n,function(e){return{name:t.name,value:e.replace(kt,"\r\n")}}):{name:t.name,value:n.replace(kt,"\r\n")}}).get()}});var Mt=/%20/g,Nt=/#.*$/,Lt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,At=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Dt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},qt={},Ft="*/".concat("*"),Ht=Z.createElement("a");
  Ht.href=Et.href,de.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:At.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":de.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?J(J(e,de.ajaxSettings),t):J(de.ajaxSettings,e)},ajaxPrefilter:G(It),ajaxTransport:G(qt),ajax:function(t,n){function r(t,n,r,s){var c,d,p,b,x,_=n;l||(l=!0,u&&e.clearTimeout(u),o=void 0,a=s||"",E.readyState=t>0?4:0,c=t>=200&&300>t||304===t,r&&(b=X(h,E,r)),b=K(h,b,E,c),c?(h.ifModified&&(x=E.getResponseHeader("Last-Modified"),x&&(de.lastModified[i]=x),x=E.getResponseHeader("etag"),x&&(de.etag[i]=x)),204===t||"HEAD"===h.type?_="nocontent":304===t?_="notmodified":(_=b.state,d=b.data,p=b.error,c=!p)):(p=_,(t||!_)&&(_="error",0>t&&(t=0))),E.status=t,E.statusText=(n||_)+"",c?g.resolveWith(m,[d,_,E]):g.rejectWith(m,[E,_,p]),E.statusCode(w),w=void 0,f&&v.trigger(c?"ajaxSuccess":"ajaxError",[E,h,c?d:p]),y.fireWith(m,[E,_]),f&&(v.trigger("ajaxComplete",[E,h]),--de.active||de.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,i,a,s,u,c,l,f,d,p,h=de.ajaxSetup({},n),m=h.context||h,v=h.context&&(m.nodeType||m.jquery)?de(m):de.event,g=de.Deferred(),y=de.Callbacks("once memory"),w=h.statusCode||{},b={},x={},_="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Pt.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return null==l&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)E.always(e[E.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||_;return o&&o.abort(t),r(0,t),this}};if(g.promise(E),h.url=((t||h.url||Et.href)+"").replace(Rt,Et.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(je)||[""],null==h.crossDomain){c=Z.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=c.protocol+"//"+c.host}catch(T){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=de.param(h.data,h.traditional)),V(It,h,n,E),l)return E;f=de.event&&h.global,f&&0===de.active++&&de.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Dt.test(h.type),i=h.url.replace(Nt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Mt,"+")):(p=h.url.slice(i.length),h.data&&(i+=(St.test(i)?"&":"?")+h.data,delete h.data),h.cache===!1&&(i=i.replace(Lt,""),p=(St.test(i)?"&":"?")+"_="+Tt++ +p),h.url=i+p),h.ifModified&&(de.lastModified[i]&&E.setRequestHeader("If-Modified-Since",de.lastModified[i]),de.etag[i]&&E.setRequestHeader("If-None-Match",de.etag[i])),(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ft+"; q=0.01":""):h.accepts["*"]);for(d in h.headers)E.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(h.beforeSend.call(m,E,h)===!1||l))return E.abort();if(_="abort",y.add(h.complete),E.done(h.success),E.fail(h.error),o=V(qt,h,n,E)){if(E.readyState=1,f&&v.trigger("ajaxSend",[E,h]),l)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{l=!1,o.send(b,r)}catch(T){if(l)throw T;r(-1,T)}}else r(-1,"No Transport");return E},getJSON:function(e,t,n){return de.get(e,t,n,"json")},getScript:function(e,t){return de.get(e,void 0,t,"script")}}),de.each(["get","post"],function(e,t){de[t]=function(e,n,r,o){return de.isFunction(n)&&(o=o||r,r=n,n=void 0),de.ajax(de.extend({url:e,type:t,dataType:o,data:n,success:r},de.isPlainObject(e)&&e))}}),de._evalUrl=function(e){return de.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},de.fn.extend({wrapAll:function(e){var t;return this[0]&&(de.isFunction(e)&&(e=e.call(this[0])),t=de(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return de.isFunction(e)?this.each(function(t){de(this).wrapInner(e.call(this,t))}):this.each(function(){var t=de(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=de.isFunction(e);return this.each(function(n){de(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){de(this).replaceWith(this.childNodes)}),this}}),de.expr.pseudos.hidden=function(e){return!de.expr.pseudos.visible(e)},de.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},de.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Ut={0:200,1223:204},Wt=de.ajaxSettings.xhr();le.cors=!!Wt&&"withCredentials"in Wt,le.ajax=Wt=!!Wt,de.ajaxTransport(function(t){var n,r;return le.cors||Wt&&!t.crossDomain?{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(a in o)s.setRequestHeader(a,o[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}:void 0}),de.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),de.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return de.globalEval(e),e}}}),de.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),de.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=de("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),Z.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Bt=[],zt=/(=)\?(?=&|$)|\?\?/;de.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||de.expando+"_"+Tt++;return this[e]=!0,e}}),de.ajaxPrefilter("json jsonp",function(t,n,r){var o,i,a,s=t.jsonp!==!1&&(zt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&zt.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(o=t.jsonpCallback=de.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(zt,"$1"+o):t.jsonp!==!1&&(t.url+=(St.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||de.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){a=arguments},r.always(function(){void 0===i?de(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,Bt.push(o)),a&&de.isFunction(i)&&i(a[0]),a=i=void 0}),"script"):void 0}),le.createHTMLDocument=function(){var e=Z.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),de.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,o,i;return t||(le.createHTMLDocument?(t=Z.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=Z.location.href,t.head.appendChild(r)):t=Z),o=xe.exec(e),i=!n&&[],o?[t.createElement(o[1])]:(o=y([e],t,i),i&&i.length&&de(i).remove(),de.merge([],o.childNodes))},de.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=de.trim(e.slice(s)),e=e.slice(0,s)),de.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&de.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?de("<div>").append(de.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},de.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){de.fn[t]=function(e){return this.on(t,e)}}),de.expr.pseudos.animated=function(e){return de.grep(de.timers,function(t){return e===t.elem}).length},de.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,c,l=de.css(e,"position"),f=de(e),d={};"static"===l&&(e.style.position="relative"),s=f.offset(),i=de.css(e,"top"),u=de.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(i+u).indexOf("auto")>-1,c?(r=f.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),de.isFunction(t)&&(t=t.call(e,n,de.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):f.css(d)}},de.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){de.offset.setOffset(this,e,t)});var t,n,r,o,i=this[0];if(i)return i.getClientRects().length?(r=i.getBoundingClientRect(),r.width||r.height?(o=i.ownerDocument,n=Y(o),t=o.documentElement,{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===de.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),de.nodeName(e[0],"html")||(r=e.offset()),r={top:r.top+de.css(e[0],"borderTopWidth",!0),left:r.left+de.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-de.css(n,"marginTop",!0),left:t.left-r.left-de.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===de.css(e,"position");)e=e.offsetParent;return e||Je})}}),de.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;de.fn[e]=function(r){return Ne(this,function(e,r,o){var i=Y(e);return void 0===o?i?i[t]:e[r]:void(i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o)},e,r,arguments.length)}}),de.each(["top","left"],function(e,t){de.cssHooks[t]=N(le.pixelPosition,function(e,n){return n?(n=M(e,t),ot.test(n)?de(e).position()[t]+"px":n):void 0})}),de.each({Height:"height",Width:"width"},function(e,t){de.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){de.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(o===!0||i===!0?"margin":"border");return Ne(this,function(t,n,o){var i;return de.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?de.css(t,n,s):de.style(t,n,o,s)},t,a?o:void 0,a)}})}),de.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),de.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return de});var $t=e.jQuery,Gt=e.$;return de.noConflict=function(t){return e.$===de&&(e.$=Gt),t&&e.jQuery===de&&(e.jQuery=$t),de},t||(e.jQuery=e.$=de),de}),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="selector-set"),function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.SelectorSet=t()}(this,function(){"use strict";function e(){return this instanceof e?(this.size=0,this.uid=0,this.selectors=[],this.indexes=Object.create(this.indexes),void(this.activeIndexes=[])):new e}function t(e,t){e=e.slice(0).concat(e["default"]);var n,r,o,i,a,s,u=e.length,c=t,f=[];do if(l.exec(""),(o=l.exec(c))&&(c=o[3],o[2]||!c))for(n=0;u>n;n++)if(s=e[n],a=s.selector(o[1])){for(r=f.length,i=!1;r--;)if(f[r].index===s&&f[r].key===a){i=!0;break}i||f.push({index:s,key:a});break}while(o);return f}function n(e,t){var n,r,o;for(n=0,r=e.length;r>n;n++)if(o=e[n],t.isPrototypeOf(o))return o}function r(e,t){return e.id-t.id}var o=window.document.documentElement,i=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector;e.prototype.matchesSelector=function(e,t){return i.call(e,t)},e.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},e.prototype.indexes=[];var a=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"ID",selector:function(e){var t;return(t=e.match(a))?t[0].slice(1):void 0},element:function(e){return e.id?[e.id]:void 0}});var s=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"CLASS",selector:function(e){var t;return(t=e.match(s))?t[0].slice(1):void 0},element:function(e){var t=e.className;if(t){if("string"==typeof t)return t.split(/\s/);if("object"==typeof t&&"baseVal"in t)return t.baseVal.split(/\s/)}}});var u=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;e.prototype.indexes.push({name:"TAG",selector:function(e){var t;return(t=e.match(u))?t[0].toUpperCase():void 0},element:function(e){return[e.nodeName.toUpperCase()]}}),e.prototype.indexes["default"]={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}};var c;c="function"==typeof window.Map?window.Map:function(){function e(){this.map={}}return e.prototype.get=function(e){return this.map[e+" "]},e.prototype.set=function(e,t){this.map[e+" "]=t},e}();var l=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;return e.prototype.logDefaultIndexUsed=function(){},e.prototype.add=function(e,r){var o,i,a,s,u,l,f,d,p=this.activeIndexes,h=this.selectors;if("string"==typeof e){for(o={id:this.uid++,selector:e,data:r},f=t(this.indexes,e),i=0;i<f.length;i++)d=f[i],s=d.key,a=d.index,u=n(p,a),u||(u=Object.create(a),u.map=new c,p.push(u)),a===this.indexes["default"]&&this.logDefaultIndexUsed(o),l=u.map.get(s),l||(l=[],u.map.set(s,l)),l.push(o);this.size++,h.push(e)}},e.prototype.remove=function(e,n){if("string"==typeof e){var r,o,i,a,s,u,c,l,f=this.activeIndexes,d={},p=1===arguments.length;for(r=t(this.indexes,e),i=0;i<r.length;i++)for(o=r[i],a=f.length;a--;)if(u=f[a],o.index.isPrototypeOf(u)){if(c=u.map.get(o.key))for(s=c.length;s--;)l=c[s],l.selector!==e||!p&&l.data!==n||(c.splice(s,1),d[l.id]=!0);break}this.size-=Object.keys(d).length}},e.prototype.queryAll=function(e){if(!this.selectors.length)return[];var t,n,o,i,a,s,u,c,l={},f=[],d=this.querySelectorAll(this.selectors.join(", "),e);for(t=0,o=d.length;o>t;t++)for(a=d[t],s=this.matches(a),n=0,i=s.length;i>n;n++)c=s[n],l[c.id]?u=l[c.id]:(u={id:c.id,selector:c.selector,data:c.data,elements:[]},l[c.id]=u,f.push(u)),u.elements.push(a);return f.sort(r)},e.prototype.matches=function(e){if(!e)return[];var t,n,o,i,a,s,u,c,l,f,d,p=this.activeIndexes,h={},m=[];for(t=0,i=p.length;i>t;t++)if(u=p[t],c=u.element(e))for(n=0,a=c.length;a>n;n++)if(l=u.map.get(c[n]))for(o=0,s=l.length;s>o;o++)f=l[o],d=f.id,!h[d]&&this.matchesSelector(e,f.selector)&&(h[d]=!0,m.push(f));return m.sort(r)},e}),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="jquery-selector-set"),function(e,t){if("function"==typeof define&&define.amd)define(["jquery","selector-set"],t);else if("object"==typeof exports){var n=require("jquery"),r=require("selector-set");module.exports=t(n,r)}else t(e.jQuery,e.SelectorSet)}(this,function(e,t){function n(e){var t=[],n=e.target,r=e.handleObj.selectorSet;do{if(1!==n.nodeType)break;var o=r.matches(n);o.length&&t.push({elem:n,handlers:o})}while(n=n.parentNode);return t}function r(e){for(var t,r=n(e),o=0;(t=r[o++])&&!e.isPropagationStopped();){e.currentTarget=t.elem;for(var i,a=0;(i=t.handlers[a++])&&!e.isImmediatePropagationStopped();){var s=i.data.apply(t.elem,arguments);void 0!==s&&(e.result=s,s===!1&&(e.preventDefault(),e.stopPropagation()))}}}var o=window.document,i=e.event.add,a=e.event.remove,s={};if(!t)throw"SelectorSet undefined - https://github.com/josh/jquery-selector-set";e.event.add=function(n,a,u,c,l){if(n!==o||a.match(/\./)||c||!l)i.call(this,n,a,u,c,l);else for(var f=a.match(/\S+/g),d=f.length;d--;){var p=f[d],h=e.event.special[p]||{};p=h.delegateType||p;var m=s[p];m||(m=s[p]={handler:r,selectorSet:new t},m.selectorSet.matchesSelector=e.find.matchesSelector,i.call(this,n,p,m)),m.selectorSet.add(l,u),e.expr.cacheLength++,e.find.compile&&e.find.compile(l)}},e.event.remove=function(t,n,r,i,u){if(t===o&&n&&!n.match(/\./)&&i)for(var c=n.match(/\S+/g),l=c.length;l--;){var f=c[l],d=e.event.special[f]||{};f=d.delegateType||f;var p=s[f];p&&p.selectorSet.remove(i,r)}a.call(this,t,n,r,i,u)}}),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="jcrop"),function(e){e.Jcrop=function(t,n){function r(e){return Math.round(e)+"px"}function o(e){return D.baseClass+"-"+e}function i(){return e.fx.step.hasOwnProperty("backgroundColor")}function a(t){var n=e(t).offset();return[n.left,n.top]}function s(e){return[e.pageX-A[0],e.pageY-A[1]]}function u(t){"object"!=typeof t&&(t={}),D=e.extend(D,t),e.each(["onChange","onSelect","onRelease","onDblClick"],function(e,t){"function"!=typeof D[t]&&(D[t]=function(){})})}function c(e,t,n){if(A=a(B),he.setCursor("move"===e?e:e+"-resize"),"move"===e)return he.activateHandlers(f(t),v,n);var r=fe.getFixed(),o=d(e),i=fe.getCorner(d(o));fe.setPressed(fe.getCorner(o)),fe.setCurrent(i),he.activateHandlers(l(e,r),v,n)}function l(e,t){return function(n){if(D.aspectRatio)switch(e){case"e":n[1]=t.y+1;break;case"w":n[1]=t.y+1;break;case"n":n[0]=t.x+1;break;case"s":n[0]=t.x+1}else switch(e){case"e":n[1]=t.y2;break;case"w":n[1]=t.y2;break;case"n":n[0]=t.x2;break;case"s":n[0]=t.x2}fe.setCurrent(n),pe.update()}}function f(e){var t=e;return me.watchKeys(),function(e){fe.moveOffset([e[0]-t[0],e[1]-t[1]]),t=e,pe.update()}}function d(e){switch(e){case"n":return"sw";case"s":return"nw";case"e":return"nw";case"w":return"ne";case"ne":return"sw";case"nw":return"se";case"se":return"nw";case"sw":return"ne"}}function p(e){return function(t){return D.disabled?!1:"move"!==e||D.allowMove?(A=a(B),re=!0,c(e,s(t)),t.stopPropagation(),t.preventDefault(),!1):!1}}function h(e,t,n){var r=e.width(),o=e.height();r>t&&t>0&&(r=t,o=t/e.width()*e.height()),o>n&&n>0&&(o=n,r=n/e.height()*e.width()),te=e.width()/r,ne=e.height()/o,e.width(r).height(o)}function m(e){return{x:e.x*te,y:e.y*ne,x2:e.x2*te,y2:e.y2*ne,w:e.w*te,h:e.h*ne}}function v(e){var t=fe.getFixed();t.w>D.minSelect[0]&&t.h>D.minSelect[1]?(pe.enableHandles(),pe.done()):pe.release(),he.setCursor(D.allowSelect?"crosshair":"default")}function g(e){if(!D.disabled&&D.allowSelect){re=!0,A=a(B),pe.disableHandles(),he.setCursor("crosshair");var t=s(e);return fe.setPressed(t),pe.update(),he.activateHandlers(y,v,"touch"===e.type.substring(0,5)),me.watchKeys(),e.stopPropagation(),e.preventDefault(),!1}}function y(e){fe.setCurrent(e),pe.update()}function w(){var t=e("<div></div>").addClass(o("tracker"));return I&&t.css({opacity:0,backgroundColor:"white"}),t}function b(e){G.removeClass().addClass(o("holder")).addClass(e)}function x(e,t){function n(){window.setTimeout(y,f)}var r=e[0]/te,o=e[1]/ne,i=e[2]/te,a=e[3]/ne;if(!oe){var s=fe.flipCoords(r,o,i,a),u=fe.getFixed(),c=[u.x,u.y,u.x2,u.y2],l=c,f=D.animationDelay,d=s[0]-c[0],p=s[1]-c[1],h=s[2]-c[2],m=s[3]-c[3],v=0,g=D.swingSpeed;r=l[0],o=l[1],i=l[2],a=l[3],pe.animMode(!0);var y=function(){return function(){v+=(100-v)/g,l[0]=Math.round(r+v/100*d),l[1]=Math.round(o+v/100*p),l[2]=Math.round(i+v/100*h),l[3]=Math.round(a+v/100*m),v>=99.8&&(v=100),100>v?(E(l),n()):(pe.done(),pe.animMode(!1),"function"==typeof t&&t.call(ve))}}();n()}}function _(e){E([e[0]/te,e[1]/ne,e[2]/te,e[3]/ne]),D.onSelect.call(ve,m(fe.getFixed())),pe.enableHandles()}function E(e){fe.setPressed([e[0],e[1]]),fe.setCurrent([e[2],e[3]]),pe.update()}function T(){return m(fe.getFixed())}function S(){return fe.getFixed()}function C(e){u(e),P()}function k(){D.disabled=!0,pe.disableHandles(),pe.setCursor("default"),he.setCursor("default")}function j(){D.disabled=!1,P()}function O(){pe.done(),he.activateHandlers(null,null)}function M(){G.remove(),H.show(),H.css("visibility","visible"),e(t).removeData("Jcrop")}function N(e,t){pe.release(),k();var n=new Image;n.onload=function(){var r=n.width,o=n.height,i=D.boxWidth,a=D.boxHeight;B.width(r).height(o),B.attr("src",e),V.attr("src",e),h(B,i,a),z=B.width(),$=B.height(),V.width(z).height($),se.width(z+2*ae).height($+2*ae),G.width(z).height($),de.resize(z,$),j(),"function"==typeof t&&t.call(ve)},n.src=e}function L(e,t,n){var r=t||D.bgColor;D.bgFade&&i()&&D.fadeTime&&!n?e.animate({backgroundColor:r},{queue:!1,duration:D.fadeTime}):e.css("backgroundColor",r)}function P(e){D.allowResize?e?pe.enableOnly():pe.enableHandles():pe.disableHandles(),he.setCursor(D.allowSelect?"crosshair":"default"),pe.setCursor(D.allowMove?"move":"default"),D.hasOwnProperty("trueSize")&&(te=D.trueSize[0]/z,ne=D.trueSize[1]/$),D.hasOwnProperty("setSelect")&&(_(D.setSelect),pe.done(),delete D.setSelect),de.refresh(),D.bgColor!=ue&&(L(D.shade?de.getShades():G,D.shade?D.shadeColor||D.bgColor:D.bgColor),ue=D.bgColor),ce!=D.bgOpacity&&(ce=D.bgOpacity,D.shade?de.refresh():pe.setBgOpacity(ce)),Y=D.maxSize[0]||0,Q=D.maxSize[1]||0,Z=D.minSize[0]||0,ee=D.minSize[1]||0,D.hasOwnProperty("outerImage")&&(B.attr("src",D.outerImage),delete D.outerImage),pe.refresh()}var A,D=e.extend({},e.Jcrop.defaults),R=navigator.userAgent.toLowerCase(),I=/msie/.test(R),q=/msie [1-6]\./.test(R);"object"!=typeof t&&(t=e(t)[0]),"object"!=typeof n&&(n={}),u(n);var F={border:"none",visibility:"visible",margin:0,padding:0,position:"absolute",top:0,left:0},H=e(t),U=!0;if("IMG"==t.tagName){if(0!=H[0].width&&0!=H[0].height)H.width(H[0].width),H.height(H[0].height);else{var W=new Image;W.src=H[0].src,H.width(W.width),H.height(W.height)}var B=H.clone().removeAttr("id").css(F).show();B.width(H.width()),B.height(H.height()),H.after(B).hide()}else B=H.css(F).show(),U=!1,null===D.shade&&(D.shade=!0);h(B,D.boxWidth,D.boxHeight);var z=B.width(),$=B.height(),G=e("<div />").width(z).height($).addClass(o("holder")).css({position:"relative",backgroundColor:D.bgColor}).insertAfter(H).append(B);D.addClass&&G.addClass(D.addClass);var V=e("<div />"),J=e("<div />").width("100%").height("100%").css({zIndex:310,position:"absolute",overflow:"hidden"}),X=e("<div />").width("100%").height("100%").css("zIndex",320),K=e("<div />").css({position:"absolute",zIndex:600}).dblclick(function(){var e=fe.getFixed();D.onDblClick.call(ve,e)}).insertBefore(B).append(J,X);U&&(V=e("<img />").attr("src",B.attr("src")).css(F).width(z).height($),J.append(V)),q&&K.css({overflowY:"hidden"});var Y,Q,Z,ee,te,ne,re,oe,ie,ae=D.boundary,se=w().width(z+2*ae).height($+2*ae).css({position:"absolute",top:r(-ae),left:r(-ae),zIndex:290}).mousedown(g),ue=D.bgColor,ce=D.bgOpacity;A=a(B);var le=function(){function e(){var e,t={},n=["touchstart","touchmove","touchend"],r=document.createElement("div");try{for(e=0;e<n.length;e++){var o=n[e];o="on"+o;var i=o in r;i||(r.setAttribute(o,"return;"),i="function"==typeof r[o]),t[n[e]]=i}return t.touchstart&&t.touchend&&t.touchmove}catch(a){return!1}}function t(){return D.touchSupport===!0||D.touchSupport===!1?D.touchSupport:e()}return{createDragger:function(e){return function(t){return D.disabled?!1:"move"!==e||D.allowMove?(A=a(B),re=!0,c(e,s(le.cfilter(t)),!0),t.stopPropagation(),t.preventDefault(),!1):!1}},newSelection:function(e){return g(le.cfilter(e))},cfilter:function(e){return e.pageX=e.originalEvent.changedTouches[0].pageX,e.pageY=e.originalEvent.changedTouches[0].pageY,e},isSupported:e,support:t()}}(),fe=function(){function e(e){e=a(e),h=d=e[0],m=p=e[1]}function t(e){e=a(e),l=e[0]-h,f=e[1]-m,h=e[0],m=e[1]}function n(){return[l,f]}function r(e){var t=e[0],n=e[1];0>d+t&&(t-=t+d),0>p+n&&(n-=n+p),m+n>$&&(n+=$-(m+n)),h+t>z&&(t+=z-(h+t)),d+=t,h+=t,p+=n,m+=n}function o(e){var t=i();switch(e){case"ne":return[t.x2,t.y];case"nw":return[t.x,t.y];case"se":return[t.x2,t.y2];case"sw":return[t.x,t.y2]}}function i(){if(!D.aspectRatio)return u();var e,t,n,r,o=D.aspectRatio,i=D.minSize[0]/te,a=D.maxSize[0]/te,l=D.maxSize[1]/ne,f=h-d,v=m-p,g=Math.abs(f),y=Math.abs(v),w=g/y;return 0===a&&(a=10*z),0===l&&(l=10*$),o>w?(t=m,n=y*o,e=0>f?d-n:n+d,0>e?(e=0,r=Math.abs((e-d)/o),t=0>v?p-r:r+p):e>z&&(e=z,r=Math.abs((e-d)/o),t=0>v?p-r:r+p)):(e=h,r=g/o,t=0>v?p-r:p+r,0>t?(t=0,n=Math.abs((t-p)*o),e=0>f?d-n:n+d):t>$&&(t=$,n=Math.abs(t-p)*o,e=0>f?d-n:n+d)),e>d?(i>e-d?e=d+i:e-d>a&&(e=d+a),t=t>p?p+(e-d)/o:p-(e-d)/o):d>e&&(i>d-e?e=d-i:d-e>a&&(e=d-a),t=t>p?p+(d-e)/o:p-(d-e)/o),0>e?(d-=e,e=0):e>z&&(d-=e-z,e=z),0>t?(p-=t,t=0):t>$&&(p-=t-$,t=$),c(s(d,p,e,t))}function a(e){return e[0]<0&&(e[0]=0),e[1]<0&&(e[1]=0),e[0]>z&&(e[0]=z),e[1]>$&&(e[1]=$),[Math.round(e[0]),Math.round(e[1])]}function s(e,t,n,r){var o=e,i=n,a=t,s=r;return e>n&&(o=n,i=e),t>r&&(a=r,s=t),[o,a,i,s]}function u(){var e,t=h-d,n=m-p;return Y&&Math.abs(t)>Y&&(h=t>0?d+Y:d-Y),Q&&Math.abs(n)>Q&&(m=n>0?p+Q:p-Q),ee/ne&&Math.abs(n)<ee/ne&&(m=n>0?p+ee/ne:p-ee/ne),Z/te&&Math.abs(t)<Z/te&&(h=t>0?d+Z/te:d-Z/te),0>d&&(h-=d,d-=d),0>p&&(m-=p,p-=p),0>h&&(d-=h,h-=h),0>m&&(p-=m,m-=m),h>z&&(e=h-z,d-=e,h-=e),m>$&&(e=m-$,p-=e,m-=e),d>z&&(e=d-$,m-=e,p-=e),p>$&&(e=p-$,m-=e,p-=e),c(s(d,p,h,m))}function c(e){return{x:e[0],y:e[1],x2:e[2],y2:e[3],w:e[2]-e[0],h:e[3]-e[1]}}var l,f,d=0,p=0,h=0,m=0;return{flipCoords:s,setPressed:e,setCurrent:t,getOffset:n,moveOffset:r,getCorner:o,getFixed:i}}(),de=function(){function t(e,t){h.left.css({height:r(t)}),h.right.css({height:r(t)})}function n(){return o(fe.getFixed())}function o(e){h.top.css({left:r(e.x),width:r(e.w),height:r(e.y)}),h.bottom.css({top:r(e.y2),left:r(e.x),width:r(e.w),height:r($-e.y2)}),h.right.css({left:r(e.x2),width:r(z-e.x2)}),h.left.css({width:r(e.x)})}function i(){return e("<div />").css({position:"absolute",backgroundColor:D.shadeColor||D.bgColor}).appendTo(p)}function a(){d||(d=!0,p.insertBefore(B),n(),pe.setBgOpacity(1,0,1),V.hide(),s(D.shadeColor||D.bgColor,1),pe.isAwake()?c(D.bgOpacity,1):c(1,1))}function s(e,t){L(f(),e,t)}function u(){d&&(p.remove(),V.show(),d=!1,pe.isAwake()?pe.setBgOpacity(D.bgOpacity,1,1):(pe.setBgOpacity(1,1,1),pe.disableHandles()),L(G,0,1))}function c(e,t){d&&(D.bgFade&&!t?p.animate({opacity:1-e},{queue:!1,duration:D.fadeTime}):p.css({opacity:1-e}))}function l(){D.shade?a():u(),pe.isAwake()&&c(D.bgOpacity)}function f(){return p.children()}var d=!1,p=e("<div />").css({position:"absolute",zIndex:240,opacity:0}),h={top:i(),left:i().height($),right:i().height($),bottom:i()};return{update:n,updateRaw:o,getShades:f,setBgColor:s,enable:a,disable:u,resize:t,refresh:l,opacity:c}}(),pe=function(){function t(t){var n=e("<div />").css({position:"absolute",opacity:D.borderOpacity}).addClass(o(t));return J.append(n),n}function n(t,n){var r=e("<div />").mousedown(p(t)).css({cursor:t+"-resize",position:"absolute",zIndex:n}).addClass("ord-"+t);return le.support&&r.bind("touchstart.jcrop",le.createDragger(t)),X.append(r),r}function i(e){var t=D.handleSize,r=n(e,k++).css({opacity:D.handleOpacity}).addClass(o("handle"));return t&&r.width(t).height(t),r}function a(e){return n(e,k++).addClass("jcrop-dragbar")}function s(e){var t;for(t=0;t<e.length;t++)M[e[t]]=a(e[t])}function u(e){var n,r;for(r=0;r<e.length;r++){switch(e[r]){case"n":n="hline";break;case"s":n="hline bottom";break;case"e":n="vline right";break;case"w":n="vline"}j[e[r]]=t(n)}}function c(e){var t;for(t=0;t<e.length;t++)O[e[t]]=i(e[t])}function l(e,t){D.shade||V.css({top:r(-t),left:r(-e)}),K.css({top:r(t),left:r(e)})}function f(e,t){K.width(Math.round(e)).height(Math.round(t))}function d(){var e=fe.getFixed();fe.setPressed([e.x,e.y]),fe.setCurrent([e.x2,e.y2]),h()}function h(e){return C?v(e):void 0}function v(e){var t=fe.getFixed();f(t.w,t.h),l(t.x,t.y),D.shade&&de.updateRaw(t),C||y(),e?D.onSelect.call(ve,m(t)):D.onChange.call(ve,m(t))}function g(e,t,n){(C||t)&&(D.bgFade&&!n?B.animate({opacity:e},{queue:!1,duration:D.fadeTime}):B.css("opacity",e))}function y(){K.show(),D.shade?de.opacity(ce):g(ce,!0),C=!0}function b(){E(),K.hide(),D.shade?de.opacity(1):g(1),C=!1,D.onRelease.call(ve)}function x(){N&&X.show()}function _(){return N=!0,D.allowResize?(X.show(),!0):void 0}function E(){N=!1,X.hide()}function T(e){e?(oe=!0,E()):(oe=!1,_())}function S(){T(!1),d()}var C,k=370,j={},O={},M={},N=!1;D.dragEdges&&e.isArray(D.createDragbars)&&s(D.createDragbars),e.isArray(D.createHandles)&&c(D.createHandles),D.drawBorders&&e.isArray(D.createBorders)&&u(D.createBorders),e(document).bind("touchstart.jcrop-ios",function(t){e(t.currentTarget).hasClass("jcrop-tracker")&&t.stopPropagation()});var L=w().mousedown(p("move")).css({cursor:"move",position:"absolute",zIndex:360});return le.support&&L.bind("touchstart.jcrop",le.createDragger("move")),J.append(L),E(),{updateVisible:h,update:v,release:b,refresh:d,isAwake:function(){return C},setCursor:function(e){L.css("cursor",e)},enableHandles:_,enableOnly:function(){N=!0},showHandles:x,disableHandles:E,animMode:T,setBgOpacity:g,done:S}}(),he=function(){function t(t){se.css({zIndex:450}),t?e(document).bind("touchmove.jcrop",a).bind("touchend.jcrop",u):d&&e(document).bind("mousemove.jcrop",r).bind("mouseup.jcrop",o)}function n(){se.css({zIndex:290}),e(document).unbind(".jcrop")}function r(e){return l(s(e)),!1}function o(e){return e.preventDefault(),e.stopPropagation(),re&&(re=!1,f(s(e)),pe.isAwake()&&D.onSelect.call(ve,m(fe.getFixed())),n(),l=function(){},f=function(){}),!1}function i(e,n,r){return re=!0,l=e,f=n,t(r),!1}function a(e){return l(s(le.cfilter(e))),!1}function u(e){return o(le.cfilter(e))}function c(e){se.css("cursor",e)}var l=function(){},f=function(){},d=D.trackDocument;return d||se.mousemove(r).mouseup(o).mouseout(o),B.before(se),{activateHandlers:i,setCursor:c}}(),me=function(){function t(){D.keySupport&&(i.show(),i.focus())}function n(e){i.hide()}function r(e,t,n){D.allowMove&&(fe.moveOffset([t,n]),pe.updateVisible(!0)),e.preventDefault(),e.stopPropagation()}function o(e){if(e.ctrlKey||e.metaKey)return!0;ie=e.shiftKey?!0:!1;var t=ie?10:1;switch(e.keyCode){case 37:r(e,-t,0);break;case 39:r(e,t,0);break;case 38:r(e,0,-t);break;case 40:r(e,0,t);break;case 27:D.allowSelect&&pe.release();break;case 9:return!0}return!1}var i=e('<input type="radio" />').css({position:"fixed",left:"-120px",width:"12px"}).addClass("jcrop-keymgr"),a=e("<div />").css({position:"absolute",overflow:"hidden"}).append(i);return D.keySupport&&(i.keydown(o).blur(n),q||!D.fixedSupport?(i.css({position:"absolute",left:"-20px"}),a.append(i).insertBefore(B)):i.insertBefore(B)),{watchKeys:t}}();le.support&&se.bind("touchstart.jcrop",le.newSelection),X.hide(),P(!0);var ve={setImage:N,animateTo:x,setSelect:_,setOptions:C,tellSelect:T,tellScaled:S,setClass:b,disable:k,enable:j,cancel:O,release:pe.release,destroy:M,focus:me.watchKeys,getBounds:function(){return[z*te,$*ne]},getWidgetSize:function(){return[z,$]},getScaleFactor:function(){return[te,ne]},getOptions:function(){return D},ui:{holder:G,selection:K}};return I&&G.bind("selectstart",function(){
  return!1}),H.data("Jcrop",ve),ve},e.fn.Jcrop=function(t,n){var r;return this.each(function(){if(e(this).data("Jcrop")){if("api"===t)return e(this).data("Jcrop");e(this).data("Jcrop").setOptions(t)}else"IMG"==this.tagName?e.Jcrop.Loader(this,function(){e(this).css({display:"block",visibility:"hidden"}),r=e.Jcrop(this,t),e.isFunction(n)&&n.call(r)}):(e(this).css({display:"block",visibility:"hidden"}),r=e.Jcrop(this,t),e.isFunction(n)&&n.call(r))}),this},e.Jcrop.Loader=function(t,n,r){function o(){a.complete?(i.unbind(".jcloader"),e.isFunction(n)&&n.call(a)):window.setTimeout(o,50)}var i=e(t),a=i[0];i.bind("load.jcloader",o).bind("error.jcloader",function(t){i.unbind(".jcloader"),e.isFunction(r)&&r.call(a)}),a.complete&&e.isFunction(n)&&(i.unbind(".jcloader"),n.call(a))},e.Jcrop.defaults={allowSelect:!0,allowMove:!0,allowResize:!0,trackDocument:!0,baseClass:"jcrop",addClass:null,bgColor:"black",bgOpacity:.6,bgFade:!1,borderOpacity:.4,handleOpacity:.5,handleSize:null,aspectRatio:0,keySupport:!0,createHandles:["n","s","e","w","nw","ne","se","sw"],createDragbars:["n","s","e","w"],createBorders:["n","s","e","w"],drawBorders:!0,dragEdges:!0,fixedSupport:!0,touchSupport:null,shade:null,boxWidth:0,boxHeight:0,boundary:2,fadeTime:400,animationDelay:20,swingSpeed:3,minSelect:[0,0],maxSize:[0,0],minSize:[0,0],onChange:function(){},onSelect:function(){},onDblClick:function(){},onRelease:function(){}}}(jQuery),"undefined"!=typeof define&&delete define.amd,require("jquery-selector-set"),define("github/jquery",["exports","jquery"],function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(t);e["default"]=r["default"].noConflict(!0)}),define("github/proxy-site-detection",["exports"],function(e){function t(e){var t=e.querySelector("meta[name=expected-hostname]");if(!t)return!1;var n=t.content.replace(/\.$/,"").split(".").slice(-2).join("."),r=e.location.hostname.replace(/\.$/,"").split(".").slice(-2).join(".");return n!=r}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=t}),define("github/history",["exports"],function(e){function t(){return p}function n(){return m}function r(){var e={_id:(new Date).getTime()};return i(e),e}function o(){return history.length-1+h}function i(e){m=e;var t=location.href;p[o()]={url:t,state:m},p.length=history.length;var n=new CustomEvent("statechange",{bubbles:!1,cancelable:!1});n.state=m,window.dispatchEvent(n)}function a(e,t){var n={_id:t};if(e)for(var r in e)n[r]=e[r];return n}function s(){return(new Date).getTime()}function u(e,t,n){h=0,e=a(e,s()),history.pushState(e,t,n),i(e)}function c(e,t,r){e=a(e,n()._id),history.replaceState(e,t,r),i(e)}function l(){var e=p[o()-1];return e?e.url:void 0}function f(){var e=p[o()+1];return e?e.url:void 0}function d(){function e(e,t,n){this.id=e,this.url=t,n&&(this.current=n)}for(var t=[],n=0;n<history.length;n++){var r=p[n];r?t.push(new e(r.state._id,r.url,o()===n)):t.push(new e)}console.table(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.getEntries=t,e.getState=n,e.pushState=u,e.replaceState=c,e.getBackURL=l,e.getForwardURL=f,e.debug=d;var p=[],h=0,m=r();window.addEventListener("popstate",function(e){if(e.state&&e.state._id){var t=e.state._id;t<n()._id?h--:h++,i(e.state)}},!0),window.addEventListener("hashchange",function(){if(history.length>p.length){var e=a({},s());history.replaceState(e,null,location.href),i(e)}},!0)}),define("github/failbot",["exports","./jquery","./proxy-site-detection","./history"],function(e,t,n,r){function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){d(e)&&s(u(e))}function a(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];s(c(e,t))}function s(e){var t=document.querySelector("meta[name=browser-errors-url]");if(t){var n=t.content;m++,window.fetch(n,{method:"post",body:JSON.stringify(e)})}}function u(e){var t=e.message,n=e.filename,r=e.lineno,o=e.error;return c(o,{message:t,filename:n,lineno:r})}function c(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return p["default"].extend({originalHistoryState:JSON.stringify(window.history.state),url:window.location.href,readyState:document.readyState,referrer:document.referrer,stack:e&&e.stack,historyState:JSON.stringify(window.history.state),timeSinceLoad:Math.round((new Date).getTime()-v),extensionScripts:JSON.stringify(f().sort()),navigations:JSON.stringify(r.getEntries()),user:l(),jquery:p["default"].fn.jquery},e.failbotContext,t)}function l(){var e=document.querySelector("meta[name=user-login]");return e?e.content:void 0}function f(){for(var e=document.getElementsByTagName("script"),t=[],n=0,r=e.length;r>n;n++){var o=e[n];/^(?:chrome-extension|file):/.test(o.src)&&t.push(o.src)}return t}function d(e){var t=e.lineno,n=e.error;return h["default"](document)?!1:n&&n.stack&&t?g?!1:m>=10?!1:!0:!1}Object.defineProperty(e,"__esModule",{value:!0}),e.reportEvent=i,e.reportError=a,e.report=s,e.errorContext=c;var p=o(t),h=o(n),m=0,v=(new Date).getTime(),g=!1;window.addEventListener("pageshow",function(){g=!1}),window.addEventListener("pagehide",function(){g=!0})}),define("github/setimmediate",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=function(e){return setImmediate(e)}}),function(){var e=require("github/failbot"),t=e.reportEvent,n=require("github/setimmediate")["default"];window.addEventListener("error",t),n(function(){return"#b00m"===window.location.hash?b00m():void 0})}(),function(){var e=require("github/jquery")["default"];("undefined"==typeof Zepto||null===Zepto)&&e.ajaxSetup({beforeSend:function(t,n){var r=void 0,o=void 0;if(n.global)return r=n.context||document,o=e.Event("ajaxBeforeSend"),e(r).trigger(o,[t,n]),o.isDefaultPrevented()?!1:o.result}})}.call(this),function(){var e=require("github/jquery")["default"],t=void 0,n=void 0,r=void 0,o=void 0,i=void 0;"undefined"!=typeof Zepto&&null!==Zepto?(t=function(e){var t=void 0,n=void 0,r=void 0,o=void 0;n=document.createEvent("Events");for(r in e)o=e[r],n[r]=o;return n.initEvent(e.type+":prepare",!0,!0),t=function(t,r){return function(){return t.apply(e),r.apply(n)}},n.preventDefault=t(e.preventDefault,n.preventDefault),n.stopPropagation=t(e.stopPropagation,n.stopPropagation),n.stopImmediatePropagation=t(e.stopImmediatePropagation,n.stopImmediatePropagation),e.target.dispatchEvent(n),n.result},window.addEventListener("click",t,!0),window.addEventListener("submit",t,!0)):(n=null,r=function(t){var r=void 0,o=void 0;o=t.type+":"+t.timeStamp,o!==n&&(r=t.type,t.type=r+":prepare",e.event.trigger(t,[],t.target,!1),t.type=r,n=o)},o=function(t){return function(){e(this).on(t+".prepare",function(){})}},i=function(t){return function(){e(this).off(t+".prepare",function(){})}},e.event.special.click={preDispatch:r},e.event.special.submit={preDispatch:r},e.event.special["click:prepare"]={setup:o("click"),teardown:i("click")},e.event.special["submit:prepare"]={setup:o("submit"),teardown:i("submit")})}.call(this),function(){var e=require("github/jquery")["default"];e(document).on("submit","form[data-remote]",function(t){var n=void 0,r=void 0,o=void 0,i=void 0,a=void 0,s=void 0;return o=e(this),i={},i.context=this,a=o.attr("method"),a&&(i.type=a),s=this.action,s&&(i.url=s),n=o.serializeArray(),n&&(i.data=n),r=o.attr("data-type"),r&&(i.dataType=r),e.ajax(i),t.preventDefault(),!1}),e(document).on("ajaxSend","[data-remote]",function(t,n){e(this).data("remote-xhr",n)}),e(document).on("ajaxComplete","[data-remote]",function(){var t=void 0;"function"==typeof(t=e(this)).removeData&&t.removeData("remote-xhr")})}.call(this),function(){var e=require("github/jquery")["default"],t=void 0;t="form[data-remote] input[type=submit],\nform[data-remote] button[type=submit],\nform[data-remote] button:not([type]),\nform[data-remote-submit] input[type=submit],\nform[data-remote-submit] button[type=submit],\nform[data-remote-submit] button:not([type]),\nform input[type=submit][data-disable-with],\nform button[type=submit][data-disable-with]",e(document).on("click",t,function(){var t=void 0,n=void 0,r=void 0,o=void 0,i=void 0;o=e(this),n=o.closest("form"),r=n.find(".is-submit-button-value");var a=o.attr("name");a?(t=o.is("input[type=submit]")?"Submit":"",i=o.val()||t,r[0]?(r.attr("name",a),r.attr("value",i)):(r=document.createElement("input"),r.setAttribute("type","hidden"),r.setAttribute("name",a),r.setAttribute("value",i),r.setAttribute("class","is-submit-button-value"),n.prepend(r))):r.remove()}),e(document).on("ajaxComplete","form",function(){var e=void 0;return null!=(e=this.querySelector(".is-submit-button-value"))?e.remove():void 0})}.call(this),"undefined"!=typeof define&&(define.amd="include-fragment-element"),function(){"use strict";function e(e,t){setTimeout(function(){var n=t.ownerDocument.createEvent("Event");n.initEvent(e,!0,!0),t.dispatchEvent(n)},0)}function t(e,t){return t.then(function(t){e.insertAdjacentHTML("afterend",t),e.parentNode.removeChild(e)},function(){e.classList.add("is-error")})}function n(e){var t=e.src,n=r.get(e);return n&&n.src===t?n.data:(n=t?e.load():Promise.reject(new Error("missing src")),r.set(e,{src:t,data:n}),n)}var r=new WeakMap,o=Object.create(window.HTMLElement.prototype);Object.defineProperty(o,"src",{get:function(){var e=this.getAttribute("src");if(e){var t=this.ownerDocument.createElement("a");return t.href=e,t.href}return""},set:function(e){this.setAttribute("src",e)}}),Object.defineProperty(o,"data",{get:function(){return n(this)}}),o.attributeChangedCallback=function(e){if("src"===e){var r=n(this);this._attached&&t(this,r)}},o.createdCallback=function(){n(this)["catch"](function(){})},o.attachedCallback=function(){this._attached=!0,this.src&&t(this,n(this))},o.detachedCallback=function(){this._attached=!1},o.request=function(){var e=this.src;if(!e)throw new Error("missing src");return new Request(e,{method:"GET",credentials:"same-origin",headers:{Accept:"text/html"}})},o.load=function(){var t=this;return Promise.resolve().then(function(){var n=t.request();return e("loadstart",t),t.fetch(n)}).then(function(e){if(200!==e.status)throw new Error("Failed to load resource: the server responded with a status of "+e.status);var t=e.headers.get("Content-Type");if(!t||!t.match(/^text\/html/))throw new Error("Failed to load resource: expected text/html but was "+t);return e}).then(function(e){return e.text()}).then(function(n){return e("load",t),e("loadend",t),n},function(n){throw e("error",t),e("loadend",t),n})},o.fetch=function(e){return fetch(e)},window.IncludeFragmentElement=document.registerElement("include-fragment",{prototype:o})}(),"undefined"!=typeof define&&delete define.amd,function(){var e=void 0;e="a[data-confirm], input[type=submit][data-confirm], button[data-confirm]",document.addEventListener("click",function(t){var n="function"==typeof t.target.closest?t.target.closest(e):void 0;if(n){var r=n.getAttribute("data-confirm");r&&(confirm(r)||(t.stopImmediatePropagation(),t.preventDefault()))}},!0)}.call(this),"undefined"!=typeof define&&(define.amd="time-elements"),function(){"use strict";function e(e){return("0"+e).slice(-2)}function t(e){if("Intl"in window)try{return new window.Intl.DateTimeFormat(void 0,e)}catch(t){if(!(t instanceof RangeError))throw t}}function n(t,r){var o=t.getDay(),i=t.getDate(),a=t.getMonth(),s=t.getFullYear(),u=t.getHours(),c=t.getMinutes(),d=t.getSeconds();return r.replace(/%([%aAbBcdeHIlmMpPSwyYZz])/g,function(r){var p,h=r[1];switch(h){case"%":return"%";case"a":return l[o].slice(0,3);case"A":return l[o];case"b":return f[a].slice(0,3);case"B":return f[a];case"c":return t.toString();case"d":return e(i);case"e":return i;case"H":return e(u);case"I":return e(n(t,"%l"));case"l":return 0===u||12===u?12:(u+12)%12;case"m":return e(a+1);case"M":return e(c);case"p":return u>11?"PM":"AM";case"P":return u>11?"pm":"am";case"S":return e(d);case"w":return o;case"y":return e(s%100);case"Y":return s;case"Z":return p=t.toString().match(/\((\w+)\)$/),p?p[1]:"";case"z":return p=t.toString().match(/\w([+-]\d\d\d\d) /),p?p[1]:""}})}function r(e){this.date=e}function o(){if(null!==d)return d;var e=t({day:"numeric",month:"short"});if(e){var n=e.format(new Date(0));return d=!!n.match(/^\d/)}return!1}function i(){if(null!==p)return p;var e=t({day:"numeric",month:"short",year:"numeric"});if(e){var n=e.format(new Date(0));return p=!!n.match(/\d,/)}return!0}function a(e){var t=new Date;return t.getUTCFullYear()===e.getUTCFullYear()}function s(){var e,t,n;for(t=0,n=m.length;n>t;t++)e=m[t],e.textContent=e.getFormattedDate()}function u(e){var t={weekday:{"short":"%a","long":"%A"},day:{numeric:"%e","2-digit":"%d"},month:{"short":"%b","long":"%B"},year:{numeric:"%Y","2-digit":"%y"}},r=o()?"weekday day month year":"weekday month day, year";for(var i in t){var a=t[i][e.getAttribute(i)];r=r.replace(i,a||"")}return r=r.replace(/(\s,)|(,\s$)/,""),n(e._date,r).replace(/\s+/," ").trim()}function c(e){var r={hour:e.getAttribute("hour"),minute:e.getAttribute("minute"),second:e.getAttribute("second")};for(var o in r)r[o]||delete r[o];if(0!==Object.keys(r).length){var i=t(r);if(i)return i.format(e._date);var a=r.second?"%H:%M:%S":"%H:%M";return n(e._date,a)}}var l=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],f=["January","February","March","April","May","June","July","August","September","October","November","December"];r.prototype.toString=function(){var e=this.timeElapsed();if(e)return e;var t=this.timeAhead();return t?t:"on "+this.formatDate()},r.prototype.timeElapsed=function(){var e=(new Date).getTime()-this.date.getTime(),t=Math.round(e/1e3),n=Math.round(t/60),r=Math.round(n/60),o=Math.round(r/24);return e>=0&&30>o?this.timeAgoFromMs(e):null},r.prototype.timeAhead=function(){var e=this.date.getTime()-(new Date).getTime(),t=Math.round(e/1e3),n=Math.round(t/60),r=Math.round(n/60),o=Math.round(r/24);return e>=0&&30>o?this.timeUntil():null},r.prototype.timeAgo=function(){var e=(new Date).getTime()-this.date.getTime();return this.timeAgoFromMs(e)},r.prototype.timeAgoFromMs=function(e){var t=Math.round(e/1e3),n=Math.round(t/60),r=Math.round(n/60),o=Math.round(r/24),i=Math.round(o/30),a=Math.round(i/12);return 0>e?"just now":10>t?"just now":45>t?t+" seconds ago":90>t?"a minute ago":45>n?n+" minutes ago":90>n?"an hour ago":24>r?r+" hours ago":36>r?"a day ago":30>o?o+" days ago":45>o?"a month ago":12>i?i+" months ago":18>i?"a year ago":a+" years ago"},r.prototype.microTimeAgo=function(){var e=(new Date).getTime()-this.date.getTime(),t=Math.round(e/1e3),n=Math.round(t/60),r=Math.round(n/60),o=Math.round(r/24),i=Math.round(o/30),a=Math.round(i/12);return 1>n?"1m":60>n?n+"m":24>r?r+"h":365>o?o+"d":a+"y"},r.prototype.timeUntil=function(){var e=this.date.getTime()-(new Date).getTime();return this.timeUntilFromMs(e)},r.prototype.timeUntilFromMs=function(e){var t=Math.round(e/1e3),n=Math.round(t/60),r=Math.round(n/60),o=Math.round(r/24),i=Math.round(o/30),a=Math.round(i/12);return i>=18?a+" years from now":i>=12?"a year from now":o>=45?i+" months from now":o>=30?"a month from now":r>=36?o+" days from now":r>=24?"a day from now":n>=90?r+" hours from now":n>=45?"an hour from now":t>=90?n+" minutes from now":t>=45?"a minute from now":t>=10?t+" seconds from now":"just now"},r.prototype.microTimeUntil=function(){var e=this.date.getTime()-(new Date).getTime(),t=Math.round(e/1e3),n=Math.round(t/60),r=Math.round(n/60),o=Math.round(r/24),i=Math.round(o/30),a=Math.round(i/12);return o>=365?a+"y":r>=24?o+"d":n>=60?r+"h":n>1?n+"m":"1m"};var d=null,p=null;r.prototype.formatDate=function(){var e=o()?"%e %b":"%b %e";return a(this.date)||(e+=i()?", %Y":" %Y"),n(this.date,e)},r.prototype.formatTime=function(){var e=t({hour:"numeric",minute:"2-digit"});return e?e.format(this.date):n(this.date,"%l:%M%P")};var h,m=[],v=Object.create(window.HTMLElement.prototype);v.attributeChangedCallback=function(e,t,n){if("datetime"===e){var r=Date.parse(n);this._date=isNaN(r)?null:new Date(r)}var o=this.getFormattedTitle();o&&this.setAttribute("title",o);var i=this.getFormattedDate();i&&(this.textContent=i)},v.getFormattedTitle=function(){if(this._date){if(this.hasAttribute("title"))return this.getAttribute("title");var e=t({day:"numeric",month:"short",year:"numeric",hour:"numeric",minute:"2-digit",timeZoneName:"short"});if(e)return e.format(this._date);try{return this._date.toLocaleString()}catch(n){if(n instanceof RangeError)return this._date.toString();throw n}}};var g=Object.create(v);g.createdCallback=function(){var e=this.getAttribute("datetime");e&&this.attributeChangedCallback("datetime",null,e)},g.getFormattedDate=function(){return this._date?new r(this._date).toString():void 0},g.attachedCallback=function(){m.push(this),h||(s(),h=setInterval(s,6e4))},g.detachedCallback=function(){var e=m.indexOf(this);-1!==e&&m.splice(e,1),m.length||h&&(clearInterval(h),h=null)};var y=Object.create(g);y.getFormattedDate=function(){if(this._date){var e=this.getAttribute("format");return"micro"===e?new r(this._date).microTimeAgo():new r(this._date).timeAgo()}};var w=Object.create(g);w.getFormattedDate=function(){if(this._date){var e=this.getAttribute("format");return"micro"===e?new r(this._date).microTimeUntil():new r(this._date).timeUntil()}};var b=Object.create(v);b.createdCallback=function(){var e;(e=this.getAttribute("datetime"))&&this.attributeChangedCallback("datetime",null,e),(e=this.getAttribute("format"))&&this.attributeChangedCallback("format",null,e)},b.getFormattedDate=function(){if(this._date){var e=u(this)||"",t=c(this)||"";return(e+" "+t).trim()}},window.RelativeTimeElement=document.registerElement("relative-time",{prototype:g}),window.TimeAgoElement=document.registerElement("time-ago",{prototype:y}),window.TimeUntilElement=document.registerElement("time-until",{prototype:w}),window.LocalTimeElement=document.registerElement("local-time",{prototype:b})}(),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="u2f-api-polyfill"),function(){if(!("u2f"in window)&&"chrome"in window){var e,t=window.u2f={};t.EXTENSION_ID="kmendfapggjehodndflmmgagdbamhnfd",t.MessageTypes={U2F_REGISTER_REQUEST:"u2f_register_request",U2F_REGISTER_RESPONSE:"u2f_register_response",U2F_SIGN_REQUEST:"u2f_sign_request",U2F_SIGN_RESPONSE:"u2f_sign_response",U2F_GET_API_VERSION_REQUEST:"u2f_get_api_version_request",U2F_GET_API_VERSION_RESPONSE:"u2f_get_api_version_response"},t.ErrorCodes={OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},t.U2fRequest,t.U2fResponse,t.Error,t.Transport,t.Transports,t.SignRequest,t.SignResponse,t.RegisterRequest,t.RegisterResponse,t.RegisteredKey,t.GetJsApiVersionResponse,t.getMessagePort=function(e){if("undefined"!=typeof chrome&&chrome.runtime){var n={type:t.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]};chrome.runtime.sendMessage(t.EXTENSION_ID,n,function(){chrome.runtime.lastError?t.getIframePort_(e):t.getChromeRuntimePort_(e)})}else t.isAndroidChrome_()?t.getAuthenticatorPort_(e):t.isIosChrome_()?t.getIosPort_(e):t.getIframePort_(e)},t.isAndroidChrome_=function(){var e=navigator.userAgent;return-1!=e.indexOf("Chrome")&&-1!=e.indexOf("Android")},t.isIosChrome_=function(){return $.inArray(navigator.platform,["iPhone","iPad","iPod"])>-1},t.getChromeRuntimePort_=function(e){var n=chrome.runtime.connect(t.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout(function(){e(new t.WrappedChromeRuntimePort_(n))},0)},t.getAuthenticatorPort_=function(e){setTimeout(function(){e(new t.WrappedAuthenticatorPort_)},0)},t.getIosPort_=function(e){setTimeout(function(){e(new t.WrappedIosPort_)},0)},t.WrappedChromeRuntimePort_=function(e){this.port_=e},t.formatSignRequest_=function(n,r,o,i,a){if(void 0===e||1.1>e){for(var s=[],u=0;u<o.length;u++)s[u]={version:o[u].version,challenge:r,keyHandle:o[u].keyHandle,appId:n};return{type:t.MessageTypes.U2F_SIGN_REQUEST,signRequests:s,timeoutSeconds:i,requestId:a}}return{type:t.MessageTypes.U2F_SIGN_REQUEST,appId:n,challenge:r,registeredKeys:o,timeoutSeconds:i,requestId:a}},t.formatRegisterRequest_=function(n,r,o,i,a){if(void 0===e||1.1>e){for(var s=0;s<o.length;s++)o[s].appId=n;for(var u=[],s=0;s<r.length;s++)u[s]={version:r[s].version,challenge:o[0],keyHandle:r[s].keyHandle,appId:n};return{type:t.MessageTypes.U2F_REGISTER_REQUEST,signRequests:u,registerRequests:o,timeoutSeconds:i,requestId:a}}return{type:t.MessageTypes.U2F_REGISTER_REQUEST,appId:n,registerRequests:o,registeredKeys:r,timeoutSeconds:i,requestId:a}},t.WrappedChromeRuntimePort_.prototype.postMessage=function(e){this.port_.postMessage(e)},t.WrappedChromeRuntimePort_.prototype.addEventListener=function(e,t){var n=e.toLowerCase();"message"==n||"onmessage"==n?this.port_.onMessage.addListener(function(e){t({data:e})}):console.error("WrappedChromeRuntimePort only supports onMessage")},t.WrappedAuthenticatorPort_=function(){this.requestId_=-1,this.requestObject_=null},t.WrappedAuthenticatorPort_.prototype.postMessage=function(e){var n=t.WrappedAuthenticatorPort_.INTENT_URL_BASE_+";S.request="+encodeURIComponent(JSON.stringify(e))+";end";document.location=n},t.WrappedAuthenticatorPort_.prototype.getPortType=function(){return"WrappedAuthenticatorPort_"},t.WrappedAuthenticatorPort_.prototype.addEventListener=function(e,t){var n=e.toLowerCase();if("message"==n){var r=this;window.addEventListener("message",r.onRequestUpdate_.bind(r,t),!1)}else console.error("WrappedAuthenticatorPort only supports message")},t.WrappedAuthenticatorPort_.prototype.onRequestUpdate_=function(e,t){var n=JSON.parse(t.data),r=(n.intentURL,n.errorCode,null);n.hasOwnProperty("data")&&(r=JSON.parse(n.data)),e({data:r})},t.WrappedAuthenticatorPort_.INTENT_URL_BASE_="intent:#Intent;action=com.google.android.apps.authenticator.AUTHENTICATE",t.WrappedIosPort_=function(){},t.WrappedIosPort_.prototype.postMessage=function(e){var t=JSON.stringify(e),n="u2f://auth?"+encodeURI(t);location.replace(n)},t.WrappedIosPort_.prototype.getPortType=function(){return"WrappedIosPort_"},t.WrappedIosPort_.prototype.addEventListener=function(e,t){var n=e.toLowerCase();"message"!==n&&console.error("WrappedIosPort only supports message")},t.getIframePort_=function(e){var n="chrome-extension://"+t.EXTENSION_ID,r=document.createElement("iframe");r.src=n+"/u2f-comms.html",r.setAttribute("style","display:none"),document.body.appendChild(r);var o=new MessageChannel,i=function(t){"ready"==t.data?(o.port1.removeEventListener("message",i),e(o.port1)):console.error('First event on iframe port was not "ready"')};o.port1.addEventListener("message",i),o.port1.start(),r.addEventListener("load",function(){r.contentWindow.postMessage("init",n,[o.port2])})},t.EXTENSION_TIMEOUT_SEC=30,t.port_=null,t.waitingForPort_=[],t.reqCounter_=0,t.callbackMap_={},t.getPortSingleton_=function(e){t.port_?e(t.port_):(0==t.waitingForPort_.length&&t.getMessagePort(function(e){for(t.port_=e,t.port_.addEventListener("message",t.responseHandler_);t.waitingForPort_.length;)t.waitingForPort_.shift()(t.port_)}),t.waitingForPort_.push(e))},t.responseHandler_=function(e){var n=e.data,r=n.requestId;if(!r||!t.callbackMap_[r])return void console.error("Unknown or missing requestId in response.");var o=t.callbackMap_[r];delete t.callbackMap_[r],o(n.responseData)},t.sign=function(n,r,o,i,a){void 0===e?t.getApiVersion(function(s){e=void 0===s.js_api_version?0:s.js_api_version,console.log("Extension JS API Version: ",e),t.sendSignRequest(n,r,o,i,a)}):t.sendSignRequest(n,r,o,i,a)},t.sendSignRequest=function(e,n,r,o,i){t.getPortSingleton_(function(a){var s=++t.reqCounter_;t.callbackMap_[s]=o;var u="undefined"!=typeof i?i:t.EXTENSION_TIMEOUT_SEC,c=t.formatSignRequest_(e,n,r,u,s);a.postMessage(c)})},t.register=function(n,r,o,i,a){void 0===e?t.getApiVersion(function(s){e=void 0===s.js_api_version?0:s.js_api_version,console.log("Extension JS API Version: ",e),t.sendRegisterRequest(n,r,o,i,a)}):t.sendRegisterRequest(n,r,o,i,a)},t.sendRegisterRequest=function(e,n,r,o,i){t.getPortSingleton_(function(a){var s=++t.reqCounter_;t.callbackMap_[s]=o;var u="undefined"!=typeof i?i:t.EXTENSION_TIMEOUT_SEC,c=t.formatRegisterRequest_(e,r,n,u,s);a.postMessage(c)})},t.getApiVersion=function(e,n){t.getPortSingleton_(function(r){if(r.getPortType){var o;switch(r.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":o=1.1;break;default:o=0}return void e({js_api_version:o})}var i=++t.reqCounter_;t.callbackMap_[i]=e;var a={type:t.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:"undefined"!=typeof n?n:t.EXTENSION_TIMEOUT_SEC,requestId:i};r.postMessage(a)})}}}(),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="ios-security-key"),function(e,t){var n={pingPong:function(){this.whenReady_=[],this.isReady_=!1,this.send("ping"),this.receive("pong",this.isReady),this.receive("ping",function(){this.send("pong"),this.isReady()})},receive:function(e,t){window.addEventListener("u2f-"+e,function(e){t.apply(this,e.detail)}.bind(this))},send:function(e){var t=Array.from(arguments).slice(1);window.dispatchEvent(new CustomEvent("u2f-"+e,{detail:t}))},whenReady:function(e){this.isReady_?e.apply(this):this.whenReady_.push(e)},isReady:function(){for(this.isReady_=!0;cb=this.whenReady_.shift();)cb.apply(this)}},r=function(){this.rpcRequester("register"),this.rpcRequester("sign"),this.pingPong()};r.prototype=n,r.prototype.rpcRequester=function(e){this[e]=function(){var t=Array.from(arguments);t.unshift(e+"-request");var n=t.pop();this.receive(e+"-response",n),this.whenReady(function(){this.send.apply(this,t)})}},!t.u2f&&navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)&&(t.u2f=new r),t[""]=e}({},function(){return this}()),"undefined"!=typeof define&&delete define.amd,"undefined"!=typeof define&&(define.amd="google-analytics"),function(){function e(e){x.set(e)}function t(e){if(100!=e.get(Wt)&&w(se(e,Mt))%1e4>=100*ue(e,Wt))throw"abort"}function n(e){if(W(se(e,Lt)))throw"abort"}function r(){var e=U.location.protocol;if("http:"!=e&&"https:"!=e)throw"abort"}function o(t){try{H.navigator.sendBeacon?e(42):H.XMLHttpRequest&&"withCredentials"in new H.XMLHttpRequest&&e(40)}catch(n){}t.set(dt,E(t),!0),t.set(je,ue(t,je)+1);var r=[];ie.map(function(e,n){if(n.F){var o=t.get(e);void 0!=o&&o!=n.defaultValue&&("boolean"==typeof o&&(o*=1),r.push(n.F+"="+L(""+o)))}}),r.push("z="+re()),t.set(Se,r.join("&"),!0)}function i(e){var t=se(e,$t)||J()+"/collect",n=se(e,ke);if(!n&&e.get(Ce)&&(n="beacon"),n){var r=se(e,Se),o=e.get(Te),o=o||N;"image"==n?Y(t,r,o):"xhr"==n&&Q(t,r,o)||"beacon"==n&&Z(t,r,o)||K(t,r,o)}else K(t,se(e,Se),e.get(Te));e.set(Te,N,!0)}function a(e){var t=H.gaData;t&&(t.expId&&e.set(ot,t.expId),t.expVar&&e.set(it,t.expVar))}function s(){if(H.navigator&&"preview"==H.navigator.loadPurpose)throw"abort"}function u(e){var t=H.gaDevIds;C(t)&&0!=t.length&&e.set("&did",t.join(","),!0)}function c(e){if(!e.get(Lt))throw"abort"}function l(t){var n=ue(t,ct);n>=500&&e(15);var r=se(t,Ee);if("transaction"!=r&&"item"!=r){var r=ue(t,ft),o=(new Date).getTime(),i=ue(t,lt);if(0==i&&t.set(lt,o),i=Math.round(2*(o-i)/1e3),i>0&&(r=Math.min(r+i,20),t.set(lt,o)),0>=r)throw"abort";t.set(ft,--r)}t.set(ct,++n)}function f(t,n,r,o){n[t]=function(){try{return o&&e(o),r.apply(this,arguments)}catch(n){throw ee("exc",t,n&&n.name),n}}}function d(){var e,t,n;if((n=(n=H.navigator)?n.plugins:null)&&n.length)for(var r=0;r<n.length&&!t;r++){var o=n[r];-1<o.name.indexOf("Shockwave Flash")&&(t=o.description)}if(!t)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),t=e.GetVariable("$version")}catch(i){}if(!t)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),t="WIN 6,0,21,0",e.AllowScriptAccess="always",t=e.GetVariable("$version")}catch(i){}if(!t)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),t=e.GetVariable("$version")}catch(i){}return t&&(e=t.match(/[\d]+/g))&&3<=e.length&&(t=e[0]+"."+e[1]+" r"+e[2]),t||void 0}function p(e,t,n){"none"==t&&(t="");var r=[],o=B(e);e="__utma"==e?6:2;for(var i=0;i<o.length;i++){var a=(""+o[i]).split(".");a.length>=e&&r.push({hash:a[0],R:o[i],O:a})}return 0==r.length?void 0:1==r.length?r[0]:h(t,r)||h(n,r)||h(null,r)||r[0]}function h(e,t){var n,r;null==e?n=r=1:(n=w(e),r=w(j(e,".")?e.substring(1):"."+e));for(var o=0;o<t.length;o++)if(t[o].hash==n||t[o].hash==r)return t[o]}function m(e){e=e.get(Mt);var t=v(e,0);return"_ga=1."+L(t+"."+e)}function v(e,t){for(var n=new Date,r=H.navigator,o=r.plugins||[],n=[e,r.userAgent,n.getTimezoneOffset(),n.getYear(),n.getDate(),n.getHours(),n.getMinutes()+t],r=0;r<o.length;++r)n.push(o[r].description);return w(n.join("."))}function g(e,t){if(t==U.location.hostname)return!1;for(var n=0;n<e.length;n++)if(e[n]instanceof RegExp){if(e[n].test(t))return!0}else if(0<=t.indexOf(e[n]))return!0;return!1}function y(e){return 0<=e.indexOf(".")||0<=e.indexOf(":")}function w(e){var t,n=1,r=0;if(e)for(n=0,t=e.length-1;t>=0;t--)r=e.charCodeAt(t),n=(n<<6&268435455)+r+(r<<14),r=266338304&n,n=0!=r?n^r>>21:n;return n}var b=function(e){this.w=e||[]};b.prototype.set=function(e){this.w[e]=!0},b.prototype.encode=function(){for(var e=[],t=0;t<this.w.length;t++)this.w[t]&&(e[Math.floor(t/6)]^=1<<t%6);for(t=0;t<e.length;t++)e[t]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(e[t]||0);return e.join("")+"~"};var x=new b,_=function(e,t){var n=new b(T(e));n.set(t),e.set(pt,n.w)},E=function(e){e=T(e),e=new b(e);for(var t=x.w.slice(),n=0;n<e.w.length;n++)t[n]=t[n]||e.w[n];return new b(t).encode()},T=function(e){return e=e.get(pt),C(e)||(e=[]),e},S=function(e){return"function"==typeof e},C=function(e){return"[object Array]"==Object.prototype.toString.call(Object(e))},k=function(e){return void 0!=e&&-1<(e.constructor+"").indexOf("String")},j=function(e,t){return 0==e.indexOf(t)},O=function(e){return e?e.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""):""},M=function(e){var t=U.createElement("img");return t.width=1,t.height=1,t.src=e,t},N=function(){},L=function(t){return encodeURIComponent instanceof Function?encodeURIComponent(t):(e(28),t)},P=function(t,n,r,o){try{t.addEventListener?t.addEventListener(n,r,!!o):t.attachEvent&&t.attachEvent("on"+n,r)}catch(i){e(27)}},A=function(e,t){if(e){var n=U.createElement("script");n.type="text/javascript",n.async=!0,n.src=e,t&&(n.id=t);var r=U.getElementsByTagName("script")[0];r.parentNode.insertBefore(n,r)}},D=function(){return"https:"==U.location.protocol},R=function(){var e=""+U.location.hostname;return 0==e.indexOf("www.")?e.substring(4):e},I=function(e){var t=U.referrer;if(/^https?:\/\//i.test(t)){if(e)return t;e="//"+U.location.hostname;var n=t.indexOf(e);if((5==n||6==n)&&(e=t.charAt(n+e.length),"/"==e||"?"==e||""==e||":"==e))return;return t}},q=function(e,t){if(1==t.length&&null!=t[0]&&"object"==typeof t[0])return t[0];for(var n={},r=Math.min(e.length+1,t.length),o=0;r>o;o++){if("object"==typeof t[o]){for(var i in t[o])t[o].hasOwnProperty(i)&&(n[i]=t[o][i]);break}o<e.length&&(n[e[o]]=t[o])}return n},F=function(){this.keys=[],this.values={},this.m={}};F.prototype.set=function(e,t,n){this.keys.push(e),n?this.m[":"+e]=t:this.values[":"+e]=t},F.prototype.get=function(e){return this.m.hasOwnProperty(":"+e)?this.m[":"+e]:this.values[":"+e]},F.prototype.map=function(e){for(var t=0;t<this.keys.length;t++){var n=this.keys[t],r=this.get(n);r&&e(n,r)}};var H=window,U=document,W=function(e){var t=H._gaUserPrefs;if(t&&t.ioo&&t.ioo()||e&&!0===H["ga-disable-"+e])return!0;try{var n=H.external;if(n&&n._gaUserPrefs&&"oo"==n._gaUserPrefs)return!0}catch(r){}return!1},B=function(e){var t=[],n=U.cookie.split(";");e=new RegExp("^\\s*"+e+"=\\s*(.*?)\\s*$");for(var r=0;r<n.length;r++){var o=n[r].match(e);o&&t.push(o[1])}return t},z=function(t,n,r,o,i,a){if(i=W(i)?!1:V.test(U.location.hostname)||"/"==r&&G.test(o)?!1:!0,!i)return!1;if(n&&1200<n.length&&(n=n.substring(0,1200),e(24)),r=t+"="+n+"; path="+r+"; ",a&&(r+="expires="+new Date((new Date).getTime()+a).toGMTString()+"; "),o&&"none"!=o&&(r+="domain="+o+";"),o=U.cookie,U.cookie=r,!(o=o!=U.cookie))e:{for(t=B(t),o=0;o<t.length;o++)if(n==t[o]){o=!0;break e}o=!1}return o},$=function(e){return L(e).replace(/\(/g,"%28").replace(/\)/g,"%29");
  },G=/^(www\.)?google(\.com?)?(\.[a-z]{2})?$/,V=/(^|\.)doubleclick\.net$/i,J=function(){return(ye||D()?"https:":"http:")+"//www.google-analytics.com"},X=function(e){this.name="len",this.message=e+"-8192"},K=function(e,t,n){if(n=n||N,2036>=t.length)Y(e,t,n);else{if(!(8192>=t.length))throw ee("len",t.length),new X(t.length);Z(e,t,n)||Q(e,t,n)||Y(e,t,n)}},Y=function(e,t,n){var r=M(e+"?"+t);r.onload=r.onerror=function(){r.onload=null,r.onerror=null,n()}},Q=function(e,t,n){var r=H.XMLHttpRequest;if(!r)return!1;var o=new r;return"withCredentials"in o?(o.open("POST",e,!0),o.withCredentials=!0,o.setRequestHeader("Content-Type","text/plain"),o.onreadystatechange=function(){4==o.readyState&&(n(),o=null)},o.send(t),!0):!1},Z=function(e,t,n){return H.navigator.sendBeacon&&H.navigator.sendBeacon(e,t)?(n(),!0):!1},ee=function(e,t,n){1<=100*Math.random()||W("?")||(e=["t=error","_e="+e,"_v=j41","sr=1"],t&&e.push("_f="+t),n&&e.push("_m="+L(n.substring(0,100))),e.push("aip=1"),e.push("z="+ne()),Y(J()+"/collect",e.join("&"),N))},te=function(){this.M=[]};te.prototype.add=function(e){this.M.push(e)},te.prototype.D=function(e){try{for(var t=0;t<this.M.length;t++){var n=e.get(this.M[t]);n&&S(n)&&n.call(H,e)}}catch(r){}t=e.get(Te),t!=N&&S(t)&&(e.set(Te,N,!0),setTimeout(t,10))};var ne=function(){return Math.round(2147483647*Math.random())},re=function(){try{var e=new Uint32Array(1);return H.crypto.getRandomValues(e),2147483647&e[0]}catch(t){return ne()}},oe=function(){this.data=new F},ie=new F,ae=[];oe.prototype.get=function(e){var t=fe(e),n=this.data.get(e);return t&&void 0==n&&(n=S(t.defaultValue)?t.defaultValue():t.defaultValue),t&&t.Z?t.Z(this,e,n):n};var se=function(e,t){var n=e.get(t);return void 0==n?"":""+n},ue=function(e,t){var n=e.get(t);return void 0==n||""===n?0:1*n};oe.prototype.set=function(e,t,n){if(e)if("object"==typeof e)for(var r in e)e.hasOwnProperty(r)&&ce(this,r,e[r],n);else ce(this,e,t,n)};var ce=function(e,t,n,r){if(void 0!=n)switch(t){case Lt:On.test(n)}var o=fe(t);o&&o.o?o.o(e,t,n,r):e.data.set(t,n,r)},le=function(e,t,n,r,o){this.name=e,this.F=t,this.Z=r,this.o=o,this.defaultValue=n},fe=function(e){var t=ie.get(e);if(!t)for(var n=0;n<ae.length;n++){var r=ae[n],o=r[0].exec(e);if(o){t=r[1](o),ie.set(t.name,t);break}}return t},de=function(e){var t;return ie.map(function(n,r){r.F==e&&(t=r)}),t&&t.name},pe=function(e,t,n,r,o){return e=new le(e,t,n,r,o),ie.set(e.name,e),e.name},he=function(e,t){ae.push([new RegExp("^"+e+"$"),t])},me=function(e,t,n){return pe(e,t,n,void 0,ve)},ve=function(){},ge=k(window.GoogleAnalyticsObject)&&O(window.GoogleAnalyticsObject)||"ga",ye=!1,we=pe("_br"),be=me("apiVersion","v"),xe=me("clientVersion","_v");pe("anonymizeIp","aip");var _e=pe("adSenseId","a"),Ee=pe("hitType","t"),Te=pe("hitCallback"),Se=pe("hitPayload");pe("nonInteraction","ni"),pe("currencyCode","cu"),pe("dataSource","ds");var Ce=pe("useBeacon",void 0,!1),ke=pe("transport");pe("sessionControl","sc",""),pe("sessionGroup","sg"),pe("queueTime","qt");var je=pe("_s","_s");pe("screenName","cd");var Oe=pe("location","dl",""),Me=pe("referrer","dr"),Ne=pe("page","dp","");pe("hostname","dh");var Le=pe("language","ul"),Pe=pe("encoding","de");pe("title","dt",function(){return U.title||void 0}),he("contentGroup([0-9]+)",function(e){return new le(e[0],"cg"+e[1])});var Ae=pe("screenColors","sd"),De=pe("screenResolution","sr"),Re=pe("viewportSize","vp"),Ie=pe("javaEnabled","je"),qe=pe("flashVersion","fl");pe("campaignId","ci"),pe("campaignName","cn"),pe("campaignSource","cs"),pe("campaignMedium","cm"),pe("campaignKeyword","ck"),pe("campaignContent","cc");var Fe=pe("eventCategory","ec"),He=pe("eventAction","ea"),Ue=pe("eventLabel","el"),We=pe("eventValue","ev"),Be=pe("socialNetwork","sn"),ze=pe("socialAction","sa"),$e=pe("socialTarget","st"),Ge=pe("l1","plt"),Ve=pe("l2","pdt"),Je=pe("l3","dns"),Xe=pe("l4","rrt"),Ke=pe("l5","srt"),Ye=pe("l6","tcp"),Qe=pe("l7","dit"),Ze=pe("l8","clt"),et=pe("timingCategory","utc"),tt=pe("timingVar","utv"),nt=pe("timingLabel","utl"),rt=pe("timingValue","utt");pe("appName","an"),pe("appVersion","av",""),pe("appId","aid",""),pe("appInstallerId","aiid",""),pe("exDescription","exd"),pe("exFatal","exf");var ot=pe("expId","xid"),it=pe("expVar","xvar"),at=pe("_utma","_utma"),st=pe("_utmz","_utmz"),ut=pe("_utmht","_utmht"),ct=pe("_hc",void 0,0),lt=pe("_ti",void 0,0),ft=pe("_to",void 0,20);he("dimension([0-9]+)",function(e){return new le(e[0],"cd"+e[1])}),he("metric([0-9]+)",function(e){return new le(e[0],"cm"+e[1])}),pe("linkerParam",void 0,void 0,m,ve);var dt=pe("usage","_u"),pt=pe("_um");pe("forceSSL",void 0,void 0,function(){return ye},function(t,n,r){e(34),ye=!!r});var ht=pe("_j1","jid");he("\\&(.*)",function(e){var t=new le(e[0],e[1]),n=de(e[0].substring(1));return n&&(t.Z=function(e){return e.get(n)},t.o=function(e,t,r,o){e.set(n,r,o)},t.F=void 0),t});var mt=me("_oot"),vt=pe("previewTask"),gt=pe("checkProtocolTask"),yt=pe("validationTask"),wt=pe("checkStorageTask"),bt=pe("historyImportTask"),xt=pe("samplerTask"),_t=pe("_rlt"),Et=pe("buildHitTask"),Tt=pe("sendHitTask"),St=pe("ceTask"),Ct=pe("devIdTask"),kt=pe("timingTask"),jt=pe("displayFeaturesTask"),Ot=me("name"),Mt=me("clientId","cid"),Nt=pe("userId","uid"),Lt=me("trackingId","tid"),Pt=me("cookieName",void 0,"_ga"),At=me("cookieDomain"),Dt=me("cookiePath",void 0,"/"),Rt=me("cookieExpires",void 0,63072e3),It=me("legacyCookieDomain"),qt=me("legacyHistoryImport",void 0,!0),Ft=me("storage",void 0,"cookie"),Ht=me("allowLinker",void 0,!1),Ut=me("allowAnchor",void 0,!0),Wt=me("sampleRate","sf",100),Bt=me("siteSpeedSampleRate",void 0,1),zt=me("alwaysSendReferrer",void 0,!1),$t=pe("transportUrl"),Gt=pe("_r","_r"),Vt=function(e,t,n){this.V=1e4,this.fa=e,this.$=!1,this.B=t,this.ea=n||1},Jt=function(e,t){var n;if(e.fa&&e.$)return 0;if(e.$=!0,t){if(e.B&&ue(t,e.B))return ue(t,e.B);if(0==t.get(Bt))return 0}return 0==e.V?0:(void 0===n&&(n=re()),0==n%e.V?Math.floor(n/e.V)%e.ea+1:0)},Xt=new Vt(!0,we,7),Kt=function(e){if(!D()&&!ye){var t=Jt(Xt,e);if(t&&!(!H.navigator.sendBeacon&&t>=4&&6>=t)){var n=(new Date).getHours(),r=[re(),re(),re()].join(".");e=(3==t||5==t?"https:":"http:")+"//www.google-analytics.com/collect?z=br.",e+=[t,"A",n,r].join(".");var o=1!=t%3?"https:":"http:",o=o+"//www.google-analytics.com/collect?z=br.",o=o+[t,"B",n,r].join(".");7==t&&(o=o.replace("//www.","//ssl.")),n=function(){t>=4&&6>=t?H.navigator.sendBeacon(o,""):M(o)},re()%2?(M(e),n()):(n(),M(e))}}},Yt=function(e,t){var n=Math.min(ue(e,Bt),100);if(!(w(se(e,Mt))%100>=n)&&(n={},Qt(n)||Zt(n))){var r=n[Ge];void 0==r||1/0==r||isNaN(r)||(r>0?(en(n,Je),en(n,Ye),en(n,Ke),en(n,Ve),en(n,Xe),en(n,Qe),en(n,Ze),t(n)):P(H,"load",function(){Yt(e,t)},!1))}},Qt=function(e){var t=H.performance||H.webkitPerformance,t=t&&t.timing;if(!t)return!1;var n=t.navigationStart;return 0==n?!1:(e[Ge]=t.loadEventStart-n,e[Je]=t.domainLookupEnd-t.domainLookupStart,e[Ye]=t.connectEnd-t.connectStart,e[Ke]=t.responseStart-t.requestStart,e[Ve]=t.responseEnd-t.responseStart,e[Xe]=t.fetchStart-n,e[Qe]=t.domInteractive-n,e[Ze]=t.domContentLoadedEventStart-n,!0)},Zt=function(e){if(H.top!=H)return!1;var t=H.external,n=t&&t.onloadT;return t&&!t.isValidLoadTime&&(n=void 0),n>2147483648&&(n=void 0),n>0&&t.setPageReadyTime(),void 0==n?!1:(e[Ge]=n,!0)},en=function(e,t){var n=e[t];(isNaN(n)||1/0==n||0>n)&&(e[t]=void 0)},tn=function(e){return function(t){"pageview"!=t.get(Ee)||e.I||(e.I=!0,Yt(t,function(t){e.send("timing",t)}))}},nn=!1,rn=function(t){if("cookie"==se(t,Ft)){var n=se(t,Pt),r=sn(t),o=fn(se(t,Dt)),i=cn(se(t,At)),a=1e3*ue(t,Rt),s=se(t,Lt);if("auto"!=i)z(n,r,o,i,s,a)&&(nn=!0);else{e(32);var u;if(r=[],i=R().split("."),4!=i.length||(u=i[i.length-1],parseInt(u,10)!=u)){for(u=i.length-2;u>=0;u--)r.push(i.slice(u).join("."));r.push("none"),u=r}else u=["none"];for(var c=0;c<u.length;c++)if(i=u[c],t.data.set(At,i),r=sn(t),z(n,r,o,i,s,a))return void(nn=!0);t.data.set(At,"auto")}}},on=function(e){if("cookie"==se(e,Ft)&&!nn&&(rn(e),!nn))throw"abort"},an=function(t){if(t.get(qt)){var n=se(t,At),r=se(t,It)||R(),o=p("__utma",r,n);o&&(e(19),t.set(ut,(new Date).getTime(),!0),t.set(at,o.R),(n=p("__utmz",r,n))&&o.hash==n.hash&&t.set(st,n.R))}},sn=function(e){var t=$(se(e,Mt)),n=ln(se(e,At));return e=dn(se(e,Dt)),e>1&&(n+="-"+e),["GA1",n,t].join(".")},un=function(e,t,n){for(var r,o=[],i=[],a=0;a<e.length;a++){var s=e[a];s.H[n]==t?o.push(s):void 0==r||s.H[n]<r?(i=[s],r=s.H[n]):s.H[n]==r&&i.push(s)}return 0<o.length?o:i},cn=function(e){return 0==e.indexOf(".")?e.substr(1):e},ln=function(e){return cn(e).split(".").length},fn=function(e){return e?(1<e.length&&e.lastIndexOf("/")==e.length-1&&(e=e.substr(0,e.length-1)),0!=e.indexOf("/")&&(e="/"+e),e):"/"},dn=function(e){return e=fn(e),"/"==e?1:e.split("/").length},pn=new RegExp(/^https?:\/\/([^\/:]+)/),hn=/(.*)([?&#])(?:_ga=[^&#]*)(?:&?)(.*)/,mn=function(t){e(48),this.target=t,this.T=!1};mn.prototype.ca=function(e,t){if(e.tagName){if("a"==e.tagName.toLowerCase())return void(e.href&&(e.href=vn(this,e.href,t)));if("form"==e.tagName.toLowerCase())return gn(this,e)}return"string"==typeof e?vn(this,e,t):void 0};var vn=function(e,t,n){var r=hn.exec(t);r&&3<=r.length&&(t=r[1]+(r[3]?r[2]+r[3]:"")),e=e.target.get("linkerParam");var o=t.indexOf("?"),r=t.indexOf("#");return n?t+=(-1==r?"#":"&")+e:(n=-1==o?"?":"&",t=-1==r?t+(n+e):t.substring(0,r)+n+e+t.substring(r)),t=t.replace(/&+_ga=/,"&_ga=")},gn=function(e,t){if(t&&t.action){var n=e.target.get("linkerParam").split("=")[1];if("get"==t.method.toLowerCase()){for(var r=t.childNodes||[],o=0;o<r.length;o++)if("_ga"==r[o].name)return void r[o].setAttribute("value",n);r=U.createElement("input"),r.setAttribute("type","hidden"),r.setAttribute("name","_ga"),r.setAttribute("value",n),t.appendChild(r)}else"post"==t.method.toLowerCase()&&(t.action=vn(e,t.action))}};mn.prototype.S=function(t,n,r){function o(r){try{r=r||H.event;var o;e:{var a=r.target||r.srcElement;for(r=100;a&&r>0;){if(a.href&&a.nodeName.match(/^a(?:rea)?$/i)){o=a;break e}a=a.parentNode,r--}o={}}("http:"==o.protocol||"https:"==o.protocol)&&g(t,o.hostname||"")&&o.href&&(o.href=vn(i,o.href,n))}catch(s){e(26)}}var i=this;if(this.T||(this.T=!0,P(U,"mousedown",o,!1),P(U,"keyup",o,!1)),r){r=function(e){if(e=e||H.event,(e=e.target||e.srcElement)&&e.action){var n=e.action.match(pn);n&&g(t,n[1])&&gn(i,e)}};for(var a=0;a<U.forms.length;a++)P(U.forms[a],"submit",r)}};var yn,wn=function(e,t,n){this.U=ht,this.aa=t,(t=n)||(t=(t=se(e,Ot))&&"t0"!=t?Tn.test(t)?"_gat_"+$(se(e,Lt)):"_gat_"+$(t):"_gat"),this.Y=t},bn=function(e,t){var n=t.get(Et);t.set(Et,function(t){xn(e,t);var r=n(t);return _n(e,t),r});var r=t.get(Tt);t.set(Tt,function(t){var n=r(t);return En(e,t),n})},xn=function(e,t){t.get(e.U)||("1"==B(e.Y)[0]?t.set(e.U,"",!0):t.set(e.U,""+ne(),!0))},_n=function(e,t){t.get(e.U)&&z(e.Y,"1",t.get(Dt),t.get(At),t.get(Lt),6e5)},En=function(e,t){if(t.get(e.U)){var n=new F,r=function(e){fe(e).F&&n.set(fe(e).F,t.get(e))};r(be),r(xe),r(Lt),r(Mt),r(Nt),r(e.U),n.set(fe(dt).F,E(t));var o=e.aa;n.map(function(e,t){o+=L(e)+"=",o+=L(""+t)+"&"}),o+="z="+ne(),M(o),t.set(e.U,"",!0)}},Tn=/^gtm\d+$/,Sn=function(e,t){var n=e.b;if(!n.get("dcLoaded")){_(n,29),t=t||{};var r;t[Pt]&&(r=$(t[Pt])),r=new wn(n,"https://stats.g.doubleclick.net/r/collect?t=dc&aip=1&_r=3&",r),bn(r,n),n.set("dcLoaded",!0)}},Cn=function(e){if(!e.get("dcLoaded")&&"cookie"==e.get(Ft)){_(e,51);var t=new wn(e);xn(t,e),_n(t,e),e.get(t.U)&&(e.set(Gt,1,!0),e.set($t,J()+"/r/collect",!0))}},kn=function(){var e=H.gaGlobal=H.gaGlobal||{};return e.hid=e.hid||ne()},jn=function(e,t,n){if(!yn){var r;r=U.location.hash;var o=H.name,i=/^#?gaso=([^&]*)/;(o=(r=(r=r&&r.match(i)||o&&o.match(i))?r[1]:B("GASO")[0]||"")&&r.match(/^(?:!([-0-9a-z.]{1,40})!)?([-.\w]{10,1200})$/i))&&(z("GASO",""+r,n,t,e,0),window._udo||(window._udo=t),window._utcp||(window._utcp=n),e=o[1],A("https://www.google.com/analytics/web/inpage/pub/inpage.js?"+(e?"prefix="+e+"&":"")+ne(),"_gasojs")),yn=!0}},On=/^(UA|YT|MO|GP)-(\d+)-(\d+)$/,Mn=function(e){function f(e,t){p.b.data.set(e,t)}function d(e,t){f(e,t),p.filters.add(e)}var p=this;this.b=new oe,this.filters=new te,f(Ot,e[Ot]),f(Lt,O(e[Lt])),f(Pt,e[Pt]),f(At,e[At]||R()),f(Dt,e[Dt]),f(Rt,e[Rt]),f(It,e[It]),f(qt,e[qt]),f(Ht,e[Ht]),f(Ut,e[Ut]),f(Wt,e[Wt]),f(Bt,e[Bt]),f(zt,e[zt]),f(Ft,e[Ft]),f(Nt,e[Nt]),f(be,1),f(xe,"j41"),d(mt,n),d(vt,s),d(gt,r),d(yt,c),d(wt,on),d(bt,an),d(xt,t),d(_t,l),d(St,a),d(Ct,u),d(jt,Cn),d(Et,o),d(Tt,i),d(kt,tn(this)),Nn(this.b,e[Mt]),Ln(this.b),this.b.set(_e,kn()),jn(this.b.get(Lt),this.b.get(At),this.b.get(Dt))},Nn=function(t,n){if("cookie"==se(t,Ft)){nn=!1;var r;e:{var o=B(se(t,Pt));if(o&&!(1>o.length)){r=[];for(var i=0;i<o.length;i++){var a;a=o[i].split(".");var s=a.shift();("GA1"==s||"1"==s)&&1<a.length?(s=a.shift().split("-"),1==s.length&&(s[1]="1"),s[0]*=1,s[1]*=1,a={H:s,s:a.join(".")}):a=void 0,a&&r.push(a)}if(1==r.length){e(13),r=r[0].s;break e}if(0!=r.length){if(e(14),o=ln(se(t,At)),r=un(r,o,0),1==r.length){r=r[0].s;break e}o=dn(se(t,Dt)),r=un(r,o,1),r=r[0]&&r[0].s;break e}e(12)}r=void 0}r||(r=se(t,At),o=se(t,It)||R(),r=p("__utma",o,r),void 0!=r?(e(10),r=r.O[1]+"."+r.O[2]):r=void 0),r&&(t.data.set(Mt,r),nn=!0)}if(r=t.get(Ut),(i=(r=U.location[r?"href":"search"].match("(?:&|#|\\?)"+L("_ga").replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")+"=([^&#]*)"))&&2==r.length?r[1]:"")&&(t.get(Ht)?(r=i.indexOf("."),-1==r?e(22):(o=i.substring(r+1),"1"!=i.substring(0,r)?e(22):(r=o.indexOf("."),-1==r?e(22):(i=o.substring(0,r),r=o.substring(r+1),i!=v(r,0)&&i!=v(r,-1)&&i!=v(r,-2)?e(23):(e(11),t.data.set(Mt,r)))))):e(21)),n&&(e(9),t.data.set(Mt,L(n))),!t.get(Mt))if(r=(r=H.gaGlobal&&H.gaGlobal.vid)&&-1!=r.search(/^(?:utma\.)?\d+\.\d+$/)?r:void 0)e(17),t.data.set(Mt,r);else{for(e(8),r=H.navigator.userAgent+(U.cookie?U.cookie:"")+(U.referrer?U.referrer:""),o=r.length,i=H.history.length;i>0;)r+=i--^o++;t.data.set(Mt,[ne()^2147483647&w(r),Math.round((new Date).getTime()/1e3)].join("."))}rn(t)},Ln=function(t){var n=H.navigator,r=H.screen,o=U.location;if(t.set(Me,I(t.get(zt))),o){var i=o.pathname||"";"/"!=i.charAt(0)&&(e(31),i="/"+i),t.set(Oe,o.protocol+"//"+o.hostname+i+o.search)}r&&t.set(De,r.width+"x"+r.height),r&&t.set(Ae,r.colorDepth+"-bit");var r=U.documentElement,a=(i=U.body)&&i.clientWidth&&i.clientHeight,s=[];if(r&&r.clientWidth&&r.clientHeight&&("CSS1Compat"===U.compatMode||!a)?s=[r.clientWidth,r.clientHeight]:a&&(s=[i.clientWidth,i.clientHeight]),r=0>=s[0]||0>=s[1]?"":s.join("x"),t.set(Re,r),t.set(qe,d()),t.set(Pe,U.characterSet||U.charset),t.set(Ie,n&&"function"==typeof n.javaEnabled&&n.javaEnabled()||!1),t.set(Le,(n&&(n.language||n.browserLanguage)||"").toLowerCase()),o&&t.get(Ut)&&(n=U.location.hash)){for(n=n.split(/[?&#]+/),o=[],r=0;r<n.length;++r)(j(n[r],"utm_id")||j(n[r],"utm_campaign")||j(n[r],"utm_source")||j(n[r],"utm_medium")||j(n[r],"utm_term")||j(n[r],"utm_content")||j(n[r],"gclid")||j(n[r],"dclid")||j(n[r],"gclsrc"))&&o.push(n[r]);0<o.length&&(n="#"+o.join("&"),t.set(Oe,t.get(Oe)+n))}};Mn.prototype.get=function(e){return this.b.get(e)},Mn.prototype.set=function(e,t){this.b.set(e,t)};var Pn={pageview:[Ne],event:[Fe,He,Ue,We],social:[Be,ze,$e],timing:[et,tt,rt,nt]};Mn.prototype.send=function(e){if(!(1>arguments.length)){var t,n;"string"==typeof arguments[0]?(t=arguments[0],n=[].slice.call(arguments,1)):(t=arguments[0]&&arguments[0][Ee],n=arguments),t&&(n=q(Pn[t]||[],n),n[Ee]=t,this.b.set(n,void 0,!0),this.filters.D(this.b),this.b.data.m={},Kt(this.b))}};var An,Dn,Rn,In=function(e){return"prerender"==U.visibilityState?!1:(e(),!0)},qn=/^(?:(\w+)\.)?(?:(\w+):)?(\w+)$/,Fn=function(e){if(S(e[0]))this.u=e[0];else{var t=qn.exec(e[0]);if(null!=t&&4==t.length&&(this.c=t[1]||"t0",this.K=t[2]||"",this.C=t[3],this.a=[].slice.call(e,1),this.K||(this.A="create"==this.C,this.i="require"==this.C,this.g="provide"==this.C,this.ba="remove"==this.C),this.i&&(3<=this.a.length?(this.X=this.a[1],this.W=this.a[2]):this.a[1]&&(k(this.a[1])?this.X=this.a[1]:this.W=this.a[1]))),t=e[1],e=e[2],!this.C)throw"abort";if(this.i&&(!k(t)||""==t))throw"abort";if(this.g&&(!k(t)||""==t||!S(e)))throw"abort";if(y(this.c)||y(this.K))throw"abort";if(this.g&&"t0"!=this.c)throw"abort"}};An=new F,Rn=new F,Dn={ec:45,ecommerce:46,linkid:47};var Hn=function(e){function t(e){var t=(e.hostname||"").split(":")[0].toLowerCase(),n=(e.protocol||"").toLowerCase(),n=1*e.port||("http:"==n?80:"https:"==n?443:"");return e=e.pathname||"",j(e,"/")||(e="/"+e),[t,""+n,e]}var n=U.createElement("a");n.href=U.location.href;var r=(n.protocol||"").toLowerCase(),o=t(n),i=n.search||"",a=r+"//"+o[0]+(o[1]?":"+o[1]:"");return j(e,"//")?e=r+e:j(e,"/")?e=a+e:!e||j(e,"?")?e=a+o[2]+(e||i):0>e.split("/")[0].indexOf(":")&&(e=a+o[2].substring(0,o[2].lastIndexOf("/"))+"/"+e),n.href=e,r=t(n),{protocol:(n.protocol||"").toLowerCase(),host:r[0],port:r[1],path:r[2],query:n.search||"",url:e||""}},Un={ga:function(){Un.f=[]}};Un.ga(),Un.D=function(e){var t=Un.J.apply(Un,arguments),t=Un.f.concat(t);for(Un.f=[];0<t.length&&!Un.v(t[0])&&(t.shift(),!(0<Un.f.length)););Un.f=Un.f.concat(t)},Un.J=function(t){for(var n=[],r=0;r<arguments.length;r++)try{var o=new Fn(arguments[r]);if(o.g)An.set(o.a[0],o.a[1]);else{if(o.i){var i=o,a=i.a[0];if(!S(An.get(a))&&!Rn.get(a)){Dn.hasOwnProperty(a)&&e(Dn[a]);var s=i.X;if(!s&&Dn.hasOwnProperty(a)?(e(39),s=a+".js"):e(43),s){s&&0<=s.indexOf("/")||(s=(ye||D()?"https:":"http:")+"//www.google-analytics.com/plugins/ua/"+s);var u,c=Hn(s),i=void 0,l=c.protocol,f=U.location.protocol,i="https:"==l||l==f?!0:"http:"!=l?!1:"http:"==f;if(u=i){var i=c,d=Hn(U.location.href);if(i.query||0<=i.url.indexOf("?")||0<=i.path.indexOf("://"))u=!1;else if(i.host==d.host&&i.port==d.port)u=!0;else{var p="http:"==i.protocol?80:443;u="www.google-analytics.com"==i.host&&(i.port||p)==p&&j(i.path,"/plugins/")?!0:!1}}u&&(A(c.url),Rn.set(a,!0))}}}n.push(o)}}catch(h){}return n},Un.v=function(e){try{if(e.u)e.u.call(H,Wn.j("t0"));else{var t=e.c==ge?Wn:Wn.j(e.c);if(e.A)"t0"==e.c&&Wn.create.apply(Wn,e.a);else if(e.ba)Wn.remove(e.c);else if(t)if(e.i){var n,r=e.a[0],o=e.W;t==Wn||t.get(Ot);var i=An.get(r);if(S(i)?(t.plugins_=t.plugins_||new F,t.plugins_.get(r)||t.plugins_.set(r,new i(t,o||{})),n=!0):n=!1,!n)return!0}else if(e.K){var a=e.C,s=e.a,u=t.plugins_.get(e.K);u[a].apply(u,s)}else t[e.C].apply(t,e.a)}}catch(c){}};var Wn=function(t){e(1),Un.D.apply(Un,[arguments])};Wn.h={},Wn.P=[],Wn.L=0,Wn.answer=42;var Bn=[Lt,At,Ot];Wn.create=function(e){var t=q(Bn,[].slice.call(arguments));t[Ot]||(t[Ot]="t0");var n=""+t[Ot];return Wn.h[n]?Wn.h[n]:(t=new Mn(t),Wn.h[n]=t,Wn.P.push(t),t)},Wn.remove=function(e){for(var t=0;t<Wn.P.length;t++)if(Wn.P[t].get(Ot)==e){Wn.P.splice(t,1),Wn.h[e]=null;break}},Wn.j=function(e){return Wn.h[e]},Wn.getAll=function(){return Wn.P.slice(0)},Wn.N=function(){"ga"!=ge&&e(49);var t=H[ge];if(!t||42!=t.answer){Wn.L=t&&t.l,Wn.loaded=!0;var n=H[ge]=Wn;if(f("create",n,n.create),f("remove",n,n.remove),f("getByName",n,n.j,5),f("getAll",n,n.getAll,6),n=Mn.prototype,f("get",n,n.get,7),f("set",n,n.set,4),f("send",n,n.send),n=oe.prototype,f("get",n,n.get),f("set",n,n.set),!D()&&!ye){e:{for(var n=U.getElementsByTagName("script"),r=0;r<n.length&&100>r;r++){var o=n[r].src;if(o&&0==o.indexOf("https://www.google-analytics.com/analytics")){e(33),n=!0;break e}}n=!1}n&&(ye=!0)}D()||ye||!Jt(new Vt)||(e(36),ye=!0),(H.gaplugins=H.gaplugins||{}).Linker=mn,n=mn.prototype,An.set("linker",mn),f("decorate",n,n.ca,20),f("autoLink",n,n.S,25),An.set("displayfeatures",Sn),An.set("adfeatures",Sn),t=t&&t.q,C(t)?Un.D.apply(Wn,t):e(50)}},Wn.da=function(){for(var e=Wn.getAll(),t=0;t<e.length;t++)e[t].get(Ot)},function(){var t=Wn.N;if(!In(t)){e(16);var n=!1,r=function(){if(!n&&In(t)){n=!0;var e=r,o=U;o.removeEventListener?o.removeEventListener("visibilitychange",e,!1):o.detachEvent&&o.detachEvent("onvisibilitychange",e)}};P(U,"visibilitychange",r)}}()}(window),"undefined"!=typeof define&&delete define.amd,define("github/observe",["exports","./jquery","selector-set","./setimmediate"],function(e,t,n,r){function o(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){var n=void 0,r=void 0,o=void 0;(n=M.get(e))||(n=[],M.set(e,n)),-1===n.indexOf(t.id)&&(null!=t.initialize&&(r=t.initialize.call(e,e)),!r||"length"in r||((o=L.get(e))||(o={},L.set(e,o)),o[t.id]=r),n.push(t.id))}function a(e,t){var n=void 0,r=void 0,o=void 0,i=void 0;if((n=N.get(e))||(n=[],N.set(e,n)),-1===n.indexOf(t.id)){t.elements.push(e);var a=null!=(r=L.get(e))?r[t.id]:void 0;a&&null!=(o=a.add)&&o.call(e,e),null!=(i=t.add)&&i.call(e,e),n.push(t.id)}}function s(e,t){var n=void 0,r=void 0,o=void 0,i=void 0,a=void 0,s=void 0,u=void 0,c=void 0,l=void 0,f=void 0,d=void 0;if(n=N.get(e))if(t){if(i=t.elements.indexOf(e),-1!==i&&t.elements.splice(i,1),i=n.indexOf(t.id),-1!==i){var p=null!=(s=L.get(e))?s[t.id]:void 0;p&&null!=(u=p.remove)&&u.call(e,e),null!=(c=t.remove)&&c.call(e,e),n.splice(i,1)}0===n.length&&N["delete"](e)}else{for(l=n.slice(0),r=0,a=l.length;a>r;r++)if(o=l[r],t=j[o]){i=t.elements.indexOf(e),-1!==i&&t.elements.splice(i,1);var h=L.get(e),m=void 0;null!=h&&(m=h[t.id]),m&&null!=(f=m.remove)&&f.call(e,e),null!=(d=t.remove)&&d.call(e,e)}N["delete"](e)}}function u(e,t){var n=void 0,r=void 0,o=void 0,i=void 0,a=void 0,s=void 0,u=void 0,c=void 0,l=void 0,f=void 0,d=void 0,p=void 0;for(i=0,c=t.length;c>i;i++){var h=t[i];if(h.nodeType===Node.ELEMENT_NODE){var m=O.matches(h);for(a=0,l=m.length;l>a;a++)n=m[a].data,e.push(["add",h,n]);var v=O.queryAll(h);for(s=0,f=v.length;f>s;s++)for(p=v[s],n=p.data,o=p.elements,u=0,d=o.length;d>u;u++)r=o[u],e.push(["add",r,n])}}}function c(e,t){var n=void 0,r=void 0,o=void 0,i=void 0,a=void 0;for(r=0,i=t.length;i>r;r++){var s=t[r];if(s.nodeType===Node.ELEMENT_NODE){e.push(["remove",s]);var u=s.getElementsByTagName("*");for(o=0,a=u.length;a>o;o++)n=u[o],e.push(["remove",n])}}}function l(e){var t=void 0,n=void 0,r=void 0,o=void 0,i=void 0,a=void 0;for(n=0,o=j.length;o>n;n++){var s=j[n];if(s)for(a=s.elements,r=0,i=a.length;i>r;r++)t=a[r],t.parentNode||e.push(["remove",t])}}function f(e,t){var n=void 0,r=void 0,o=void 0,i=void 0,a=void 0,s=void 0;if(t.nodeType===Node.ELEMENT_NODE){var u=O.matches(t);for(r=0,a=u.length;a>r;r++)n=u[r].data,e.push(["add",t,n]);var c=N.get(t);if(c)for(i=0,s=c.length;s>i;i++){o=c[i];var l=j[o];l&&(O.matchesSelector(t,l.selector)||e.push(["remove",t,l]))}}}function d(e,t){var n=void 0,r=void 0,o=void 0;if(t.nodeType===Node.ELEMENT_NODE){f(e,t);var i=t.getElementsByTagName("*");for(r=0,o=i.length;o>r;r++)n=i[r],f(e,n)}}function p(e){var t=void 0,n=void 0,r=void 0,o=void 0,u=void 0,c=void 0;for(n=0,r=e.length;r>n;n++)u=e[n],c=u[0],t=u[1],o=u[2],"add"===c?(i(t,o),a(t,o)):"remove"===c&&s(t,o)}function h(e){var t=void 0,n=void 0,r=e.elements;for(t=0,n=r.length;n>t;t++){var o=r[t];s(o,e)}O.remove(e.selector,e),delete j[e.id],A--}function m(e,t){null!=t.call&&(t={initialize:t});var n={id:k++,selector:e,initialize:t.initialize||t.init,add:t.add,remove:t.remove,elements:[],stop:function(){return h(n)}};return O.add(e,n),j[n.id]=n,v(),A++,n}function v(){return P?void 0:(S["default"](g),P=!0)}function g(){var e=[];return u(e,[document.documentElement]),p(e),P=!1}function y(){return A}function w(e){var t=[];d(t,e),p(t)}function b(){var e=void 0,t=void 0,n=void 0,r=void 0,o=void 0,i=void 0,a=void 0,s=[],u=D;for(D=[],n=0,o=u.length;o>n;n++)for(a=u[n],t=a.form?a.form.elements:a.ownerDocument.getElementsByTagName("input"),r=0,i=t.length;i>r;r++)e=t[r],f(s,e);p(s)}function x(e){D.push(e.target),S["default"](b)}function _(e){var t=void 0,n=void 0,r=void 0,o=[];for(t=0,n=e.length;n>t;t++)r=e[t],"childList"===r.type?(u(o,r.addedNodes),c(o,r.removedNodes)):"attributes"===r.type&&f(o,r.target);C&&l(o),p(o)}Object.defineProperty(e,"__esModule",{value:!0}),e.observe=m,e.getObserverCount=y,e.triggerObservers=w;var E=o(t),T=o(n),S=o(r),C=function(){var e=document.createElement("div"),t=document.createElement("div"),n=document.createElement("div");return e.appendChild(t),t.appendChild(n),e.innerHTML="",n.parentNode!==t}(),k=0,j=[],O=new T["default"];O.querySelectorAll=E["default"].find,O.matchesSelector=E["default"].find.matchesSelector;var M=new WeakMap,N=new WeakMap,L=new WeakMap,P=!1,A=0,D=[];document.addEventListener("change",x,!1),E["default"](document).on("change",x);var R=new MutationObserver(_);E["default"](function(){R.observe(document,{childList:!0,attributes:!0,subtree:!0});var e=[];u(e,[document.documentElement]),p(e)},!1)}),function(){function e(e){return"TEXTAREA"===e.nodeName||"INPUT"===e.nodeName&&"button"!==e.type&&"submit"!==e.type&&"reset"!==e.type}var t=require("jquery"),n=require("github/observe"),r=n.observe,o=void 0,i=void 0,a=void 0,s=void 0,u=void 0,c=void 0,l=void 0;s=o={},c=null,l=function(){return c=null,o=s},t(document).on("keydown",function(t){var n=t;if(!t.isFormInteraction()){c&&clearTimeout(c);var r=o[t.hotkey];if(r){if(!("nodeType"in r))return o=r,void(c=setTimeout(l,1500));l();var i=new CustomEvent("hotkey:activate",{bubbles:!0,cancelable:!0});i.originalEvent=n,r.dispatchEvent(i)&&(e(r)?r.focus():r.click()),t.preventDefault()}else l()}}),i=function(e){var t=void 0,n=void 0,r=void 0,o=void 0,i=void 0;for(o=e.getAttribute("data-hotkey").split(/\s*,\s*/),i=[],n=0,r=o.length;r>n;n++)t=o[n],i.push(t.split(/\s+/));return i},a=function(e){var t=void 0,n=void 0,r=void 0,o=void 0,a=void 0,u=void 0,c=void 0,l=void 0,f=void 0;for(l=i(e),f=[],r=0,u=l.length;u>r;r++)a=l[r],c=s,f.push(function(){var r=void 0,i=void 0,s=void 0;for(s=[],n=r=0,i=a.length;i>r;n=++r)o=a[n],n<a.length-1?(t=c[o],(!t||"nodeType"in t)&&(c[o]={}),s.push(c=c[o])):s.push(c[o]=e);return s}());return f},u=function(e){var n=void 0,r=void 0,i=void 0,u=void 0;for(s=o={},i=t("[data-hotkey]"),u=[],n=0,r=i.length;r>n;n++)e=i[n],u.push(a(e));return u},r("[data-hotkey]",{add:a,remove:u})}.call(this),define("github/hotkey",["exports"],function(e){function t(e){var t=n[e.which],o="";if(e.ctrlKey&&"ctrl"!==t&&(o+="ctrl+"),e.altKey&&"alt"!==t&&(o+="alt+"),e.metaKey&&!e.ctrlKey&&"meta"!==t&&(o+="meta+"),e.shiftKey){var i=r[e.which];return i?o+i:"shift"===t?o+"shift":t?o+"shift+"+t:null}return t?o+t:null}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=t;var n={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",91:"meta",93:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",186:"",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'}}),function(){function e(e){var t=void 0,n=void 0;return e.nodeType!==Node.ELEMENT_NODE?!1:(t=e.nodeName.toLowerCase(),n=(e.getAttribute("type")||"").toLowerCase(),"select"===t||"textarea"===t||"input"===t&&"submit"!==n&&"reset"!==n)}function t(t){var n=void 0;return null==t.hotkey&&(t.hotkey=r(t)),n=null,null==t.isFormInteraction&&(t.isFormInteraction=function(){return null!=n?n:n=e(this.target)}),t.handleObj.handler.apply(this,arguments)}var n=require("jquery"),r=require("github/hotkey")["default"];n.event.special.keydown={handle:t},n.event.special.keyup={handle:t}}(),define("github/once",["exports"],function(e){function t(e,t){return new Promise(function(n){e.addEventListener(t,function r(o){e.removeEventListener(t,r),n(o)})})}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=t}),define("github/code-editor",["exports","./once"],function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}function r(e){return s.get(e)}function o(e,t){s.set(e,t)}function i(e){var t;return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(t=s.get(e),!t){n.next=5;break}return n.abrupt("return",t);case 5:return n.next=7,regeneratorRuntime.awrap(a["default"](e,"codeEditor:ready"));case 7:return n.abrupt("return",s.get(e));case 8:case"end":return n.stop()}},null,this)}Object.defineProperty(e,"__esModule",{value:!0}),e.getCodeEditor=r,e.setCodeEditor=o,e.getAsyncCodeEditor=i;var a=n(t),s=new WeakMap}),define("github/debounce",["exports"],function(e){function t(e,t){var n=void 0;return function(){function r(){clearTimeout(n),e.apply(o,i)}var o=this,i=arguments;clearTimeout(n),n=setTimeout(r,t)}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=t}),define("github/dimensions",["exports","./jquery"],function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}function r(e){var t=e.ownerDocument;if(t&&e!==t.body){for(;e!==t.body;){if(e=e.parentElement,!e)return;var n=a["default"](e).css("overflow-y"),r=a["default"](e).css("overflow-x");if("auto"===n||"auto"===r||"scroll"===n||"scroll"===r)break}return e}}function o(e,t){var n=e.ownerDocument;if(n){null==t&&(t=n.body);var r=i(e,t);if(r){var o=void 0;t.offsetParent?o={top:a["default"](t).scrollTop(),left:a["default"](t).scrollLeft()}:(o={top:a["default"](n.defaultView).scrollTop(),left:a["default"](n.defaultView).scrollLeft()},t=n.documentElement);var s=r.top-o.top,u=r.left-o.left,c=t.clientHeight,l=t.clientWidth,f=c-(s+e.offsetHeight),d=l-(u+e.offsetWidth);return{top:s,left:u,bottom:f,right:d,height:c,width:l}}}}function i(e,t){var n=e.ownerDocument;if(n){for(var r=0,o=0,i=e.offsetHeight,s=e.offsetWidth;e!==n.body&&e!==t;)if(r+=e.offsetTop||0,o+=e.offsetLeft||0,e=e.offsetParent,!e)return;var u=void 0,c=void 0;t&&t.offsetParent?(u=t.scrollHeight,c=t.scrollWidth):(u=a["default"](n).height(),c=a["default"](n).width());var l=u-(r+i),f=c-(o+s);return{top:r,left:o,bottom:l,right:f}}}Object.defineProperty(e,"__esModule",{value:!0}),e.overflowParent=r,e.overflowOffset=o,e.positionedOffset=i;var a=n(t)}),define("github/document-ready",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0});e.ready=function(){return"interactive"===document.readyState||"complete"===document.readyState?Promise.resolve():new Promise(function(e){document.addEventListener("DOMContentLoaded",e)})}(),e.loaded=function(){return"complete"===document.readyState?Promise.resolve():new Promise(function(e){window.addEventListener("load",e)})}()}),define("github/facebox",["exports","./jquery"],function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}function r(){return s(),1===v["default"](".facebox-loading").length?!0:(d(),v["default"](".facebox-content").empty().append('<div class="facebox-loading"></div>'),v["default"](".facebox").show().css({top:u()[1]+c()/10,left:v["default"](window).width()/2-v["default"](".facebox-popup").outerWidth()/2}),v["default"](document).bind("keydown.facebox",function(e){return 27===e.keyCode&&i(),!0}),void m(document,"facebox:loading"))}function o(e,t){v["default"](document).trigger("beforeReveal.facebox"),t&&v["default"](".facebox-content").addClass(t),v["default"](".facebox-content").empty().append(e),v["default"](".facebox-loading").remove(),v["default"](".facebox-popup").children().fadeIn("normal"),v["default"](".facebox").css("left",v["default"](window).width()/2-v["default"](".facebox-popup").outerWidth()/2),v["default"](".facebox-header").attr("tabindex","-1"),v["default"](".facebox-content [data-facebox-id]").each(function(){v["default"](this).attr("id",v["default"](this).attr("data-facebox-id"))}),v["default"](".facebox .facebox-header").focus(),m(document,"facebox:reveal"),v["default"](document).trigger("afterReveal.facebox")}function i(){return m(document,"facebox:close"),
  !1}function a(e,t){function n(t){t.preventDefault(),r(!0);var n=e.rel.match(/facebox\[?\.(\w+)\]?/);n&&(n=n[1]),l(e.href,n)}if(0!==v["default"](e).length)return s(t),v["default"](e).bind("click.facebox",n)}function s(e){return g.inited?!0:(g.inited=!0,v["default"](document).trigger("init.facebox"),void(e&&v["default"].extend(g,e)))}function u(){var e=void 0,t=void 0;return self.pageYOffset?(t=self.pageYOffset,e=self.pageXOffset):document.documentElement&&document.documentElement.scrollTop?(t=document.documentElement.scrollTop,e=document.documentElement.scrollLeft):document.body&&(t=document.body.scrollTop,e=document.body.scrollLeft),new Array(e,t)}function c(){var e=void 0;return self.innerHeight?e=self.innerHeight:document.documentElement&&document.documentElement.clientHeight?e=document.documentElement.clientHeight:document.body&&(e=document.body.clientHeight),e}function l(e,t){if(e.match(/#/)){var n=window.location.href.split("#")[0],r=e.replace(n,"");if("#"===r)return;o(v["default"](r).html(),t)}}function f(){return g.overlay===!1||null===g.opacity}function d(){return f()?void 0:(0===v["default"](".facebox-overlay").length&&v["default"]("body").append('<div class="facebox-overlay facebox-overlay-hide"></div>'),v["default"](".facebox-overlay").hide().addClass("facebox-overlay-active").css("opacity",g.opacity).click(function(){m(document,"facebox:close")}).fadeIn(200),!1)}function p(){return f()?void 0:(v["default"](".facebox-overlay").fadeOut(200,function(){v["default"](".facebox-overlay").removeClass("facebox-overlay-active"),v["default"](".facebox-overlay").addClass("facebox-overlay-hide"),v["default"](".facebox-overlay").remove()}),!1)}function h(){v["default"](document).unbind("keydown.facebox"),v["default"](".facebox").fadeOut(function(){v["default"](".facebox-content").removeClass().addClass("facebox-content"),v["default"](".facebox-loading").remove(),m(document,"facebox:afterClose")}),p()}function m(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n}))}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=function(e,t){return r(),new Promise(function(n){v["default"](document).one("facebox:reveal",function(){n(v["default"](".facebox-content")[0])}),e.div?l(e.div,t):v["default"].isFunction(e)?e.call(v["default"]):o(e,t)})},e.close=i,e.addFaceboxEventListener=a,e.teardownOnClose=h;var v=n(t),g={opacity:.5,overlay:!0}}),define("github/emoji-detection",["exports"],function(e){function t(e,t){var r=e.getContext("2d");n(r,t);for(var o=!1,i=r.getImageData(0,16,64,1).data,a=0;64>=a;a++)if(32>=a)(i[4*a]||i[4*a+1]||i[4*a+2])&&(o=!0);else if(a>=48&&i[4*a+3]>0){o=!1;break}return o}function n(e,t){e.clearRect(0,0,400,400),e.fillStyle="#000",e.textBaseline="top",e.font='32px "Apple Color Emoji", "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", Arial',e.fillText(t+"___",0,0)}function r(){try{var e=document.createElement("canvas");return{"6.0":t(e,s),8.3:t(e,u),9.1:t(e,c),"10.0":t(e,l)}}catch(n){return{}}}function o(){if(null!==f)return f;var e=r();f=0;for(var t in e){var n=parseFloat(t);e[t]&&n>f&&(f=n)}return f}function i(e){var t=e.codePointAt(0);return t>=d&&p>=t}function a(e,t){return t=t?parseFloat(t):h,o()>=t&&!(m&&i(e))}Object.defineProperty(e,"__esModule",{value:!0}),e.detectEmoji=t,e.drawEmoji=n,e.detectEmojiSupportLevel=o,e.isEmojiSupported=a;var s=e.ios6emoji=String.fromCharCode(55357)+String.fromCharCode(56836),u=e.ios83emoji=String.fromCharCode(55357)+String.fromCharCode(56425)+String.fromCharCode(8205)+String.fromCharCode(10084)+String.fromCharCode(65039)+String.fromCharCode(8205)+String.fromCharCode(55357)+String.fromCharCode(56425),c=e.ios91emoji=String.fromCharCode(55358)+String.fromCharCode(56708),l=e.ios100emoji=String.fromCharCode(55357)+String.fromCharCode(56693)+String.fromCharCode(65039)+String.fromCharCode(8205)+String.fromCharCode(9792)+String.fromCharCode(65039),f=null,d=127462,p=127487,h=6,m=/\bWindows\b/.test(navigator.userAgent)}),define("github/timezone",["exports"],function(e){function t(){if("Intl"in window)try{var e=new Intl.DateTimeFormat;return e.resolvedOptions().timeZone}catch(t){if(!(t instanceof RangeError))throw t}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=t}),define("github/feature-detection",["exports","./emoji-detection","./timezone"],function(e,t,n){function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return"function"==typeof e&&e.toString().match(/native code/)?!0:!1}function i(e,t){return e&&t in e&&o(e[t])?!0:!1}function a(){if(!i(window,"CustomEvent"))return!1;try{var e=new CustomEvent("test",{detail:"supported"});return"supported"===e.detail}catch(t){return!1}}function s(){return f.classList?(c.classList.add("a","b"),c.classList.contains("b")):!1}Object.defineProperty(e,"__esModule",{value:!0});var u=r(n),c=document.createElement("input"),l=t.detectEmojiSupportLevel(),f={emojiSupportLevel:l,CustomEvent:a(),registerElement:i(document,"registerElement"),Promise:i(window,"Promise"),URL:i(window,"URL"),URLSearchParams:i(window,"URLSearchParams"),WeakMap:i(window,"WeakMap"),fetch:i(window,"fetch"),closest:i(c,"closest"),matches:i(c,"matches"),stringEndsWith:i(String.prototype,"endsWith"),stringStartsWith:i(String.prototype,"startsWith"),performanceNow:i(window.performance,"now"),performanceMark:i(window.performance,"mark"),performanceGetEntries:i(window.performance,"getEntries"),timezone:!!u["default"](),u2f:!!window.u2f||document.documentElement.classList.contains("is-u2f-enabled"),sendBeacon:i(window.navigator,"sendBeacon")};f.classList=i("classList"in c&&c.classList,"add"),f.classListMultiArg=s(),e["default"]=f}),define("github/html-safe",["exports"],function(e){function t(e){var t=e.querySelector("meta[name=html-safe-nonce]")||{},n=t.content;if(n)return n;throw new Error("could not find html-safe-nonce on document")}function n(e,t){var n=t.headers.get("content-type")||"";if(!n.startsWith("text/html"))throw new Error("expected response with text/html, but was "+n);var r=t.headers.get("x-html-safe")||"";if(r!==e)throw new Error("response X-HTML-Safe nonce did not match");return t}Object.defineProperty(e,"__esModule",{value:!0}),e.getDocumentHtmlSafeNonce=t,e.verifyResponseHtmlSafeNonce=n}),define("github/parse-html",["exports"],function(e){function t(e,t){var n=e.createElement("template");if("content"in n)return n.innerHTML=t,e.importNode(n.content,!0);var r=function(){var n=e.createDocumentFragment(),r=e.implementation.createHTMLDocument();return r.body.innerHTML=t,Array.from(r.body.childNodes).forEach(function(e){return n.appendChild(e)}),{v:n}}();return"object"==typeof r?r.v:void 0}Object.defineProperty(e,"__esModule",{value:!0}),e.parseHTML=t}),define("github/fetch",["exports","./html-safe","./parse-html"],function(e,t,n){function r(e){if(e.status>=200&&e.status<300)return e;var t=new Error(e.statusText||e.status);throw t.response=e,t}function o(e){return null==e.headers&&(e.headers={}),e.headers["X-Requested-With"]="XMLHttpRequest",e}function i(e){return null==e.credentials&&(e.credentials="same-origin"),e}function a(e){return e.json()}function s(e){return e.text()}function u(e,t){return t=o(i(t||{})),self.fetch(e,t).then(r)}function c(e,t){return t=o(i(t||{})),self.fetch(e,t).then(r).then(s)}function l(e,t){return t=o(i(t||{})),t.headers.Accept="application/json",self.fetch(e,t).then(r).then(a)}function f(e,a,s){var u;return regeneratorRuntime.async(function(c){for(;;)switch(c.prev=c.next){case 0:return s=o(i(s||{})),c.next=3,regeneratorRuntime.awrap(self.fetch(a,s));case 3:return u=c.sent,r(u),t.verifyResponseHtmlSafeNonce(t.getDocumentHtmlSafeNonce(e),u),c.t0=e,c.next=9,regeneratorRuntime.awrap(u.text());case 9:return c.t1=c.sent,c.abrupt("return",n.parseHTML(c.t0,c.t1));case 11:case"end":return c.stop()}},null,this)}function d(e,t){return new Promise(function(n,r){function o(i){function a(e){switch(e.status){case 200:n(e);break;case 202:setTimeout(function(){return o(1.5*i)},i);break;default:var t=new Error(e.statusText||e.status);t.response=e,r(t)}}u(e,t).then(a,r)}o(1e3)})}Object.defineProperty(e,"__esModule",{value:!0}),e.fetch=u,e.fetchText=c,e.fetchJSON=l,e.fetchSafeDocumentFragment=f,e.fetchPoll=d}),define("github/focused",["exports","./jquery"],function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}function r(e,t,n){var r=n.focusin,o=n.focusout,i=void 0;i=t?a["default"](e).find(t).filter(document.activeElement)[0]:a["default"](e).filter(document.activeElement)[0],i&&r&&r.call(i),a["default"](e).on("focusin",t,function(){i||(i=this,r&&r.call(this))}),a["default"](e).on("focusout",t,function(){i&&(i=null,o&&o.call(this))})}function o(e,t,n){var o="focusKeydown"+Math.floor(1e3*Math.random());r(e,t,{focusin:function(){var e=n.call(this,o);e&&a["default"](this).on("keydown."+o,e)},focusout:function(){a["default"](this).off("."+o)}})}function i(e,t,n){var o="focusInput"+Math.floor(1e3*Math.random());r(e,t,{focusin:function(){var e=n.call(this,o);e&&a["default"](this).on("input."+o,e)},focusout:function(){a["default"](this).off("."+o)}})}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=r,e.onFocusedKeydown=o,e.onFocusedInput=i;var a=n(t)}),define("github/fragment-target",["exports"],function(e){function t(e){var t=arguments.length<=1||void 0===arguments[1]?location.hash:arguments[1],r=decodeURIComponent(t.slice(1));return n(e,r)}function n(e,t){return e.getElementById(t)||e.getElementsByName(t)[0]}Object.defineProperty(e,"__esModule",{value:!0}),e.findFragmentTarget=t,e.findElementByFragmentName=n}),define("github/google-analytics",["exports","./setimmediate"],function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}function r(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];t.page=e,t.transport="xhr",ga("send","pageview",t)}function o(e,t){ga("set",e,t)}function i(e){ga("set",{location:e})}function a(e){ga("set",{title:e})}function s(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];ga("create",e,t,n)}function u(e){ga(function(t){var n=t.get("sendHitTask");t.set("sendHitTask",function(t){return e(n,t,t.get("hitPayload"))})})}function c(e){this.name="InvalidGAEventValueError",this.message="The event value in '"+JSON.stringify(e)+"' has to be an integer."}function l(e){if(void 0!==e.value)if(d.test(e.value))e.value=Number(e.value);else{var t=function(){var t=new c(e);return f["default"](function(){throw t}),{v:void 0}}();if("object"==typeof t)return t.v}void 0===e.interactive&&(e.interactive=!0),ga("send","event",e.category,e.action,e.label,e.value,{nonInteraction:!e.interactive,transport:"xhr"})}Object.defineProperty(e,"__esModule",{value:!0}),e.trackPageview=r,e.setDimension=o,e.setGlobalLocation=i,e.setGlobalTitle=a,e.setGlobalAccount=s,e.addSendHook=u,e.trackEvent=l;var f=n(t);window.ga||(window.ga=function(){window.ga.q.push(arguments)},window.ga.q=[]),c.prototype=Error.prototype;var d=/^\d+$/}),define("github/hash-change",["exports","./document-ready"],function(e,t){function n(e){i.push(e),t.ready.then(r)}function r(){var e=a;a=i.length,o(i.slice(e),null,window.location.href)}function o(e,t,n){var r=window.location.hash.slice(1),o=r&&document.getElementById(r)||window,i={oldURL:t,newURL:n,target:o};e.forEach(function(e){return e.call(o,i)})}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n;var i=[],a=0;n.clear=function(){i.length=a=0};var s=window.location.href;window.addEventListener("popstate",function(){s=window.location.href}),window.addEventListener("hashchange",function(e){var t=window.location.href;try{o(i,e.oldURL||s,t)}finally{s=t}});var u=null;document.addEventListener("pjax:start",function(){u=window.location.href}),document.addEventListener("pjax:end",function(){o(i,u,window.location.href)})}),define("github/include-fragment-element-hacks",["./fetch"],function(e){IncludeFragmentElement.prototype.fetch=e.fetch}),define("github/inflector",["exports"],function(e){function t(e,t){return t+(e>1||0==e?"s":"")}function n(e,t){var n=1==e?"data-singular-string":"data-plural-string",r=t.getAttribute(n);t.textContent=r}Object.defineProperty(e,"__esModule",{value:!0}),e.pluralize=t,e.pluralizeNode=n}),define("github/locale",["exports"],function(e){Object.defineProperty(e,"__esModule",{value:!0});e.weekdays=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],e.months=["January","February","March","April","May","June","July","August","September","October","November","December"]}),define("github/fire",["exports","./jquery","./setimmediate"],function(e,t,n){function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){function n(){var n=i["default"].Event(t,o);return i["default"].event.trigger(n,[],e,!n.bubbles),r&&!n.isDefaultPrevented()&&r.call(e,n),n}e=i["default"](e)[0];var r=void 0,o=void 0,s=arguments[2];return s&&(i["default"].isPlainObject(s)?o=s:i["default"].isFunction(s)&&(r=s)),s=arguments[3],s&&i["default"].isFunction(s)&&(r=s),null==o&&(o={}),null==o.cancelable&&(o.cancelable=!!r),null==o.bubbles&&(o.bubbles=!0),o.async?(delete o.async,void a["default"](n)):n()}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=o;var i=r(t),a=r(n)}),define("github/scrollto",["exports","./jquery","./dimensions","./setimmediate"],function(e,t,n,r){function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if("function"==typeof t){var r=t;t={complete:r}}if(null==t.top&&null==t.left)if(t.target){var o=n.positionedOffset(t.target,e),i=o.top,u=o.left;t.top=i,t.left=u}else{var c=n.positionedOffset(e),l=c.top,f=c.left;t.top=l,t.left=f,e=document}e.offsetParent?t.duration?a(e,t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left),"function"==typeof t.complete&&t.complete()):t.duration?a("html, body",t):(null!=t.top&&s["default"](document).scrollTop(t.top),null!=t.left&&s["default"](document).scrollLeft(t.left),"function"==typeof t.complete&&t.complete())}function a(e,t){var n={};null!=t.top&&(n.scrollTop=t.top),null!=t.left&&(n.scrollLeft=t.left);var r={duration:t.duration,queue:!1};t.complete&&!function(){var n=s["default"](e).length;r.complete=function(){0===--n&&u["default"](t.complete)}}(),s["default"](e).animate(n,r)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=i;var s=o(t),u=o(r)}),define("github/visible",["exports"],function(e){function t(e){return e.offsetWidth<=0&&e.offsetHeight<=0}function n(e){return!t(e)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n}),define("github/navigation",["exports","./dimensions","./jquery","./fire","./observe","./scrollto","./visible"],function(e,t,n,r,o,i,a){function s(e){return e&&e.__esModule?e:{"default":e}}function u(e){e.addEventListener("mousemove",l,!1),e.addEventListener("mouseover",f,!1)}function c(e){e.removeEventListener("mousemove",l,!1),e.removeEventListener("mouseover",f,!1)}function l(e){(q.x!==e.clientX||q.y!==e.clientY)&&(I=!1),q={x:e.clientX,y:e.clientY}}function f(e){I||N["default"](e.target).trigger("navigation:mouseover")}function d(e){var t=e.currentTarget,n=e.modifierKey||e.altKey||e.ctrlKey||e.metaKey,r=L["default"](t,"navigation:open",{modifierKey:n,shiftKey:e.shiftKey});r.isDefaultPrevented()&&e.preventDefault()}function p(e){var t=C();return e!==t?L["default"](e,"navigation:activate",function(){return t&&t.classList.remove("js-active-navigation-container"),e.classList.add("js-active-navigation-container"),L["default"](e,"navigation:activated",{async:!0})}):void 0}function h(e){return L["default"](e,"navigation:deactivate",function(){return e.classList.remove("js-active-navigation-container"),L["default"](e,"navigation:deactivated",{async:!0})})}function m(e){var t=C();t&&F.push(t),p(e)}function v(e){h(e),y(e);var t=F.pop();t&&p(t)}function g(e,n){var r=arguments.length<=2||void 0===arguments[2]?null:arguments[2];n||(n=e);var o=k(e)[0],i=n.closest(".js-navigation-item")||o;if(p(e),i){var a=S(i,e);if(a)return;O(t.overflowParent(i),i,r)}}function y(e){N["default"](e).find(".navigation-focus.js-navigation-item").removeClass("navigation-focus")}function w(e,t){y(e),g(e,t)}function b(e,n){var r=k(n),o=N["default"].inArray(e,r),i=r[o-1];if(i){var a=S(i,n);if(a)return;var s=t.overflowParent(i);"page"===j(n)?O(s,i):M(s,i)}}function x(e,n){var r=k(n),o=N["default"].inArray(e,r),i=r[o+1];if(i){var a=S(i,n);if(a)return;var s=t.overflowParent(i);"page"===j(n)?O(s,i):M(s,i)}}function _(e,n){for(var r=k(n),o=N["default"].inArray(e,r),i=t.overflowParent(e),a=void 0;(a=r[o-1])&&t.overflowOffset(a,i).top>=0;)o--;if(a){var s=S(a,n);if(s)return;O(i,a)}}function E(e,n){for(var r=k(n),o=N["default"].inArray(e,r),i=t.overflowParent(e),a=void 0;(a=r[o+1])&&t.overflowOffset(a,i).bottom>=0;)o++;if(a){var s=S(a,n);if(s)return;O(i,a)}}function T(e,t){null==t&&(t=!1),L["default"](e,"navigation:keyopen",{modifierKey:t})}function S(e,t){var n=L["default"](e,"navigation:focus",function(){return y(t),e.classList.add("navigation-focus"),L["default"](e,"navigation:focused",{async:!0})});return n.isDefaultPrevented()}function C(){return N["default"](".js-active-navigation-container")[0]}function k(e){return N["default"](Array.from(N["default"](e).find(".js-navigation-item")).filter(A["default"]))}function j(e){var t=void 0;return null!=(t=N["default"](e).attr("data-navigation-scroll"))?t:"item"}function O(e,n,r){null==r&&(r="smooth");var o=t.positionedOffset(n,e),i=t.overflowOffset(n,e),a={};if("smooth"===r&&(a.duration=200),i.bottom<=0)a.top=o.top-30;else if(i.top<=0){var s=null!=e.offsetParent?e.scrollHeight:N["default"](document).height();a.top=s-(o.bottom+i.height)+30}(i.bottom<=0||i.top<=0)&&P["default"](e,a)}function M(e,n){var r=t.positionedOffset(n,e),o=t.overflowOffset(n,e);if(o.bottom<=0){var i=null!=e.offsetParent?e.scrollHeight:N["default"](document).height(),a=i-(r.bottom+o.height);P["default"](e,{top:a})}else o.top<=0&&P["default"](e,{top:r.top})}Object.defineProperty(e,"__esModule",{value:!0}),e.push=m,e.pop=v,e.focus=g,e.clear=y,e.refocus=w;var N=s(n),L=s(r),P=s(i),A=s(a),D=navigator.userAgent.match(/Macintosh/),R=navigator.userAgent.match(/Macintosh/)?"meta":"ctrl",I=!1,q={x:0,y:0};o.observe(".js-navigation-container",{add:u,remove:c}),N["default"](document).on("keydown",function(e){if(e.target===document.body||e.target.classList.contains("js-navigation-enable")){var t=C();if(t){I=!0;var n=N["default"](t).find(".js-navigation-item.navigation-focus")[0]||t,r=L["default"](n,"navigation:keydown",{originalEvent:e,hotkey:e.hotkey,relatedTarget:t});r.isDefaultPrevented()&&e.preventDefault()}}}),N["default"](document).on("navigation:keydown",".js-active-navigation-container",function(e){var t=this,n=e.originalEvent.target.matches("input, textarea");if(e.target.classList.contains("js-navigation-item")){var r=e.target;if(n){if(D)switch(e.hotkey){case"ctrl+n":x(r,t);break;case"ctrl+p":b(r,t)}switch(e.hotkey){case"up":b(r,t);break;case"down":x(r,t);break;case"enter":T(r);break;case R+"+enter":T(r,!0)}}else{if(D)switch(e.hotkey){case"ctrl+n":x(r,t);break;case"ctrl+p":b(r,t);break;case"alt+v":_(r,t);break;case"ctrl+v":E(r,t)}switch(e.hotkey){case"j":case"J":x(r,t);break;case"k":case"K":b(r,t);break;case"o":case"enter":T(r);break;case R+"+enter":T(r,!0)}}}else{var o=k(t)[0];if(o)if(n){if(D)switch(e.hotkey){case"ctrl+n":S(o,t)}switch(e.hotkey){case"down":S(o,t)}}else{if(D)switch(e.hotkey){case"ctrl+n":case"ctrl+v":S(o,t)}switch(e.hotkey){case"j":S(o,t)}}}if(n){if(D)switch(e.hotkey){case"ctrl+n":case"ctrl+p":e.preventDefault()}switch(e.hotkey){case"up":case"down":e.preventDefault();break;case"enter":case R+"+enter":e.preventDefault()}}else{if(D)switch(e.hotkey){case"ctrl+n":case"ctrl+p":case"alt+v":case"ctrl+v":e.preventDefault()}switch(e.hotkey){case"j":case"k":e.preventDefault();break;case"o":case"enter":case R+"+enter":e.preventDefault()}}}),N["default"](document).on("navigation:mouseover",".js-active-navigation-container .js-navigation-item",function(e){var t=e.currentTarget.closest(".js-navigation-container");S(e.currentTarget,t)}),N["default"](document).on("click",".js-active-navigation-container .js-navigation-item",function(e){d(e)}),N["default"](document).on("navigation:keyopen",".js-active-navigation-container .js-navigation-item",function(e){var t=N["default"](this).filter(".js-navigation-open")[0]||N["default"](this).find(".js-navigation-open")[0];t?(e.modifierKey?(window.open(t.href,"_blank"),window.focus()):N["default"](t).click(),e.preventDefault()):d(e)});var F=[]}),define("github/normalized-event-timestamp",["exports"],function(e){function t(e){return!e||r>e&&!(e%1)?Date.now():e}function n(e){return r>e?self.performance.now()-e:Date.now()-e}Object.defineProperty(e,"__esModule",{value:!0}),e.normalizedTimestamp=t,e.timeSinceTimestamp=n;var r=14594616e5}),define("github/number-helpers",["exports"],function(e){function t(e){return(""+e).replace(/(^|[^\w.])(\d{4,})/g,function(e,t,n){return t+n.replace(/\d(?=(?:\d\d\d)+(?!\d))/g,"$&,")})}function n(e){return"string"==typeof e&&(e=e.replace(/,/g,"")),parseFloat(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.formatNumber=t,e.parseFormattedNumber=n}),define("github/node",["exports"],function(e){function t(e){var t=n(e);return t?t.defaultView:void 0}function n(e){return e?9===e.nodeType?e:e.ownerDocument?e.ownerDocument:e.document?e.document:void 0:void 0}Object.defineProperty(e,"__esModule",{value:!0}),e.getWindow=t,e.getDocument=n}),define("github/inspect",["exports","./node"],function(e,t){function n(e){for(var n=[];e&&(n.push(r(e)),e!==t.getDocument(e)&&!e.id);)e=e.parentNode;return n.reverse().join(" > ")}function r(e){if(e.window)return"window";var t=[e.nodeName.toLowerCase()],n=e.id;if(n&&t.push("#"+n),"function"==typeof e.getAttribute&&e.getAttribute("class")){var r=e.getAttribute("class").trim().split(/\s+/).join(".");r&&t.push("."+r)}return t.join("")}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=n}),define("github/pjax/prefetch",["exports"],function(e){function t(e,t){for(var n=e.querySelectorAll("link[rel=pjax-prefetch]"),r=0,o=n.length;o>r;r++){var i=n[r];if(i.href===t.url)return i}}function n(e,n){var r=t(e,n);if(r){var i=o.get(r);return r.remove(),o["delete"](r),i}}function r(e,t){o.set(e,t)}Object.defineProperty(e,"__esModule",{value:!0}),e.popPrefetchResponseForRequest=n,e.setPrefetchResponse=r;var o=new WeakMap}),define("github/pjax",["exports","./history","./jquery","./fragment-target","./inspect","./pjax/prefetch"],function(e,t,n,r,o,i){function a(e){return e&&e.__esModule?e:{"default":e}}function s(e,t,n){n=x(t,n);var r=e.currentTarget;if("A"!==r.tagName.toUpperCase())throw new Error("$.fn.pjax or pjax click requires an anchor element");if(!(e.which>1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||location.protocol!==r.protocol||location.hostname!==r.hostname||r.href.indexOf("#")>-1&&b(r)==b(location)||e.isDefaultPrevented())){var o={url:r.href,container:L["default"](L["default"](r).attr("data-pjax"))[0],target:r},i=L["default"].extend({},o,n);c(r,"pjax:click",{options:i,relatedEvent:e.originalEvent})&&(l(i),e.preventDefault(),c(r,"pjax:clicked",{options:i}))}}function u(e,t,n){n=x(t,n);var r=e.currentTarget,o=L["default"](r);if("FORM"!==r.tagName.toUpperCase())throw new Error("pjax submit requires a form element");var i={type:(o.attr("method")||"GET").toUpperCase(),url:o.attr("action"),container:L["default"](o.attr("data-pjax"))[0],target:r};if("GET"!==i.type&&void 0!==window.FormData)i.data=new FormData(r),i.processData=!1,i.contentType=!1;else{if(L["default"](r).find(":file").length)return;i.data=L["default"](r).serializeArray()}l(L["default"].extend({},i,n)),e.preventDefault()}function c(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n}))}function l(e){function n(t,n){"GET"!==n.type&&(n.timeout=0),t.setRequestHeader("X-PJAX","true"),t.setRequestHeader("X-PJAX-Container",f),n.timeout>0&&(d=setTimeout(function(){c(u,"pjax:timeout")&&t.abort("timeout")},n.timeout),n.timeout=0);var r=w(n.url);s&&(r.hash=s),e.requestUrl=y(r)}function o(t,n){var r=S("",t,e),o=c(u,"pjax:error");"GET"==e.type&&"abort"!==n&&o&&p(r.url),d&&clearTimeout(d),c(u,"pjax:complete"),c(u,"pjax:end")}function a(n,o,i){var a=R,l=M(),h=i.getResponseHeader("X-PJAX-Version"),m=S(n,i,e),g=w(m.url);if(s&&(g.hash=s,m.url=g.href),l&&h&&l!==h)return void p(m.url);if(!m.contents)return void p(m.url);R={id:e.id||v(),url:m.url,title:m.title,container:f,fragment:e.fragment,timeout:e.timeout},(e.push||e.replace)&&t.replaceState(R,m.title,m.url);var y=L["default"].contains(e.container,document.activeElement);if(y)try{document.activeElement.blur()}catch(b){}m.title&&(document.title=m.title),c(u,"pjax:beforeReplace",{contents:m.contents,state:R,previousState:a}),L["default"](u).html(m.contents);var x=L["default"](u).find("input[autofocus], textarea[autofocus]").last()[0];x&&document.activeElement!==x&&x.focus(),C(m.scripts);var _=e.scrollTo;if(s){var E=r.findFragmentTarget(document,s);E&&(_=L["default"](E).offset().top)}"number"==typeof _&&L["default"](window).scrollTop(_),c(u,"pjax:success"),d&&clearTimeout(d),c(u,"pjax:complete"),c(u,"pjax:end")}e=L["default"].extend(!0,{},L["default"].ajaxSettings,A,e),L["default"].isFunction(e.url)&&(e.url=e.url());var s=w(e.url).hash,u=e.context=L["default"](e.container)[0],f=_(u);e.data||(e.data={}),L["default"].isArray(e.data)?e.data.push({name:"_pjax",value:f}):e.data._pjax=f;var d=void 0;R||(R={id:v(),url:window.location.href,title:document.title,container:f,fragment:e.fragment,timeout:e.timeout},t.replaceState(R,R.title,R.url)),m(I),e.beforeSend=n,l.options=e;var h=i.popPrefetchResponseForRequest(u,e),b=I=h||L["default"].ajax(e);return b.readyState>0&&(e.push&&!e.replace&&(k(R.id,g(u)),t.pushState(null,"",e.requestUrl)),c(u,"pjax:start",{url:e.url}),c(u,"pjax:send")),b.done(a).fail(o)}function f(e,t){var n=e.closest("[data-pjax-container]");if(!n)throw new Error("no pjax container for "+P["default"](n));t||(t={});var r=_(n),o=L["default"].extend({"X-PJAX":"true","X-PJAX-Container":r},t.headers||{});return L["default"].ajax({type:"GET",url:e.href,data:{_pjax:r},dataType:"html",headers:o})}function d(e,t){var n={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return l(L["default"].extend(n,x(e,t)))}function p(e){t.replaceState(null,"",R.url),window.location.replace(e)}function h(e){q||m(I);var t=R,n=e.originalEvent.state,r=void 0;if(n&&n.container){if(q&&F==n.url)return;if(t){if(t.id===n.id)return;r=t.id<n.id?"forward":"back"}var o=U[n.id]||[],i=L["default"](o[0]||n.container)[0],a=o[1];if(i){t&&j(r,t.id,g(i)),c(i,"pjax:popstate",{state:n,direction:r});var s={id:n.id,url:n.url,container:i,push:!1,fragment:n.fragment,timeout:n.timeout,scrollTo:!1};a?(c(i,"pjax:start"),R=n,n.title&&(document.title=n.title),c(i,"pjax:beforeReplace",{contents:a,state:n,previousState:t}),L["default"](i).html(a),c(i,"pjax:end")):l(s),i.offsetHeight}else p(location.href)}q=!1}function m(e){e&&e.readyState<4&&(e.onreadystatechange=L["default"].noop,e.abort())}function v(){return(new Date).getTime()}function g(e){var t=L["default"](e).clone();t.find("script").each(function(){this.src||L["default"]._data(this,"globalEval",!1)});var n=_(e);return[n,t.contents()]}function y(e){return e.search=e.search.replace(/([?&])(_pjax|_)=[^&]*/g,""),e.href.replace(/\?($|#)/,"$1")}function w(e){var t=document.createElement("a");return t.href=e,t}function b(e){return e.href.replace(/#.*/,"")}function x(e,t){return e&&t?t.container=e:t=L["default"].isPlainObject(e)?e:{container:e},t.container&&(t.container=L["default"](t.container)[0]),t}function _(e){if(e.id)return"#"+e.id;throw new Error("pjax container has no id")}function E(e,t){return e.filter(t).add(e.find(t))}function T(e){return L["default"].parseHTML(e,document,!0)}function S(e,t,n){var r={},o=/<html/i.test(e),i=t.getResponseHeader("X-PJAX-URL");r.url=i?y(w(i)):n.requestUrl;var a=(t.getResponseHeader("Content-Type")||"").split(";",1)[0].trim();if("text/html"!=a)return r;var s=void 0,u=void 0;if(o?(s=L["default"](T(e.match(/<head[^>]*>([\s\S.]*)<\/head>/i)[0])),u=L["default"](T(e.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]))):s=u=L["default"](T(e)),0===u.length)return r;r.title=E(s,"title").last().text();var c=void 0;return n.fragment?(c="body"===n.fragment?u:E(u,n.fragment).first(),c.length&&(r.contents="body"===n.fragment?c:c.contents(),r.title||(r.title=c.attr("title")||c.data("title")))):o||(r.contents=u),r.contents&&(r.contents=r.contents.not(function(){return L["default"](this).is("title")}),r.contents.find("title").remove(),r.scripts=E(r.contents,"script[src]").remove(),r.contents=r.contents.not(r.scripts)),r.title&&(r.title=L["default"].trim(r.title)),r}function C(e){if(e){var t=L["default"]("script[src]");e.each(function(){var e=this.src,n=t.filter(function(){return this.src===e});if(!n.length){var r=document.createElement("script"),o=L["default"](this).attr("type");o&&(r.type=o),r.src=L["default"](this).attr("src"),document.head.appendChild(r)}})}}function k(e,t){U[e]=t,B.push(e),O(W,0),O(B,D)}function j(e,t,n){var r=void 0,o=void 0;U[t]=n,"forward"===e?(r=B,o=W):(r=W,o=B),r.push(t),t=o.pop(),t&&delete U[t],O(r,D)}function O(e,t){for(;e.length>t;)delete U[e.shift()]}function M(){return L["default"]("meta").filter(function(){var e=L["default"](this).attr("http-equiv");return e&&"X-PJAX-VERSION"===e.toUpperCase()}).attr("content")}function N(){return R}Object.defineProperty(e,"__esModule",{value:!0}),e.click=s,e.submit=u,e["default"]=l,e.fetch=f,e.reload=d,e.getState=N;var L=a(n),P=a(o),A={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0},D=20,R=void 0,I=void 0,q=!0,F=window.location.href,H=window.history.state;H&&H.container&&(R=H),"state"in window.history&&(q=!1);var U={},W=[],B=[];L["default"](window).on("popstate.pjax",h)}),define("github/timers",["exports"],function(e){function t(e){return new Promise(function(t){setTimeout(t,e)})}Object.defineProperty(e,"__esModule",{value:!0}),e.delay=t}),define("github/poll-include-fragment-element",["./timers","./include-fragment-element-hacks"],function(e){var t=Object.create(IncludeFragmentElement.prototype),n=t.fetch;t.fetch=function(t){var r,o=arguments.length<=1||void 0===arguments[1]?1e3:arguments[1];return regeneratorRuntime.async(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,regeneratorRuntime.awrap(n(t));case 2:if(r=i.sent,202!==r.status){i.next=9;break}return i.next=6,regeneratorRuntime.awrap(e.delay(o));case 6:return i.abrupt("return",this.fetch(t,1.5*o));case 9:return i.abrupt("return",r);case 10:case"end":return i.stop()}},null,this)},window.PollIncludeFragmentElement=document.registerElement("poll-include-fragment",{prototype:t})}),"undefined"!=typeof define&&(define.amd="delegated-events"),define(["exports","selector-set"],function(e,t){"use strict";function n(e,t,n){var r=e[t];return e[t]=function(){return n.apply(e,arguments),r.apply(e,arguments)},e}function r(e,t){var n=[],r=t;do{if(1!==r.nodeType)break;var o=e.matches(r);o.length&&n.push({node:r,observers:o})}while(r=r.parentElement);return n}function o(){p.set(this,!0)}function i(){p.set(this,!0),h.set(this,!0)}function a(){return m.get(this)||null}function s(e){var t=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");t&&Object.defineProperty(e,"currentTarget",{get:a})}function u(e){n(e,"stopPropagation",o),n(e,"stopImmediatePropagation",i),s(e);for(var t=d[e.type],a=r(t,e.target),u=0,c=a.length;c>u&&!p.get(e);u++){var l=a[u];m.set(e,l.node);for(var f=0,v=l.observers.length;v>f&&!h.get(e);f++)l.observers[f].data.call(l.node,e)}m["delete"](e)}function c(e,n,r){var o=d[e];o||(o=new t,d[e]=o,document.addEventListener(e,u,!1)),o.add(n,r)}function l(e,t,n){var r=d[e];r&&(r.remove(t,n),r.size||(delete d[e],document.removeEventListener(e,u,!1)))}function f(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n}))}t="default"in t?t["default"]:t;var d={},p=new WeakMap,h=new WeakMap,m=new WeakMap;e.on=c,e.off=l,e.fire=f}),"undefined"!=typeof define&&delete define.amd,
  define("github/select-menu/loading",["exports","../fetch","delegated-events","../observe"],function(e,t,n,r){function o(e,t){a.set(e,t)}function i(e){var r=e.currentTarget;r.classList.remove("js-load-contents"),r.classList.add("is-loading"),r.classList.remove("has-error");var o=new URL(r.getAttribute("data-contents-url"),window.location.origin),i=a.get(r);i&&!function(){var e=new URLSearchParams(o.search.slice(1));i.forEach(function(t){return e.append(t[0],t[1])}),o.search=e.toString()}(),t.fetchText(o.toString()).then(function(e){r.classList.remove("is-loading"),r.querySelector(".js-select-menu-deferred-content").innerHTML=e,r.classList.contains("active")&&n.fire(r,"selectmenu:load")},function(){r.classList.remove("is-loading"),r.classList.add("has-error")})}Object.defineProperty(e,"__esModule",{value:!0}),e.setLoadingData=o;var a=new WeakMap;r.observe(".js-select-menu.js-load-contents",{add:function(){this.addEventListener("mouseenter",i),this.addEventListener("menu:activate",i)},remove:function(){this.removeEventListener("mouseenter",i),this.removeEventListener("menu:activate",i)}})}),define("github/sliding-promise-queue",["exports"],function(e){function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(){}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){t(this,e),this.previousReceiver={}}return r(e,[{key:"push",value:function(e){var t=this;return this.previousReceiver.resolve=this.previousReceiver.reject=n,new Promise(function(n,r){var o={resolve:n,reject:r};t.previousReceiver=o,e.then(function(){o.resolve.apply(this,arguments)},function(){o.reject.apply(this,arguments)})})}}]),e}();e["default"]=o}),define("github/sudo",["exports","./fetch","./jquery","./facebox","delegated-events"],function(e,t,n,r,o){function i(e){return e&&e.__esModule?e:{"default":e}}function a(){var e,n;return regeneratorRuntime.async(function(r){for(;;)switch(r.prev=r.next){case 0:if(e=document.querySelector("link[rel=sudo-modal]"),!document.getElementById("js-sudo-prompt")){r.next=5;break}return r.abrupt("return");case 5:if(!e){r.next=12;break}return r.next=8,regeneratorRuntime.awrap(t.fetchSafeDocumentFragment(document,e.href));case 8:n=r.sent,document.body.appendChild(n),r.next=13;break;case 12:throw new Error("couldn't load sudo facebox");case 13:case"end":return r.stop()}},null,this)}function s(){return new Promise(function(e){c["default"](document).one("facebox:afterClose",e)})}function u(){var e,t,n;return regeneratorRuntime.async(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,regeneratorRuntime.awrap(a());case 2:return r.next=4,regeneratorRuntime.awrap(l["default"]({div:"#js-sudo-prompt"},"sudo"));case 4:return e=r.sent,t=null,n=e.querySelector(".js-sudo-form"),n.querySelector(".js-sudo-login, .js-sudo-password").focus(),c["default"](n).on("ajaxSuccess",function(){t=!0,o.fire(document,"facebox:close")}),c["default"](n).on("ajaxError",function(e,r){t=!1;var o=void 0;switch(r.status){case 401:o="Incorrect password.";break;case 429:o="Too many password attempts. Please wait and try again later.";break;default:o="Failed to receive a response. Please try again later."}return n.querySelector(".js-sudo-error").textContent=o,n.querySelector(".js-sudo-error").style.display="block",n.querySelector(".js-sudo-password").value="",!1}),r.next=12,regeneratorRuntime.awrap(s());case 12:if(t){r.next=14;break}throw new Error("sudo prompt canceled");case 14:case"end":return r.stop()}},null,this)}Object.defineProperty(e,"__esModule",{value:!0});var c=i(n),l=i(r);e["default"]=function(){var e;return regeneratorRuntime.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,regeneratorRuntime.awrap(t.fetchJSON("/sessions/in_sudo.json"));case 2:if(e=n.sent){n.next=6;break}return n.next=6,regeneratorRuntime.awrap(u());case 6:case"end":return n.stop()}},null,this)}}),define("github/throttled-input",["exports","./jquery"],function(e,t){function n(e){return e&&e.__esModule?e:{"default":e}}function r(){function e(e){i&&clearTimeout(i),i=setTimeout(function(){i=null,o=!1;var n=new u["default"].Event("throttled:input",{target:e});u["default"].event.trigger(n,null,t,!0)},n)}var t=this,n=parseInt(this.getAttribute("data-throttle-wait"))||100,r=!1,o=!1,i=null;u["default"](this).on("keydown.throttledInput",function(){r=!0,i&&clearTimeout(i)}),u["default"](this).on("keyup.throttledInput",function(t){r=!1,o&&e(t.target)}),u["default"](this).on("input.throttledInput",function(t){o=!0,r||e(t.target)})}function o(){u["default"](this).off("keydown.throttledInput"),u["default"](this).off("keyup.throttledInput"),u["default"](this).off("input.throttledInput")}function i(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];n.wait&&e.setAttribute("data-throttle-wait",n.wait),u["default"](e).on("throttled:input",t)}function a(e,t){e.removeAttribute("data-throttle-wait"),u["default"](e).remove("throttled:input",t)}function s(e){u["default"](e).trigger("throttled:input")}Object.defineProperty(e,"__esModule",{value:!0}),e.addThrottledInputEventListener=i,e.removeThrottledInputEventListener=a,e.dispatchThrottledInputEvent=s;var u=n(t);u["default"].event.special["throttled:input"]={setup:r,teardown:o}}),define("frameworks-bootstrap",["./github/failbot","./github/code-editor","./github/debounce","./github/dimensions","./github/document-ready","./github/facebox","./github/feature-detection","./github/fetch","./github/focused","./github/fragment-target","./github/google-analytics","./github/hash-change","./github/include-fragment-element-hacks","./github/inflector","./github/locale","./github/navigation","./github/normalized-event-timestamp","./github/number-helpers","./github/pjax","./github/poll-include-fragment-element","./github/scrollto","./github/select-menu/loading","./github/sliding-promise-queue","./github/sudo","./github/throttled-input","./github/visible"],function(){}),require("frameworks-bootstrap");
  