-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.e5e08ee4559fb83186d7.js
1 lines (1 loc) · 143 KB
/
scripts.e5e08ee4559fb83186d7.js
1
let TetherBase;void 0===TetherBase&&(TetherBase={modules:[]});let zeroElement=null;function getActualBoundingClientRect(e){let t=e.getBoundingClientRect(),n={};for(var i in t)n[i]=t[i];if(e.ownerDocument!==document){let t=e.ownerDocument.defaultView.frameElement;if(t){let e=getActualBoundingClientRect(t);n.top+=e.top,n.bottom+=e.top,n.left+=e.left,n.right+=e.left}}return n}function getScrollParents(e){const t=(getComputedStyle(e)||{}).position;let n=[];if("fixed"===t)return[e];let i=e;for(;(i=i.parentNode)&&i&&1===i.nodeType;){let e;try{e=getComputedStyle(i)}catch(e){}if(void 0===e||null===e)return n.push(i),n;const{overflow:r,overflowX:o,overflowY:s}=e;/(auto|scroll)/.test(r+s+o)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(e.position)>=0)&&n.push(i)}return n.push(e.ownerDocument.body),e.ownerDocument!==document&&n.push(e.ownerDocument.defaultView),n}const uniqueId=(()=>{let e=0;return()=>++e})(),zeroPosCache={},getOrigin=()=>{let e=zeroElement;e||((e=document.createElement("div")).setAttribute("data-tether-id",uniqueId()),extend(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),zeroElement=e);const t=e.getAttribute("data-tether-id");return void 0===zeroPosCache[t]&&(zeroPosCache[t]=getActualBoundingClientRect(e),defer(()=>{delete zeroPosCache[t]})),zeroPosCache[t]};function removeUtilElements(){zeroElement&&document.body.removeChild(zeroElement),zeroElement=null}function getBounds(e){let t;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;const n=t.documentElement,i=getActualBoundingClientRect(e),r=getOrigin();return i.top-=r.top,i.left-=r.left,void 0===i.width&&(i.width=document.body.scrollWidth-i.left-i.right),void 0===i.height&&(i.height=document.body.scrollHeight-i.top-i.bottom),i.top=i.top-n.clientTop,i.left=i.left-n.clientLeft,i.right=t.body.clientWidth-i.width-i.left,i.bottom=t.body.clientHeight-i.height-i.top,i}function getOffsetParent(e){return e.offsetParent||document.documentElement}function getScrollBarSize(){const e=document.createElement("div");e.style.width="100%",e.style.height="200px";const t=document.createElement("div");extend(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let i=e.offsetWidth;n===i&&(i=t.clientWidth),document.body.removeChild(t);const r=n-i;return{width:r,height:r}}function extend(e={}){const t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach(t=>{if(t)for(let n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}),e}function removeClass(e,t){if(void 0!==e.classList)t.split(" ").forEach(t=>{t.trim()&&e.classList.remove(t)});else{const n=new RegExp(`(^| )${t.split(" ").join("|")}( |$)`,"gi"),i=getClassName(e).replace(n," ");setClassName(e,i)}}function addClass(e,t){if(void 0!==e.classList)t.split(" ").forEach(t=>{t.trim()&&e.classList.add(t)});else{removeClass(e,t);const n=getClassName(e)+` ${t}`;setClassName(e,n)}}function hasClass(e,t){if(void 0!==e.classList)return e.classList.contains(t);const n=getClassName(e);return new RegExp(`(^| )${t}( |$)`,"gi").test(n)}function getClassName(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function setClassName(e,t){e.setAttribute("class",t)}function updateClasses(e,t,n){n.forEach(n=>{-1===t.indexOf(n)&&hasClass(e,n)&&removeClass(e,n)}),t.forEach(t=>{hasClass(e,t)||addClass(e,t)})}const deferred=[],defer=e=>{deferred.push(e)},flush=()=>{let e;for(;e=deferred.pop();)e()};class Evented{on(e,t,n,i=!1){void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:n,once:i})}once(e,t,n){this.on(e,t,n,!0)}off(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else{let n=0;for(;n<this.bindings[e].length;)this.bindings[e][n].handler===t?this.bindings[e].splice(n,1):++n}}trigger(e,...t){if(void 0!==this.bindings&&this.bindings[e]){let n=0;for(;n<this.bindings[e].length;){const{handler:i,ctx:r,once:o}=this.bindings[e][n];let s=r;void 0===s&&(s=this),i.apply(s,t),o?this.bindings[e].splice(n,1):++n}}}}if(TetherBase.Utils={getActualBoundingClientRect:getActualBoundingClientRect,getScrollParents:getScrollParents,getBounds:getBounds,getOffsetParent:getOffsetParent,extend:extend,addClass:addClass,removeClass:removeClass,hasClass:hasClass,updateClasses:updateClasses,defer:defer,flush:flush,uniqueId:uniqueId,Evented:Evented,getScrollBarSize:getScrollBarSize,removeUtilElements:removeUtilElements},void 0===TetherBase)throw new Error("You must include the utils.js file before tether.js");function within(e,t,n=1){return e+n>=t&&t>=e-n}const transformKey=(()=>{if("undefined"==typeof document)return"";const e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"];for(let n=0;n<t.length;++n){const i=t[n];if(void 0!==e.style[i])return i}})(),tethers=[],position=()=>{tethers.forEach(e=>{e.position(!1)}),flush()};function now(){return"undefined"!=typeof performance&&void 0!==performance.now?performance.now():+new Date}(()=>{let e=null,t=null,n=null;const i=()=>{if(void 0!==t&&t>16)return t=Math.min(t-16,250),void(n=setTimeout(i,250));void 0!==e&&now()-e<10||(null!=n&&(clearTimeout(n),n=null),e=now(),position(),t=now()-e)};"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach(e=>{window.addEventListener(e,i)})})();const MIRROR_LR={center:"center",left:"right",right:"left"},MIRROR_TB={middle:"middle",top:"bottom",bottom:"top"},OFFSET_MAP={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},autoToFixedAttachment=(e,t)=>{let{left:n,top:i}=e;return"auto"===n&&(n=MIRROR_LR[t.left]),"auto"===i&&(i=MIRROR_TB[t.top]),{left:n,top:i}},attachmentToOffset=e=>{let t=e.left,n=e.top;return void 0!==OFFSET_MAP[e.left]&&(t=OFFSET_MAP[e.left]),void 0!==OFFSET_MAP[e.top]&&(n=OFFSET_MAP[e.top]),{left:t,top:n}};function addOffset(...e){const t={top:0,left:0};return e.forEach(({top:e,left:n})=>{"string"==typeof e&&(e=parseFloat(e,10)),"string"==typeof n&&(n=parseFloat(n,10)),t.top+=e,t.left+=n}),t}function offsetToPx(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}const parseOffset=e=>{const[t,n]=e.split(" ");return{top:t,left:n}},parseAttachment=parseOffset;class TetherClass extends Evented{constructor(e){super(),this.position=this.position.bind(this),tethers.push(this),this.history=[],this.setOptions(e,!1),TetherBase.modules.forEach(e=>{void 0!==e.initialize&&e.initialize.call(this)}),this.position()}getClass(e=""){const{classes:t}=this.options;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?`${this.options.classPrefix}-${e}`:e}setOptions(e,t=!0){this.options=extend({offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"},e);let{element:n,target:i,targetModifier:r}=this.options;if(this.element=n,this.target=i,this.targetModifier=r,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(e=>{if(void 0===this[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==this[e].jquery?this[e]=this[e][0]:"string"==typeof this[e]&&(this[e]=document.querySelector(this[e]))}),addClass(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&addClass(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=parseAttachment(this.options.targetAttachment),this.attachment=parseAttachment(this.options.attachment),this.offset=parseOffset(this.options.offset),this.targetOffset=parseOffset(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),this.scrollParents="scroll-handle"===this.targetModifier?[this.target]:getScrollParents(this.target),!1!==this.options.enabled&&this.enable(t)}getTargetBounds(){if(void 0===this.targetModifier)return getBounds(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};{const e=getBounds(this.target),t={height:e.height,width:e.width,top:e.top,left:e.left};return t.height=Math.min(t.height,e.height-(pageYOffset-e.top)),t.height=Math.min(t.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),t.height=Math.min(innerHeight,t.height),t.height-=2,t.width=Math.min(t.width,e.width-(pageXOffset-e.left)),t.width=Math.min(t.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),t.width=Math.min(innerWidth,t.width),t.width-=2,t.top<pageYOffset&&(t.top=pageYOffset),t.left<pageXOffset&&(t.left=pageXOffset),t}}if("scroll-handle"===this.targetModifier){let e,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=getBounds(t);const n=getComputedStyle(t);let i=0;(t.scrollWidth>t.clientWidth||[n.overflow,n.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(i=15);const r=e.height-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth)-i,o={width:15,height:.975*r*(r/t.scrollHeight),left:e.left+e.width-parseFloat(n.borderLeftWidth)-15};let s=0;return r<408&&this.target===document.body&&(s=-11e-5*Math.pow(r,2)-.00727*r+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24)),o.top=this.target.scrollTop/(t.scrollHeight-r)*(r-o.height-s)+e.top+parseFloat(n.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}}clearCache(){this._cache={}}cache(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}enable(e=!0){!1!==this.options.addTargetClasses&&addClass(this.target,this.getClass("enabled")),addClass(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(e=>{e!==this.target.ownerDocument&&e.addEventListener("scroll",this.position)}),e&&this.position()}disable(){removeClass(this.target,this.getClass("enabled")),removeClass(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(e=>{e.removeEventListener("scroll",this.position)})}destroy(){this.disable(),tethers.forEach((e,t)=>{e===this&&tethers.splice(t,1)}),0===tethers.length&&removeUtilElements()}updateAttachClasses(e,t){e=e||this.attachment,t=t||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);const n=this._addAttachClasses;e.top&&n.push(`${this.getClass("element-attached")}-${e.top}`),e.left&&n.push(`${this.getClass("element-attached")}-${e.left}`),t.top&&n.push(`${this.getClass("target-attached")}-${t.top}`),t.left&&n.push(`${this.getClass("target-attached")}-${t.left}`);const i=[];["left","top","bottom","right","middle","center"].forEach(e=>{i.push(`${this.getClass("element-attached")}-${e}`),i.push(`${this.getClass("target-attached")}-${e}`)}),defer(()=>{void 0!==this._addAttachClasses&&(updateClasses(this.element,this._addAttachClasses,i),!1!==this.options.addTargetClasses&&updateClasses(this.target,this._addAttachClasses,i),delete this._addAttachClasses)})}position(e=!0){if(!this.enabled)return;this.clearCache();const t=autoToFixedAttachment(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,t);const n=this.cache("element-bounds",()=>getBounds(this.element));let{width:i,height:r}=n;0===i&&0===r&&void 0!==this.lastSize?({width:i,height:r}=this.lastSize):this.lastSize={width:i,height:r};const o=this.cache("target-bounds",()=>this.getTargetBounds()),s=o;let a=offsetToPx(attachmentToOffset(this.attachment),{width:i,height:r}),l=offsetToPx(attachmentToOffset(t),s);const u=offsetToPx(this.offset,{width:i,height:r}),c=offsetToPx(this.targetOffset,s);a=addOffset(a,u),l=addOffset(l,c);let f=o.left+l.left-a.left,h=o.top+l.top-a.top;for(let v=0;v<TetherBase.modules.length;++v){const e=TetherBase.modules[v].position.call(this,{left:f,top:h,targetAttachment:t,targetPos:o,elementPos:n,offset:a,targetOffset:l,manualOffset:u,manualTargetOffset:c,scrollbarSize:m,attachment:this.attachment});if(!1===e)return!1;void 0!==e&&"object"==typeof e&&({top:h,left:f}=e)}const d={page:{top:h,left:f},viewport:{top:h-pageYOffset,bottom:pageYOffset-h-r+innerHeight,left:f-pageXOffset,right:pageXOffset-f-i+innerWidth}};var p=this.target.ownerDocument,g=p.defaultView;let m;if(p.body.scrollWidth>g.innerWidth&&(m=this.cache("scrollbar-size",getScrollBarSize),d.viewport.bottom-=m.height),p.body.scrollHeight>g.innerHeight&&(m=this.cache("scrollbar-size",getScrollBarSize),d.viewport.right-=m.width),-1!==["","static"].indexOf(p.body.style.position)&&-1!==["","static"].indexOf(p.body.parentElement.style.position)||(d.page.bottom=p.body.scrollHeight-h-r,d.page.right=p.body.scrollWidth-f-i),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier){const e=this.cache("target-offsetparent",()=>getOffsetParent(this.target)),t=this.cache("target-offsetparent-bounds",()=>getBounds(e)),n=getComputedStyle(e),i=t,r={};["Top","Left","Bottom","Right"].forEach(e=>{r[e.toLowerCase()]=parseFloat(n[`border${e}Width`])}),t.right=p.body.scrollWidth-t.left-i.width+r.right,t.bottom=p.body.scrollHeight-t.top-i.height+r.bottom,d.page.top>=t.top+r.top&&d.page.bottom>=t.bottom&&d.page.left>=t.left+r.left&&d.page.right>=t.right&&(d.offset={top:d.page.top-t.top+e.scrollTop-r.top,left:d.page.left-t.left+e.scrollLeft-r.left})}return this.move(d),this.history.unshift(d),this.history.length>3&&this.history.pop(),e&&flush(),!0}move(e){if(void 0===this.element.parentNode)return;const t={};for(let a in e){t[a]={};for(let n in e[a]){let i=!1;for(let t=0;t<this.history.length;++t){const r=this.history[t];if(void 0!==r[a]&&!within(r[a][n],e[a][n])){i=!0;break}}i||(t[a][n]=!0)}}let n={top:"",left:"",right:"",bottom:""};const i=(e,t)=>{if(!1!==(void 0!==this.options.optimizations?this.options.optimizations.gpu:null)){let i,r;e.top?(n.top=0,i=t.top):(n.bottom=0,i=-t.bottom),e.left?(n.left=0,r=t.left):(n.right=0,r=-t.right),n[transformKey]=`translateX(${Math.round(r)}px) translateY(${Math.round(i)}px)`,"msTransform"!==transformKey&&(n[transformKey]+=" translateZ(0)")}else e.top?n.top=`${t.top}px`:n.bottom=`${t.bottom}px`,e.left?n.left=`${t.left}px`:n.right=`${t.right}px`};let r=!1;if((t.page.top||t.page.bottom)&&(t.page.left||t.page.right))n.position="absolute",i(t.page,e.page);else if((t.viewport.top||t.viewport.bottom)&&(t.viewport.left||t.viewport.right))n.position="fixed",i(t.viewport,e.viewport);else if(void 0!==t.offset&&t.offset.top&&t.offset.left){n.position="absolute";const o=this.cache("target-offsetparent",()=>getOffsetParent(this.target));getOffsetParent(this.element)!==o&&defer(()=>{this.element.parentNode.removeChild(this.element),o.appendChild(this.element)}),i(t.offset,e.offset),r=!0}else n.position="absolute",i({top:!0,left:!0},e.page);if(!r){let e=!0,t=this.element.parentNode;for(;t&&1===t.nodeType&&"BODY"!==t.tagName;){if("static"!==getComputedStyle(t).position){e=!1;break}t=t.parentNode}e||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}const o={};let s=!1;for(let a in n){let e=n[a];this.element.style[a]!==e&&(s=!0,o[a]=e)}s&&defer(()=>{extend(this.element.style,o)})}}TetherClass.modules=[],TetherBase.position=position;let Tether=extend(TetherClass,TetherBase);if(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";var n=[],i=e.document,r=Object.getPrototypeOf,o=n.slice,s=n.concat,a=n.push,l=n.indexOf,u={},c=u.toString,f=u.hasOwnProperty,h=f.toString,d=h.call(Object),p={};function g(e,t){var n=(t=t||i).createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}var m="3.2.1",v=function(e,t){return new v.fn.init(e,t)},y=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,_=/^-ms-/,b=/-([a-z])/g,w=function(e,t){return t.toUpperCase()};function E(e){var t=!!e&&"length"in e&&e.length,n=v.type(e);return"function"!==n&&!v.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}v.fn=v.prototype={jquery:m,constructor:v,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=v.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return v.each(this,e)},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},v.extend=v.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||v.isFunction(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],s!==(i=e[t])&&(u&&i&&(v.isPlainObject(i)||(r=Array.isArray(i)))?(r?(r=!1,o=n&&Array.isArray(n)?n:[]):o=n&&v.isPlainObject(n)?n:{},s[t]=v.extend(u,o,i)):void 0!==i&&(s[t]=i));return s},v.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===v.type(e)},isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=v.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e)||(t=r(e))&&(n=f.call(t,"constructor")&&t.constructor,"function"!=typeof n||h.call(n)!==d))},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?u[c.call(e)]||"object":typeof e},globalEval:function(e){g(e)},camelCase:function(e){return e.replace(_,"ms-").replace(b,w)},each:function(e,t){var n,i=0;if(E(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(y,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?v.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,a=[];if(E(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&a.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&a.push(r);return s.apply([],a)},guid:1,proxy:function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),v.isFunction(e))return i=o.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(o.call(arguments)))}).guid=e.guid=e.guid||v.guid++,r},now:Date.now,support:p}),"function"==typeof Symbol&&(v.fn[Symbol.iterator]=n[Symbol.iterator]),v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){u["[object "+t+"]"]=t.toLowerCase()});var T=function(e){var t,n,i,r,o,s,a,l,u,c,f,h,d,p,g,m,v,y,_,b="sizzle"+1*new Date,w=e.document,E=0,T=0,C=se(),x=se(),A=se(),S=function(e,t){return e===t&&(f=!0),0},D={}.hasOwnProperty,N=[],I=N.pop,O=N.push,k=N.push,j=N.slice,L=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+H+"*("+R+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+H+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",F=new RegExp(H+"+","g"),q=new RegExp("^"+H+"+|((?:^|[^\\\\])(?:\\\\.)*)"+H+"+$","g"),B=new RegExp("^"+H+"*,"+H+"*"),$=new RegExp("^"+H+"*([>+~]|"+H+")"+H+"*"),U=new RegExp("="+H+"*([^\\]'\"]*?)"+H+"*\\]","g"),Q=new RegExp(W),z=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+H+"*(even|odd|(([+-]|)(\\d*)n|)"+H+"*(?:([+-]|)"+H+"*(\\d+)|))"+H+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+H+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+H+"*((?:-\\d)?\\d*)"+H+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+H+"?|("+H+")|.)","ig"),ee=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){h()},re=ye(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{k.apply(N=j.call(w.childNodes),w.childNodes)}catch(e){k={apply:N.length?function(e,t){O.apply(e,j.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function oe(e,t,i,r){var o,a,u,c,f,p,v,y=t&&t.ownerDocument,E=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==E&&9!==E&&11!==E)return i;if(!r&&((t?t.ownerDocument||t:w)!==d&&h(t),t=t||d,g)){if(11!==E&&(f=G.exec(e)))if(o=f[1]){if(9===E){if(!(u=t.getElementById(o)))return i;if(u.id===o)return i.push(u),i}else if(y&&(u=y.getElementById(o))&&_(t,u)&&u.id===o)return i.push(u),i}else{if(f[2])return k.apply(i,t.getElementsByTagName(e)),i;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return k.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!A[e+" "]&&(!m||!m.test(e))){if(1!==E)y=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),a=(p=s(e)).length;a--;)p[a]="#"+c+" "+ve(p[a]);v=p.join(","),y=J.test(e)&&ge(t.parentNode)||t}if(v)try{return k.apply(i,y.querySelectorAll(v)),i}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return l(e.replace(q,"$1"),t,i,r)}function se(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ae(e){return e[b]=!0,e}function le(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function ce(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pe(e){return ae(function(t){return t=+t,ae(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},h=oe.setDocument=function(e){var t,r,s=e?e.ownerDocument||e:w;return s!==d&&9===s.nodeType&&s.documentElement?(p=(d=s).documentElement,g=!o(d),w!==d&&(r=d.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ie,!1):r.attachEvent&&r.attachEvent("onunload",ie)),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=X.test(d.getElementsByClassName),n.getById=le(function(e){return p.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=X.test(d.querySelectorAll))&&(le(function(e){p.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+H+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+H+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+H+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=X.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&le(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",W)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(p.compareDocumentPosition),_=t||X.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return f=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===d||e.ownerDocument===w&&_(w,e)?-1:t===d||t.ownerDocument===w&&_(w,t)?1:c?L(c,e)-L(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e===d?-1:t===d?1:r?-1:o?1:c?L(c,e)-L(c,t):0;if(r===o)return ce(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ce(s[i],a[i]):s[i]===w?-1:a[i]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&h(e),t=t.replace(U,"='$1']"),n.matchesSelector&&g&&!A[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&h(e),_(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&h(e);var r=i.attrHandle[t.toLowerCase()],o=r&&D.call(i.attrHandle,t.toLowerCase())?r(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,i=[],r=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),f){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return c=null,e},r=oe.getText=function(e){var t,n="",i=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+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=oe.selectors={cacheLength:50,createPseudo:ae,match:V,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(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===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]||oe.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]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Q.test(n)&&(t=s(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(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+H+")"+e+"("+H+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=oe.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,h,d,p,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,_=!1;if(m){if(o){for(;g;){for(h=t;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&y){for(_=(d=(u=(c=(f=(h=m)[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]||[])[0]===E&&u[1])&&u[2],h=d&&m.childNodes[d];h=++d&&h&&h[g]||(_=d=0)||p.pop();)if(1===h.nodeType&&++_&&h===t){c[e]=[E,d,_];break}}else if(y&&(_=d=(u=(c=(f=(h=t)[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]||[])[0]===E&&u[1]),!1===_)for(;(h=++d&&h&&h[g]||(_=d=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++_||(y&&((c=(f=h[b]||(h[b]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]=[E,_]),h!==t)););return(_-=r)===i||_%i==0&&_/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ae(function(e,n){for(var i,o=r(e,t),s=o.length;s--;)e[i=L(e,o[s])]=!(n[i]=o[s])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ae(function(e){var t=[],n=[],i=a(e.replace(q,"$1"));return i[b]?ae(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:ae(function(e){return function(t){return oe(e,t).length>0}}),contains:ae(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||r(t)).indexOf(e)>-1}}),lang:ae(function(e){return z.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===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===p},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return K.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:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n<0?n+t:n]}),even:pe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:pe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:pe(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:pe(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=he(t);function me(){}function ve(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function ye(e,t,n){var i=t.dir,r=t.next,o=r||i,s=n&&"parentNode"===o,a=T++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var u,c,f,h=[E,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(c=(f=t[b]||(t[b]={}))[t.uniqueID]||(f[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((u=c[o])&&u[0]===E&&u[1]===a)return h[2]=u[2];if(c[o]=h,h[2]=e(t,n,l))return!0}return!1}}function _e(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function be(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),u&&t.push(a)));return s}function we(e,t,n,i,r,o){return i&&!i[b]&&(i=we(i)),r&&!r[b]&&(r=we(r,o)),ae(function(o,s,a,l){var u,c,f,h=[],d=[],p=s.length,g=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)oe(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:be(g,h,e,a,l),v=n?r||(o?e:p||i)?[]:s:m;if(n&&n(m,v,a,l),i)for(u=be(v,d),i(u,[],a,l),c=u.length;c--;)(f=u[c])&&(v[d[c]]=!(m[d[c]]=f));if(o){if(r||e){if(r){for(u=[],c=v.length;c--;)(f=v[c])&&u.push(m[c]=f);r(null,v=[],u,l)}for(c=v.length;c--;)(f=v[c])&&(u=r?L(o,f):h[c])>-1&&(o[u]=!(s[u]=f))}}else v=be(v===s?v.splice(p,v.length):v),r?r(null,s,v,l):k.apply(s,v)})}function Ee(e){for(var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,c=ye(function(e){return e===t},a,!0),f=ye(function(e){return L(t,e)>-1},a,!0),h=[function(e,n,i){var r=!s&&(i||n!==u)||((t=n).nodeType?c(e,n,i):f(e,n,i));return t=null,r}];l<o;l++)if(n=i.relative[e[l].type])h=[ye(_e(h),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[b]){for(r=++l;r<o&&!i.relative[e[r].type];r++);return we(l>1&&_e(h),l>1&&ve(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(q,"$1"),n,l<r&&Ee(e.slice(l,r)),r<o&&Ee(e=e.slice(r)),r<o&&ve(e))}h.push(n)}return _e(h)}function Te(e,t){var n=t.length>0,r=e.length>0,o=function(o,s,a,l,c){var f,p,m,v=0,y="0",_=o&&[],b=[],w=u,T=o||r&&i.find.TAG("*",c),C=E+=null==w?1:Math.random()||.1,x=T.length;for(c&&(u=s===d||s||c);y!==x&&null!=(f=T[y]);y++){if(r&&f){for(p=0,s||f.ownerDocument===d||(h(f),a=!g);m=e[p++];)if(m(f,s||d,a)){l.push(f);break}c&&(E=C)}n&&((f=!m&&f)&&v--,o&&_.push(f))}if(v+=y,n&&y!==v){for(p=0;m=t[p++];)m(_,b,s,a);if(o){if(v>0)for(;y--;)_[y]||b[y]||(b[y]=I.call(l));b=be(b)}k.apply(l,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(l)}return c&&(E=C,u=w),_};return n?ae(o):o}return me.prototype=i.filters=i.pseudos,i.setFilters=new me,s=oe.tokenize=function(e,t){var n,r,o,s,a,l,u,c=x[e+" "];if(c)return t?0:c.slice(0);for(a=e,l=[],u=i.preFilter;a;){for(s in n&&!(r=B.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),n=!1,(r=$.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(q," ")}),a=a.slice(n.length)),i.filter)!(r=V[s].exec(a))||u[s]&&!(r=u[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?oe.error(e):x(e,l).slice(0)},a=oe.compile=function(e,t){var n,i=[],r=[],o=A[e+" "];if(!o){for(t||(t=s(e)),n=t.length;n--;)(o=Ee(t[n]))[b]?i.push(o):r.push(o);(o=A(e,Te(r,i))).selector=e}return o},l=oe.select=function(e,t,n,r){var o,l,u,c,f,h="function"==typeof e&&e,d=!r&&s(e=h.selector||e);if(n=n||[],1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&g&&i.relative[l[1].type]){if(!(t=(i.find.ID(u.matches[0].replace(Z,ee),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=V.needsContext.test(e)?0:l.length;o--&&!i.relative[c=(u=l[o]).type];)if((f=i.find[c])&&(r=f(u.matches[0].replace(Z,ee),J.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(o,1),!(e=r.length&&ve(l)))return k.apply(n,r),n;break}}return(h||a(e,d))(r,t,!g,n,!t||J.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(S).join("")===b,n.detectDuplicates=!!f,h(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ue(P,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),oe}(e);v.find=T,v.expr=T.selectors,v.expr[":"]=v.expr.pseudos,v.uniqueSort=v.unique=T.uniqueSort,v.text=T.getText,v.isXMLDoc=T.isXML,v.contains=T.contains,v.escapeSelector=T.escape;var C=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&v(e).is(n))break;i.push(e)}return i},x=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=v.expr.match.needsContext;function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,N=/^.[^:#\[\.,]*$/;function I(e,t,n){return v.isFunction(t)?v.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?v.grep(e,function(e){return e===t!==n}):"string"!=typeof t?v.grep(e,function(e){return l.call(t,e)>-1!==n}):N.test(t)?v.filter(t,e,n):(t=v.filter(t,e),v.grep(e,function(e){return l.call(t,e)>-1!==n&&1===e.nodeType}))}v.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?v.find.matchesSelector(i,e)?[i]:[]:v.find.matches(e,v.grep(t,function(e){return 1===e.nodeType}))},v.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(v(e).filter(function(){for(t=0;t<i;t++)if(v.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)v.find(e,r[t],n);return i>1?v.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&A.test(e)?v(e):e||[],!1).length}});var O,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(v.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:k.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(v.merge(this,v.parseHTML(r[1],(t=t instanceof v?t[0]:t)&&t.nodeType?t.ownerDocument||t:i,!0)),D.test(r[1])&&v.isPlainObject(t))for(r in t)v.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=i.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v.isFunction(e)?void 0!==n.ready?n.ready(e):e(v):v.makeArray(e,this)}).prototype=v.fn,O=v(i);var j=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}v.fn.extend({has:function(e){var t=v(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(v.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&v(e);if(!A.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&v.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?v.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(v(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(v.uniqueSort(v.merge(this.get(),v(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),v.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return S(e,"iframe")?e.contentDocument:(S(e,"template")&&(e=e.content||e),v.merge([],e.childNodes))}},function(e,t){v.fn[e]=function(n,i){var r=v.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=v.filter(i,r)),this.length>1&&(L[e]||v.uniqueSort(r),j.test(e)&&r.reverse()),this.pushStack(r)}});var H=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function W(e,t,n,i){var r;try{e&&v.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&v.isFunction(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}v.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return v.each(e.match(H)||[],function(e,n){t[n]=!0}),t}(e):v.extend({},e);var t,n,i,r,o=[],s=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){v.each(n,function(n,i){v.isFunction(i)?e.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==v.type(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return v.each(arguments,function(e,t){for(var n;(n=v.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(e){return e?v.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},v.extend({Deferred:function(t){var n=[["notify","progress",v.Callbacks("memory"),v.Callbacks("memory"),2],["resolve","done",v.Callbacks("once memory"),v.Callbacks("once memory"),0,"resolved"],["reject","fail",v.Callbacks("once memory"),v.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return v.Deferred(function(t){v.each(n,function(n,i){var r=v.isFunction(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(t,i,r){var o=0;function s(t,n,i,r){return function(){var a=this,l=arguments,u=function(){var e,u;if(!(t<o)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");v.isFunction(u=e&&("object"==typeof e||"function"==typeof e)&&e.then)?r?u.call(e,s(o,n,R,r),s(o,n,M,r)):u.call(e,s(++o,n,R,r),s(o,n,M,r),s(o,n,R,n.notifyWith)):(i!==R&&(a=void 0,l=[e]),(r||n.resolveWith)(a,l))}},c=r?u:function(){try{u()}catch(e){v.Deferred.exceptionHook&&v.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(i!==M&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?c():(v.Deferred.getStackHook&&(c.stackTrace=v.Deferred.getStackHook()),e.setTimeout(c))}}return v.Deferred(function(e){n[0][3].add(s(0,e,v.isFunction(r)?r:R,e.notifyWith)),n[1][3].add(s(0,e,v.isFunction(t)?t:R)),n[2][3].add(s(0,e,v.isFunction(i)?i:M))}).promise()},promise:function(e){return null!=e?v.extend(e,r):r}},o={};return v.each(n,function(e,t){var s=t[2],a=t[5];r[t[1]]=s.add,a&&s.add(function(){i=a},n[3-e][2].disable,n[0][2].lock),s.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=s.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=o.call(arguments),s=v.Deferred(),a=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?o.call(arguments):n,--t||s.resolveWith(i,r)}};if(t<=1&&(W(e,s.done(a(n)).resolve,s.reject,!t),"pending"===s.state()||v.isFunction(r[n]&&r[n].then)))return s.then();for(;n--;)W(r[n],a(n),s.reject);return s.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;v.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&F.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},v.readyException=function(t){e.setTimeout(function(){throw t})};var q=v.Deferred();function B(){i.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),v.ready()}v.fn.ready=function(e){return q.then(e).catch(function(e){v.readyException(e)}),this},v.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--v.readyWait:v.isReady)||(v.isReady=!0,!0!==e&&--v.readyWait>0||q.resolveWith(i,[v]))}}),v.ready.then=q.then,"complete"===i.readyState||"loading"!==i.readyState&&!i.documentElement.doScroll?e.setTimeout(v.ready):(i.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var $=function(e,t,n,i,r,o,s){var a=0,l=e.length,u=null==n;if("object"===v.type(n))for(a in r=!0,n)$(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,v.isFunction(i)||(s=!0),u&&(s?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(v(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:u?t.call(e):l?t(e[0],n):o},U=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=v.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},U(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[v.camelCase(t)]=n;else for(i in t)r[v.camelCase(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][v.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,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(v.camelCase):(t=v.camelCase(t))in i?[t]:t.match(H)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||v.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!v.isEmptyObject(t)}};var z=new Q,V=new Q,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Y=/[A-Z]/g;function X(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(Y,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:K.test(e)?JSON.parse(e):e)}(n)}catch(e){}V.set(e,t,n)}else n=void 0;return n}v.extend({hasData:function(e){return V.hasData(e)||z.hasData(e)},data:function(e,t,n){return V.access(e,t,n)},removeData:function(e,t){V.remove(e,t)},_data:function(e,t,n){return z.access(e,t,n)},_removeData:function(e,t){z.remove(e,t)}}),v.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=V.get(o),1===o.nodeType&&!z.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=v.camelCase(i.slice(5)),X(o,i,r[i]));z.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){V.set(this,e)}):$(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=V.get(o,e)))return n;if(void 0!==(n=X(o,e)))return n}else this.each(function(){V.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){V.remove(this,e)})}}),v.extend({queue:function(e,t,n){var i;if(e)return i=z.get(e,t=(t||"fx")+"queue"),n&&(!i||Array.isArray(n)?i=z.access(e,t,v.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){var n=v.queue(e,t=t||"fx"),i=n.length,r=n.shift(),o=v._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){v.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return z.get(e,n)||z.access(e,n,{empty:v.Callbacks("once memory").add(function(){z.remove(e,[t+"queue",n])})})}}),v.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?v.queue(this[0],e):void 0===t?this:this.each(function(){var n=v.queue(this,e,t);v._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=v.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=z.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,J=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Z=["Top","Right","Bottom","Left"],ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&v.contains(e.ownerDocument,e)&&"none"===v.css(e,"display")},te=function(e,t,n,i){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=s[o];return r};function ne(e,t,n,i){var r,o=1,s=20,a=i?function(){return i.cur()}:function(){return v.css(e,t,"")},l=a(),u=n&&n[3]||(v.cssNumber[t]?"":"px"),c=(v.cssNumber[t]||"px"!==u&&+l)&&J.exec(v.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do{v.style(e,t,(c/=o=o||".5")+u)}while(o!==(o=a()/l)&&1!==o&&--s)}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}var ie={};function re(e){var t,n=e.ownerDocument,i=e.nodeName,r=ie[i];return r||(t=n.body.appendChild(n.createElement(i)),r=v.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),ie[i]=r,r)}function oe(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=z.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ee(i)&&(r[o]=re(i))):"none"!==n&&(r[o]="none",z.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}v.fn.extend({show:function(){return oe(this,!0)},hide:function(){return oe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?v(this).show():v(this).hide()})}});var se=/^(?:checkbox|radio)$/i,ae=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,le=/^$|\/(?:java|ecma)script/i,ue={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,"",""]};function ce(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?v.merge([e],n):n}function fe(e,t){for(var n=0,i=e.length;n<i;n++)z.set(e[n],"globalEval",!t||z.get(t[n],"globalEval"))}ue.optgroup=ue.option,ue.tbody=ue.tfoot=ue.colgroup=ue.caption=ue.thead,ue.th=ue.td;var he=/<|&#?\w+;/;function de(e,t,n,i,r){for(var o,s,a,l,u,c,f=t.createDocumentFragment(),h=[],d=0,p=e.length;d<p;d++)if((o=e[d])||0===o)if("object"===v.type(o))v.merge(h,o.nodeType?[o]:o);else if(he.test(o)){for(s=s||f.appendChild(t.createElement("div")),a=(ae.exec(o)||["",""])[1].toLowerCase(),s.innerHTML=(l=ue[a]||ue._default)[1]+v.htmlPrefilter(o)+l[2],c=l[0];c--;)s=s.lastChild;v.merge(h,s.childNodes),(s=f.firstChild).textContent=""}else h.push(t.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(i&&v.inArray(o,i)>-1)r&&r.push(o);else if(u=v.contains(o.ownerDocument,o),s=ce(f.appendChild(o),"script"),u&&fe(s),n)for(c=0;o=s[c++];)le.test(o.type||"")&&n.push(o);return f}!function(){var e=i.createDocumentFragment().appendChild(i.createElement("div")),t=i.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),p.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",p.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var pe=i.documentElement,ge=/^key/,me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ve=/^([^.]*)(?:\.(.+)|)/;function ye(){return!0}function _e(){return!1}function be(){try{return i.activeElement}catch(e){}}function we(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)we(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=_e;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return v().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=v.guid++)),e.each(function(){v.event.add(this,t,r,i,n)})}v.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,u,c,f,h,d,p,g,m=z.get(e);if(m)for(n.handler&&(n=(o=n).handler,r=o.selector),r&&v.find.matchesSelector(pe,r),n.guid||(n.guid=v.guid++),(l=m.events)||(l=m.events={}),(s=m.handle)||(s=m.handle=function(t){return void 0!==v&&v.event.triggered!==t.type?v.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(H)||[""]).length;u--;)d=g=(a=ve.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),d&&(f=v.event.special[d]||{},f=v.event.special[d=(r?f.delegateType:f.bindType)||d]||{},c=v.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&v.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[d])||((h=l[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,i,p,s)||e.addEventListener&&e.addEventListener(d,s)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),v.event.global[d]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,u,c,f,h,d,p,g,m=z.hasData(e)&&z.get(e);if(m&&(l=m.events)){for(u=(t=(t||"").match(H)||[""]).length;u--;)if(d=g=(a=ve.exec(t[u])||[])[1],p=(a[2]||"").split(".").sort(),d){for(f=v.event.special[d]||{},h=l[d=(i?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)c=h[o],!r&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(e,c));s&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,p,m.handle)||v.removeEvent(e,d,m.handle),delete l[d])}else for(d in l)v.event.remove(e,d+t[u],n,i,!0);v.isEmptyObject(l)&&z.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=v.event.fix(e),l=new Array(arguments.length),u=(z.get(this,"events")||{})[a.type]||[],c=v.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,a)){for(s=v.event.handlers.call(this,a,u),t=0;(r=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(i=((v.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(a.result=i)&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?v(r,this).index(u)>-1:v.find(r,this,null,[u]).length),s[r]&&o.push(i);o.length&&a.push({elem:u,handlers:o})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(v.Event.prototype,e,{enumerable:!0,configurable:!0,get:v.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[v.expando]?e:new v.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==be()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===be()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&S(this,"input"))return this.click(),!1},_default:function(e){return S(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},v.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},v.Event=function(e,t){return this instanceof v.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ye:_e,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&&v.extend(this,t),this.timeStamp=e&&e.timeStamp||v.now(),void(this[v.expando]=!0)):new v.Event(e,t)},v.Event.prototype={constructor:v.Event,isDefaultPrevented:_e,isPropagationStopped:_e,isImmediatePropagationStopped:_e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ye,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ye,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ye,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},v.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&&ge.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&me.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},v.event.addProp),v.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){v.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||v.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),v.fn.extend({on:function(e,t,n,i){return we(this,e,t,n,i)},one:function(e,t,n,i){return we(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,v(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=_e),this.each(function(){v.event.remove(this,e,n,t)})}});var Ee=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Te=/<script|<style|<link/i,Ce=/checked\s*(?:[^=]|=\s*.checked.)/i,xe=/^true\/(.*)/,Ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Se(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&v(">tbody",e)[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){var t=xe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Ie(e,t){var n,i,r,o,s,a,l,u;if(1===t.nodeType){if(z.hasData(e)&&(o=z.access(e),s=z.set(t,o),u=o.events))for(r in delete s.handle,s.events={},u)for(n=0,i=u[r].length;n<i;n++)v.event.add(t,r,u[r][n]);V.hasData(e)&&(a=V.access(e),l=v.extend({},a),V.set(t,l))}}function Oe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&se.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function ke(e,t,n,i){t=s.apply([],t);var r,o,a,l,u,c,f=0,h=e.length,d=h-1,m=t[0],y=v.isFunction(m);if(y||h>1&&"string"==typeof m&&!p.checkClone&&Ce.test(m))return e.each(function(r){var o=e.eq(r);y&&(t[0]=m.call(this,r,o.html())),ke(o,t,n,i)});if(h&&(o=(r=de(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(l=(a=v.map(ce(r,"script"),De)).length;f<h;f++)u=r,f!==d&&(u=v.clone(u,!0,!0),l&&v.merge(a,ce(u,"script"))),n.call(e[f],u,f);if(l)for(c=a[a.length-1].ownerDocument,v.map(a,Ne),f=0;f<l;f++)le.test((u=a[f]).type||"")&&!z.access(u,"globalEval")&&v.contains(c,u)&&(u.src?v._evalUrl&&v._evalUrl(u.src):g(u.textContent.replace(Ae,""),c))}return e}function je(e,t,n){for(var i,r=t?v.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||v.cleanData(ce(i)),i.parentNode&&(n&&v.contains(i.ownerDocument,i)&&fe(ce(i,"script")),i.parentNode.removeChild(i));return e}v.extend({htmlPrefilter:function(e){return e.replace(Ee,"<$1></$2>")},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=v.contains(e.ownerDocument,e);if(!(p.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||v.isXMLDoc(e)))for(s=ce(a),i=0,r=(o=ce(e)).length;i<r;i++)Oe(o[i],s[i]);if(t)if(n)for(o=o||ce(e),s=s||ce(a),i=0,r=o.length;i<r;i++)Ie(o[i],s[i]);else Ie(e,a);return(s=ce(a,"script")).length>0&&fe(s,!l&&ce(e,"script")),a},cleanData:function(e){for(var t,n,i,r=v.event.special,o=0;void 0!==(n=e[o]);o++)if(U(n)){if(t=n[z.expando]){if(t.events)for(i in t.events)r[i]?v.event.remove(n,i):v.removeEvent(n,i,t.handle);n[z.expando]=void 0}n[V.expando]&&(n[V.expando]=void 0)}}}),v.fn.extend({detach:function(e){return je(this,e,!0)},remove:function(e){return je(this,e)},text:function(e){return $(this,function(e){return void 0===e?v.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 ke(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Se(this,e).appendChild(e)})},prepend:function(){return ke(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Se(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ke(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ke(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&&(v.cleanData(ce(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Te.test(e)&&!ue[(ae.exec(e)||["",""])[1].toLowerCase()]){e=v.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(v.cleanData(ce(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return ke(this,arguments,function(t){var n=this.parentNode;v.inArray(this,e)<0&&(v.cleanData(ce(this)),n&&n.replaceChild(t,this))},e)}}),v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(e){for(var n,i=[],r=v(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),v(r[s])[t](n),a.apply(i,n.get());return this.pushStack(i)}});var Le=/^margin/,Pe=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),He=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)};function Re(e,t,n){var i,r,o,s,a=e.style;return(n=n||He(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||v.contains(e.ownerDocument,e)||(s=v.style(e,t)),!p.pixelMarginRight()&&Pe.test(s)&&Le.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function Me(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}!function(){function t(){if(l){l.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",l.innerHTML="",pe.appendChild(a);var t=e.getComputedStyle(l);n="1%"!==t.top,s="2px"===t.marginLeft,r="4px"===t.width,l.style.marginRight="50%",o="4px"===t.marginRight,pe.removeChild(a),l=null}}var n,r,o,s,a=i.createElement("div"),l=i.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===l.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(l),v.extend(p,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),o},reliableMarginLeft:function(){return t(),s}}))}();var We=/^(none|table(?!-c[ea]).+)/,Fe=/^--/,qe={position:"absolute",visibility:"hidden",display:"block"},Be={letterSpacing:"0",fontWeight:"400"},$e=["Webkit","Moz","ms"],Ue=i.createElement("div").style;function Qe(e){var t=v.cssProps[e];return t||(t=v.cssProps[e]=function(e){if(e in Ue)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=$e.length;n--;)if((e=$e[n]+t)in Ue)return e}(e)||e),t}function ze(e,t,n){var i=J.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Ve(e,t,n,i,r){var o,s=0;for(o=n===(i?"border":"content")?4:"width"===t?1:0;o<4;o+=2)"margin"===n&&(s+=v.css(e,n+Z[o],!0,r)),i?("content"===n&&(s-=v.css(e,"padding"+Z[o],!0,r)),"margin"!==n&&(s-=v.css(e,"border"+Z[o]+"Width",!0,r))):(s+=v.css(e,"padding"+Z[o],!0,r),"padding"!==n&&(s+=v.css(e,"border"+Z[o]+"Width",!0,r)));return s}function Ke(e,t,n){var i,r=He(e),o=Re(e,t,r),s="border-box"===v.css(e,"boxSizing",!1,r);return Pe.test(o)?o:(i=s&&(p.boxSizingReliable()||o===e.style[t]),"auto"===o&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)]),(o=parseFloat(o)||0)+Ve(e,t,n||(s?"border":"content"),i,r)+"px")}function Ye(e,t,n,i,r){return new Ye.prototype.init(e,t,n,i,r)}v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Re(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,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=v.camelCase(t),l=Fe.test(t),u=e.style;return l||(t=Qe(a)),s=v.cssHooks[t]||v.cssHooks[a],void 0===n?s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:u[t]:("string"==(o=typeof n)&&(r=J.exec(n))&&r[1]&&(n=ne(e,t,r),o="number"),void(null!=n&&n==n&&("number"===o&&(n+=r&&r[3]||(v.cssNumber[a]?"":"px")),p.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))))}},css:function(e,t,n,i){var r,o,s,a=v.camelCase(t);return Fe.test(t)||(t=Qe(a)),(s=v.cssHooks[t]||v.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=Re(e,t,i)),"normal"===r&&t in Be&&(r=Be[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,i){if(n)return!We.test(v.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ke(e,t,i):te(e,qe,function(){return Ke(e,t,i)})},set:function(e,n,i){var r,o=i&&He(e),s=i&&Ve(e,t,i,"border-box"===v.css(e,"boxSizing",!1,o),o);return s&&(r=J.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=v.css(e,t)),ze(0,n,s)}}}),v.cssHooks.marginLeft=Me(p.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Re(e,"marginLeft"))||e.getBoundingClientRect().left-te(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+Z[i]+t]=o[i]||o[i-2]||o[0];return r}},Le.test(e)||(v.cssHooks[e+t].set=ze)}),v.fn.extend({css:function(e,t){return $(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=He(e),r=t.length;s<r;s++)o[t[s]]=v.css(e,t[s],!1,i);return o}return void 0!==n?v.style(e,t,n):v.css(e,t)},e,t,arguments.length>1)}}),v.Tween=Ye,(Ye.prototype={constructor:Ye,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||v.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(v.cssNumber[n]?"":"px")},cur:function(){var e=Ye.propHooks[this.prop];return e&&e.get?e.get(this):Ye.propHooks._default.get(this)},run:function(e){var t,n=Ye.propHooks[this.prop];return this.pos=t=this.options.duration?v.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):Ye.propHooks._default.set(this),this}}).init.prototype=Ye.prototype,(Ye.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=v.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){v.fx.step[e.prop]?v.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[v.cssProps[e.prop]]&&!v.cssHooks[e.prop]?e.elem[e.prop]=e.now:v.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ye.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},v.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},v.fx=Ye.prototype.init,v.fx.step={};var Xe,Ge,Je=/^(?:toggle|show|hide)$/,Ze=/queueHooks$/;function et(){Ge&&(!1===i.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(et):e.setTimeout(et,v.fx.interval),v.fx.tick())}function tt(){return e.setTimeout(function(){Xe=void 0}),Xe=v.now()}function nt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Z[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function it(e,t,n){for(var i,r=(rt.tweeners[t]||[]).concat(rt.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function rt(e,t,n){var i,r,o=0,s=rt.prefilters.length,a=v.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Xe||tt(),n=Math.max(0,u.startTime+u.duration-t),i=1-(n/u.duration||0),o=0,s=u.tweens.length;o<s;o++)u.tweens[o].run(i);return a.notifyWith(e,[u,i,n]),i<1&&s?n:(s||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:v.extend({},t),opts:v.extend(!0,{specialEasing:{},easing:v.easing._default},n),originalProperties:t,originalOptions:n,startTime:Xe||tt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=v.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=v.camelCase(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=v.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(c,u.opts.specialEasing);o<s;o++)if(i=rt.prefilters[o].call(u,e,c,u.opts))return v.isFunction(i.stop)&&(v._queueHooks(u.elem,u.opts.queue).stop=v.proxy(i.stop,i)),i;return v.map(c,it,u),v.isFunction(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),v.fx.timer(v.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}v.Animation=v.extend(rt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ne(n.elem,e,J.exec(t),n),n}]},tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.match(H);for(var n,i=0,r=e.length;i<r;i++)(rt.tweeners[n=e[i]]=rt.tweeners[n]||[]).unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,l,u,c,f="width"in t||"height"in t,h=this,d={},p=e.style,g=e.nodeType&&ee(e),m=z.get(e,"fxshow");for(i in n.queue||(null==(s=v._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,v.queue(e,"fx").length||s.empty.fire()})})),t)if(Je.test(r=t[i])){if(delete t[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}d[i]=m&&m[i]||v.style(e,i)}if((l=!v.isEmptyObject(t))||!v.isEmptyObject(d))for(i in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=m&&m.display)&&(u=z.get(e,"display")),"none"===(c=v.css(e,"display"))&&(u?c=u:(oe([e],!0),u=e.style.display||u,c=v.css(e,"display"),oe([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===v.css(e,"float")&&(l||(h.done(function(){p.display=u}),null==u&&(u="none"===(c=p.display)?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,d)l||(m?"hidden"in m&&(g=m.hidden):m=z.access(e,"fxshow",{display:u}),o&&(m.hidden=!g),g&&oe([e],!0),h.done(function(){for(i in g||oe([e]),z.remove(e,"fxshow"),d)v.style(e,i,d[i])})),l=it(g?m[i]:0,i,h),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?rt.prefilters.unshift(e):rt.prefilters.push(e)}}),v.speed=function(e,t,n){var i=e&&"object"==typeof e?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};return v.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration=i.duration in v.fx.speeds?v.fx.speeds[i.duration]:v.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v.isFunction(i.old)&&i.old.call(this),i.queue&&v.dequeue(this,i.queue)},i},v.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=v.isEmptyObject(e),o=v.speed(t,n,i),s=function(){var t=rt(this,v.extend({},e),o);(r||z.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=v.timers,s=z.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&Ze.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||v.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=z.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=v.timers,s=i?i.length:0;for(n.finish=!0,v.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),v.each(["toggle","show","hide"],function(e,t){var n=v.fn[t];v.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(nt(t,!0),e,i,r)}}),v.each({slideDown:nt("show"),slideUp:nt("hide"),slideToggle:nt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){v.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),v.timers=[],v.fx.tick=function(){var e,t=0,n=v.timers;for(Xe=v.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||v.fx.stop(),Xe=void 0},v.fx.timer=function(e){v.timers.push(e),v.fx.start()},v.fx.interval=13,v.fx.start=function(){Ge||(Ge=!0,et())},v.fx.stop=function(){Ge=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fn.delay=function(t,n){return t=v.fx&&v.fx.speeds[t]||t,this.queue(n=n||"fx",function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}})},function(){var e=i.createElement("input"),t=i.createElement("select").appendChild(i.createElement("option"));e.type="checkbox",p.checkOn=""!==e.value,p.optSelected=t.selected,(e=i.createElement("input")).value="t",e.type="radio",p.radioValue="t"===e.value}();var ot,st=v.expr.attrHandle;v.fn.extend({attr:function(e,t){return $(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})}}),v.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?v.prop(e,t,n):(1===o&&v.isXMLDoc(e)||(r=v.attrHooks[t.toLowerCase()]||(v.expr.match.bool.test(t)?ot:void 0)),void 0!==n?null===n?void v.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=v.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(H);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),ot={set:function(e,t,n){return!1===t?v.removeAttr(e,n):e.setAttribute(n,n),n}},v.each(v.expr.match.bool.source.match(/\w+/g),function(e,t){var n=st[t]||v.find.attr;st[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=st[s],st[s]=r,r=null!=n(e,t,i)?s:null,st[s]=o),r}});var at=/^(?:input|select|textarea|button)$/i,lt=/^(?:a|area)$/i;function ut(e){return(e.match(H)||[]).join(" ")}function ct(e){return e.getAttribute&&e.getAttribute("class")||""}v.fn.extend({prop:function(e,t){return $(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[v.propFix[e]||e]})}}),v.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&v.isXMLDoc(e)||(r=v.propHooks[t=v.propFix[t]||t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=v.find.attr(e,"tabindex");return t?parseInt(t,10):at.test(e.nodeName)||lt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(v.propHooks.selected={get:function(e){return null},set:function(e){}}),v.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){v.propFix[this.toLowerCase()]=this}),v.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,l=0;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,ct(this)))});if("string"==typeof e&&e)for(t=e.match(H)||[];n=this[l++];)if(r=ct(n),i=1===n.nodeType&&" "+ut(r)+" "){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=ut(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,l=0;if(v.isFunction(e))return this.each(function(t){v(this).removeClass(e.call(this,t,ct(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(H)||[];n=this[l++];)if(r=ct(n),i=1===n.nodeType&&" "+ut(r)+" "){for(s=0;o=t[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(a=ut(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,ct(this),t),t)}):this.each(function(){var t,i,r,o;if("string"===n)for(i=0,r=v(this),o=e.match(H)||[];t=o[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||((t=ct(this))&&z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":z.get(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+ut(ct(n))+" ").indexOf(t)>-1)return!0;return!1}});var ft=/\r/g;v.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=v.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,v(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=v.map(r,function(e){return null==e?"":e+""})),(t=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=v.valHooks[r.type]||v.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(ft,""):null==n?"":n:void 0}}),v.extend({valHooks:{option:{get:function(e){var t=v.find.attr(e,"value");return null!=t?t:ut(v.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(t=v(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=v.makeArray(t),s=r.length;s--;)((i=r[s]).selected=v.inArray(v.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=v.inArray(v(e).val(),t)>-1}},p.checkOn||(v.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ht=/^(?:focusinfocus|focusoutblur)$/;v.extend(v.event,{trigger:function(t,n,r,o){var s,a,l,u,c,h,d,p=[r||i],g=f.call(t,"type")?t.type:t,m=f.call(t,"namespace")?t.namespace.split("."):[];if(a=l=r=r||i,3!==r.nodeType&&8!==r.nodeType&&!ht.test(g+v.event.triggered)&&(g.indexOf(".")>-1&&(g=(m=g.split(".")).shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[v.expando]?t:new v.Event(g,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:v.makeArray(n,[t]),d=v.event.special[g]||{},o||!d.trigger||!1!==d.trigger.apply(r,n))){if(!o&&!d.noBubble&&!v.isWindow(r)){for(ht.test((u=d.delegateType||g)+g)||(a=a.parentNode);a;a=a.parentNode)p.push(a),l=a;l===(r.ownerDocument||i)&&p.push(l.defaultView||l.parentWindow||e)}for(s=0;(a=p[s++])&&!t.isPropagationStopped();)t.type=s>1?u:d.bindType||g,(h=(z.get(a,"events")||{})[t.type]&&z.get(a,"handle"))&&h.apply(a,n),(h=c&&a[c])&&h.apply&&U(a)&&(t.result=h.apply(a,n),!1===t.result&&t.preventDefault());return t.type=g,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),n)||!U(r)||c&&v.isFunction(r[g])&&!v.isWindow(r)&&((l=r[c])&&(r[c]=null),v.event.triggered=g,r[g](),v.event.triggered=void 0,l&&(r[c]=l)),t.result}},simulate:function(e,t,n){var i=v.extend(new v.Event,n,{type:e,isSimulated:!0});v.event.trigger(i,null,t)}}),v.fn.extend({trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return v.event.trigger(e,t,n,!0)}}),v.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){v.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),v.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),p.focusin="onfocusin"in e,p.focusin||v.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){v.event.simulate(t,e.target,v.event.fix(e))};v.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=z.access(i,t);r||i.addEventListener(e,n,!0),z.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=z.access(i,t)-1;r?z.access(i,t,r):(i.removeEventListener(e,n,!0),z.remove(i,t))}}});var dt=e.location,pt=v.now(),gt=/\?/;v.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||v.error("Invalid XML: "+t),n};var mt=/\[\]$/,vt=/\r?\n/g,yt=/^(?:submit|button|image|reset|file)$/i,_t=/^(?:input|select|textarea|keygen)/i;function bt(e,t,n,i){var r;if(Array.isArray(t))v.each(t,function(t,r){n||mt.test(e)?i(e,r):bt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==v.type(t))i(e,t);else for(r in t)bt(e+"["+r+"]",t[r],n,i)}v.param=function(e,t){var n,i=[],r=function(e,t){var n=v.isFunction(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){r(this.name,this.value)});else for(n in e)bt(n,e[n],t,r);return i.join("&")},v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=v.prop(this,"elements");return e?v.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!v(this).is(":disabled")&&_t.test(this.nodeName)&&!yt.test(e)&&(this.checked||!se.test(e))}).map(function(e,t){var n=v(this).val();return null==n?null:Array.isArray(n)?v.map(n,function(e){return{name:t.name,value:e.replace(vt,"\r\n")}}):{name:t.name,value:n.replace(vt,"\r\n")}}).get()}});var wt=/%20/g,Et=/#.*$/,Tt=/([?&])_=[^&]*/,Ct=/^(.*?):[ \t]*([^\r\n]*)$/gm,xt=/^(?:GET|HEAD)$/,At=/^\/\//,St={},Dt={},Nt="*/".concat("*"),It=i.createElement("a");function Ot(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(H)||[];if(v.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function kt(e,t,n,i){var r={},o=e===Dt;function s(a){var l;return r[a]=!0,v.each(e[a]||[],function(e,a){var u=a(t,n,i);return"string"!=typeof u||o||r[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),s(u),!1)}),l}return s(t.dataTypes[0])||!r["*"]&&s("*")}function jt(e,t){var n,i,r=v.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&v.extend(!0,e,i),e}It.href=dt.href,v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:dt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(dt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Nt,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":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?jt(jt(e,v.ajaxSettings),t):jt(v.ajaxSettings,e)},ajaxPrefilter:Ot(St),ajaxTransport:Ot(Dt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var r,o,s,a,l,u,c,f,h,d,p=v.ajaxSetup({},n=n||{}),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?v(g):v.event,y=v.Deferred(),_=v.Callbacks("once memory"),b=p.statusCode||{},w={},E={},T="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ct.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=E[e.toLowerCase()]=E[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||T;return r&&r.abort(t),x(0,t),this}};if(y.promise(C),p.url=((t||p.url||dt.href)+"").replace(At,dt.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(H)||[""],null==p.crossDomain){u=i.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=It.protocol+"//"+It.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=v.param(p.data,p.traditional)),kt(St,p,n,C),c)return C;for(h in(f=v.event&&p.global)&&0==v.active++&&v.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!xt.test(p.type),o=p.url.replace(Et,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(wt,"+")):(d=p.url.slice(o.length),p.data&&(o+=(gt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Tt,"$1"),d=(gt.test(o)?"&":"?")+"_="+pt+++d),p.url=o+d),p.ifModified&&(v.lastModified[o]&&C.setRequestHeader("If-Modified-Since",v.lastModified[o]),v.etag[o]&&C.setRequestHeader("If-None-Match",v.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Nt+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(g,C,p)||c))return C.abort();if(T="abort",_.add(p.complete),C.done(p.success),C.fail(p.error),r=kt(Dt,p,n,C)){if(C.readyState=1,f&&m.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(l=e.setTimeout(function(){C.abort("timeout")},p.timeout));try{c=!1,r.send(w,x)}catch(e){if(c)throw e;x(-1,e)}}else x(-1,"No Transport");function x(t,n,i,a){var u,h,d,w,E,T=n;c||(c=!0,l&&e.clearTimeout(l),r=void 0,s=a||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,i&&(w=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,C,i)),w=function(e,t,n,i){var r,o,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(p,w,C,u),u?(p.ifModified&&((E=C.getResponseHeader("Last-Modified"))&&(v.lastModified[o]=E),(E=C.getResponseHeader("etag"))&&(v.etag[o]=E)),204===t||"HEAD"===p.type?T="nocontent":304===t?T="notmodified":(T=w.state,h=w.data,u=!(d=w.error))):(d=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(n||T)+"",u?y.resolveWith(g,[h,T,C]):y.rejectWith(g,[C,T,d]),C.statusCode(b),b=void 0,f&&m.trigger(u?"ajaxSuccess":"ajaxError",[C,p,u?h:d]),_.fireWith(g,[C,T]),f&&(m.trigger("ajaxComplete",[C,p]),--v.active||v.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return v.get(e,t,n,"json")},getScript:function(e,t){return v.get(e,void 0,t,"script")}}),v.each(["get","post"],function(e,t){v[t]=function(e,n,i,r){return v.isFunction(n)&&(r=r||i,i=n,n=void 0),v.ajax(v.extend({url:e,type:t,dataType:r,data:n,success:i},v.isPlainObject(e)&&e))}}),v._evalUrl=function(e){return v.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},v.fn.extend({wrapAll:function(e){var t;return this[0]&&(v.isFunction(e)&&(e=e.call(this[0])),t=v(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 v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){v(this).replaceWith(this.childNodes)}),this}}),v.expr.pseudos.hidden=function(e){return!v.expr.pseudos.visible(e)},v.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},v.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Lt={0:200,1223:204},Pt=v.ajaxSettings.xhr();p.cors=!!Pt&&"withCredentials"in Pt,p.ajax=Pt=!!Pt,v.ajaxTransport(function(t){var n,i;if(p.cors||Pt&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Lt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&i()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),v.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),v.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 v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),v.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,o){t=v("<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)}),i.head.appendChild(t[0])},abort:function(){n&&n()}}});var Ht=[],Rt=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ht.pop()||v.expando+"_"+pt++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(t,n,i){var r,o,s,a=!1!==t.jsonp&&(Rt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=v.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Rt,"$1"+r):!1!==t.jsonp&&(t.url+=(gt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||v.error(r+" was not called"),s[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){s=arguments},i.always(function(){void 0===o?v(e).removeProp(r):e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,Ht.push(r)),s&&v.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),p.createHTMLDocument=function(){var e=i.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),v.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(p.createHTMLDocument?((r=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(r)):t=i),o=D.exec(e),s=!n&&[],o?[t.createElement(o[1])]:(o=de([e],t,s),s&&s.length&&v(s).remove(),v.merge([],o.childNodes)));var r,o,s},v.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=ut(e.slice(a)),e=e.slice(0,a)),v.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&v.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?v("<div>").append(v.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.expr.pseudos.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length},v.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,u=v.css(e,"position"),c=v(e),f={};"static"===u&&(e.style.position="relative"),a=c.offset(),o=v.css(e,"top"),l=v.css(e,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(s=(i=c.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),v.isFunction(t)&&(t=t.call(e,n,v.extend({},a))),null!=t.top&&(f.top=t.top-a.top+s),null!=t.left&&(f.left=t.left-a.left+r),"using"in t?t.using.call(e,f):c.css(f)}},v.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){v.offset.setOffset(this,e,t)});var t,n,i,r,o=this[0];return o?o.getClientRects().length?{top:(i=o.getBoundingClientRect()).top+(r=(t=o.ownerDocument).defaultView).pageYOffset-(n=t.documentElement).clientTop,left:i.left+r.pageXOffset-n.clientLeft}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===v.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),S(e[0],"html")||(i=e.offset()),i={top:i.top+v.css(e[0],"borderTopWidth",!0),left:i.left+v.css(e[0],"borderLeftWidth",!0)}),{top:t.top-i.top-v.css(n,"marginTop",!0),left:t.left-i.left-v.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===v.css(e,"position");)e=e.offsetParent;return e||pe})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;v.fn[e]=function(i){return $(this,function(e,i,r){var o;return v.isWindow(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r?o?o[t]:e[i]:void(o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r)},e,i,arguments.length)}}),v.each(["top","left"],function(e,t){v.cssHooks[t]=Me(p.pixelPosition,function(e,n){if(n)return n=Re(e,t),Pe.test(n)?v(e).position()[t]+"px":n})}),v.each({Height:"height",Width:"width"},function(e,t){v.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){v.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return $(this,function(t,n,r){var o;return v.isWindow(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?v.css(t,n,a):v.style(t,n,r,a)},t,s?r:void 0,s)}})}),v.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,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),v.holdReady=function(e){e?v.readyWait++:v.ready(!0)},v.isArray=Array.isArray,v.parseJSON=JSON.parse,v.nodeName=S,"function"==typeof define&&define.amd&&define("jquery",[],function(){return v});var Mt=e.jQuery,Wt=e.$;return v.noConflict=function(t){return e.$===v&&(e.$=Wt),t&&e.jQuery===v&&(e.jQuery=Mt),v},t||(e.jQuery=e.$=v),v}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");!function(e){var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),i=function(e){function t(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(e){return(e[0]||e).nodeType}var i=!1,r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},o={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");return t||(t=e.getAttribute("href")||"",t=/^#[a-z]/i.test(t)?t:null),t},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},typeCheckConfig:function(e,i,r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o],a=i[o],l=a&&n(a)?"element":t(a);if(!new RegExp(s).test(l))throw new Error(e.toUpperCase()+': Option "'+o+'" provided type "'+l+'" but expected type "'+s+'".')}}};return i=function(){if(window.QUnit)return!1;var e=document.createElement("bootstrap");for(var t in r)if(void 0!==e.style[t])return{end:r[t]};return!1}(),e.fn.emulateTransitionEnd=function(t){var n=this,i=!1;return e(this).one(o.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||o.triggerTransitionEnd(n)},t),this},o.supportsTransitionEnd()&&(e.event.special[o.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),o}(jQuery),r=(function(t){var r="alert",o="bs.alert",s="."+o,a=t.fn[r],l={CLOSE:"close"+s,CLOSED:"closed"+s,CLICK_DATA_API:"click"+s+".data-api"},u=function(){function r(t){e(this,r),this._element=t}return r.prototype.close=function(e){var t=this._getRootElement(e=e||this._element);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},r.prototype.dispose=function(){t.removeData(this._element,o),this._element=null},r.prototype._getRootElement=function(e){var n=i.getSelectorFromElement(e),r=!1;return n&&(r=t(n)[0]),r||(r=t(e).closest(".alert")[0]),r},r.prototype._triggerCloseEvent=function(e){var n=t.Event(l.CLOSE);return t(e).trigger(n),n},r.prototype._removeElement=function(e){var n=this;return t(e).removeClass("show"),i.supportsTransitionEnd()&&t(e).hasClass("fade")?void t(e).one(i.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(150):void this._destroyElement(e)},r.prototype._destroyElement=function(e){t(e).detach().trigger(l.CLOSED).remove()},r._jQueryInterface=function(e){return this.each(function(){var n=t(this),i=n.data(o);i||(i=new r(this),n.data(o,i)),"close"===e&&i[e](this)})},r._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},n(r,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),r}();t(document).on(l.CLICK_DATA_API,'[data-dismiss="alert"]',u._handleDismiss(new u)),t.fn[r]=u._jQueryInterface,t.fn[r].Constructor=u,t.fn[r].noConflict=function(){return t.fn[r]=a,u._jQueryInterface}}(jQuery),function(t){var i="button",r="bs.button",o="."+r,s=".data-api",a=t.fn[i],l={CLICK_DATA_API:"click"+o+s,FOCUS_BLUR_DATA_API:"focus"+o+s+" blur"+o+s},u=function(){function i(t){e(this,i),this._element=t}return i.prototype.toggle=function(){var e=!0,n=t(this._element).closest('[data-toggle="buttons"]')[0];if(n){var i=t(this._element).find("input")[0];if(i){if("radio"===i.type)if(i.checked&&t(this._element).hasClass("active"))e=!1;else{var r=t(n).find(".active")[0];r&&t(r).removeClass("active")}e&&(i.checked=!t(this._element).hasClass("active"),t(i).trigger("change")),i.focus()}}this._element.setAttribute("aria-pressed",!t(this._element).hasClass("active")),e&&t(this._element).toggleClass("active")},i.prototype.dispose=function(){t.removeData(this._element,r),this._element=null},i._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(r);n||(n=new i(this),t(this).data(r,n)),"toggle"===e&&n[e]()})},n(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),i}();t(document).on(l.CLICK_DATA_API,'[data-toggle^="button"]',function(e){e.preventDefault();var n=e.target;t(n).hasClass("btn")||(n=t(n).closest(".btn")),u._jQueryInterface.call(t(n),"toggle")}).on(l.FOCUS_BLUR_DATA_API,'[data-toggle^="button"]',function(e){var n=t(e.target).closest(".btn")[0];t(n).toggleClass("focus",/^focus(in)?$/.test(e.type))}),t.fn[i]=u._jQueryInterface,t.fn[i].Constructor=u,t.fn[i].noConflict=function(){return t.fn[i]=a,u._jQueryInterface}}(jQuery),function(r){var o="carousel",s="bs.carousel",a="."+s,l=".data-api",u=r.fn[o],c={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},f={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},h={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},d={SLIDE:"slide"+a,SLID:"slid"+a,KEYDOWN:"keydown"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a,LOAD_DATA_API:"load"+a+l,CLICK_DATA_API:"click"+a+l},p={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},g=function(){function l(t,n){e(this,l),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(n),this._element=r(t)[0],this._indicatorsElement=r(this._element).find(p.INDICATORS)[0],this._addEventListeners()}return l.prototype.next=function(){if(this._isSliding)throw new Error("Carousel is sliding");this._slide(h.NEXT)},l.prototype.nextWhenVisible=function(){document.hidden||this.next()},l.prototype.prev=function(){if(this._isSliding)throw new Error("Carousel is sliding");this._slide(h.PREVIOUS)},l.prototype.pause=function(e){e||(this._isPaused=!0),r(this._element).find(p.NEXT_PREV)[0]&&i.supportsTransitionEnd()&&(i.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},l.prototype.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},l.prototype.to=function(e){var t=this;this._activeElement=r(this._element).find(p.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(this._isSliding)return void r(this._element).one(d.SLID,function(){return t.to(e)});if(n===e)return this.pause(),void this.cycle();this._slide(e>n?h.NEXT:h.PREVIOUS,this._items[e])}},l.prototype.dispose=function(){r(this._element).off(a),r.removeData(this._element,s),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},l.prototype._getConfig=function(e){return e=r.extend({},c,e),i.typeCheckConfig(o,e,f),e},l.prototype._addEventListeners=function(){var e=this;this._config.keyboard&&r(this._element).on(d.KEYDOWN,function(t){return e._keydown(t)}),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||r(this._element).on(d.MOUSEENTER,function(t){return e.pause(t)}).on(d.MOUSELEAVE,function(t){return e.cycle(t)})},l.prototype._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next();break;default:return}},l.prototype._getItemIndex=function(e){return this._items=r.makeArray(r(e).parent().find(p.ITEM)),this._items.indexOf(e)},l.prototype._getItemByDirection=function(e,t){var n=e===h.NEXT,i=e===h.PREVIOUS,r=this._getItemIndex(t);if((i&&0===r||n&&r===this._items.length-1)&&!this._config.wrap)return t;var o=(r+(e===h.PREVIOUS?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},l.prototype._triggerSlideEvent=function(e,t){var n=r.Event(d.SLIDE,{relatedTarget:e,direction:t});return r(this._element).trigger(n),n},l.prototype._setActiveIndicatorElement=function(e){if(this._indicatorsElement){r(this._indicatorsElement).find(p.ACTIVE).removeClass("active");var t=this._indicatorsElement.children[this._getItemIndex(e)];t&&r(t).addClass("active")}},l.prototype._slide=function(e,t){var n=this,o=r(this._element).find(p.ACTIVE_ITEM)[0],s=t||o&&this._getItemByDirection(e,o),a=Boolean(this._interval),l=void 0,u=void 0,c=void 0;if(e===h.NEXT?(l="carousel-item-left",u="carousel-item-next",c=h.LEFT):(l="carousel-item-right",u="carousel-item-prev",c=h.RIGHT),s&&r(s).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(s,c).isDefaultPrevented()&&o&&s){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(s);var f=r.Event(d.SLID,{relatedTarget:s,direction:c});i.supportsTransitionEnd()&&r(this._element).hasClass("slide")?(r(s).addClass(u),i.reflow(s),r(o).addClass(l),r(s).addClass(l),r(o).one(i.TRANSITION_END,function(){r(s).removeClass(l+" "+u).addClass("active"),r(o).removeClass("active "+u+" "+l),n._isSliding=!1,setTimeout(function(){return r(n._element).trigger(f)},0)}).emulateTransitionEnd(600)):(r(o).removeClass("active"),r(s).addClass("active"),this._isSliding=!1,r(this._element).trigger(f)),a&&this.cycle()}},l._jQueryInterface=function(e){return this.each(function(){var n=r(this).data(s),i=r.extend({},c,r(this).data());"object"===(void 0===e?"undefined":t(e))&&r.extend(i,e);var o="string"==typeof e?e:i.slide;if(n||(n=new l(this,i),r(this).data(s,n)),"number"==typeof e)n.to(e);else if("string"==typeof o){if(void 0===n[o])throw new Error('No method named "'+o+'"');n[o]()}else i.interval&&(n.pause(),n.cycle())})},l._dataApiClickHandler=function(e){var t=i.getSelectorFromElement(this);if(t){var n=r(t)[0];if(n&&r(n).hasClass("carousel")){var o=r.extend({},r(n).data(),r(this).data()),a=this.getAttribute("data-slide-to");a&&(o.interval=!1),l._jQueryInterface.call(r(n),o),a&&r(n).data(s).to(a),e.preventDefault()}}},n(l,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return c}}]),l}();r(document).on(d.CLICK_DATA_API,p.DATA_SLIDE,g._dataApiClickHandler),r(window).on(d.LOAD_DATA_API,function(){r(p.DATA_RIDE).each(function(){var e=r(this);g._jQueryInterface.call(e,e.data())})}),r.fn[o]=g._jQueryInterface,r.fn[o].Constructor=g,r.fn[o].noConflict=function(){return r.fn[o]=u,g._jQueryInterface}}(jQuery),function(r){var o="collapse",s="bs.collapse",a="."+s,l=r.fn[o],u={toggle:!0,parent:""},c={toggle:"boolean",parent:"string"},f={SHOW:"show"+a,SHOWN:"shown"+a,HIDE:"hide"+a,HIDDEN:"hidden"+a,CLICK_DATA_API:"click"+a+".data-api"},h=function(){function a(t,n){e(this,a),this._isTransitioning=!1,this._element=t,this._config=this._getConfig(n),this._triggerArray=r.makeArray(r('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return a.prototype.toggle=function(){r(this._element).hasClass("show")?this.hide():this.show()},a.prototype.show=function(){var e=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(!r(this._element).hasClass("show")){var t=void 0,n=void 0;if(this._parent&&((t=r.makeArray(r(this._parent).find(".card > .show, .card > .collapsing"))).length||(t=null)),!(t&&(n=r(t).data(s),n&&n._isTransitioning))){var o=r.Event(f.SHOW);if(r(this._element).trigger(o),!o.isDefaultPrevented()){t&&(a._jQueryInterface.call(r(t),"hide"),n||r(t).data(s,null));var l=this._getDimension();r(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[l]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&r(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var u=function(){r(e._element).removeClass("collapsing").addClass("collapse").addClass("show"),e._element.style[l]="",e.setTransitioning(!1),r(e._element).trigger(f.SHOWN)};if(!i.supportsTransitionEnd())return void u();var c="scroll"+(l[0].toUpperCase()+l.slice(1));r(this._element).one(i.TRANSITION_END,u).emulateTransitionEnd(600),this._element.style[l]=this._element[c]+"px"}}}},a.prototype.hide=function(){var e=this;if(this._isTransitioning)throw new Error("Collapse is transitioning");if(r(this._element).hasClass("show")){var t=r.Event(f.HIDE);if(r(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element["width"===n?"offsetWidth":"offsetHeight"]+"px",i.reflow(this._element),r(this._element).addClass("collapsing").removeClass("collapse").removeClass("show"),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&r(this._triggerArray).addClass("collapsed").attr("aria-expanded",!1),this.setTransitioning(!0);var o=function(){e.setTransitioning(!1),r(e._element).removeClass("collapsing").addClass("collapse").trigger(f.HIDDEN)};return this._element.style[n]="",i.supportsTransitionEnd()?void r(this._element).one(i.TRANSITION_END,o).emulateTransitionEnd(600):void o()}}},a.prototype.setTransitioning=function(e){this._isTransitioning=e},a.prototype.dispose=function(){r.removeData(this._element,s),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},a.prototype._getConfig=function(e){return(e=r.extend({},u,e)).toggle=Boolean(e.toggle),i.typeCheckConfig(o,e,c),e},a.prototype._getDimension=function(){return r(this._element).hasClass("width")?"width":"height"},a.prototype._getParent=function(){var e=this,t=r(this._config.parent)[0],n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return r(t).find(n).each(function(t,n){e._addAriaAndCollapsedClass(a._getTargetFromElement(n),[n])}),t},a.prototype._addAriaAndCollapsedClass=function(e,t){if(e){var n=r(e).hasClass("show");e.setAttribute("aria-expanded",n),t.length&&r(t).toggleClass("collapsed",!n).attr("aria-expanded",n)}},a._getTargetFromElement=function(e){var t=i.getSelectorFromElement(e);return t?r(t)[0]:null},a._jQueryInterface=function(e){return this.each(function(){var n=r(this),i=n.data(s),o=r.extend({},u,n.data(),"object"===(void 0===e?"undefined":t(e))&&e);if(!i&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),i||(i=new a(this,o),n.data(s,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})},n(a,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return u}}]),a}();r(document).on(f.CLICK_DATA_API,'[data-toggle="collapse"]',function(e){e.preventDefault();var t=h._getTargetFromElement(this),n=r(t).data(s)?"toggle":r(this).data();h._jQueryInterface.call(r(t),n)}),r.fn[o]=h._jQueryInterface,r.fn[o].Constructor=h,r.fn[o].noConflict=function(){return r.fn[o]=l,h._jQueryInterface}}(jQuery),function(t){var r="dropdown",o="bs.dropdown",s="."+o,a=".data-api",l=t.fn[r],u={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,CLICK:"click"+s,CLICK_DATA_API:"click"+s+a,FOCUSIN_DATA_API:"focusin"+s+a,KEYDOWN_DATA_API:"keydown"+s+a},c='[data-toggle="dropdown"]',f=function(){function r(t){e(this,r),this._element=t,this._addEventListeners()}return r.prototype.toggle=function(){if(this.disabled||t(this).hasClass("disabled"))return!1;var e=r._getParentFromElement(this),n=t(e).hasClass("show");if(r._clearMenus(),n)return!1;if("ontouchstart"in document.documentElement&&!t(e).closest(".navbar-nav").length){var i=document.createElement("div");i.className="dropdown-backdrop",t(i).insertBefore(this),t(i).on("click",r._clearMenus)}var o={relatedTarget:this},s=t.Event(u.SHOW,o);return t(e).trigger(s),!s.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded",!0),t(e).toggleClass("show"),t(e).trigger(t.Event(u.SHOWN,o)),!1)},r.prototype.dispose=function(){t.removeData(this._element,o),t(this._element).off(s),this._element=null},r.prototype._addEventListeners=function(){t(this._element).on(u.CLICK,this.toggle)},r._jQueryInterface=function(e){return this.each(function(){var n=t(this).data(o);if(n||(n=new r(this),t(this).data(o,n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e].call(this)}})},r._clearMenus=function(e){if(!e||3!==e.which){var n=t(".dropdown-backdrop")[0];n&&n.parentNode.removeChild(n);for(var i=t.makeArray(t(c)),o=0;o<i.length;o++){var s=r._getParentFromElement(i[o]),a={relatedTarget:i[o]};if(t(s).hasClass("show")&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"focusin"===e.type)&&t.contains(s,e.target))){var l=t.Event(u.HIDE,a);t(s).trigger(l),l.isDefaultPrevented()||(i[o].setAttribute("aria-expanded","false"),t(s).removeClass("show").trigger(t.Event(u.HIDDEN,a)))}}}},r._getParentFromElement=function(e){var n=void 0,r=i.getSelectorFromElement(e);return r&&(n=t(r)[0]),n||e.parentNode},r._dataApiKeydownHandler=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!t(this).hasClass("disabled"))){var n=r._getParentFromElement(this),i=t(n).hasClass("show");if(!i&&27!==e.which||i&&27===e.which){if(27===e.which){var o=t(n).find(c)[0];t(o).trigger("focus")}return void t(this).trigger("click")}var s=t(n).find('[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a').get();if(s.length){var a=s.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<s.length-1&&a++,a<0&&(a=0),s[a].focus()}}},n(r,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),r}();t(document).on(u.KEYDOWN_DATA_API,c,f._dataApiKeydownHandler).on(u.KEYDOWN_DATA_API,'[role="menu"]',f._dataApiKeydownHandler).on(u.KEYDOWN_DATA_API,'[role="listbox"]',f._dataApiKeydownHandler).on(u.CLICK_DATA_API+" "+u.FOCUSIN_DATA_API,f._clearMenus).on(u.CLICK_DATA_API,c,f.prototype.toggle).on(u.CLICK_DATA_API,".dropdown form",function(e){e.stopPropagation()}),t.fn[r]=f._jQueryInterface,t.fn[r].Constructor=f,t.fn[r].noConflict=function(){return t.fn[r]=l,f._jQueryInterface}}(jQuery),function(r){var o="modal",s="bs.modal",a="."+s,l=r.fn[o],u={backdrop:!0,keyboard:!0,focus:!0,show:!0},c={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},f={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,FOCUSIN:"focusin"+a,RESIZE:"resize"+a,CLICK_DISMISS:"click.dismiss"+a,KEYDOWN_DISMISS:"keydown.dismiss"+a,MOUSEUP_DISMISS:"mouseup.dismiss"+a,MOUSEDOWN_DISMISS:"mousedown.dismiss"+a,CLICK_DATA_API:"click"+a+".data-api"},h={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"},d=function(){function l(t,n){e(this,l),this._config=this._getConfig(n),this._element=t,this._dialog=r(t).find(h.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}return l.prototype.toggle=function(e){return this._isShown?this.hide():this.show(e)},l.prototype.show=function(e){var t=this;if(this._isTransitioning)throw new Error("Modal is transitioning");i.supportsTransitionEnd()&&r(this._element).hasClass("fade")&&(this._isTransitioning=!0);var n=r.Event(f.SHOW,{relatedTarget:e});r(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),r(document.body).addClass("modal-open"),this._setEscapeEvent(),this._setResizeEvent(),r(this._element).on(f.CLICK_DISMISS,h.DATA_DISMISS,function(e){return t.hide(e)}),r(this._dialog).on(f.MOUSEDOWN_DISMISS,function(){r(t._element).one(f.MOUSEUP_DISMISS,function(e){r(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))},l.prototype.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isTransitioning)throw new Error("Modal is transitioning");var n=i.supportsTransitionEnd()&&r(this._element).hasClass("fade");n&&(this._isTransitioning=!0);var o=r.Event(f.HIDE);r(this._element).trigger(o),this._isShown&&!o.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),r(document).off(f.FOCUSIN),r(this._element).removeClass("show"),r(this._element).off(f.CLICK_DISMISS),r(this._dialog).off(f.MOUSEDOWN_DISMISS),n?r(this._element).one(i.TRANSITION_END,function(e){return t._hideModal(e)}).emulateTransitionEnd(300):this._hideModal())},l.prototype.dispose=function(){r.removeData(this._element,s),r(window,document,this._element,this._backdrop).off(a),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null},l.prototype._getConfig=function(e){return e=r.extend({},u,e),i.typeCheckConfig(o,e,c),e},l.prototype._showElement=function(e){var t=this,n=i.supportsTransitionEnd()&&r(this._element).hasClass("fade");this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&i.reflow(this._element),r(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var o=r.Event(f.SHOWN,{relatedTarget:e}),s=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,r(t._element).trigger(o)};n?r(this._dialog).one(i.TRANSITION_END,s).emulateTransitionEnd(300):s()},l.prototype._enforceFocus=function(){var e=this;r(document).off(f.FOCUSIN).on(f.FOCUSIN,function(t){document===t.target||e._element===t.target||r(e._element).has(t.target).length||e._element.focus()})},l.prototype._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?r(this._element).on(f.KEYDOWN_DISMISS,function(t){27===t.which&&e.hide()}):this._isShown||r(this._element).off(f.KEYDOWN_DISMISS)},l.prototype._setResizeEvent=function(){var e=this;this._isShown?r(window).on(f.RESIZE,function(t){return e._handleUpdate(t)}):r(window).off(f.RESIZE)},l.prototype._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._isTransitioning=!1,this._showBackdrop(function(){r(document.body).removeClass("modal-open"),e._resetAdjustments(),e._resetScrollbar(),r(e._element).trigger(f.HIDDEN)})},l.prototype._removeBackdrop=function(){this._backdrop&&(r(this._backdrop).remove(),this._backdrop=null)},l.prototype._showBackdrop=function(e){var t=this,n=r(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){var o=i.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&r(this._backdrop).addClass(n),r(this._backdrop).appendTo(document.body),r(this._element).on(f.CLICK_DISMISS,function(e){return t._ignoreBackdropClick?void(t._ignoreBackdropClick=!1):void(e.target===e.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide()))}),o&&i.reflow(this._backdrop),r(this._backdrop).addClass("show"),!e)return;if(!o)return void e();r(this._backdrop).one(i.TRANSITION_END,e).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){r(this._backdrop).removeClass("show");var s=function(){t._removeBackdrop(),e&&e()};i.supportsTransitionEnd()&&r(this._element).hasClass("fade")?r(this._backdrop).one(i.TRANSITION_END,s).emulateTransitionEnd(150):s()}else e&&e()},l.prototype._handleUpdate=function(){this._adjustDialog()},l.prototype._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},l.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},l.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},l.prototype._setScrollbar=function(){var e=parseInt(r(h.FIXED_CONTENT).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=e+this._scrollbarWidth+"px")},l.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},l.prototype._getScrollbarWidth=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},l._jQueryInterface=function(e,n){return this.each(function(){var i=r(this).data(s),o=r.extend({},l.Default,r(this).data(),"object"===(void 0===e?"undefined":t(e))&&e);if(i||(i=new l(this,o),r(this).data(s,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e](n)}else o.show&&i.show(n)})},n(l,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return u}}]),l}();r(document).on(f.CLICK_DATA_API,h.DATA_TOGGLE,function(e){var t=this,n=void 0,o=i.getSelectorFromElement(this);o&&(n=r(o)[0]);var a=r(n).data(s)?"toggle":r.extend({},r(n).data(),r(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var l=r(n).one(f.SHOW,function(e){e.isDefaultPrevented()||l.one(f.HIDDEN,function(){r(t).is(":visible")&&t.focus()})});d._jQueryInterface.call(r(n),a,this)}),r.fn[o]=d._jQueryInterface,r.fn[o].Constructor=d,r.fn[o].noConflict=function(){return r.fn[o]=l,d._jQueryInterface}}(jQuery),function(r){var o="scrollspy",s="bs.scrollspy",a="."+s,l=r.fn[o],u={offset:10,method:"auto",target:""},c={offset:"number",method:"string",target:"(string|element)"},f={ACTIVATE:"activate"+a,SCROLL:"scroll"+a,LOAD_DATA_API:"load"+a+".data-api"},h={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},d=function(){function l(t,n){var i=this;e(this,l),this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+h.NAV_LINKS+","+this._config.target+" "+h.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,r(this._scrollElement).on(f.SCROLL,function(e){return i._process(e)}),this.refresh(),this._process()}return l.prototype.refresh=function(){var e=this,t="auto"===this._config.method?this._scrollElement!==this._scrollElement.window?"position":"offset":this._config.method,n="position"===t?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),r.makeArray(r(this._selector)).map(function(e){var o=void 0,s=i.getSelectorFromElement(e);return s&&(o=r(s)[0]),o&&(o.offsetWidth||o.offsetHeight)?[r(o)[t]().top+n,s]:null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},l.prototype.dispose=function(){r.removeData(this._element,s),r(this._scrollElement).off(a),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},l.prototype._getConfig=function(e){if("string"!=typeof(e=r.extend({},u,e)).target){var t=r(e.target).attr("id");t||(t=i.getUID(o),r(e.target).attr("id",t)),e.target="#"+t}return i.typeCheckConfig(o,e,c),e},l.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},l.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},l.prototype._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.offsetHeight},l.prototype._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}},l.prototype._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",");t=t.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var n=r(t.join(","));n.hasClass("dropdown-item")?(n.closest(h.DROPDOWN).find(h.DROPDOWN_TOGGLE).addClass("active"),n.addClass("active")):n.parents(h.LI).find("> "+h.NAV_LINKS).addClass("active"),r(this._scrollElement).trigger(f.ACTIVATE,{relatedTarget:e})},l.prototype._clear=function(){r(this._selector).filter(h.ACTIVE).removeClass("active")},l._jQueryInterface=function(e){return this.each(function(){var n=r(this).data(s),i="object"===(void 0===e?"undefined":t(e))&&e;if(n||(n=new l(this,i),r(this).data(s,n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},n(l,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return u}}]),l}();r(window).on(f.LOAD_DATA_API,function(){for(var e=r.makeArray(r(h.DATA_SPY)),t=e.length;t--;){var n=r(e[t]);d._jQueryInterface.call(n,n.data())}}),r.fn[o]=d._jQueryInterface,r.fn[o].Constructor=d,r.fn[o].noConflict=function(){return r.fn[o]=l,d._jQueryInterface}}(jQuery),function(t){var r="tab",o="bs.tab",s="."+o,a=t.fn[r],l={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,CLICK_DATA_API:"click"+s+".data-api"},u=function(){function r(t){e(this,r),this._element=t}return r.prototype.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass("active")||t(this._element).hasClass("disabled"))){var n=void 0,r=void 0,o=t(this._element).closest("ul:not(.dropdown-menu), ol:not(.dropdown-menu), nav:not(.dropdown-menu)")[0],s=i.getSelectorFromElement(this._element);o&&(r=(r=t.makeArray(t(o).find(".active")))[r.length-1]);var a=t.Event(l.HIDE,{relatedTarget:this._element}),u=t.Event(l.SHOW,{relatedTarget:r});if(r&&t(r).trigger(a),t(this._element).trigger(u),!u.isDefaultPrevented()&&!a.isDefaultPrevented()){s&&(n=t(s)[0]),this._activate(this._element,o);var c=function(){var n=t.Event(l.HIDDEN,{relatedTarget:e._element}),i=t.Event(l.SHOWN,{relatedTarget:r});t(r).trigger(n),t(e._element).trigger(i)};n?this._activate(n,n.parentNode,c):c()}}},r.prototype.dispose=function(){t.removeClass(this._element,o),this._element=null},r.prototype._activate=function(e,n,r){var o=this,s=t(n).find("> .nav-item > .active, > .active")[0],a=r&&i.supportsTransitionEnd()&&(s&&t(s).hasClass("fade")||Boolean(t(n).find("> .nav-item .fade, > .fade")[0])),l=function(){return o._transitionComplete(e,s,a,r)};s&&a?t(s).one(i.TRANSITION_END,l).emulateTransitionEnd(150):l(),s&&t(s).removeClass("show")},r.prototype._transitionComplete=function(e,n,r,o){if(n){t(n).removeClass("active");var s=t(n.parentNode).find("> .dropdown-menu .active")[0];s&&t(s).removeClass("active"),n.setAttribute("aria-expanded",!1)}if(t(e).addClass("active"),e.setAttribute("aria-expanded",!0),r?(i.reflow(e),t(e).addClass("show")):t(e).removeClass("fade"),e.parentNode&&t(e.parentNode).hasClass("dropdown-menu")){var a=t(e).closest(".dropdown")[0];a&&t(a).find(".dropdown-toggle").addClass("active"),e.setAttribute("aria-expanded",!0)}o&&o()},r._jQueryInterface=function(e){return this.each(function(){var n=t(this),i=n.data(o);if(i||(i=new r(this),n.data(o,i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})},n(r,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}}]),r}();t(document).on(l.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"]',function(e){e.preventDefault(),u._jQueryInterface.call(t(this),"show")}),t.fn[r]=u._jQueryInterface,t.fn[r].Constructor=u,t.fn[r].noConflict=function(){return t.fn[r]=a,u._jQueryInterface}}(jQuery),function(r){if(void 0===Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var o="tooltip",s="bs.tooltip",a="."+s,l=r.fn[o],u={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[],container:!1},c={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array",container:"(string|element|boolean)"},f={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},h={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},d={element:!1,enabled:!1},p=function(){function l(t,n){e(this,l),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._isTransitioning=!1,this._tether=null,this.element=t,this.config=this._getConfig(n),this.tip=null,this._setListeners()}return l.prototype.enable=function(){this._isEnabled=!0},l.prototype.disable=function(){this._isEnabled=!1},l.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},l.prototype.toggle=function(e){if(e){var t=this.constructor.DATA_KEY,n=r(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),r(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(r(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},l.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),r.removeData(this.element,this.constructor.DATA_KEY),r(this.element).off(this.constructor.EVENT_KEY),r(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&r(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},l.prototype.show=function(){var e=this;if("none"===r(this.element).css("display"))throw new Error("Please use show on visible elements");var t=r.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){if(this._isTransitioning)throw new Error("Tooltip is transitioning");r(this.element).trigger(t);var n=r.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var o=this.getTipElement(),s=i.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&r(o).addClass("fade");var a="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,u=this._getAttachment(a),c=!1===this.config.container?document.body:r(this.config.container);r(o).data(this.constructor.DATA_KEY,this).appendTo(c),r(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:u,element:o,target:this.element,classes:d,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),i.reflow(o),this._tether.position(),r(o).addClass("show");var f=function(){var t=e._hoverState;e._hoverState=null,e._isTransitioning=!1,r(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(i.supportsTransitionEnd()&&r(this.tip).hasClass("fade"))return this._isTransitioning=!0,void r(this.tip).one(i.TRANSITION_END,f).emulateTransitionEnd(l._TRANSITION_DURATION);f()}},l.prototype.hide=function(e){var t=this,n=this.getTipElement(),o=r.Event(this.constructor.Event.HIDE);if(this._isTransitioning)throw new Error("Tooltip is transitioning");var s=function(){"show"!==t._hoverState&&n.parentNode&&n.parentNode.removeChild(n),t.element.removeAttribute("aria-describedby"),r(t.element).trigger(t.constructor.Event.HIDDEN),t._isTransitioning=!1,t.cleanupTether(),e&&e()};r(this.element).trigger(o),o.isDefaultPrevented()||(r(n).removeClass("show"),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,i.supportsTransitionEnd()&&r(this.tip).hasClass("fade")?(this._isTransitioning=!0,r(n).one(i.TRANSITION_END,s).emulateTransitionEnd(150)):s(),this._hoverState="")},l.prototype.isWithContent=function(){return Boolean(this.getTitle())},l.prototype.getTipElement=function(){return this.tip=this.tip||r(this.config.template)[0]},l.prototype.setContent=function(){var e=r(this.getTipElement());this.setElementContent(e.find(".tooltip-inner"),this.getTitle()),e.removeClass("fade show"),this.cleanupTether()},l.prototype.setElementContent=function(e,n){var i=this.config.html;"object"===(void 0===n?"undefined":t(n))&&(n.nodeType||n.jquery)?i?r(n).parent().is(e)||e.empty().append(n):e.text(r(n).text()):e[i?"html":"text"](n)},l.prototype.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},l.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},l.prototype._getAttachment=function(e){return f[e.toUpperCase()]},l.prototype._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)r(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if("manual"!==t){var n="hover"===t?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,i="hover"===t?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;r(e.element).on(n,e.config.selector,function(t){return e._enter(t)}).on(i,e.config.selector,function(t){return e._leave(t)})}r(e.element).closest(".modal").on("hide.bs.modal",function(){return e.hide()})}),this.config.selector?this.config=r.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},l.prototype._fixTitle=function(){var e=t(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},l.prototype._enter=function(e,t){var n=this.constructor.DATA_KEY;return(t=t||r(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),r(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),r(t.getTipElement()).hasClass("show")||"show"===t._hoverState?void(t._hoverState="show"):(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?void(t._timeout=setTimeout(function(){"show"===t._hoverState&&t.show()},t.config.delay.show)):void t.show())},l.prototype._leave=function(e,t){var n=this.constructor.DATA_KEY;if((t=t||r(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),r(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=!1),!t._isWithActiveTrigger())return clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?void(t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide)):void t.hide()},l.prototype._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},l.prototype._getConfig=function(e){return(e=r.extend({},this.constructor.Default,r(this.element).data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),i.typeCheckConfig(o,e,this.constructor.DefaultType),e},l.prototype._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},l._jQueryInterface=function(e){return this.each(function(){var n=r(this).data(s),i="object"===(void 0===e?"undefined":t(e))&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new l(this,i),r(this).data(s,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},n(l,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return u}},{key:"NAME",get:function(){return o}},{key:"DATA_KEY",get:function(){return s}},{key:"Event",get:function(){return h}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return c}}]),l}();return r.fn[o]=p._jQueryInterface,r.fn[o].Constructor=p,r.fn[o].noConflict=function(){return r.fn[o]=l,p._jQueryInterface},p}(jQuery));!function(i){var o="popover",s="bs.popover",a="."+s,l=i.fn[o],u=i.extend({},r.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c=i.extend({},r.DefaultType,{content:"(string|element|function)"}),f={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},h=function(r){function l(){return e(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,r.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r),l.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},l.prototype.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0]},l.prototype.setContent=function(){var e=i(this.getTipElement());this.setElementContent(e.find(".popover-title"),this.getTitle()),this.setElementContent(e.find(".popover-content"),this._getContent()),e.removeClass("fade show"),this.cleanupTether()},l.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},l._jQueryInterface=function(e){return this.each(function(){var n=i(this).data(s),r="object"===(void 0===e?"undefined":t(e))?e:null;if((n||!/destroy|hide/.test(e))&&(n||(n=new l(this,r),i(this).data(s,n)),"string"==typeof e)){if(void 0===n[e])throw new Error('No method named "'+e+'"');n[e]()}})},n(l,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.6"}},{key:"Default",get:function(){return u}},{key:"NAME",get:function(){return o}},{key:"DATA_KEY",get:function(){return s}},{key:"Event",get:function(){return f}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return c}}]),l}(r);i.fn[o]=h._jQueryInterface,i.fn[o].Constructor=h,i.fn[o].noConflict=function(){return i.fn[o]=l,h._jQueryInterface}}(jQuery)}();