1function onTimeslotSelected(e){e.target.closest("form").querySelector("#customer_request_call_requested_at").value=e.target.value,e.target.closest("form").querySelector("#customer_request_outcome").value="book-appointment"}function hideActionsAndSpin(){document.querySelectorAll(".modal-form").forEach((e=>{e.style.display="none"})),document.querySelector(".wait-spinner").style.display="block"}function submitApptSelection(e){if(document.querySelector("#customer_request_call_requested_at").value=event.target.value,document.querySelector("#customer_request_outcome").value="book-appointment",e.length>1&&Array.from(e).forEach(((e,t)=>{if(this.id!==t){e.value=""}})),!e.hasAttribute("default-events")){let e=$(this).data("gainsight-json");e&&itrg.Gainsight.submit_gainsight_event(e),hideActionsAndSpin();let t=document.querySelector(".customer-request-form");return Rails.fire(t,"submit")}return null}function submitGainsightEvent(e){let t=$(e.target).data("gainsight-json");t&&itrg.Gainsight.submit_gainsight_event(t)}function waitForElm(e){return new Promise((t=>{if(document.querySelector(e))return t(document.querySelector(e));const n=new MutationObserver((()=>{document.querySelector(e)&&(n.disconnect(),t(document.querySelector(e)))}));n.observe(document.documentElement,{childList:!0,subtree:!0})}))}function toggleMvTable(e){let t=e.target;if(t.classList.contains("js-button-text")&&(t=e.target.parentNode),t){t.closest("#mv-table").querySelectorAll('div[data-extra="true"]').forEach((e=>{e.classList.contains("hidden")||"false"!==e.dataset.static?e.classList.remove("hidden"):e.classList.add("hidden")}));const e=t.querySelector(".js-button-text");"Less"===e.textContent?e.textContent="More":e.textContent="Less"}}function moveToSection(e){e.preventDefault();const t=e.target.dataset.moveToTarget;document.querySelector(`#${t}`).scrollIntoView({behavior:"smooth"})}function navigationDropDownChanged(e){const t=document.querySelector(e.target.value),n=t.closest('div[data-controller="tabs"]');n.querySelectorAll('div[role="tabpanel"]').forEach((e=>{e.classList.contains("hidden")||e.classList.add("hidden")})),t.classList.remove("hidden"),n.scrollIntoView({behavior:"smooth"})}!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";function n(e,t,n){var r,o,i=(n=n||xe).createElement("script");if(i.text=e,t)for(r in we)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?fe[pe.call(e)]||"object":typeof e}function o(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!ye(e)&&!be(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function a(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function s(e,t,n){return ye(t)?Se.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?Se.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?Se.grep(e,(function(e){return de.call(t,e)>-1!==n})):Se.filter(t,e,n)}function l(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e){var t={};return Se.each(e.match(Fe)||[],(function(e,n){t[n]=!0})),t}function u(e){return e}function d(e){throw e}function f(e,t,n,r){var o;try{e&&ye(o=e.promise)?o.call(e).done(t).fail(n):e&&ye(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function p(){xe.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),Se.ready()}function h(e,t){return t.toUpperCase()}function m(e){return e.replace(Ue,"ms-").replace(Xe,h)}function g(){this.expando=Se.expando+g.uid++}function v(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Je.test(e)?JSON.parse(e):e)}function y(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Qe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=v(n)}catch(e){}Ye.set(e,t,n)}else n=void 0;return n}function b(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return Se.css(e,t,"")},l=s(),c=n&&n[3]||(Se.cssNumber[t]?"":"px"),u=e.nodeType&&(Se.cssNumber[t]||"px"!==c&&+l)&&Ze.exec(Se.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)Se.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,Se.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}function x(e){var t,n=e.ownerDocument,r=e.nodeName,o=it[r];return o||(t=n.body.appendChild(n.createElement(r)),o=Se.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),it[r]=o,o)}function w(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Ve.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ot(r)&&(o[i]=x(r))):"none"!==n&&(o[i]="none",Ve.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}function E(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&i(e,t)?Se.merge([e],n):n}function T(e,t){for(var n=0,r=e.length;n<r;n++)Ve.set(e[n],"globalEval",!t||Ve.get(t[n],"globalEval"))}function S(e,t,n,o,i){for(var a,s,l,c,u,d,f=t.createDocumentFragment(),p=[],h=0,m=e.length;h<m;h++)if((a=e[h])||0===a)if("object"===r(a))Se.merge(p,a.nodeType?[a]:a);else if(ft.test(a)){for(s=s||f.appendChild(t.createElement("div")),l=(ct.exec(a)||["",""])[1].toLowerCase(),c=dt[l]||dt._default,s.innerHTML=c[1]+Se.htmlPrefilter(a)+c[2],d=c[0];d--;)s=s.lastChild;Se.merge(p,s.childNodes),(s=f.firstChild).textContent=""}else p.push(t.createTextNode(a));for(f.textContent="",h=0;a=p[h++];)if(o&&Se.inArray(a,o)>-1)i&&i.push(a);
vendor: 42,122 bytes, lines 1-2
1else if(u=nt(a),s=E(f.appendChild(a),"script"),u&&T(s),n)for(d=0;a=s[d++];)ut.test(a.type||"")&&n.push(a);return f}function k(){return!0}function C(){return!1}function A(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)A(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=C;else if(!o)return e;return 1===i&&(a=o,o=function(e){return Se().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=Se.guid++)),e.each((function(){Se.event.add(this,t,o,r,n)}))}function L(e,t,n){n?(Ve.set(e,t,!1),Se.event.add(e,t,{namespace:!1,handler:function(e){var n,r=Ve.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(Se.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=le.call(arguments),Ve.set(this,t,r),this[t](),n=Ve.get(this,t),Ve.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(Ve.set(this,t,Se.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=k)}})):void 0===Ve.get(e,t)&&Se.event.add(e,t,k)}function j(e,t){return i(e,"table")&&i(11!==t.nodeType?t:t.firstChild,"tr")&&Se(e).children("tbody")[0]||e}function q(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function D(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function _(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Ve.hasData(e)&&(s=Ve.get(e).events))for(o in Ve.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)Se.event.add(t,o,s[o][n]);Ye.hasData(e)&&(i=Ye.access(e),a=Se.extend({},i),Ye.set(t,a))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&<.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function N(e,t,r,o){t=ce(t);var i,a,s,l,c,u,d=0,f=e.length,p=f-1,h=t[0],m=ye(h);if(m||f>1&&"string"==typeof h&&!ve.checkClone&&mt.test(h))return e.each((function(n){var i=e.eq(n);m&&(t[0]=h.call(this,n,i.html())),N(i,t,r,o)}));if(f&&(a=(i=S(t,e[0].ownerDocument,!1,e,o)).firstChild,1===i.childNodes.length&&(i=a),a||o)){for(l=(s=Se.map(E(i,"script"),q)).length;d<f;d++)c=i,d!==p&&(c=Se.clone(c,!0,!0),l&&Se.merge(s,E(c,"script"))),r.call(e[d],c,d);if(l)for(u=s[s.length-1].ownerDocument,Se.map(s,D),d=0;d<l;d++)c=s[d],ut.test(c.type||"")&&!Ve.access(c,"globalEval")&&Se.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Se._evalUrl&&!c.noModule&&Se._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):n(c.textContent.replace(gt,""),c,u))}return e}function M(e,t,n){for(var r,o=t?Se.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||Se.cleanData(E(r)),r.parentNode&&(n&&nt(r)&&T(E(r,"script")),r.parentNode.removeChild(r));return e}function $(e,t,n){var r,o,i,a,s=yt.test(t),l=e.style;return(n=n||bt(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(je,"$1")||void 0),""!==a||nt(e)||(a=Se.style(e,t)),!ve.pixelBoxStyles()&&vt.test(a)&&wt.test(t)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function R(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function H(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Et.length;n--;)if((e=Et[n]+t)in Tt)return e}function I(e){var t=Se.cssProps[e]||St[e];return t||(e in Tt?e:St[e]=H(e)||e)}function P(e,t,n){var r=Ze.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function F(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=Se.css(e,n+et[a],!0,o)),r?("content"===n&&(l-=Se.css(e,"padding"+et[a],!0,o)),"margin"!==n&&(l-=Se.css(e,"border"+et[a]+"Width",!0,o))):(l+=Se.css(e,"padding"+et[a],!0,o),"padding"!==n?l+=Se.css(e,"border"+et[a]+"Width",!0,o):s+=Se.css(e,"border"+et[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l+c}function B(e,t,n){var r=bt(e),o=(!ve.boxSizingReliable()||n)&&"border-box"===Se.css(e,"boxSizing",!1,r),a=o,s=$(e,t,r),l="offset"+t[0].toUpperCase()+t.slice(1);if(vt.test(s)){if(!n)return s;s="auto"}return(!ve.boxSizingReliable()&&o||!ve.reliableTrDimensions()&&i(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===Se.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===Se.css(e,"boxSizing",!1,r),(a=l in e)&&(s=e[l])),(s=parseFloat(s)||0)+F(e,t,n||(o?"border":"content"),a,r,s)+"px"}function W(e,t,n,r,o){return new W.prototype.init(e,t,n,r,o)}function z(){jt&&(!1===xe.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(z):e.setTimeout(z,Se.fx.interval),Se.fx.tick())}function U(){return e.setTimeout((function(){Lt=void 0})),Lt=Date.now()}function X(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=et[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function G(e,t,n){for(var r,o=(J.tweeners[t]||[]).concat(J.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function V(e,t,n){var r,o,i,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&ot(e),g=Ve.get(e,"fxshow");for(r in n.queue||(null==(a=Se._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,Se.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],qt.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||Se.style(e,r)}if((l=!Se.isEmptyObject(t))||!Se.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=Ve.get(e,"display")),"none"===(u=Se.css(e,"display"))&&(c?u=c:(w([e],!0),c=e.style.display||c,u=Se.css(e,"display"),w([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===Se.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Ve.access(e,"fxshow",{display:c}),i&&(g.hidden=!m),m&&w([e],!0),f.done((function(){for(r in m||w([e]),Ve.remove(e,"fxshow"),p)Se.style(e,r,p[r])}))),l=G(m?g[r]:0,r,f),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}function Y(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=m(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=Se.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}function J(e,t,n){var r,o,i=0,a=J.prefilters.length,s=Se.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=Lt||U(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:Se.extend({},t),opts:Se.extend(!0,{specialEasing:{},easing:Se.easing._default},n),originalProperties:t,originalOptions:n,startTime:Lt||U(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Se.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(Y(u,c.opts.specialEasing);i<a;i++)if(r=J.prefilters[i].call(c,e,u,c.opts))return ye(r.stop)&&(Se._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return Se.map(u,G,c),ye(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Se.fx.timer(Se.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}function Q(e){return(e.match(Fe)||[]).join(" ")}function K(e){return e.getAttribute&&e.getAttribute("class")||""}function Z(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Fe)||[]}function ee(e,t,n,o){var i;if(Array.isArray(t))Se.each(t,(function(t,r){n||Bt.test(e)?o(e,r):ee(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,o)}));else if(n||"object"!==r(t))o(e,t);else for(i in t)ee(e+"["+i+"]",t[i],n,o)}function te(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(Fe)||[];if(ye(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ne(e,t,n,r){function o(s){var l;return i[s]=!0,Se.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||i[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}var i={},a=e===en;return o(t.dataTypes[0])||!i["*"]&&o("*")}function re(e,t){var n,r,o=Se.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&Se.extend(!0,e,r),e}function oe(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}function ie(e,t,n,r){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}var ae=[],se=Object.getPrototypeOf,le=ae.slice,ce=ae.flat?function(e){return ae.flat.call(e)}:function(e){return ae.concat.apply([],e)},ue=ae.push,de=ae.indexOf,fe={},pe=fe.toString,he=fe.hasOwnProperty,me=he.toString,ge=me.call(Object),ve={},ye=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},be=function(e){return null!=e&&e===e.window},xe=e.document,we={type:!0,src:!0,nonce:!0,noModule:!0},Ee="3.7.0",Te=/HTML$/i,Se=function(e,t){return new Se.fn.init(e,t)};Se.fn=Se.prototype={jquery:Ee,constructor:Se,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Se.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Se.each(this,e)},map:function(e){return this.pushStack(Se.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(Se.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(Se.grep(this,(function(e,t){return t%2})))},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:ue,sort:ae.sort,splice:ae.splice},Se.extend=Se.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||ye(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(Se.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||Se.isPlainObject(n)?n:{},o=!1,a[t]=Se.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},Se.extend({expando:"jQuery"+(Ee+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==pe.call(e))&&(!(t=se(e))||"function"==typeof(n=he.call(t,"constructor")&&t.constructor)&&me.call(n)===ge)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){n(e,{nonce:t&&t.nonce},r)},each:function(e,t){var n,r=0;if(o(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o)return e.textContent;if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=Se.text(t);return n},makeArray:function(e,t){var n=t||[];return null!=e&&(o(Object(e))?Se.merge(n,"string"==typeof e?[e]:e):ue.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Te.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,i,a=0,s=[];if(o(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&s.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&s.push(i);return ce(s)},guid:1,support:ve}),"function"==typeof Symbol&&(Se.fn[Symbol.iterator]=ae[Symbol.iterator]),Se.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){fe["[object "+t+"]"]=t.toLowerCase()}));var ke=ae.pop,Ce=ae.sort,Ae=ae.splice,Le="[\\x20\\t\\r\\n\\f]",je=new RegExp("^"+Le+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Le+"+$","g");Se.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var qe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;Se.escapeSelector=function(e){return(e+"").replace(qe,a)};var De=xe,_e=ue;!function(){function t(){try{return q.activeElement}catch(e){}}function n(e,t,r,o){var i,a,s,l,c,u,p,g=t&&t.ownerDocument,v=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return r;if(!o&&(f(t),t=t||q,_)){if(11!==v&&(c=re.exec(e)))if(i=c[1]){if(9===v){if(!(s=t.getElementById(i)))return r;if(s.id===i)return M.call(r,s),r}else if(g&&(s=g.getElementById(i))&&n.contains(t,s)&&s.id===i)return M.call(r,s),r}else{if(c[2])return M.apply(r,t.getElementsByTagName(e)),r;if((i=c[3])&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(i)),r}if(!(B[e+" "]||O&&O.test(e))){if(p=e,g=t,1===v&&(Q.test(e)||J.test(e))){for((g=oe.test(e)&&d(t.parentNode)||t)==t&&ve.scope||((l=t.getAttribute("id"))?l=Se.escapeSelector(l):t.setAttribute("id",l=$)),a=(u=h(e)).length;a--;)u[a]=(l?"#"+l:":scope")+" "+m(u[a]);p=u.join(",")}try{return M.apply(r,g.querySelectorAll(p)),r}catch(t){B(e,!0)}finally{l===$&&t.removeAttribute("id")}}}return S(e.replace(je,"$1"),t,r,o)}function r(){function e(n,r){return t.push(n+" ")>C.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function o(e){return e[$]=!0,e}function a(e){var t=q.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e){return function(t){return i(t,"input")&&t.type===e}}function l(e){return function(t){return(i(t,"input")||i(t,"button"))&&t.type===e}}function c(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&&ue(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return o((function(t){return t=+t,o((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function d(e){return e&&void 0!==e.getElementsByTagName&&e}function f(e){var t,r=e?e.ownerDocument||e:De;return r!=q&&9===r.nodeType&&r.documentElement?(D=(q=r).documentElement,_=!Se.isXMLDoc(q),N=D.matches||D.webkitMatchesSelector||D.msMatchesSelector,De!=q&&(t=q.defaultView)&&t.top!==t&&t.addEventListener("unload",ce),ve.getById=a((function(e){return D.appendChild(e).id=Se.expando,!q.getElementsByName||!q.getElementsByName(Se.expando).length})),ve.disconnectedMatch=a((function(e){return N.call(e,"*")})),ve.scope=a((function(){return q.querySelectorAll(":scope")})),ve.cssHas=a((function(){try{return q.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),ve.getById?(C.filter.ID=function(e){var t=e.replace(ie,se);return function(e){return e.getAttribute("id")===t}},C.find.ID=function(e,t){if(void 0!==t.getElementById&&_){var n=t.getElementById(e);return n?[n]:[]}}):(C.filter.ID=function(e){var t=e.replace(ie,se);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},C.find.ID=function(e,t){if(void 0!==t.getElementById&&_){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),C.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},C.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&_)return t.getElementsByClassName(e)},O=[],a((function(e){var t;D.appendChild(e).innerHTML="<a id='"+$+"' href='' disabled='disabled'></a><select id='"+$+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||O.push("\\["+Le+"*(?:value|"+z+")"),e.querySelectorAll("[id~="+$+"-]").length||O.push("~="),e.querySelectorAll("a#"+$+"+*").length||O.push(".#.+[+~]"),e.querySelectorAll(":checked").length||O.push(":checked"),(t=q.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),D.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),(t=q.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||O.push("\\["+Le+"*name"+Le+"*="+Le+"*(?:''|\"\")")})),ve.cssHas||O.push(":has"),O=O.length&&new RegExp(O.join("|")),W=function(e,t){if(e===t)return j=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!ve.sortDetached&&t.compareDocumentPosition(e)===r?e===q||e.ownerDocument==De&&n.contains(De,e)?-1:t===q||t.ownerDocument==De&&n.contains(De,t)?1:L?de.call(L,e)-de.call(L,t):0:4&r?-1:1)},q):q}function p(){}function h(e,t){var r,o,i,a,s,l,c,u=P[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=C.preFilter;s;){for(a in r&&!(o=Y.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),r=!1,(o=J.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(je," ")}),s=s.slice(r.length)),C.filter)!(o=ee[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return t?s.length:s?n.error(e):P(e,l).slice(0)}function m(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function g(e,t,n){var r=t.dir,o=t.next,a=o||r,s=n&&"parentNode"===a,l=H++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,c){var u,d,f=[R,l];if(c){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(d=t[$]||(t[$]={}),o&&i(t,o))t=t[r]||t;else{if((u=d[a])&&u[0]===R&&u[1]===l)return f[2]=u[2];if(d[a]=f,f[2]=e(t,n,c))return!0}return!1}}function v(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function y(e,t,r){for(var o=0,i=t.length;o<i;o++)n(e,t[o],r);return r}function b(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function x(e,t,n,r,i,a){return r&&!r[$]&&(r=x(r)),i&&!i[$]&&(i=x(i,a)),o((function(o,a,s,l){var c,u,d,f,p=[],h=[],m=a.length,g=o||y(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?g:b(g,p,e,s,l);if(n?n(v,f=i||(o?e:m||r)?[]:a,s,l):f=v,r)for(c=b(f,h),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(f[h[u]]=!(v[h[u]]=d));if(o){if(i||e){if(i){for(c=[],u=f.length;u--;)(d=f[u])&&c.push(v[u]=d);i(null,f=[],c,l)}for(u=f.length;u--;)(d=f[u])&&(c=i?de.call(o,d):p[u])>-1&&(o[c]=!(a[c]=d))}}else f=b(f===a?f.splice(m,f.length):f),i?i(null,a,f,l):M.apply(a,f)}))}function w(e){for(var t,n,r,o=e.length,i=C.relative[e[0].type],a=i||C.relative[" "],s=i?1:0,l=g((function(e){return e===t}),a,!0),c=g((function(e){return de.call(t,e)>-1}),a,!0),u=[function(e,n,r){var o=!i&&(r||n!=A)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,o}];s<o;s++)if(n=C.relative[e[s].type])u=[g(v(u),n)];else{if((n=C.filter[e[s].type].apply(null,e[s].matches))[$]){for(r=++s;r<o&&!C.relative[e[r].type];r++);return x(s>1&&v(u),s>1&&m(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(je,"$1"),n,s<r&&w(e.slice(s,r)),r<o&&w(e=e.slice(r)),r<o&&m(e))}u.push(n)}return v(u)}function E(e,t){var n=t.length>0,r=e.length>0,i=function(o,i,a,s,l){var c,u,d,p=0,h="0",m=o&&[],g=[],v=A,y=o||r&&C.find.TAG("*",l),x=R+=null==v?1:Math.random()||.1,w=y.length;for(l&&(A=i==q||i||l);h!==w&&null!=(c=y[h]);h++){if(r&&c){for(u=0,i||c.ownerDocument==q||(f(c),a=!_);d=e[u++];)if(d(c,i||q,a)){M.call(s,c);break}l&&(R=x)}n&&((c=!d&&c)&&p--,o&&m.push(c))}if(p+=h,n&&h!==p){for(u=0;d=t[u++];)d(m,g,i,a);if(o){if(p>0)for(;h--;)m[h]||g[h]||(g[h]=ke.call(s));g=b(g)}M.apply(s,g),l&&!o&&g.length>0&&p+t.length>1&&Se.uniqueSort(s)}return l&&(R=x,A=v),m};return n?o(i):i}function T(e,t){var n,r=[],o=[],i=F[e+" "];if(!i){for(t||(t=h(e)),n=t.length;n--;)(i=w(t[n]))[$]?r.push(i):o.push(i);(i=F(e,E(o,r))).selector=e}return i}function S(e,t,n,r){var o,i,a,s,l,c="function"==typeof e&&e,u=!r&&h(e=c.selector||e);if(n=n||[],1===u.length){if((i=u[0]=u[0].slice(0)).length>2&&"ID"===(a=i[0]).type&&9===t.nodeType&&_&&C.relative[i[1].type]){if(!(t=(C.find.ID(a.matches[0].replace(ie,se),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=ee.needsContext.test(e)?0:i.length;o--&&(a=i[o],!C.relative[s=a.type]);)if((l=C.find[s])&&(r=l(a.matches[0].replace(ie,se),oe.test(i[0].type)&&d(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&m(i)))return M.apply(n,r),n;break}}return(c||T(e,u))(r,t,!_,n,!t||oe.test(e)&&d(t.parentNode)||t),n}var k,C,A,L,j,q,D,_,O,N,M=_e,$=Se.expando,R=0,H=0,I=r(),P=r(),F=r(),B=r(),W=function(e,t){return e===t&&(j=!0),0},z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",U="(?:\\\\[\\da-fA-F]{1,6}"+Le+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",X="\\["+Le+"*("+U+")(?:"+Le+"*([*^$|!~]?=)"+Le+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+U+"))|)"+Le+"*\\]",G=":("+U+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+X+")*)|.*)\\)|)",V=new RegExp(Le+"+","g"),Y=new RegExp("^"+Le+"*,"+Le+"*"),J=new RegExp("^"+Le+"*([>+~]|"+Le+")"+Le+"*"),Q=new RegExp(Le+"|>"),K=new RegExp(G),Z=new RegExp("^"+U+"$"),ee={ID:new RegExp("^#("+U+")"),CLASS:new RegExp("^\\.("+U+")"),TAG:new RegExp("^("+U+"|[*])"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Le+"*(even|odd|(([+-]|)(\\d*)n|)"+Le+"*(?:([+-]|)"+Le+"*(\\d+)|))"+Le+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+Le+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Le+"*((?:-\\d)?\\d*)"+Le+"*\\)|)(?=[^-]|$)","i")},te=/^(?:input|select|textarea|button)$/i,ne=/^h\d$/i,re=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,oe=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}"+Le+"?|\\\\([^\\r\\n\\f])","g"),se=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ce=function(){f()},ue=g((function(e){return!0===e.disabled&&i(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{M.apply(ae=le.call(De.childNodes),De.childNodes),ae[De.childNodes.length].nodeType}catch(e){M={apply:function(e,t){_e.apply(e,le.call(t))},call:function(e){_e.apply(e,le.call(arguments,1))}}}for(k in n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if(f(e),_&&!B[t+" "]&&(!O||!O.test(t)))try{var r=N.call(e,t);if(r||ve.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){B(t,!0)}return n(t,q,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!=q&&f(e),Se.contains(e,t)},n.attr=function(e,t){(e.ownerDocument||e)!=q&&f(e);var n=C.attrHandle[t.toLowerCase()],r=n&&he.call(C.attrHandle,t.toLowerCase())?n(e,t,!_):void 0;return void 0!==r?r:e.getAttribute(t)},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Se.uniqueSort=function(e){var t,n=[],r=0,o=0;if(j=!ve.sortStable,L=!ve.sortStable&&le.call(e,0),Ce.call(e,W),j){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)Ae.call(e,n[r],1)}return L=null,e},Se.fn.uniqueSort=function(){return this.pushStack(Se.uniqueSort(le.apply(this)))},C=Se.expr={cacheLength:50,createPseudo:o,match:ee,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(ie,se),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,se),"~="===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]||n.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]&&n.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ee.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=h(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(ie,se).toLowerCase();return"*"===e?function(){return!0}:function(e){return i(e,t)}},CLASS:function(e){var t=I[e+" "];return t||(t=new RegExp("(^|"+Le+")"+e+"("+Le+"|$)"))&&I(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,r){return function(o){var i=n.attr(o,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(V," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var a="nth"!==e.slice(0,3),s="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var u,d,f,p,h,m=a!==s?"nextSibling":"previousSibling",g=t.parentNode,v=l&&t.nodeName.toLowerCase(),y=!c&&!l,b=!1;if(g){if(a){for(;m;){for(f=t;f=f[m];)if(l?i(f,v):1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&y){ 2for(b=(p=(u=(d=g[$]||(g[$]={}))[e]||[])[0]===R&&u[1])&&u[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){d[e]=[R,p,b];break}}else if(y&&(b=p=(u=(d=t[$]||(t[$]={}))[e]||[])[0]===R&&u[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&(!(l?i(f,v):1===f.nodeType)||!++b||(y&&((d=f[$]||(f[$]={}))[e]=[R,b]),f!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var r,i=C.pseudos[e]||C.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return i[$]?i(t):i.length>1?(r=[e,e,"",t],C.setFilters.hasOwnProperty(e.toLowerCase())?o((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=de.call(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:o((function(e){var t=[],n=[],r=T(e.replace(je,"$1"));return r[$]?o((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:o((function(e){return function(t){return n(e,t).length>0}})),contains:o((function(e){return e=e.replace(ie,se),function(t){return(t.textContent||Se.text(t)).indexOf(e)>-1}})),lang:o((function(e){return Z.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(ie,se).toLowerCase(),function(t){var n;do{if(n=_?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===D},focus:function(e){return e===t()&&q.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(e){return i(e,"input")&&!!e.checked||i(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!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!C.pseudos.empty(e)},header:function(e){return ne.test(e.nodeName)},input:function(e){return te.test(e.nodeName)},button:function(e){return i(e,"input")&&"button"===e.type||i(e,"button")},text:function(e){var t;return i(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u((function(){return[0]})),last:u((function(e,t){return[t-1]})),eq:u((function(e,t,n){return[n<0?n+t:n]})),even:u((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:u((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:u((function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:u((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},C.pseudos.nth=C.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[k]=s(k);for(k in{submit:!0,reset:!0})C.pseudos[k]=l(k);p.prototype=C.filters=C.pseudos,C.setFilters=new p,ve.sortStable=$.split("").sort(W).join("")===$,f(),ve.sortDetached=a((function(e){return 1&e.compareDocumentPosition(q.createElement("fieldset"))})),Se.find=n,Se.expr[":"]=Se.expr.pseudos,Se.unique=Se.uniqueSort,n.compile=T,n.select=S,n.setDocument=f,n.escape=Se.escapeSelector,n.getText=Se.text,n.isXML=Se.isXMLDoc,n.selectors=Se.expr,n.support=Se.support,n.uniqueSort=Se.uniqueSort}();var Oe=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&Se(e).is(n))break;r.push(e)}return r},Ne=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Me=Se.expr.match.needsContext,$e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Se.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Se.find.matchesSelector(r,e)?[r]:[]:Se.find.matches(e,Se.grep(t,(function(e){return 1===e.nodeType})))},Se.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(Se(e).filter((function(){for(t=0;t<r;t++)if(Se.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)Se.find(e,o[t],n);return r>1?Se.uniqueSort(n):n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&Me.test(e)?Se(e):e||[],!1).length}});var Re,He=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Se.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Re,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:He.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Se?t[0]:t,Se.merge(this,Se.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:xe,!0)),$e.test(r[1])&&Se.isPlainObject(t))for(r in t)ye(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=xe.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ye(e)?void 0!==n.ready?n.ready(e):e(Se):Se.makeArray(e,this)}).prototype=Se.fn,Re=Se(xe);var Ie=/^(?:parents|prev(?:Until|All))/,Pe={children:!0,contents:!0,next:!0,prev:!0};Se.fn.extend({has:function(e){var t=Se(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(Se.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&Se(e);if(!Me.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Se.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?Se.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?de.call(Se(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Se.uniqueSort(Se.merge(this.get(),Se(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Se.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Oe(e,"parentNode")},parentsUntil:function(e,t,n){return Oe(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return Oe(e,"nextSibling")},prevAll:function(e){return Oe(e,"previousSibling")},nextUntil:function(e,t,n){return Oe(e,"nextSibling",n)},prevUntil:function(e,t,n){return Oe(e,"previousSibling",n)},siblings:function(e){return Ne((e.parentNode||{}).firstChild,e)},children:function(e){return Ne(e.firstChild)},contents:function(e){return null!=e.contentDocument&&se(e.contentDocument)?e.contentDocument:(i(e,"template")&&(e=e.content||e),Se.merge([],e.childNodes))}},(function(e,t){Se.fn[e]=function(n,r){var o=Se.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=Se.filter(r,o)),this.length>1&&(Pe[e]||Se.uniqueSort(o),Ie.test(e)&&o.reverse()),this.pushStack(o)}}));var Fe=/[^\x20\t\r\n\f]+/g;Se.Callbacks=function(e){e="string"==typeof e?c(e):Se.extend({},e);var t,n,o,i,a=[],s=[],l=-1,u=function(){for(i=i||e.once,o=t=!0;s.length;l=-1)for(n=s.shift();++l<a.length;)!1===a[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},d={add:function(){return a&&(n&&!t&&(l=a.length-1,s.push(n)),function t(n){Se.each(n,(function(n,o){ye(o)?e.unique&&d.has(o)||a.push(o):o&&o.length&&"string"!==r(o)&&t(o)}))}(arguments),n&&!t&&u()),this},remove:function(){return Se.each(arguments,(function(e,t){for(var n;(n=Se.inArray(t,a,n))>-1;)a.splice(n,1),n<=l&&l--})),this},has:function(e){return e?Se.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=s=[],n||t||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},Se.extend({Deferred:function(t){var n=[["notify","progress",Se.Callbacks("memory"),Se.Callbacks("memory"),2],["resolve","done",Se.Callbacks("once memory"),Se.Callbacks("once memory"),0,"resolved"],["reject","fail",Se.Callbacks("once memory"),Se.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return Se.Deferred((function(t){Se.each(n,(function(n,r){var o=ye(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&ye(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(t,r,o){function i(t,n,r,o){return function(){var s=this,l=arguments,c=function(){var e,c;if(!(t<a)){if((e=r.apply(s,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,ye(c)?o?c.call(e,i(a,n,u,o),i(a,n,d,o)):(a++,c.call(e,i(a,n,u,o),i(a,n,d,o),i(a,n,u,n.notifyWith))):(r!==u&&(s=void 0,l=[e]),(o||n.resolveWith)(s,l))}},f=o?c:function(){try{c()}catch(e){Se.Deferred.exceptionHook&&Se.Deferred.exceptionHook(e,f.error),t+1>=a&&(r!==d&&(s=void 0,l=[e]),n.rejectWith(s,l))}};t?f():(Se.Deferred.getErrorHook?f.error=Se.Deferred.getErrorHook():Se.Deferred.getStackHook&&(f.error=Se.Deferred.getStackHook()),e.setTimeout(f))}}var a=0;return Se.Deferred((function(e){n[0][3].add(i(0,e,ye(o)?o:u,e.notifyWith)),n[1][3].add(i(0,e,ye(t)?t:u)),n[2][3].add(i(0,e,ye(r)?r:d))})).promise()},promise:function(e){return null!=e?Se.extend(e,o):o}},i={};return Se.each(n,(function(e,t){var a=t[2],s=t[5];o[t[1]]=a.add,s&&a.add((function(){r=s}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),i[t[0]]=function(){return i[t[0]+"With"](this===i?void 0:this,arguments),this},i[t[0]+"With"]=a.fireWith})),o.promise(i),t&&t.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=le.call(arguments),i=Se.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?le.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(f(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||ye(o[n]&&o[n].then)))return i.then();for(;n--;)f(o[n],a(n),i.reject);return i.promise()}});var Be=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Se.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Be.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},Se.readyException=function(t){e.setTimeout((function(){throw t}))};var We=Se.Deferred();Se.fn.ready=function(e){return We.then(e).catch((function(e){Se.readyException(e)})),this},Se.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Se.readyWait:Se.isReady)||(Se.isReady=!0,!0!==e&&--Se.readyWait>0||We.resolveWith(xe,[Se]))}}),Se.ready.then=We.then,"complete"===xe.readyState||"loading"!==xe.readyState&&!xe.documentElement.doScroll?e.setTimeout(Se.ready):(xe.addEventListener("DOMContentLoaded",p),e.addEventListener("load",p));var ze=function(e,t,n,o,i,a,s){var l=0,c=e.length,u=null==n;if("object"===r(n))for(l in i=!0,n)ze(e,t,l,n[l],!0,a,s);else if(void 0!==o&&(i=!0,ye(o)||(s=!0),u&&(s?(t.call(e,o),t=null):(u=t,t=function(e,t,n){return u.call(Se(e),n)})),t))for(;l<c;l++)t(e[l],n,s?o:o.call(e[l],l,t(e[l],n)));return i?e:u?t.call(e):c?t(e[0],n):a},Ue=/^-ms-/,Xe=/-([a-z])/g,Ge=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};g.uid=1,g.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ge(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[m(t)]=n;else for(r in t)o[m(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][m(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(m):(t=m(t))in r?[t]:t.match(Fe)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||Se.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!Se.isEmptyObject(t)}};var Ve=new g,Ye=new g,Je=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Qe=/[A-Z]/g;Se.extend({hasData:function(e){return Ye.hasData(e)||Ve.hasData(e)},data:function(e,t,n){return Ye.access(e,t,n)},removeData:function(e,t){Ye.remove(e,t)},_data:function(e,t,n){return Ve.access(e,t,n)},_removeData:function(e,t){Ve.remove(e,t)}}),Se.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Ye.get(i),1===i.nodeType&&!Ve.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=m(r.slice(5)),y(i,r,o[r]));Ve.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){Ye.set(this,e)})):ze(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=Ye.get(i,e))||void 0!==(n=y(i,e))?n:void 0;this.each((function(){Ye.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Ye.remove(this,e)}))}}),Se.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ve.get(e,t),n&&(!r||Array.isArray(n)?r=Ve.access(e,t,Se.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Se.queue(e,t),r=n.length,o=n.shift(),i=Se._queueHooks(e,t),a=function(){Se.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ve.get(e,n)||Ve.access(e,n,{empty:Se.Callbacks("once memory").add((function(){Ve.remove(e,[t+"queue",n])}))})}}),Se.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Se.queue(this[0],e):void 0===t?this:this.each((function(){var n=Se.queue(this,e,t);Se._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Se.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){Se.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=Se.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Ve.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var Ke=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ze=new RegExp("^(?:([+-])=|)("+Ke+")([a-z%]*)$","i"),et=["Top","Right","Bottom","Left"],tt=xe.documentElement,nt=function(e){return Se.contains(e.ownerDocument,e)},rt={composed:!0};tt.getRootNode&&(nt=function(e){return Se.contains(e.ownerDocument,e)||e.getRootNode(rt)===e.ownerDocument});var ot=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&nt(e)&&"none"===Se.css(e,"display")},it={};Se.fn.extend({show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ot(this)?Se(this).show():Se(this).hide()}))}});var at,st,lt=/^(?:checkbox|radio)$/i,ct=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ut=/^$|^module$|\/(?:java|ecma)script/i;at=xe.createDocumentFragment().appendChild(xe.createElement("div")),(st=xe.createElement("input")).setAttribute("type","radio"),st.setAttribute("checked","checked"),st.setAttribute("name","t"),at.appendChild(st),ve.checkClone
vendor: 4,739 bytes, line 2
2=at.cloneNode(!0).cloneNode(!0).lastChild.checked,at.innerHTML="<textarea>x</textarea>",ve.noCloneChecked=!!at.cloneNode(!0).lastChild.defaultValue,at.innerHTML="<option></option>",ve.option=!!at.lastChild;var dt={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,"",""]};dt.tbody=dt.tfoot=dt.colgroup=dt.caption=dt.thead,dt.th=dt.td,ve.option||(dt.optgroup=dt.option=[1,"<select multiple='multiple'>","</select>"]);var ft=/<|&#?\w+;/,pt=/^([^.]*)(?:\.(.+)|)/;Se.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,g=Ve.get(e);if(Ge(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&Se.find.matchesSelector(tt,o),n.guid||(n.guid=Se.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==Se&&Se.event.triggered!==t.type?Se.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Fe)||[""]).length;c--;)p=m=(s=pt.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=Se.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=Se.event.special[p]||{},u=Se.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&Se.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),Se.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,g=Ve.hasData(e)&&Ve.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(Fe)||[""]).length;c--;)if(p=m=(s=pt.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=Se.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)u=f[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||Se.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)Se.event.remove(e,p+t[c],n,r,!0);Se.isEmptyObject(l)&&Ve.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=Se.event.fix(e),c=(Ve.get(this,"events")||Object.create(null))[l.type]||[],u=Se.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=Se.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((Se.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?Se(o,this).index(c)>-1:Se.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(Se.Event.prototype,e,{enumerable:!0,configurable:!0,get:ye(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[Se.expando]?e:new Se.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return lt.test(t.type)&&t.click&&i(t,"input")&&L(t,"click",!0),!1},trigger:function(e){var t=this||e;return lt.test(t.type)&&t.click&&i(t,"input")&&L(t,"click"),!0},_default:function(e){var t=e.target;return lt.test(t.type)&&t.click&&i(t,"input")&&Ve.get(t,"click")||i(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Se.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Se.Event=function(e,t){if(!(this instanceof Se.Event))return new Se.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?
vendor: 33,018 bytes, lines 2-3
2k:C,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&&Se.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Se.expando]=!0},Se.Event.prototype={constructor:Se.Event,isDefaultPrevented:C,isPropagationStopped:C,isImmediatePropagationStopped:C,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=k,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=k,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=k,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Se.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,code:!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:!0},Se.event.addProp),Se.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(xe.documentMode){var n=Ve.get(this,"handle"),r=Se.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else Se.event.simulate(t,e.target,Se.event.fix(e))}Se.event.special[e]={setup:function(){var r;if(L(this,e,!0),!xe.documentMode)return!1;(r=Ve.get(this,t))||this.addEventListener(t,n),Ve.set(this,t,(r||0)+1)},trigger:function(){return L(this,e),!0},teardown:function(){var e;if(!xe.documentMode)return!1;(e=Ve.get(this,t)-1)?Ve.set(this,t,e):(this.removeEventListener(t,n),Ve.remove(this,t))},_default:function(t){return Ve.get(t.target,e)},delegateType:t},Se.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=xe.documentMode?this:r,i=Ve.get(o,t);i||(xe.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),Ve.set(o,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=xe.documentMode?this:r,i=Ve.get(o,t)-1;i?Ve.set(o,t,i):(xe.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),Ve.remove(o,t))}}})),Se.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){Se.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||Se.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),Se.fn.extend({on:function(e,t,n,r){return A(this,e,t,n,r)},one:function(e,t,n,r){return A(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Se(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=C),this.each((function(){Se.event.remove(this,e,n,t)}))}});var ht=/<script|<style|<link/i,mt=/checked\s*(?:[^=]|=\s*.checked.)/i,gt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;Se.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=nt(e);if(!(ve.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Se.isXMLDoc(e)))for(a=E(s),r=0,o=(i=E(e)).length;r<o;r++)O(i[r],a[r]);if(t)if(n)for(i=i||E(e),a=a||E(s),r=0,o=i.length;r<o;r++)_(i[r],a[r]);else _(e,s);return(a=E(s,"script")).length>0&&T(a,!l&&E(e,"script")),s},cleanData:function(e){for(var t,n,r,o=Se.event.special,i=0;void 0!==(n=e[i]);i++)if(Ge(n)){if(t=n[Ve.expando]){if(t.events)for(r in t.events)o[r]?Se.event.remove(n,r):Se.removeEvent(n,r,t.handle);n[Ve.expando]=void 0}n[Ye.expando]&&(n[Ye.expando]=void 0)}}}),Se.fn.extend({detach:function(e){return M(this,e,!0)},remove:function(e){return M(this,e)},text:function(e){return ze(this,(function(e){return void 0===e?Se.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 N(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||j(this,e).appendChild(e)}))},prepend:function(){return N(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return N(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return N(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&&(Se.cleanData(E(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return Se.clone(this,e,t)}))},html:function(e){return ze(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ht.test(e)&&!dt[(ct.exec(e)||["",""])[1].toLowerCase()]){e=Se.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Se.cleanData(E(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return N(this,arguments,(function(t){var n=this.parentNode;Se.inArray(this,e)<0&&(Se.cleanData(E(this)),n&&n.replaceChild(t,this))}),e)}}),Se.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){Se.fn[e]=function(e){for(var n,r=[],o=Se(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),Se(o[a])[t](n),ue.apply(r,n.get());return this.pushStack(r)}}));var vt=new RegExp("^("+Ke+")(?!px)[a-z%]+$","i"),yt=/^--/,bt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},xt=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},wt=new RegExp(et.join("|"),"i");!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",tt.appendChild(c).appendChild(u);var t=e.getComputedStyle(u);r="1%"!==t.top,l=12===n(t.marginLeft),u.style.right="60%",a=36===n(t.right),o=36===n(t.width),u.style.position="absolute",i=12===n(u.offsetWidth/3),tt.removeChild(c),u=null}}function n(e){return Math.round(parseFloat(e))}var r,o,i,a,s,l,c=xe.createElement("div"),u=xe.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",ve.clearCloneStyle="content-box"===u.style.backgroundClip,Se.extend(ve,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),i},reliableTrDimensions:function(){var t,n,r,o;return null==s&&(t=xe.createElement("table"),n=xe.createElement("tr"),r=xe.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",tt.appendChild(t).appendChild(n).appendChild(r),o=e.getComputedStyle(n),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===n.offsetHeight,tt.removeChild(t)),s}}))}();var Et=["Webkit","Moz","ms"],Tt=xe.createElement("div").style,St={},kt=/^(none|table(?!-c[ea]).+)/,Ct={position:"absolute",visibility:"hidden",display:"block"},At={letterSpacing:"0",fontWeight:"400"};Se.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=m(t),l=yt.test(t),c=e.style;if(l||(t=I(s)),a=Se.cssHooks[t]||Se.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=Ze.exec(n))&&o[1]&&(n=b(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(Se.cssNumber[s]?"":"px")),ve.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=m(t);return yt.test(t)||(t=I(s)),(a=Se.cssHooks[t]||Se.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=$(e,t,r)),"normal"===o&&t in At&&(o=At[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),Se.each(["height","width"],(function(e,t){Se.cssHooks[t]={get:function(e,n,r){if(n)return!kt.test(Se.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,t,r):xt(e,Ct,(function(){return B(e,t,r)}))},set:function(e,n,r){var o,i=bt(e),a=!ve.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===Se.css(e,"boxSizing",!1,i),l=r?F(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-F(e,t,"border",!1,i)-.5)),l&&(o=Ze.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=Se.css(e,t)),P(e,n,l)}}})),Se.cssHooks.marginLeft=R(ve.reliableMarginLeft,(function(e,t){if(t)return(parseFloat($(e,"marginLeft"))||e.getBoundingClientRect().left-xt(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),Se.each({margin:"",padding:"",border:"Width"},(function(e,t){Se.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+et[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(Se.cssHooks[e+t].set=P)})),Se.fn.extend({css:function(e,t){return ze(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=bt(e),o=t.length;a<o;a++)i[t[a]]=Se.css(e,t[a],!1,r);return i}return void 0!==n?Se.style(e,t,n):Se.css(e,t)}),e,t,arguments.length>1)}}),Se.Tween=W,W.prototype={constructor:W,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||Se.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(Se.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=Se.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.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=Se.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){Se.fx.step[e.prop]?Se.fx.step[e.prop](e):1!==e.elem.nodeType||!Se.cssHooks[e.prop]&&null==e.elem.style[I(e.prop)]?e.elem[e.prop]=e.now:Se.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Se.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Se.fx=W.prototype.init,Se.fx.step={};var Lt,jt,qt=/^(?:toggle|show|hide)$/,Dt=/queueHooks$/;Se.Animation=Se.extend(J,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return b(n.elem,e,Ze.exec(t),n),n}]},tweener:function(e,t){ye(e)?(t=e,e=["*"]):e=e.match(Fe);for(var n,r=0,o=e.length;r<o;r++)n=e[r],J.tweeners[n]=J.tweeners[n]||[],J.tweeners[n].unshift(t)},prefilters:[V],prefilter:function(e,t){t?J.prefilters.unshift(e):J.prefilters.push(e)}}),Se.speed=function(e,t,n){var r=e&&"object"==typeof e?Se.extend({},e):{complete:n||!n&&t||ye(e)&&e,duration:e,easing:n&&t||t&&!ye(t)&&t};return Se.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Se.fx.speeds?r.duration=Se.fx.speeds[r.duration]:r.duration=Se.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ye(r.old)&&r.old.call(this),r.queue&&Se.dequeue(this,r.queue)},r},Se.fn.extend({fadeTo:function(e,t,n,r){ 3return this.filter(ot).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=Se.isEmptyObject(e),i=Se.speed(t,n,r),a=function(){var t=J(this,Se.extend({},e),i);(o||Ve.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=Se.timers,a=Ve.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&Dt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||Se.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Ve.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=Se.timers,a=r?r.length:0;for(n.finish=!0,Se.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),Se.each(["toggle","show","hide"],(function(e,t){var n=Se.fn[t];Se.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(X(t,!0),e,r,o)}})),Se.each({slideDown:X("show"),slideUp:X("hide"),slideToggle:X("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){Se.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),Se.timers=[],Se.fx.tick=function(){var e,t=0,n=Se.timers;for(Lt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Se.fx.stop(),Lt=void 0},Se.fx.timer=function(e){Se.timers.push(e),Se.fx.start()},Se.fx.interval=13,Se.fx.start=function(){jt||(jt=!0,z())},Se.fx.stop=function(){jt=null},Se.fx.speeds={slow:600,fast:200,_default:400},Se.fn.delay=function(t,n){return t=Se.fx&&Se.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}}))},function(){var e=xe.createElement("input"),t=xe.createElement("select").appendChild(xe.createElement("option"));e.type="checkbox",ve.checkOn=""!==e.value,ve.optSelected=t.selected,(e=xe.createElement("input")).value="t",e.type="radio",ve.radioValue="t"===e.value}();var _t,Ot=Se.expr.attrHandle;Se.fn.extend({attr:function(e,t){return ze(this,Se.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){Se.removeAttr(this,e)}))}}),Se.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?Se.prop(e,t,n):(1===i&&Se.isXMLDoc(e)||(o=Se.attrHooks[t.toLowerCase()]||(Se.expr.match.bool.test(t)?_t:void 0)),void 0!==n?null===n?void Se.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=Se.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!ve.radioValue&&"radio"===t&&i(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(Fe);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),_t={set:function(e,t,n){return!1===t?Se.removeAttr(e,n):e.setAttribute(n,n),n}},Se.each(Se.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Ot[t]||Se.find.attr;Ot[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=Ot[a],Ot[a]=o,o=null!=n(e,t,r)?a:null,Ot[a]=i),o}}));var Nt=/^(?:input|select|textarea|button)$/i,Mt=/^(?:a|area)$/i;Se.fn.extend({prop:function(e,t){return ze(this,Se.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[Se.propFix[e]||e]}))}}),Se.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&Se.isXMLDoc(e)||(t=Se.propFix[t]||t,o=Se.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Se.find.attr(e,"tabindex");return t?parseInt(t,10):Nt.test(e.nodeName)||Mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ve.optSelected||(Se.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){Se.propFix[this.toLowerCase()]=this})),Se.fn.extend({addClass:function(e){var t,n,r,o,i,a;return ye(e)?this.each((function(t){Se(this).addClass(e.call(this,t,K(this)))})):(t=Z(e)).length?this.each((function(){if(r=K(this),n=1===this.nodeType&&" "+Q(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=Q(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return ye(e)?this.each((function(t){Se(this).removeClass(e.call(this,t,K(this)))})):arguments.length?(t=Z(e)).length?this.each((function(){if(r=K(this),n=1===this.nodeType&&" "+Q(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=Q(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return ye(e)?this.each((function(n){Se(this).toggleClass(e.call(this,n,K(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=Z(e),this.each((function(){if(s)for(i=Se(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=K(this))&&Ve.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":Ve.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Q(K(n))+" ").indexOf(t)>-1)return!0;return!1}});var $t=/\r/g;Se.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=ye(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,Se(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=Se.map(o,(function(e){return null==e?"":e+""}))),(t=Se.valHooks[this.type]||Se.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=Se.valHooks[o.type]||Se.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace($t,""):null==n?"":n:void 0}}),Se.extend({valHooks:{option:{get:function(e){var t=Se.find.attr(e,"value");return null!=t?t:Q(Se.text(e))}},select:{get:function(e){var t,n,r,o=e.options,a=e.selectedIndex,s="select-one"===e.type,l=s?null:[],c=s?a+1:o.length;for(r=a<0?c:s?a:0;r<c;r++)if(((n=o[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!i(n.parentNode,"optgroup"))){if(t=Se(n).val(),s)return t;l.push(t)}return l},set:function(e,t){for(var n,r,o=e.options,i=Se.makeArray(t),a=o.length;a--;)((r=o[a]).selected=Se.inArray(Se.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),Se.each(["radio","checkbox"],(function(){Se.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Se.inArray(Se(e).val(),t)>-1}},ve.checkOn||(Se.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Rt=e.location,Ht={guid:Date.now()},It=/\?/;Se.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||Se.error("Invalid XML: "+(r?Se.map(r.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var Pt=/^(?:focusinfocus|focusoutblur)$/,Ft=function(e){e.stopPropagation()};Se.extend(Se.event,{trigger:function(t,n,r,o){var i,a,s,l,c,u,d,f,p=[r||xe],h=he.call(t,"type")?t.type:t,m=he.call(t,"namespace")?t.namespace.split("."):[];if(a=f=s=r=r||xe,3!==r.nodeType&&8!==r.nodeType&&!Pt.test(h+Se.event.triggered)&&(h.indexOf(".")>-1&&(m=h.split("."),h=m.shift(),m.sort()),c=h.indexOf(":")<0&&"on"+h,(t=t[Se.expando]?t:new Se.Event(h,"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]:Se.makeArray(n,[t]),d=Se.event.special[h]||{},o||!d.trigger||!1!==d.trigger.apply(r,n))){if(!o&&!d.noBubble&&!be(r)){for(l=d.delegateType||h,Pt.test(l+h)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||xe)&&p.push(s.defaultView||s.parentWindow||e)}for(i=0;(a=p[i++])&&!t.isPropagationStopped();)f=a,t.type=i>1?l:d.bindType||h,(u=(Ve.get(a,"events")||Object.create(null))[t.type]&&Ve.get(a,"handle"))&&u.apply(a,n),(u=c&&a[c])&&u.apply&&Ge(a)&&(t.result=u.apply(a,n),!1===t.result&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),n)||!Ge(r)||c&&ye(r[h])&&!be(r)&&((s=r[c])&&(r[c]=null),Se.event.triggered=h,t.isPropagationStopped()&&f.addEventListener(h,Ft),r[h](),t.isPropagationStopped()&&f.removeEventListener(h,Ft),Se.event.triggered=void 0,s&&(r[c]=s)),t.result}},simulate:function(e,t,n){var r=Se.extend(new Se.Event,n,{type:e,isSimulated:!0});Se.event.trigger(r,null,t)}}),Se.fn.extend({trigger:function(e,t){return this.each((function(){Se.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return Se.event.trigger(e,t,n,!0)}});var Bt=/\[\]$/,Wt=/\r?\n/g,zt=/^(?:submit|button|image|reset|file)$/i,Ut=/^(?:input|select|textarea|keygen)/i;Se.param=function(e,t){var n,r=[],o=function(e,t){var n=ye(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Se.isPlainObject(e))Se.each(e,(function(){o(this.name,this.value)}));else for(n in e)ee(n,e[n],t,o);return r.join("&")},Se.fn.extend({serialize:function(){return Se.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=Se.prop(this,"elements");return e?Se.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!Se(this).is(":disabled")&&Ut.test(this.nodeName)&&!zt.test(e)&&(this.checked||!lt.test(e))})).map((function(e,t){var n=Se(this).val();return null==n?null:Array.isArray(n)?Se.map(n,(function(e){return{name:t.name,value:e.replace(Wt,"\r\n")}})):{name:t.name,value:n.replace(Wt,"\r\n")}})).get()}});var Xt=/%20/g,Gt=/#.*$/,Vt=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Jt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Qt=/^(?:GET|HEAD)$/,Kt=/^\/\//,Zt={},en={},tn="*/".concat("*"),nn=xe.createElement("a");nn.href=Rt.href,Se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Rt.href,type:"GET",isLocal:Jt.test(Rt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,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":Se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?re(re(e,Se.ajaxSettings),t):re(Se.ajaxSettings,e)},ajaxPrefilter:te(Zt),ajaxTransport:te(en),ajax:function(t,n){function r(t,n,r,s){var c,f,p,x,w,E=n;u||(u=!0,l&&e.clearTimeout(l),o=void 0,a=s||"",T.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(x=oe(h,T,r)),!c&&Se.inArray("script",h.dataTypes)>-1&&Se.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=ie(h,x,T,c),c?(h.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(Se.lastModified[i]=w),(w=T.getResponseHeader("etag"))&&(Se.etag[i]=w)),204===t||"HEAD"===h.type?E="nocontent":304===t?E="notmodified":(E=x.state,f=x.data,c=!(p=x.error))):(p=E,!t&&E||(E="error",t<0&&(t=0))),T.status=t,T.statusText=(n||E)+"",c?v.resolveWith(m,[f,E,T]):v.rejectWith(m,[T,E,p]),T.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[T,h,c?f:p]),y.fireWith(m,[T,E]),d&&(g.trigger("ajaxComplete",[T,h]),--Se.active||Se.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,i,a,s,l,c,u,d,f,p,h=Se.ajaxSetup({},n),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?Se(m):Se.event,v=Se.Deferred(),y=Se.Callbacks("once memory"),b=h.statusCode||{},x={},w={},E="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=Yt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)T.always(e[T.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||E;return o&&o.abort(t),r(0,t),this}};if(v.promise(T),h.url=((t||h.url||Rt.href)+"").replace(Kt,Rt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Fe)||[""],null==h.crossDomain){c=xe.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=nn.protocol+"//"+nn.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Se.param(h.data,h.traditional)),ne(Zt,h,n,T),u)return T;for(f in(d=Se.event&&h.global)&&0==Se.active++&&Se.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Qt.test(h.type),i=h.url.replace(Gt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Xt,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(It.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Vt,"$1"),p=(It.test(i)?"&":"?")+"_="+Ht.guid+++p),h.url=i+p),h.ifModified&&(Se.lastModified[i]&&T.setRequestHeader("If-Modified-Since",Se.lastModified[i]),Se.etag[i]&&T.setRequestHeader("If-None-Match",Se.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&T.setRequestHeader("Content-Type",h.contentType),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+tn+"; q=0.01":""):h.accepts["*"]),h.headers)T.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(m,T,h)||u))return T.abort();if(E="abort",y.add(h.complete),T.done(h.success),T.fail(h.error),o=ne(en,h,n,T)){if(T.readyState=1,d&&g.trigger("ajaxSend",[T,h]),u)return T;h.async&&h.timeout>0&&(l=e.setTimeout((function(){T.abort("timeout")}),h.timeout));try{u=!1,o.send(x,r)}catch(e){if(u)throw e;r(-1,e)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return Se.get(e,t,n,"json")},getScript:function(e,t){return Se.get(e,void 0,t,"script")}}),Se.each(["get","post"],(function(e,t){Se[t]=function(e,n,r,o){return ye(n)&&(o=o||r,r=n,n=void 0),Se.ajax(Se.extend({url:e,type:t,dataType:o,data:n,success:r},Se.isPlainObject(e)&&e))}})),Se.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),Se._evalUrl=function(e,t,n){return Se.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Se.globalEval(e,t,n)}})},Se.fn.extend({wrapAll:function(e){var t;return this[0]&&(ye(e)&&(e=e.call(this[0])),t=Se(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 ye(e)?this.each((function(t){Se(this).wrapInner(e.call(this,t))})):this.each((function(){var t=Se(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=ye(e);return this.each((function(n){Se(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){Se(this).replaceWith(this.childNodes)})),this}}),Se.expr.pseudos.hidden=function(e){return!Se.expr.pseudos.visible(e)},Se.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Se.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var rn={0:200,1223:204},on=Se.ajaxSettings.xhr();ve.cors=!!on&&"withCredentials"in on,ve.ajax=on=!!on,Se.ajaxTransport((function(t){var n,r;if(ve.cors||on&&!t.crossDomain)return{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(rn[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){n&&r()}))},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}})),Se.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),Se.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 Se.globalEval(e),e}}}),Se.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),Se.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=Se("<script>").attr(e.scriptAttrs||{}).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)}),xe.head.appendChild(t[0])},abort:function(){n&&n()}}}));var an,sn=[],ln=/(=)\?(?=&|$)|\?\?/;Se.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=sn.pop()||Se.expando+"_"+Ht.guid++;return this[e]=!0,e}}),Se.ajaxPrefilter("json jsonp",(function(t,n,r){var o,i,a,s=!1!==t.jsonp&&(ln.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ln.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=ye(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ln,"$1"+o):!1!==t.jsonp&&(t.url+=(It.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||Se.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){a=arguments},r.always((function(){void 0===i?Se(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,sn.push(o)),a&&ye(i)&&i(a[0]),a=i=void 0})),"script"})),ve.createHTMLDocument=((an=xe.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===an.childNodes.length),Se.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(ve.createHTMLDocument?((r=(t=xe.implementation.createHTMLDocument("")).createElement("base")).href=xe.location.href,t.head.appendChild(r)):t=xe),i=!n&&[],(o=$e.exec(e))?[t.createElement(o[1])]:(o=S([e],t,i),i&&i.length&&Se(i).remove(),Se.merge([],o.childNodes)));var r,o,i},Se.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=Q(e.slice(s)),e=e.slice(0,s)),ye(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&Se.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?Se("<div>").append(Se.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},Se.expr.pseudos.animated=function(e){return Se.grep(Se.timers,(function(t){return e===t.elem})).length},Se.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,c=Se.css(e,"position"),u=Se(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=Se.css(e,"to
3p"),l=Se.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),ye(t)&&(t=t.call(e,n,Se.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},Se.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){Se.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===Se.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Se.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=Se(e).offset()).top+=Se.css(e,"borderTopWidth",!0),o.left+=Se.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-Se.css(r,"marginTop",!0),left:t.left-o.left-Se.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===Se.css(e,"position");)e=e.offsetParent;return e||tt}))}}),Se.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;Se.fn[e]=function(r){return ze(this,(function(e,r,o){var i;if(be(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),Se.each(["top","left"],(function(e,t){Se.cssHooks[t]=R(ve.pixelPosition,(function(e,n){if(n)return n=$(e,t),vt.test(n)?Se(e).position()[t]+"px":n}))})),Se.each({Height:"height",Width:"width"},(function(e,t){Se.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){Se.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return ze(this,(function(t,n,o){var i;return be(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?Se.css(t,n,s):Se.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),Se.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){Se.fn[t]=function(e){return this.on(t,e)}})),Se.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Se.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){Se.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var cn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;Se.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),ye(e))return r=le.call(arguments,2),o=function(){return e.apply(t||this,r.concat(le.call(arguments)))},o.guid=e.guid=e.guid||Se.guid++,o},Se.holdReady=function(e){e?Se.readyWait++:Se.ready(!0)},Se.isArray=Array.isArray,Se.parseJSON=JSON.parse,Se.nodeName=i,Se.isFunction=ye,Se.isWindow=be,Se.camelCase=m,Se.type=r,Se.now=Date.now,Se.isNumeric=function(e){var t=Se.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},Se.trim=function(e){return null==e?"":(e+"").replace(cn,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return Se}));var un=e.jQuery,dn=e.$;return Se.noConflict=function(t){return e.$===Se&&(e.$=dn),t&&e.jQuery===Se&&(e.jQuery=un),Se},void 0===t&&(e.jQuery=e.$=Se),Se})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Rails=t()}(this,(function(){"use strict";const e="a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",t={selector:"button[data-remote]:not([form]), button[data-confirm]:not([form])",exclude:"form button"},n="select[data-remote], input[data-remote], textarea[data-remote]",r="form:not([data-turbo=true])",o="form:not([data-turbo=true]) input[type=submit], form:not([data-turbo=true]) input[type=image], form:not([data-turbo=true]) button[type=submit], form:not([data-turbo=true]) button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",i="input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",a="input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",s="input[name][type=file]:not([disabled])",l="a[data-disable-with], a[data-disable]",c="button[data-remote][data-disable-with], button[data-remote][data-disable]";let u=null;const d=()=>{const e=document.querySelector("meta[name=csp-nonce]");return u=e&&e.content},f=()=>u||d(),p=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector,h=function(e,t){return t.exclude?p.call(e,t.selector)&&!p.call(e,t.exclude):p.call(e,t)},m="_ujsData",g=(e,t)=>e[m]?e[m][t]:void 0,v=function(e,t,n){return e[m]||(e[m]={}),e[m][t]=n},y=e=>Array.prototype.slice.call(document.querySelectorAll(e)),b=function(e){var t=!1;
3do{if(e.isContentEditable){t=!0;break}e=e.parentElement}while(e);return t},x=()=>{const e=document.querySelector("meta[name=csrf-token]");return e&&e.content},w=()=>{const e=document.querySelector("meta[name=csrf-param]");return e&&e.content},E=e=>{const t=x();if(t)return e.setRequestHeader("X-CSRF-Token",t)},T=()=>{const e=x(),t=w();if(e&&t)return y('form input[name="'+t+'"]').forEach((t=>t.value=e))},S={"*":"*/*",text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript",script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},k=e=>{e=C(e);var t=A(e,(function(){const n=L(null!=t.response?t.response:t.responseText,t.getResponseHeader("Content-Type"));return 2===Math.floor(t.status/100)?"function"==typeof e.success&&e.success(n,t.statusText,t):"function"==typeof e.error&&e.error(n,t.statusText,t),"function"==typeof e.complete?e.complete(t,t.statusText):void 0}));return!(e.beforeSend&&!e.beforeSend(t,e))&&(t.readyState===XMLHttpRequest.OPENED?t.send(e.data):void 0)};var C=function(e){return e.url=e.url||location.href,e.type=e.type.toUpperCase(),"GET"===e.type&&e.data&&(e.url.indexOf("?")<0?e.url+="?"+e.data:e.url+="&"+e.data),e.dataType in S||(e.dataType="*"),e.accept=S[e.dataType],"*"!==e.dataType&&(e.accept+=", */*; q=0.01"),e},A=function(e,t){const n=new XMLHttpRequest;return n.open(e.type,e.url,!0),n.setRequestHeader("Accept",e.accept),"string"==typeof e.data&&n.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),e.crossDomain||(n.setRequestHeader("X-Requested-With","XMLHttpRequest"),E(n)),n.withCredentials=!!e.withCredentials,n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE)return t(n)},n},L=function(e,t){if("string"==typeof e&&"string"==typeof t)if(t.match(/\bjson\b/))try{e=JSON.parse(e)}catch(e){}else if(t.match(/\b(?:java|ecma)script\b/)){const t=document.createElement("script");t.setAttribute("nonce",f()),t.text=e,document.head.appendChild(t).parentNode.removeChild(t)}else if(t.match(/\b(xml|html|svg)\b/)){const n=new DOMParser;t=t.replace(/;.+/,"");try{e=n.parseFromString(e,t)}catch(e){}}return e};const j=e=>e.href,q=function(e){const t=document.createElement("a");t.href=location.href;const n=document.createElement("a");try{return n.href=e,!((!n.protocol||":"===n.protocol)&&!n.host||t.protocol+"//"+t.host==n.protocol+"//"+n.host)}catch(e){return!0}};let D,{CustomEvent:_}=window;"function"!=typeof _&&(_=function(e,t){const n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n},_.prototype=window.Event.prototype,({preventDefault:D}=_.prototype),_.prototype.preventDefault=function(){const e=D.call(this);return this.cancelable&&!this.defaultPrevented&&Object.defineProperty(this,"defaultPrevented",{get:()=>!0}),e});const O=(e,t,n)=>{const r=new _(t,{bubbles:!0,cancelable:!0,detail:n});return e.dispatchEvent(r),!r.defaultPrevented},N=e=>{O(e.target,"ujs:everythingStopped"),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()},M=(e,t,n,r)=>e.addEventListener(n,(function(e){let{target:n}=e;for(;n instanceof Element&&!h(n,t);)n=n.parentNode;n instanceof Element&&!1===r.call(n,e)&&(e.preventDefault(),e.stopPropagation())})),$=e=>Array.prototype.slice.call(e),R=(e,t)=>{let n=[e];h(e,"form")&&(n=$(e.elements));const r=[];return n.forEach((function(e){e.name&&!e.disabled&&(h(e,"fieldset[disabled] *")||(h(e,"select")?$(e.options).forEach((function(t){t.selected&&r.push({name:e.name,value:t.value})})):(e.checked||-1===["radio","checkbox","submit"].indexOf(e.type))&&r.push({name:e.name,value:e.value})))})),t&&r.push(t),r.map((function(e){return e.name?`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`:e})).join("&")},H=(e,t)=>h(e,"form")?$(e.elements).filter((e=>h(e,t))):$(e.querySelectorAll(t)),I=e=>function(t){P(this,e)||N(t)};var P=function(e,t){let n;const r=e.getAttribute("data-confirm");if(!r)return!0;let o=!1;if(O(e,"confirm")){try{o=t.confirm(r,e)}catch(e){}n=O(e,"confirm:complete",[o])}return o&&n};const F=function(e){this.disabled&&N(e)},B=e=>{let t;if(e instanceof Event){if(J(e))return;t=e.target}else t=e;if(!b(t))return h(t,l)?U(t):h(t,c)||h(t,a)?Y(t):h(t,r)?V(t):void 0},W=e=>{const t=e instanceof Event?e.target:e;if(!b(t))return h(t,l)?z(t):h(t,c)||h(t,i)?G(t):h(t,r)?X(t):void 0};var z=function(e){if(g(e,"ujs:disabled"))return;const t=e.getAttribute("data-disable-with");return null!=t&&(v(e,"ujs:enable-with",e.innerHTML),e.innerHTML=t),e.addEventListener("click",N),v(e,"ujs:disabled",!0)},U=function(e){const t=g(e,"ujs:enable-with");return null!=t&&(e.innerHTML=t,v(e,"ujs:enable-with",null)),e.removeEventListener("click",N),v(e,"ujs:disabled",null)},X=e=>
3H(e,i).forEach(G),G=function(e){if(g(e,"ujs:disabled"))return;const t=e.getAttribute("data-disable-with");return null!=t&&(h(e,"button")?(v(e,"ujs:enable-with",e.innerHTML),e.innerHTML=t):(v(e,"ujs:enable-with",e.value),e.value=t)),e.disabled=!0,v(e,"ujs:disabled",!0)},V=e=>H(e,a).forEach((e=>Y(e))),Y=function(e){const t=g(e,"ujs:enable-with");return null!=t&&(h(e,"button")?e.innerHTML=t:e.value=t,v(e,"ujs:enable-with",null)),e.disabled=!1,v(e,"ujs:disabled",null)},J=function(e){const t=e.detail?e.detail[0]:void 0;return t&&t.getResponseHeader("X-Xhr-Redirect")};const Q=e=>function(t){const n=this,r=n.getAttribute("data-method");if(!r)return;if(b(this))return;const o=e.href(n),i=x(),a=w(),s=document.createElement("form");let l=`<input name='_method' value='${r}' type='hidden' />`;a&&i&&!q(o)&&(l+=`<input name='${a}' value='${i}' type='hidden' />`),l+='<input type="submit" />',s.method="post",s.action=o,s.target=n.target,s.innerHTML=l,s.style.display="none",document.body.appendChild(s),s.querySelector('[type="submit"]').click(),N(t)},K=function(e){const t=e.getAttribute("data-remote");return null!=t&&"false"!==t},Z=e=>function(o){let i,a,s;const l=this;if(!K(l))return!0;if(!O(l,"ajax:before"))return O(l,"ajax:stopped"),!1;if(b(l))return O(l,"ajax:stopped"),!1;const c=l.getAttribute("data-with-credentials"),u=l.getAttribute("data-type")||"script";if(h(l,r)){const e=g(l,"ujs:submit-button");a=g(l,"ujs:submit-button-formmethod")||l.getAttribute("method")||"get",s=g(l,"ujs:submit-button-formaction")||l.getAttribute("action")||location.href,"GET"===a.toUpperCase()&&(s=s.replace(/\?.*$/,"")), 4"multipart/form-data"===l.enctype?(i=new FormData(l),null!=e&&i.append(e.name,e.value)):i=R(l,e),v(l,"ujs:submit-button",null),v(l,"ujs:submit-button-formmethod",null),v(l,"ujs:submit-button-formaction",null)}else h(l,t)||h(l,n)?(a=l.getAttribute("data-method"),s=l.getAttribute("data-url"),i=R(l,l.getAttribute("data-params"))):(a=l.getAttribute("data-method"),s=e.href(l),i=l.getAttribute("data-params"));k({type:a||"GET",url:s,data:i,dataType:u,beforeSend:(e,t)=>O(l,"ajax:beforeSend",[e,t])?O(l,"ajax:send",[e]):(O(l,"ajax:stopped"),!1),success:(...e)=>O(l,"ajax:success",e),error:(...e)=>O(l,"ajax:error",e),complete:(...e)=>O(l,"ajax:complete",e),crossDomain:q(s),withCredentials:null!=c&&"false"!==c}),N(o)},ee=function(){const e=this,{form:t}=e;if(t)return e.name&&v(t,"ujs:submit-button",{name:e.name,value:e.value}),v(t,"ujs:formnovalidate-button",e.formNoValidate),v(t,"ujs:submit-button-formaction",e.getAttribute("formaction")),v(t,"ujs:submit-button-formmethod",e.getAttribute("formmethod"))},te=function(e){const t=this,n=(t.getAttribute("data-method")||"GET").toUpperCase(),r=t.getAttribute("data-params"),o=(e.metaKey||e.ctrlKey)&&"GET"===n&&!r;(null!=e.button&&0!==e.button||o)&&e.stopImmediatePropagation()},ne={$:y,ajax:k,buttonClickSelector:t,buttonDisableSelector:c,confirm:e=>window.confirm(e),cspNonce:f,csrfToken:x,csrfParam:w,CSRFProtection:E,delegate:M,disableElement:W,enableElement:B,fileInputSelector:s,fire:O,formElements:H,formEnableSelector:a,formDisableSelector:i,formInputClickSelector:o,formSubmitButtonClick:ee,formSubmitSelector:r,getData:g,handleDisabledElement:F,href:j,inputChangeSelector:n,isCrossDomain:q,linkClickSelector:e,linkDisableSelector:l,loadCSPNonce:d,matches:h,preventInsignificantClick:te,refreshCSRFTokens:T,serializeElement:R,setData:v,stopEverything:N},re=I(ne);ne.handleConfirm=re;const oe=Q(ne);ne.handleMethod=oe;const ie=Z(ne);ne.handleRemote=ie;const ae=function(){if(window._rails_loaded)throw new Error("rails-ujs has already been loaded!");return window.addEventListener("pageshow",(function(){y(a).forEach((function(e){g(e,"ujs:disabled")&&B(e)})),y(l).forEach((function(e){g(e,"ujs:disabled")&&B(e)}))})),M(document,l,"ajax:complete",B),M(document,l,"ajax:stopped",B),M(document,c,"ajax:complete",B),M(document,c,"ajax:stopped",B),M(document,e,"click",te),M(document,e,"click",F),M(document,e,"click",re),M(document,e,"click",W),M(document,e,"click",ie),M(document,e,"click",oe),M(document,t,"click",te),M(document,t,"click",F),M(document,t,"click",re),M(document,t,"click",W),M(document,t,"click",ie),M(document,n,"change",F),M(document,n,"change",re),M(document,n,"change",ie),M(document,r,"submit",F),M(document,r,"submit",re),M(document,r,"submit",ie),M(document,r,"submit",(e=>setTimeout((()=>W(e)),13))),M(document,r,"ajax:send",W),M(document,r,"ajax:complete",B),M(document,o,"click",te),M(document,o,"click",F),M(document,o,"click",re),M(document,o,"click",ee),document.addEventListener("DOMContentLoaded",T),document.addEventListener("DOMContentLoaded",d),window._rail
4s_loaded=!0};if(ne.start=ae,"undefined"!=typeof jQuery&&jQuery&&jQuery.ajax){if(jQuery.rails)throw new Error("If you load both jquery_ujs and rails-ujs, use rails-ujs only.");jQuery.rails=ne,jQuery.ajaxPrefilter((function(e,t,n){if(!e.crossDomain)return E(n)}))}return"object"!=typeof exports&&"undefined"==typeof module&&(window.Rails=ne,O(document,"rails:attachBindings")&&ae()),ne}));var itrg=window.itrg||{};itrg.Constants={ANALYST_GROUP:{CIO:{code:"cio",label:"CIO/CTO"},EnterpriseArchitecture:{code:"ea",label:"Enterprise Architecture"},VendorManagement:{code:"ven",label:"Vendor Management"},Applications:{code:"app",label:"Applications"},BusinessIntelligence:{code:"bi",label:"Business Intelligence & Data"},ProjectManagement:{code:"pmo",label:"Project & Portfolio Management"},Infrastructure:{code:"inf",label:"Infrastructure & Operations"},Security:{code:"sec",label:"Security & Risk"},ITGeneralist:{code:"itgen",label:"Small Enterprise IT Generalist"},CIOGeneralist:{code:"ciogen",label:"CIO Generalist"}},DEFAULT_TIME_ZONE:"America/Toronto"},itrg.Messages={Errors:{AJAX_ACTION_NOT_COMPLETED:"Sorry, this operation could not be completed at this time."}},function(){if(String.prototype.format||(String.prototype.format=function(){var e=1===arguments.length&&$.isArray(arguments[0])?arguments[0]:arguments;return this.replace(/{(\d+)}/g,(function(t,n){return void 0!==e[n]?e[n]:t}))}),String.prototype.repeat||Object.defineProperty(String.prototype,"repeat",{value:function(e){if("number"!=typeof e)throw"Argument 'count' must be an integer";if(e<1)return"";for(var t="",n=this.valueOf();e>1;)1&e&&(t+=n),e>>=1,n+=n;return t+n}}),!Number.prototype.format){var e=function(e,t){var n=parseFloat(this.toFixed(e));return void 0===t||t?n.toLocaleString("en-US"):n.toString()};Object.defineProperty(Number.prototype,"format",{value:e})}Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if("function"!=typeof e)throw"Argument 'predicate' must be a function";for(var t,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(t=n[i],e.call(o,t,i,n))return t}}),Array.prototype.test||Object.defineProperty(Array.prototype,"test",{value:function(e){for(var t=Object(this),n=!1,r=0;r<t.length;r++)if(t[r].test(e)){n=!0;break}return n}}),$.fn.or=function(e,t){if(this.length)return this;switch(e&&"function"==typeof e&&(e=e(t)),typeof e){case"string":default:return $(e);case"object":return $.isPlainObject(e)?$(e):e}},$.fn.andSelf||($.fn.andSelf=function(){return this.addBack.apply(this,arguments)}),moment&&moment.tz&&moment.tz.setDefault(itrg.Constants.DEFAULT_TIME_ZONE);var t={};if(itrg.options=function(e,n){if(!e)throw"Missing 'name' argument";return n?t[e]=n:void 0===t[e]&&(t[e]=itrg.Helpers.getJsParameters(e)),t[e]},window.itrgPendingOptions&&window.itrgPendingOptions.length>0)for(;window.itrgPendingOptions.length>0;)try{window.itrgPendingOptions.shift()()}catch(e){console.error("Error processing pending itrg option:",e)}itrg.debugMode=function(){return["development","test","qa"].indexOf(itrg.options("environment"))>=0},void 0===$.browser&&($.browser={msie:!1,version:0},navigator.userAgent.match(/MSIE ([0-9]+)\./)&&($.browser.msie=!0,$.browser.version=RegExp.$1))}(),function(){var e="itrg.Helpers",t={JS_PARAMETERS:"#jsParameters"};$((function(){itrg.Helpers.wait(),setTimeout((function(){itrg.Helpers.wait(!1)}),100),$(document).ajaxSend((function(){itrg.Helpers.wait(!0)})).ajaxComplete((function(){itrg.Helpers.wait(!1)}))}));let n=document.createElement("div");n.classList.add("modal-backdrop"),n.classList.add("in"),itrg.Helpers={SITE_SELECTORS:{HEADER:"#page_header",LOGGED_IN_FOOTER:"#logged-in-footer",LOGGED_OUT_FOOTER:"#acquire-footer"},isDevMode:function(e){return"production"!==(e||"development").toLowerCase()&&"test"!==(e||"development").toLowerCase()},stringComparer:function(e,t){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"function":return e();case"undefined":return null;default:return e.toString()}},r=n(e),o=n(t);return r>o?1:r===o?0:-1},getJsParameters:function(n){var r=$(t.JS_PARAMETERS).data(n);return r&&itrg.Logger.trace(e,"Deserialized JS parameters for '{0}'.",n),r},onAjaxError:function(e,t,n){itrg.debugMode();try{arguments&&arguments.callee&&arguments.callee.caller&&arguments.callee.caller.name&&(t=(t?t.toString()+":":"")+arguments.callee.caller.name)}catch(e){}n=(n||e.status)+": "+e.statusText+(e.responseText?" ("+e.responseText+")":""),itrg.Logger.error(t,"Ajax error: {0}",n),itrg.Notifications.error(itrg.Messages.Errors.AJAX_ACTION_NOT_COMPLETED)},enable:function(e,t){"use strict";!1!==t?$(e).attr("disabled",null).prop("disabled",!1).removeClass("disabled"):$(e).prop("disabled",!0).addClass("disabled")},wait:function(e,t){"use strict";var n="wait-spinner",r="full-page",o=null==t;if(o&&(t="body"),e=void 0===e||e){var i=$(t).children("."+n);return i.length?i.show():(i=$("<div class='"+n+(o?" "+r:"")+"' data-controller='delay-remove' data-delay-remove-target='remove' data-delay='30000'></div>")).appendTo(t),i}$(t).children("."+n).hide()},getValue:function(e,t,n){"use strict";var r=n;if(e){var o=e[t];r="function"==typeof o?o.call(e):o}return void 0!==r?r:null},pad:function(e,t,n){"use strict";return n=n?n.toString()[0]:"0",t=isNaN(t)?2:t,(n.repeat(t)+e.toString()).slice(-t)},onErrorLoadAltImage:function(e,t){$(e).off("error"),e.onclick=null,e.src=t},success:function(e,t){return _flash("success",e,t)},isInView:function(e){if((e=$(e)).length>0){var t=$(window),n=t.scrollTop(),r=e.offset().top;return n+t.height()>r&&n<r}},confirmStack:[],openConfirm:function(e,t){return(t={backdrop:!0,test:"asdf",...t}).customText&&(e.querySelector(".js-custom-text").innerHTML=t.customText),t.backdrop&&document.body.appendChild(n),t.prepend&&t.prepend.prepend(e),e.firstElementChild.classList.add("in"),e.firstElementChild.classList.add("show"),confirmPromise=new Promise(((n,r)=>{itrg.Helpers.confirmStack.push({confirmWindow:e,confirmResolve:n,
4confirmReject:r,confirmOptions:t})})),confirmPromise},closeConfirm:function(e){0!==itrg.Helpers.confirmStack.length&&(confirm=itrg.Helpers.confirmStack.pop(),confirm.confirmWindow.firstElementChild.classList.remove("in"),confirm.confirmWindow.firstElementChild.classList.remove("show"),0!==itrg.Helpers.confirmStack.length||confirm.noBackdrop||n.remove(),confirm.confirmResolve(e))},IsoFormattedDateAndTime:function(e,t){return t=t.split(":"),"{0}-{1}-{2}T{3}:{4}:00".format(e.getYear()+1900,itrg.Helpers.pad(e.getMonth()+1),itrg.Helpers.pad(e.getDate()),t[0],t[1])}}}(),document.addEventListener("click",(e=>{e.target.classList.contains("modal")&&itrg.Helpers.closeConfirm()})),function(){function e(e,t,n,r){"use strict";var o=1e4,i="<div class='alert-container'><ul class='alert alert-{0}{1} fade in'><li></li></ul></div>";try{var a=$(i.format(e,r?"":" alert-dismissable"));if(a.find("li").html(t),a.hide().appendTo("body").fadeIn("fast"),a.dismiss=function(){a.fadeOut("fast",(function(){a.remove()}))},r||setTimeout((function(){$(window).on("click",a.dismiss)})),n)setTimeout((function(){a.dismiss()}),"number"==typeof n?n:o);return a}catch(e){}}itrg.Notifications={success:function(t,n){return e("success",t,n)},info:function(t,n){return e("info",t,n)},warning:function(t,n){return e("warning",t,n)},error:function(t,n){return e("danger",t,n)},loading:function(t){return e("loading",t,!1,!0)}}}(),function(){"use strict";function e(e){return console.log(e),!0}function t(t,o,i,a){try{return t=n.parse(t),!!(itrg.Logger.level()&&r.priority>=t.priority)&&("function"==typeof i&&(i=i()),o=o?o+": ":"",i="[ "+t.label+" ] "+o+i,null!=a&&(i=i.format(a)),e(i))}catch(e){console.log(n.ERROR.label+" in itrg.Logger.log: "+e)}}var n={NONE:{priority:0,label:"NONE"},ERROR:{priority:1,label:"ERROR"},WARN:{priority:2,label:"WARN"},INFO:{priority:3,label:"INFO"},TRACE:{priority:4,label:"TRACE"},parse:function(e){var t=r;switch(typeof e){case"object":void 0!==e.label&&(t=n[e.label]);break;case"string":t=n[e];break;case"number":$.each(n,(function(n,r){if(e===r.priority)return t=r,!1}))}return t}},r=null;itrg.Logger={LEVELS:n,level:function(t){var o=itrg.options&&itrg.Helpers.isDevMode(itrg.options("environment"));if(!t)return null===r&&(r=o?n.TRACE:n.NONE),r;o?e("itrg.Logger.level = "+(r=n.parse(t)).label):r=n.NONE},trace:function(e,r,o){return t(n.TRACE,e,r,o)},info:function(e,r,o){return t(n.INFO,e,r,o)},warn:function(e,r,o){return t(n.WARN,e,r,o)},error:function(e,r,o){return t(n.ERROR,e,r,o)}}}(),function(){function e(e){var t=0,n=$(e);
4n.css("height",""),n.each((function(){var e=$(this).outerHeight();e>t&&(t=e)})),n.css("height",t+"px")}function t(t,n){var r,o;$(a).children().attr("class",f+" card-offscreen"),t.attr("class",f+" main-card"),(r=t.prev().or(t.siblings().last())).length>0&&r.attr("class",f+" card-left"),(o=t.next().or(t.siblings().first())).length>0&&o.attr("class",f+" card-right"),$(l).html(n+1+" / "+$(a).children().length),$(u).children().attr("class","").eq(n).addClass("selected"),$(window).width()>767&&(e(s+" .same-height-title"),e(s+" .same-height-details"),e(s+" .same-height-description"))}function n(e){e.preventDefault(),itrg.Browse.selectByIndex($(this).index())}function r(e){var t,n;e.preventDefault(),(n=(t=$(p)).next().or(t.siblings().first())).length>0&&itrg.Browse.selectByIndex(n.index())}function o(e){var t,n;e.preventDefault(),(n=(t=$(p)).prev().or(t.siblings().last())).length&&itrg.Browse.selectByIndex(n.index())}function i(e){if(e.target.classList.contains("browse-member-back")){e.preventDefault(),document.cookie="browse_member_site=false; path=/";const t=document.querySelector("#browse-notification li");t&&(t.textContent="Returning to site...");const n=e.target.getAttribute("href");n&&(window.location.href=n)}}var a="#kip-step-cards",s=".kip-card",l=".slide-number",c=".role-featured-blueprints",u=".kip-topics-list",d=u+" li",f="col-md-9 kip-block kip-step kip-card",p=".main-card",h=".kip-card-next",m=".kip-card-prev",g=!1;document.addEventListener("click",i),$(document).on("click",'[id^="browse-member-site-link-nav"]',(function(){document.cookie="browse_member_site=true; path=/"})),(itrg=itrg||{}).Browse={init:function(){var e;return!!g||void 0!==$.fn.owlCarousel&&(0!==(e=$(c)).length&&(g=!0,$(s+", "+d).on("click",n),$(h).on("click",r),$(m).on("click",o),e.owlCarousel({nav:!0,loop:!1,lazyLoad:!0,center:!1,items:4,margin:50,dots:!1,navText:['<span class="fa fa-chevron-left"></span>','<span class="fa fa-chevron-right"></span>'],responsive:{0:{items:1,nav:!1},600:{items:2,nav:!1},1e3:{items:4,nav:!0,loop:!0}}}),itrg.Browse.selectByIndex(0),!0))},selectByIndex:function(e){t($(a).children().eq(e),e)}}}(),function(){"use strict";function e(e){var n={type:itrg.Validation.TYPE.OTHER,tooltipText:null,tooltipDisplay:"auto",autoClear:!1};return(e=$.extend({},n,e)).type=t(e.type),e.tooltipDisplay&&c.indexOf(e.tooltipDisplay)<0&&(e.tooltipDisplay="auto"),e.autoClear&&"string"!=typeof e.autoClear&&(e.autoClear="click, focus"),e}function t(e){return"string"==typeof e&&(u=u||Object.keys(itrg.Validation.TYPE),e=e.toUpperCase(),u.indexOf(e)>=0&&(e=itrg.Validation.TYPE[e])),(d=d||Object.values(itrg.Validation.TYPE)).indexOf(e)<0&&(itrg.Logger.error(n,"Method show() expects parameter 'type' to be a itrg.Validation.TYPE value (actual value: {0}).",JSON.stringify(e)),e=itrg.Validation.TYPE.OTHER),e}var n="itrg.Validation",r="invalid",o="required",i="out-of-range",a="bad-format",s="other-error",l="<div class='tooltip validation' role='tooltip'><div class='tooltip-arrow'></div><div class='tooltip-inner'></div></div>",c=["auto","top","right","bottom","left","none"],u=null,d=null;itrg.Validation={TYPE:{REQUIRED:{className:o,message:"Value is required"},OUT_OF_RANGE:{className:i,message:"Value is outside of the valid range"},BAD_FORMAT:{className:a,message:"Value is in an incorrect format"},OTHER:{className:s,message:"Invalid value"}},show:function(t,o){try{t=$(t);var i=(o=e(o)).type.message;switch(typeof o.tooltipText){case"string":o.tooltipText&&(i=o.tooltipText.toString());break;case"function":i=o.tooltipText(t,o.type.message)||o.type.message}return t.addClass(r+" "+o.type.className),"none"!==o.tooltipDisplay&&$.each(t,(function(e,t){$(t).tooltip({html:!0,title:i,trigger:"manual",template:l,placement:o.tooltipDisplay}).tooltip("show")})),o.autoClear&&t.one(o.autoClear,(function(){itrg.Validation.clear(this)})),itrg.Validation}catch(e){itrg.Logger.error(n,e.message)}},clear:function(e){return(e=$(e)).removeClass(r+" "+o+" "+i+" "+a+" "+s),$.each(e,(function(e,t){$(t).tooltip("destroy")})),itrg.Validation}}}(),function(){"use strict";function e(){var e=30;return Cookies.set(o,"true",{expires:e,path:"/"})}function t(){return Cookies.get(o)}function n(){itrg.referral.cookies.set(),r()}function r(){$(i.bannerContainer).addClass("hidden-banner")}var o="_referralBannerDismissed",i={dismissButton:"button#dismiss-banner",bannerContainer:"div#banner-container, div#hr-banner-container"};itrg.referral={},itrg.referral.cookies={set:e,get:t},itrg.referral.banner={init:function(e){e?r():this.dismiss()}
4,dismiss:function(){$(document).on("click",i.dismissButton,n)}},$((function(){var e=itrg.referral.cookies.get();itrg.referral.banner.init(e,i.bannerContainer)}))}(),$((function(){if($("#locked").length){$("#locked").addClass("blurred-lock");var e=parseInt($("input[type='hidden'][id='locked-content-page']").val())||20;$("#locked > section").slice(e).addClass("locked-content")}})),function(){function e(){var e=document.getElementById("stickynav-contents");if(e){let t=e.getAttribute("data-gainsight-base");if(t)try{let e=t.replace(/"/g,'"').replace(/&/g,"&");e.startsWith('"')&&e.endsWith('"')&&(e=e.slice(1,-1),e=e.replace(/\\"/g,'"')),p=JSON.parse(e)}catch(e){}}}function t(e,t){const n=document.createElement("option");n.value="#"+t,n.text=e;const r=document.getElementById("stickynav-contents");r&&r.insertBefore(n,document.getElementById("longform-blueprint-separator"))}function n(){h.forEach((e=>{null!=document.getElementById(e.element_id)&&t(e.link_text,e.element_id)}))}function r(){let e=document.querySelector("#long-content-bottom #visible"),t=document.body.contains(e)?"#visible":"#locked";return document.querySelectorAll(`#long-content-bottom ${t} > section`)}function o(e,t){if(e.classList.contains("locked-content"))return"blueprint-bottom-unlock";let n="longform-section-"+t;return e.hasAttribute("id")&&(n=e.getAttribute("id")),e.setAttribute("id",n),n}function i(e){return["Executive Summary","Analyst Perspective","Blueprint Deliverables","Info-Tech's Approach","Info-Tech's Approach","Phase","1","2","3","4","5","6","7","8","9","Case Study","Summary","Research Contributors","Bibliography","Appendix"].some((t=>e.toLowerCase().startsWith(t.toLowerCase())))}function a(e,t){const n=document.createElement("option");return n.setAttribute("value","#"+t),n.innerHTML=e,n}function s(){let e=a("\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",null);return e.setAttribute("disabled","disabled"),e}function l(e,t){return a(e,t)}function c(e){let t=0,n="";e.forEach((e=>{let n=e.querySelectorAll("h1, h2, h3, h4, h5"),r="";0!==n.length&&(r=n[0].textContent,r.toLowerCase().startsWith("phase")&&t++)})),e.forEach(((r,a)=>{let c=o(r,a),u=r.querySelectorAll("h1, h2, h3, h4, h5"),d="";if(0!==u.length){d=u[0].textContent,d.length>50&&(d=d.substring(0,50)+"\u2026");let o=25,a=document.body.getAttribute("data-user-id");if((e.length<o&&null!==a||i(d)||r.classList.contains("header-section")||0==t)&&d!==n&&""!==d){if(d.startsWith("Phase")||r.classList.contains("header-section")){let e=s();document.querySelector("#stickynav-longform-contents").appendChild(e)}let e=l(d,c);document.getElementById("stickynav-longform-contents").appendChild(e)}}n=d}))}function u(){if(document.querySelector("#long-content-bottom #locked")){let e=s();document.querySelector("#stickynav-longform-contents").appendChild(e);let t=l("Unlock This Blueprint","blueprint-bottom-unlock");document.getElementById("stickynav-contents").appendChild(t)}}function d(){const e=document.getElementById("stickynav-contents");e&&e.addEventListener("change",(function(e){const t=e.target.options[e.target.selectedIndex].text;if("Jump to a section"!==t&&"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"!==t&&t&&p&&Object.keys(p).length>0){const e=Object.assign({},p);e["Name of the unique piece"]=t,void 0!==itrg&&itrg.Gainsight&&itrg.Gainsight.submit_gainsight_event&&itrg.Gainsight.submit_gainsight_event(e)}}))}function f(e){var t=e;let n=t.offsetTop;for(;t.offsetParent;)n+=(t=t.offsetParent).offsetTop;return n}var p={};let h=[{element_id:"our-advice",link_text:"Our Advice"},{element_id:"research-tools",link_text:"Research & Tools"},{element_id:"infographic-section",link_text:"Thought Model"},{element_id:"measured-value-wrapper",link_text:"Member Testimonials"},{element_id:"blueprint-academy-section",link_text:"Academy"},{element_id:"book-a-workshop",link_text:"Workshops"}];itrg.StickyNav={init:function(){e(),n();let t=r();0===t.length&&(document.getElementById("stickynav-longform-contents")?.remove(),document.getElementById("longform-blueprint-separator")?.remove()),c(t),u(),d(),void 0!==itrg&&itrg.Gainsight&&itrg.Gainsight.initialize_listeners&&itrg.Gainsight.initialize_listeners();const o=document.getElementById("stickynav"),i=f(o);window.addEventListener("scroll",(function(){const e=window.scrollY;window.scrollY>=i?(o.classList.add("sticky"),t.forEach((function(t){e>=t.offsetTop&&e<t.offsetTop+t.offsetHeight?t.classList.add("sticky-internal-content"):t.classList.remove("sticky-internal-content")}))):o.classList.remove("sticky")}))}}}();class DunAndBradstreet{constructor(e,t){this.formToFillId=e,this.emailName=t,this.fieldMappings=[]}addFieldMapping(e,t,n){this.fieldMappings[n]={dnbFieldMapping:t,formFieldName:e}}setupAndAttachFormFill(){let e=document.querySelector(`#${this.formToFillId} input[name="${this.emailName}"]`);if(!e)return;e.addEventListener("keydown",DunAndBradstreet.preventSubmit);let t=new Fill.LeadFormApp({visitorIntelligenceApiKey:"PAvff5267",setInitialCountryByIp:!1,leadFormName:this.formToFillId,companyCountrySearchFieldName:this.fieldMappings.country.formFieldName,contactEmailSearchFieldName:this.emailName,companyNameSearchFieldName:this.fieldMappings.company.formFieldName,contactSearchEnabled:!0,companySearchEnabled:!1,useLIDropdowns:!0,visitorIDEnabled:!1,emailSearchAfterChars:2,emailSearchOnBlur:!1,initialFocusFieldName:"",viffResponse:e=>{this.processDnbResponse(e)}});
4Object.keys(this.fieldMappings).forEach((e=>{t.config[this.fieldMappings[e].dnbFieldMapping]=e})),t.attach()}static preventSubmit(e){13===e.keyCode&&e.preventDefault()}processDnbResponse(e){if(DunAndBradstreet.showFormFields(document.querySelector(`#${this.formToFillId}`)),!e.duns_number)return;let t=this.massageDnbResponse(e);Object.keys(t).forEach((e=>{if(!t[e]||""===t[e].toString().trim())return;document.querySelector(`#${this.formToFillId} [name="${e}"]`).value=t[e]})),document.querySelector(`#${this.formToFillId} [name="${this.emailName}"]`).removeEventListener("keydown",this.preventSubmit)}static showFormFields(e){var t=e.querySelectorAll('input[type="text"]'),n=e.querySelectorAll("select");t.forEach((e=>{e.dataset.dnbEnriched=!1})),n.forEach((e=>{e.parentElement.dataset.dnbEnriched=!1,e.dataset.dnbEnriched=!1}))}massageDnbResponse(e){let t={};return Object.keys(e).filter((e=>DunAndBradstreet.dnbFieldsToNotMassage(e))).forEach((n=>{t[this.fieldMappings[n].formFieldName]=e[n]})),t}static dnbFieldsToNotMassage(e){return"first_name"!==e&&"last_name"!==e&&"dunsNumber"!==e&&"undefined"!==e&&"source"!==e}}class WebinarActions{static openWebinarRegistration(){if(window.location.hash.includes("webinar-registration")){let e=document.querySelector("#webinar-promo .webinar-promo-mobile .webinar-info a.js-confirm-button").checkVisibility()?"mobile":"desktop";document.querySelector(`.webinar-promo-${e} a#webinar-register-page`).click()}}}class AppointmentBookingService{static setup_listeners(e){if(!itrg.options("office_time_zones"))throw new Error("Objects not present in javascript.");const t=e.querySelector("#time-zone-form-select"),n=t?.options[0]?.cloneNode(!0);document.querySelectorAll(".js-time-zone-match").forEach((e=>{e.addEventListener("change",(function(e){AppointmentBookingService.update_time_zones(e.target.closest("form"))}))})),document.querySelectorAll(".js-office-select").forEach((r=>{r.addEventListener("change",(r=>{AppointmentBookingService.set_country_timezone(e);let o=r.target.selectedOptions[0].value?.substring(0,2);AppointmentBookingService.autoFilledCountry&&""!==AppointmentBookingService.autoFilledCountry.value||(e.querySelector("#customer_request_country").value=o),o?AppointmentBookingService.#e(o,e,n):(AppointmentBookingService.#t(t.options,!1),n&&t.prepend(n.cloneNode(!0)),t.disabled=!0,e.querySelectorAll(".appt_time_select").forEach((e=>{e.disabled=!0})))}))})),Cookies.get("time_zone_name")||Cookies.set("time_zone_name",Intl.DateTimeFormat().resolvedOptions().timeZone,{expires:1}),AppointmentBookingService.autoFilledCountry=document.querySelector("#customer_request_country").value;let r=document.querySelector(".country-select").selectedOptions[0].value?.substring(0,2);""!==r&&AppointmentBookingService.#e(r,e,n),AppointmentBookingService.set_country_timezone(e)}static update_time_zones(e){const t=e.closest("form");let n=t.querySelector(".country-select"),r=n.value?.substring(3)||"NORTH_AMERICA",o={office_time_zone:itrg.options("office_time_zones")[r],time_zone:t.querySelector(".time-zone-select").value},i=t.querySelectorAll(".appt_time_select");o.time_zone?i.forEach((e=>{e.disabled=!1;let t=Array.from(e.querySelectorAll('option[value*=":"]')),n=t[0];AppointmentBookingService.create_option(n,e,o),e.querySelectorAll('option[value*=":"]').length===t.length?t.forEach((e=>{e.classList.add("hidden")})):AppointmentBookingService.#t(t,!1)})):i.forEach((e=>{e.disabled=!0}))}static create_option(e,t,n,r=!1){const o=17;for(let i=8;i<o;i+=1){let o=moment(e.value).tz(n.office_time_zone).hour(i),a=moment(o).tz(n.time_zone);if(r||a.hour()>=8&&a.hour()<17){const e=AppointmentBookingService.#n(a.format("hh:mm A z"),`${o.tz("America/Toronto").format("YYYY-MM-DD HH:mm:ss")}`);t.appendChild(e)}}}static set_country_timezone(e){const t=document.querySelector(".country-select");let n=t.selectedOptions[0].value?.substring(3)||"NORTH_AMERICA";e.querySelector("#customer_request_office_timezone").value=itrg.options("office_time_zones")[n]}static#r=null;static#e(e,t,n=null){AppointmentBookingService.#r?.abort();const r=new XMLHttpRequest;AppointmentBookingService.#r=r,r.open("POST","/customer_requests/retrieve_time_zone_by_country"),r.setRequestHeader("Content-Type","application/json"),r.setRequestHeader("X-CSRF-TOKEN",document.querySelector('meta[name="csrf-token"]')?.content);const o={country_code:e};r.addEventListener("load",(()=>{AppointmentBookingService.#r=null;
4const e=t.querySelector("#time-zone-form-select");let o;try{o=JSON.parse(r.response)}catch(t){return console.error("Failed to parse timezone response:",t),void(e.disabled=!1)}AppointmentBookingService.#t(e.options,!1),n&&e.prepend(n.cloneNode(!0));const i=0,a=1;let s=!1;if(o.forEach((t=>{const n=AppointmentBookingService.#n(t[i],t[a]);Cookies.get("time_zone_name")===t[a]&&(s=!0),e.appendChild(n)})),e.disabled=!1,s)e.value=Cookies.get("time_zone_name"),AppointmentBookingService.update_time_zones(t);else if(o.length>0){const[,n]=o[0];n&&(e.value=n,AppointmentBookingService.update_time_zones(t))}})),r.send(JSON.stringify(o))}static#t(e,t){for(let n=e.length-1;n>=t;n-=1){e[n].remove()}}static#n(e,t){let n=document.createElement("option");return n.innerHTML=e,n.value=t,n}}$((function(){if($(document).on("click",".js-preview_download",(function(){return $.get("/download/"+$(this).data("id")+"/preview")})),$(".js-attachment-downloads[data-initiate-downloads=true]").length>0&&open_urls(_.collect($(this).find("a.js-attachment-download, a.fa-download"),(function(e){return $(e).attr("href")}))),$(document).on("click",".js-submit-hidden-unlock-form",(function(e){if($(this).data("target"))return $($(this).data("target")).click();const t=$(".hidden-unlock-blueprint-submit").closest("form");return!(t.length>0)||(e.preventDefault(),t.submit(),!1)})),$(".js-initiate-archive-download").length>0)return $(".js-initiate-archive-download").click()}));class TailwindModal{static#o=null;static#i=null;static openModal(e){TailwindModal.hideModalOnAutoSubmitEnabled(e);const t=new Event("tailwind.show");if(!e)throw new Error("Modal cannot be null or undefined");TailwindModal.#i=document.activeElement,TailwindModal.#o=e,document.body.classList.add("overflow-hidden"),e.classList.remove("hidden","opacity-0"),e.classList.add("fadeIn","opacity-100"),e.querySelectorAll(".modal-close")?.forEach((t=>{t?.addEventListener("click",(()=>{TailwindModal.closeModal(e)}))})),document.addEventListener("keydown",TailwindModal.#a),e.closest(".main-modal")?.addEventListener("click",(t=>{t.target===e&&TailwindModal.closeModal(e)})),e.dispatchEvent(t),TailwindModal.checkAndAutoSubmit(e),setTimeout((()=>TailwindModal.#s(e)),50)}static closeModal(e){if(!e)throw new Error("Modal cannot be null or undefined");TailwindModal.#o=null,document.body.classList.remove("overflow-hidden"),TailwindModal.#i&&(TailwindModal.#i.focus(),TailwindModal.#i=null),e.classList.remove("fadeIn","opacity-100"),e.classList.add("opacity-0"),setTimeout((()=>{e.classList.add("hidden")}),500),e.dispatchEvent(new Event("tailwind.hidden",{bubbles:!0})),document.removeEventListener("keydown",TailwindModal.#a)}static onCloseModalClicked(e){TailwindModal.closeModal(e.target.closest(".main-modal"))}static setOnOpen(e,t){new IntersectionObserver(((n,r)=>{n.forEach((n=>{n.intersectionRatio>0&&(t(e),r.disconnect())}))})).observe(e)}static#a(e){"Escape"!==e.key?"Tab"===e.key&&TailwindModal.#o&&TailwindModal.#l(e):document.querySelectorAll(".main-modal:not(.hidden)")?.forEach((e=>{TailwindModal.closeModal(e)}))}static#l(e){const t=TailwindModal.#c(TailwindModal.#o);if(0===t.length)return;const n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),n.focus())}static#c(e){const t='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';return Array.from(e.querySelectorAll(t)).filter((e=>!e.disabled&&("hidden"!==e.type&&null!==e.offsetParent)))}static#s(e){const t=TailwindModal.#c(e);t.length>0&&t[0].focus()}static hideModalOnAutoSubmitEnabled(e){const t=e.querySelector("#auto_submit");"true"===t?.value&&(e.style.display="none")}static checkAndAutoSubmit(e){const t=e.querySelector("#auto_submit");if("true"===t?.value){const t=e.querySelector("form");Rails.fire(t,"submit")}}}window.addEventListener("appointment-loaded",(e=>{e.detail.style.display="",setTimeout((()=>{const t='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',n=Array.from(e.detail.querySelectorAll(t)).find((e=>!e.disabled&&("hidden"!==e.type&&null!==e.offsetParent)));n&&n.focus()}),50)})),document.addEventListener("click",(e=>{if(!1===e.target.matches("[data-modal-target]"))return;const t=e.target.getAttribute("data-modal-target");TailwindModal.openModal(document.querySelector(t))})),document.addEventListener("DOMContentLoaded",(()=>{document.querySelector(".alert li")?.addEventListener("click",(function(){this.style.opacity="0",this.style.visibility="hidden",this.style.maxHeight="0",this.style.padding="0"}))})),document.addEventListener("DOMContentLoaded",(function(){var e="itrg.Helpers",t={JS_PARAMETERS:"#jsParameters"};itrg.Helpers.wait(),setTimeout((function(){itrg.Helpers.wait(!1)}),100),document.addEventListener("ajax:send",(function(){itrg.Helpers.wait(!0)})),document.addEventListener("ajax:complete",(function(){itrg.Helpers.wait(!1)}));let n=document.createElement("div");n.classList.add("modal-backdrop"),n.classList.add("in"),itrg.Helpers={SITE_SELECTORS:{HEADER:"#page_header",LOGGED_IN_FOOTER:"#logged-in-footer",LOGGED_OUT_FOOTER:"#acquire-footer"},isDevMode:function(e){return"production"!==(e||"development").toLowerCase()&&"test"!==(e||"development").toLowerCase()},stringComparer:function(e,t){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"function":return e();case"undefined":return null;default:return e.toString()}},r=n(e),o=n(t);return r>o?1:r===o?0:-1},getJsParameters:function(n){var r=$(t.JS_PARAMETERS).data(n);return r&&itrg.Logger.trace(e,"Deserialized JS parameters for '{0}'.",n),r},onAjaxError:function(e,t,n){itrg.debugMode();try{arguments&&arguments.callee&&arguments.callee.caller&&arguments.callee.caller.name&&(t=(t?t.toString()+":":"")+arguments.callee.caller.name)}catch(e){}n=(n||e.status)+": "+e.statusText+(e.responseText?" ("+e.responseText+")":""),itrg.Logger.error(t,"Ajax error: {0}",n),itrg.Notifications.error(itrg.Messages.Errors.AJAX_ACTION_NOT_COMPLETED)},enable:function(e,t){"use strict";!1!==t?$(e).attr("disabled",null).prop("disabled",!1).removeClass("disabled"):$(e).prop("disabled",!0).addClass("disabled")},wait:function(e,t){"use strict";var n="wait-spinner",r="full-page",o=null==t;if(o&&(t="body"),e=void 0===e||e){let e=$(t).children("."+n);return e.length?e.show():(e=$('<div class="'+n+(o?" "+r:"")+'" data-controller="delay-remove" data-delay-remove-target="remove" data-delay="30000"></div>'),e.appendTo(t)),e}$(t).children("."+n).hide()},getValue:function(e,t,n){"use strict";var r=n;if(e){var o=e[t];r="function"==typeof o?o.call(e):o}return void 0!==r?r:null},pad:function(e,t,n){"use strict";return n=n?n.toString()[0]:"0",t=isNaN(t)?2:t, 5(n.repeat(t)+e.toString()).slice(-t)},onErrorLoadAltImage:function(e,t){$(e).off("error"),e.onclick=null,e.src=t},success:function(e,t){return _flash("success",e,t)},isInView:function(e){if((e=$(e)).length>0){var t=$(window),n=t.scrollTop(),r=e.offset().top;return n+t.height()>r&&n<r}},confirmStack:[],openConfirm:function(e,t){return(t={backdrop:!0,test:"asdf",...t}).customText&&(e.querySelector(".js-custom-text").innerHTML=t.customText),t.backdrop&&document.body.appendChild(n),t.prepend&&t.prepend.prepend(e),e.firstElementChild.classList.add("in"),e.firstElementChild.classList.add("show"),confirmPromise=new Promise(((n,r)=>{itrg.Helpers.confirmStack.push({confirmWindow:e,confirmResolve:n,
5confirmReject:r,confirmOptions:t})})),confirmPromise},closeConfirm:function(e){0!==itrg.Helpers.confirmStack.length&&(confirm=itrg.Helpers.confirmStack.pop(),confirm.confirmWindow.firstElementChild.classList.remove("in"),confirm.confirmWindow.firstElementChild.classList.remove("show"),0!==itrg.Helpers.confirmStack.length||confirm.noBackdrop||n.remove(),confirm.confirmResolve(e))},IsoFormattedDateAndTime:function(e,t){return t=t.split(":"),"{0}-{1}-{2}T{3}:{4}:00".format(e.getYear()+1900,itrg.Helpers.pad(e.getMonth()+1),itrg.Helpers.pad(e.getDate()),t[0],t[1])}}})),document.addEventListener("click",(e=>{e.target.classList.contains("modal")&&itrg.Helpers.closeConfirm()})),document.addEventListener("DOMContentLoaded",(()=>{var e=document.querySelectorAll(".main-modal");e?.forEach((e=>e.addEventListener("tailwind.show",(t=>{var n;if("1"===e.getAttribute("data-logged-in")?.toString()||!0===e.getAttribute("data-auto-submit")){let r=void 0!==t.target.dataset&&t.target.dataset.options;if(null!=t&&(t.target.length>0||r)&&(n=document.querySelector(".collapser")?.length>0||r&&JSON.parse(t.target.dataset.options).stopAutoSubmit),!n&&!e.getAttribute("data-already-submitted"))return hideActionsAndSpin(),e.setAttribute("data-already-submitted",!0),setTimeout((()=>{let e=document.querySelector("#customer-request-form form");return Rails.fire(e,"submit")}),500)}return null}))))})),waitForElm("#customer-request-submit").then((()=>{let e=document.querySelector("#customer-request-submit");e?.addEventListener("click",(t=>{t.preventDefault();const n=e.closest("form");return Rails.fire(n,"submit")}))})),window.set_form_timeout=()=>setTimeout((()=>{document.querySelector(".main-modal").setAttribute("data-timeout","true"),document.querySelector(".main-modal").style.display="none"}),288e3);class CountdownTimer{constructor(e,t){this.dateToCountdownTo=e,this.countdownContainer=t}startTimer(e){const t=(new Date).getTime();let n=this.dateToCountdownTo-t;const r=setInterval((()=>{n-=1e3;const t=Math.floor(n/864e5),o=Math.floor(n%864e5/36e5),i=Math.floor(n%36e5/6e4),a=Math.floor(n%6e4/1e3),s=document.querySelector(this.countdownContainer);s&&(s.querySelector("#days").innerHTML=t,s.querySelector("#hours").innerHTML=o,s.querySelector("#mins").innerHTML=i,s.querySelector("#secs").innerHTML=a),n<0&&(clearInterval(r),s&&(s.querySelector("#days").style.display="none",s.querySelector("#hours").style.display="none",s.querySelector("#mins").style.display="none",s.querySelector("#secs").style.display="none",s.querySelector("#end").innerHTML=e,s.querySelector("#end").style.display="block"))}),1e3)}}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("[data-accordion-target]").forEach(((e,t)=>{const n=e.getAttribute("data-accordion-target"),r=document.querySelector(n),o=e.querySelector(".fa-chevron-down");0===t&&(e.setAttribute("aria-expanded","true"),r.classList.remove("hidden"),o&&o.classList.add("rotate-180")),e.addEventListener("click",(function(){const t="true"===e.getAttribute("aria-expanded");e.setAttribute("aria-expanded",String(!t)),r.classList.toggle("hidden"),o&&o.classList.toggle("rotate-180")}))}))}));class CustomGTMDataPushService{static pushToDataLayer(e,t={}){return"undefined_event_type"===e?null:new Promise((n=>{const r=setTimeout(n,1e3),o={event:e,...t,eventCallback:()=>{clearTimeout(r),n()},eventTimeout:2e3};window.dataLayer=window.dataLayer||[],window.dataLayer.push({eventType:e,...o})}))}static pushUnlockEventAndLeadEnhancementEvent(e,t=null,n=null,r={}){return this.pushLeadEnhancementEvent(t,n).then((()=>this.pushUnlockEvent(e,r)))}static pushLeadEnhancementEvent(e=null,t=null){const n={leadsUserData:{email:e,phone_number:t}};return this.pushToDataLayer("pushLeadEnhancementEvent",n)}static pushUnlockEvent(e,t={}){const n={page_location:window.location.href,page_referrer:document.referrer||"",page_title:document.title||"",...t};return this.pushToDataLayer(e,n)}static pushCioRequestAccessEvent(e,t,n={}){const r={page_section:["hero","steps_walkthrough","catalog","bottom_of_page"].includes(e)?e:"unknown",itsm_platform:t||"",...n};return this.pushToDataLayer("cio_analytics_form_submission",r)}static defineBlueprintUnlockEventType(){const e=window.location.pathname;return e.includes("/videos/webinar-")||e.includes("/roundtables-webinars")?"Unlock_Webinar":e.includes("/ss/")?e.includes("/sem/lp")?"Unlock_Blueprint_SEM":"Unlock_Blueprint":e.includes("/research/")?"Unlock_Research_Template":e.includes("/sem/lp")?"Unlock_Blueprint_SEM":e.includes("/request-a-demo")?"request_a_demo_form_submission":"undefined_event_type"}}
5$(document).ready((function(){$(document).on("click","#menu-button",(function(){return $("#sign-in-dropdown").slideUp((function(){return $("#navigation-dropdown").slideToggle()}))})),$(document).on("click","#sign-in-button",(function(e){return e.preventDefault,$(".sign-in-dropdown").fadeToggle()})),$(document).on("click","#mobile-sign-in-button",(function(){return $(".mobile-dropdown-nav").slideUp((function(){return $(".sign-in-dropdown").slideToggle()}))})),$(document).on("click","#mobile-menu-button",(function(){return $(this).closest("#mobile-navigation").find(".sign-in-dropdown").slideUp((function(){return $(".mobile-dropdown-nav").slideToggle()}))})),$(document).on("click","#mclean-mobile-menu-button",(function(){return $(this).closest("#mclean-mobile-navigation").find(".sign-in-dropdown").slideUp((function(){return $(".mobile-dropdown-nav").slideToggle()}))}))})),$((function(){function e(){var e=2*s+2,i=0;for(t=o.width()-150;i<e;)if(n=o.children().length,c[n-1]>t&&n>0)o.children().last().prependTo(a),i+=1;else{if(!(t>c[n]&&a.children().length>0))break;a.children().first().appendTo(o),i+=1}r.attr("count",s-n),n===s?r.addClass("hidden"):r.removeClass("hidden")}$("nav.squish");var t,n,r=$("nav.squish button.more-btn"),o=$("nav.squish .links"),i=$("nav.squish .hidden-links"),a=$("nav.squish .hidden-links span"),s=0,l=0,c=[];o.children().outerWidth((function(e,t){l+=t,s+=1,c.push(l)})),$(window).resize((function(){e()})),r.on("click",(function(){i.toggleClass("hidden")})),e()})),window.onload=function(){document.querySelectorAll(".tabClicker").forEach((function(e){e.addEventListener("click",(function(e){let t=e.target.dataset.categorySlug,n=document.getElementById("category-children-"+t);if("none"===window.getComputedStyle(n).display){let e=document.getElementsByClassName("cat-container-tab");for(let t=0;t<e.length;t+=1)e[t].style.display="none";n.style.display="block"}else n.style.display="none"}))}));document.querySelectorAll("[id$='-dropdown-button']").forEach((e=>{const t=e.getAttribute("id").replace("-button",""),n=document.getElementById(t);n&&(e.addEventListener("click",(t=>{t.preventDefault(),n.classList.toggle("hidden"),e.classList.toggle("active")})),document.addEventListener("click",(t=>{const r=n.contains(t.target),o=e.contains(t.target);r||o||(n.classList.add("hidden"),e.classList.remove("active"))})))}));const e=document.getElementById("search-cont"),t=document.getElementById("searchInput");e&&e.addEventListener("click",(function(n){n.stopPropagation(),t.classList.add("show"),e.classList.add("show"),t.focus()})),t&&document.addEventListener("click",(function(){t.classList.remove("show"),e&&e.classList.remove("show")}));let n=document.getElementById("it-acquire-mobile-menu-button"),r=document.getElementById("mobile-dropdown-nav"),o=document.getElementById("mobile-search-button"),i=document.getElementById("acquire-mobile-search-bar"),a=document.querySelector(".menu-text"),s=document.querySelector(".menu-close-text"),l=document.getElementById("it-acquire-mobile-sign-in-button"),c=document.getElementById("mobile-nav-login-form");const u=e=>{if(!o)return;const t=o.querySelector("[data-search-open-icon]"),n=o.querySelector("[data-search-close-icon]");t&&n&&(t.classList.toggle("hidden",e),t.classList.toggle("inline-flex",!e),n.classList.toggle("hidden",!e),n.classList.toggle("inline-flex",e))};n?.addEventListener("click",(function(){r.classList.contains("visible")?(c.classList.contains("visible")&&(c.classList.remove("visible"),c.classList.add("hidden")),r.classList.remove("visible"),r.classList.add("hidden"),a.classList.add("visible"),a.classList.remove("hidden"),s.classList.add("hidden"),s.classList.remove("visible"),u(!1)):(c.classList.contains("visible")&&(c.classList.remove("visible"),c.classList.add("hidden")),r.classList.remove("hidden"),r.classList.add("visible"),a.classList.add("hidden"),s.classList.remove("hidden"),s.classList.add("visible"),i.classList.remove("visible"),i.classList.add("hidden"),u(!1))})),o?.addEventListener("click",(function(){i.classList.contains("visible")?(i.classList.remove("visible"),i.classList.add("hidden"),s.classList.contains("visible")&&(a.classList.remove("hidden"),s.classList.add("hidden")),u(!1)):(i.classList.remove("hidden"),i.classList.add("visible"),u(!0),s.classList.contains("visible")&&(a.classList.remove("hidden"),s.classList.add("hidden")),r.classList.remove("visible"),r.classList.add("hidden"))})),l?.addEventListener("click",(function(){c.classList.contains("hidden")?(c.classList.remove("hidden"),c.classList.add("visible")):(a.classList.add("visible"),a.classList.remove("hidden"),s.classList.add("hidden"),s.classList.remove("visible"))}))};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.